The panic bar inside the door should open the door under all circumstances. When would you lock someone inside a building? The fire alarm releases the door so the fire crew can enter from the outside, so it can be wired through a relay on the fire alarm system. The delay is to enter, not to leave. If it isn't an addressable system, a relay can be installed to operate with the signal circuit. The main doors must open even if a station is pulled, or a smoke detector triggered, in a different part of the building.