Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001725/0.001725, allocations: 105.8 kB / 18.84 MB, free: 3.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0015/0.0015, allocations: 192.5 kB / 22.11 MB, free: 4.223 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.794/1.794, allocations: 207.6 MB / 232.8 MB, free: 2.809 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.434/0.434, allocations: 55.68 MB / 340.7 MB, free: 11.52 MB / 270.1 MB " [Timeout remaining time 179] Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Annex60.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4") translateModel(Annex60.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002178/0.002178, allocations: 72.33 kB / 482 MB, free: 36.54 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1268, allocations: 62.89 MB / 0.5321 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.5244/0.6512, allocations: 147.1 MB / 0.6758 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.008564/0.6597, allocations: 4.426 MB / 0.6801 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002247/0.662, allocations: 47.5 kB / 0.6801 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001585/0.6636, allocations: 1.149 MB / 0.6813 GB, free: 14.25 MB / 0.4981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.001616/0.6652, allocations: 0.8291 MB / 0.6821 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001119/0.6663, allocations: 400.3 kB / 0.6825 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001503/0.6678, allocations: 1.204 MB / 0.6836 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006663/0.6685, allocations: 0.5247 MB / 0.6841 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006263/0.6691, allocations: 0.5444 MB / 0.6847 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001067/0.6702, allocations: 0.9819 MB / 0.6856 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001019/0.6703, allocations: 63.5 kB / 0.6857 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002724/0.6705, allocations: 106.7 kB / 0.6858 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002703/0.6708, allocations: 318.6 kB / 0.6861 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004/0.6712, allocations: 479.2 kB / 0.6866 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001309/0.6725, allocations: 1.174 MB / 0.6877 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.6725, allocations: 0 / 0.6877 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.515e-06/0.6725, allocations: 5.75 kB / 0.6877 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.954e-05/0.6726, allocations: 0 / 0.6877 GB, free: 12.59 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.002475/0.675, allocations: 1.436 MB / 0.6891 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/0.6751, allocations: 11.48 kB / 0.6891 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002032/0.6753, allocations: 139.3 kB / 0.6893 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009204/0.6762, allocations: 0.589 MB / 0.6898 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001176/0.6763, allocations: 74.03 kB / 0.6899 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.522e-05/0.6764, allocations: 47.27 kB / 0.6899 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008739/0.6773, allocations: 0.5037 MB / 0.6904 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.902e-05/0.6773, allocations: 0 / 0.6904 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.301e-05/0.6773, allocations: 15.72 kB / 0.6905 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.6773, allocations: 10.44 kB / 0.6905 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007413/0.6781, allocations: 396.1 kB / 0.6908 GB, free: 10.84 MB / 0.4981 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.003352/0.6814, allocations: 2.531 MB / 0.6933 GB, free: 8.629 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001102/0.6825, allocations: 476.2 kB / 0.6938 GB, free: 8.383 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005417/0.6831, allocations: 260.1 kB / 0.694 GB, free: 8.25 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.848e-05/0.6831, allocations: 6.719 kB / 0.694 GB, free: 8.246 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005786/0.6837, allocations: 291.4 kB / 0.6943 GB, free: 8.059 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=43): time 2.274e-06/0.6837, allocations: 3.938 kB / 0.6943 GB, free: 8.055 MB / 0.4981 GB Notification: Performance of matching and sorting (n=43): time 0.003039/0.6867, allocations: 1.075 MB / 0.6954 GB, free: 7.492 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.582e-05/0.6868, allocations: 63.69 kB / 0.6954 GB, free: 7.422 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002/0.6888, allocations: 1.736 MB / 0.6971 GB, free: 6.637 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.837e-05/0.6888, allocations: 39.08 kB / 0.6971 GB, free: 6.598 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004841/0.6893, allocations: 0.5139 MB / 0.6977 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000149/0.6895, allocations: 143.1 kB / 0.6978 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001452/0.6896, allocations: 88.47 kB / 0.6979 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001595/0.6898, allocations: 327 kB / 0.6982 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000377/0.6902, allocations: 180.9 kB / 0.6984 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004648/0.6906, allocations: 281.9 kB / 0.6986 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008276/0.6914, allocations: 468.4 kB / 0.6991 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.6915, allocations: 0 / 0.6991 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001517/0.693, allocations: 0.7691 MB / 0.6998 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.693, allocations: 8.062 kB / 0.6998 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.693, allocations: 5.812 kB / 0.6998 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005298/0.6935, allocations: 182.3 kB / 0.7 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002684/0.6938, allocations: 71.91 kB / 0.7001 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003756/0.6976, allocations: 2.895 MB / 0.7029 GB, free: 2.223 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004706/0.698, allocations: 64.55 kB / 0.703 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.399e-05/0.6981, allocations: 16.69 kB / 0.703 GB, free: 2.176 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 19 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition5,$PRE.intGai.nextTimeEvent,$whenCondition4,$PRE.reference.nextTimeEvent,$whenCondition3,$whenCondition1,reference.nextTimeEvent,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,assEqu.satisfied,$PRE.assEqu.satisfied,mean.y,$PRE.mean.y,$whenCondition2,intGai.nextTimeEvent,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005642/0.6986, allocations: 386.4 kB / 0.7034 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001442/0.6988, allocations: 121.7 kB / 0.7035 GB, free: 1.867 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002121/0.699, allocations: 136.8 kB / 0.7036 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.699, allocations: 2.781 kB / 0.7036 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-05/0.699, allocations: 2.969 kB / 0.7036 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.774e-06/0.699, allocations: 10.61 kB / 0.7036 GB, free: 1.785 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002218/0.7012, allocations: 1.413 MB / 0.705 GB, free: 0.8633 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.7012, allocations: 4 kB / 0.705 GB, free: 0.8594 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001967/0.7014, allocations: 39.31 kB / 0.705 GB, free: 0.8477 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004957/0.7019, allocations: 189.4 kB / 0.7052 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.938e-05/0.702, allocations: 15.2 kB / 0.7052 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004477/0.7064, allocations: 4.128 MB / 0.7093 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.7064, allocations: 3.938 kB / 0.7093 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001954/0.7084, allocations: 1.036 MB / 0.7103 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000197/0.7086, allocations: 110.8 kB / 0.7104 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.457e-05/0.7087, allocations: 12.72 kB / 0.7104 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003069/0.709, allocations: 28.88 kB / 0.7104 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001366/0.7091, allocations: 53.77 kB / 0.7105 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.015e-05/0.7092, allocations: 13.97 kB / 0.7105 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001438/0.7106, allocations: 1.268 MB / 0.7117 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.7106, allocations: 4 kB / 0.7117 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0007462/0.7114, allocations: 193.1 kB / 0.7119 GB, free: 11.74 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (mean.x,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,thermalZoneTwoElements.extWallRC.thermCapExt[1].T) * Number of discrete variables: 12 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,mean.y,assEqu.nFai,assEqu.satisfied,reference.nextTimeEventScaled,reference.nextTimeEvent,intGai.nextTimeEventScaled,intGai.nextTimeEvent) * Number of discrete states: 7 (intGai.nextTimeEvent,reference.nextTimeEvent,mean.x,reference.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,13,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001787/0.7131, allocations: 480.7 kB / 0.7124 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00151/0.7146, allocations: 0.6476 MB / 0.713 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.7147, allocations: 2.406 kB / 0.713 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0008772/0.7155, allocations: 0.514 MB / 0.7135 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00104/0.7166, allocations: 198.9 kB / 0.7137 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004146/0.7207, allocations: 2.405 MB / 0.716 GB, free: 8.141 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009467/0.7217, allocations: 1.141 MB / 0.7172 GB, free: 6.969 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002858/0.7219, allocations: 88.56 kB / 0.7172 GB, free: 6.883 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001192/0.7221, allocations: 51.42 kB / 0.7173 GB, free: 6.832 MB / 0.5137 GB Notification: Performance of SimCode: time 7.41e-07/0.7221, allocations: 0 / 0.7173 GB, free: 6.832 MB / 0.5137 GB Notification: Performance of Templates: time 0.02216/0.7442, allocations: 10.62 MB / 0.7277 GB, free: 12.3 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f Annex60_1.0.0_Annex60.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.makefile [Timeout 660] (rm -f Annex60_1.0.0_Annex60.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; mkfifo Annex60_1.0.0_Annex60.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe >> ../files/Annex60_1.0.0_Annex60.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.sim & ./Annex60_1.0.0_Annex60.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.841057241894305] Failed to read output from testmodel.py, exit status != 0: 0.7521594539284706 0.769200956 0.09317863300000001 Calling exit ...