Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000727/0.000727, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007212/0.0007212, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8705/0.8705, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001448/0.001448, allocations: 237.1 kB / 259.4 MB, free: 13.01 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6673/0.6673, allocations: 138.4 MB / 454.3 MB, free: 29.93 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 0.6463 GB, free: 1.828 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.84e-05/2.012e-05, allocations: 2.281 kB / 0.6463 GB, free: 1.824 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.4061/0.4062, allocations: 171.2 MB / 0.8135 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.007519/0.4137, allocations: 5.012 MB / 0.8184 GB, free: 10.76 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001497/0.4152, allocations: 67.38 kB / 0.8185 GB, free: 10.69 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.002013/0.4172, allocations: 0.8155 MB / 0.8193 GB, free: 9.871 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.006195/0.4234, allocations: 2.779 MB / 0.822 GB, free: 7.078 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.002545/0.4259, allocations: 1.085 MB / 0.823 GB, free: 5.996 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.003432/0.4294, allocations: 2.68 MB / 0.8257 GB, free: 3.309 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001388/0.4307, allocations: 0.7184 MB / 0.8264 GB, free: 2.578 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002994/0.4337, allocations: 1.433 MB / 0.8278 GB, free: 1.141 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001227/0.435, allocations: 0.9038 MB / 0.8286 GB, free: 240 kB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.00016/0.4351, allocations: 84.66 kB / 0.8287 GB, free: 156 kB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002588/0.4377, allocations: 1.511 MB / 0.8302 GB, free: 14.64 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0005024/0.4382, allocations: 474.4 kB / 0.8307 GB, free: 14.17 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0006586/0.4389, allocations: 442.8 kB / 0.8311 GB, free: 13.74 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.003544/0.4424, allocations: 2.192 MB / 0.8332 GB, free: 11.54 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 7.734e-06/0.4424, allocations: 4 kB / 0.8332 GB, free: 11.54 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.583e-06/0.4424, allocations: 0.6562 kB / 0.8332 GB, free: 11.54 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 3.836e-05/0.4425, allocations: 4 kB / 0.8332 GB, free: 11.53 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.003907/0.4464, allocations: 1.903 MB / 0.8351 GB, free: 9.586 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.993e-05/0.4464, allocations: 13.94 kB / 0.8351 GB, free: 9.574 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001422/0.4466, allocations: 135.5 kB / 0.8352 GB, free: 9.434 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002232/0.4488, allocations: 0.7208 MB / 0.8359 GB, free: 8.711 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001478/0.4503, allocations: 0.8568 MB / 0.8368 GB, free: 7.812 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.782e-05/0.4503, allocations: 81.75 kB / 0.8368 GB, free: 7.734 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001388/0.4505, allocations: 88 kB / 0.8369 GB, free: 7.648 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00222/0.4527, allocations: 1.469 MB / 0.8384 GB, free: 6.125 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.401e-05/0.4527, allocations: 0 / 0.8384 GB, free: 6.125 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.439e-05/0.4528, allocations: 35.98 kB / 0.8384 GB, free: 6.09 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.177e-05/0.4528, allocations: 53.97 kB / 0.8384 GB, free: 6.035 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002672/0.4555, allocations: 1.569 MB / 0.84 GB, free: 4.465 MB / 0.6667 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005391/0.4609, allocations: 4.283 MB / 0.8442 GB, free: 60 kB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001943/0.4629, allocations: 1.156 MB / 0.8453 GB, free: 14.89 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009491/0.4638, allocations: 0.6383 MB / 0.8459 GB, free: 14.26 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004957/0.4643, allocations: 188.5 kB / 0.8461 GB, free: 14.07 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001116/0.4654, allocations: 0.7342 MB / 0.8468 GB, free: 13.32 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=82): time 3.276e-06/0.4654, allocations: 0 / 0.8468 GB, free: 13.32 MB / 0.6823 GB Notification: Performance of matching and sorting (n=82): time 0.003605/0.469, allocations: 1.988 MB / 0.8487 GB, free: 11.33 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.325e-05/0.4691, allocations: 64.06 kB / 0.8488 GB, free: 11.25 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001208/0.4703, allocations: 1.327 MB / 0.8501 GB, free: 9.906 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001205/0.4704, allocations: 41.7 kB / 0.8501 GB, free: 9.859 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003401/0.4707, allocations: 0.5882 MB / 0.8507 GB, free: 9.266 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002224/0.471, allocations: 293.5 kB / 0.851 GB, free: 8.977 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002064/0.4712, allocations: 186.6 kB / 0.8512 GB, free: 8.789 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.662e-05/0.4712, allocations: 345.9 kB / 0.8515 GB, free: 8.445 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008933/0.4721, allocations: 0.5601 MB / 0.8521 GB, free: 7.883 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001073/0.4732, allocations: 1.051 MB / 0.8531 GB, free: 6.676 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001836/0.4751, allocations: 1.352 MB / 0.8544 GB, free: 5.227 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.426e-06/0.4751, allocations: 7.984 kB / 0.8544 GB, free: 5.219 MB / 0.6823 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.002563/0.4776, allocations: 1.535 MB / 0.8559 GB, free: 3.676 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.739e-05/0.4776, allocations: 8 kB / 0.8559 GB, free: 3.668 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.313e-05/0.4777, allocations: 7.984 kB / 0.8559 GB, free: 3.66 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.524e-05/0.4777, allocations: 12 kB / 0.8559 GB, free: 3.648 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007095/0.4784, allocations: 296 kB / 0.8562 GB, free: 3.359 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.029e-05/0.4784, allocations: 15.94 kB / 0.8562 GB, free: 3.344 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008727/0.4793, allocations: 203 kB / 0.8564 GB, free: 3.145 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.42e-05/0.4794, allocations: 53.34 kB / 0.8565 GB, free: 3.094 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.setHeaHigPow.nextTimeEvent,$whenCondition3,$PRE.setCooLimPow.nextTimeEvent,$whenCondition2,$PRE.setHeaCooUnl.nextTimeEvent,$whenCondition1,setHeaCooUnl.nextTimeEventScaled,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setCooLimPow.nextTimeEventScaled,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (117): * Single equations (assignments): 117 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005293/0.4799, allocations: 340.1 kB / 0.8568 GB, free: 2.754 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002254/0.4801, allocations: 147.1 kB / 0.8569 GB, free: 2.609 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002299/0.4824, allocations: 1.513 MB / 0.8584 GB, free: 1.09 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.057e-05/0.4824, allocations: 8 kB / 0.8584 GB, free: 1.082 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.4824, allocations: 0 / 0.8584 GB, free: 1.082 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/0.4824, allocations: 7.984 kB / 0.8584 GB, free: 1.074 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003849/0.4863, allocations: 2.772 MB / 0.8611 GB, free: 14.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.273e-06/0.4863, allocations: 7.125 kB / 0.8611 GB, free: 14.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000637/0.4869, allocations: 239.6 kB / 0.8614 GB, free: 13.96 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.698e-06/0.4869, allocations: 8 kB / 0.8614 GB, free: 13.96 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.194e-05/0.487, allocations: 31.97 kB / 0.8614 GB, free: 13.93 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.947e-06/0.487, allocations: 15.45 kB / 0.8614 GB, free: 13.91 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.487, allocations: 4 kB / 0.8614 GB, free: 13.91 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003403/0.4904, allocations: 2.385 MB / 0.8638 GB, free: 11.46 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005043/0.4909, allocations: 246.8 kB / 0.864 GB, free: 11.22 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001296/0.4911, allocations: 23.98 kB / 0.864 GB, free: 11.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000559/0.4916, allocations: 115.9 kB / 0.8641 GB, free: 11.08 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001194/0.4917, allocations: 68.42 kB / 0.8642 GB, free: 11.02 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.499e-05/0.4918, allocations: 39.97 kB / 0.8642 GB, free: 10.98 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000867/0.4927, allocations: 0.916 MB / 0.8651 GB, free: 10.06 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.91e-07/0.4927, allocations: 0 / 0.8651 GB, free: 10.06 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001077/0.4937, allocations: 323.7 kB / 0.8654 GB, free: 9.742 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 6 (setHeaHigPow.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004552/0.4983, allocations: 3.384 MB / 0.8687 GB, free: 6.523 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002454/0.5007, allocations: 1.307 MB / 0.87 GB, free: 5.219 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.055e-06/0.5007, allocations: 0 / 0.87 GB, free: 5.219 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001482/0.5022, allocations: 0.6526 MB / 0.8707 GB, free: 4.566 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002418/0.5046, allocations: 0.6206 MB / 0.8713 GB, free: 3.961 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01509/0.5197, allocations: 11.27 MB / 0.8823 GB, free: 8.281 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004485/0.5202, allocations: 0.5979 MB / 0.8829 GB, free: 7.652 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.00101/0.5212, allocations: 350.2 kB / 0.8832 GB, free: 7.309 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007262/0.5219, allocations: 0.4964 MB / 0.8837 GB, free: 6.812 MB / 0.7136 GB Notification: Performance of SimCode: time 2.254e-06/0.5219, allocations: 0 / 0.8837 GB, free: 6.812 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05044/0.5724, allocations: 38.66 MB / 0.9214 GB, free: 0.8125 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.46/8.032, allocations: 11.86 kB / 0.9214 GB, free: 0.8008 MB / 0.7448 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly_res.csv --start-time 0 --stop-time 1200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.48 BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.fmu > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.741173959337175] Failed to read output from testmodel.py, exit status != 0: 8.146038256585598 8.153848886 7.70955202 Calling exit ...