Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume.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.002037/0.002037, allocations: 119.2 kB / 19.7 MB, free: 2.188 MB / 14.72 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.001386/0.001386, allocations: 221.4 kB / 23 MB, free: 5.004 MB / 14.72 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 1.801/1.801, allocations: 230.6 MB / 256.8 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.054/1.054, allocations: 150 MB / 463.1 MB, free: 10.5 MB / 366.1 MB " [Timeout remaining time 178] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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: translateModel(IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume") translateModel(IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume") [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001896/0.001896, allocations: 66.62 kB / 0.6417 GB, free: 9.926 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2617/0.2636, allocations: 89.18 MB / 0.7288 GB, free: 0.8086 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 1.176/1.44, allocations: 240.6 MB / 0.9637 GB, free: 6.25 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.02294/1.463, allocations: 10.72 MB / 0.9742 GB, free: 11.51 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00396/1.467, allocations: 83.31 kB / 0.9743 GB, free: 11.43 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.00409/1.471, allocations: 1.247 MB / 0.9755 GB, free: 10.18 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.01137/1.482, allocations: 3.933 MB / 0.9793 GB, free: 6.227 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.006179/1.489, allocations: 2.131 MB / 0.9814 GB, free: 4.102 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.007516/1.496, allocations: 4.582 MB / 0.9859 GB, free: 15.51 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002472/1.499, allocations: 1.24 MB / 0.9871 GB, free: 14.23 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004427/1.503, allocations: 1.962 MB / 0.989 GB, free: 12.27 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00359/1.507, allocations: 1.587 MB / 0.9906 GB, free: 10.68 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0004082/1.507, allocations: 188 kB / 0.9908 GB, free: 10.5 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009334/1.516, allocations: 3.534 MB / 0.9942 GB, free: 6.953 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.003155/1.519, allocations: 0.7204 MB / 0.9949 GB, free: 6.23 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.00487/1.524, allocations: 1.081 MB / 0.996 GB, free: 5.145 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.01079/1.535, allocations: 3.894 MB / 0.9998 GB, free: 1.238 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/1.535, allocations: 7.875 kB / 0.9998 GB, free: 1.23 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.703e-06/1.535, allocations: 0 / 0.9998 GB, free: 1.23 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.303e-05/1.535, allocations: 0 / 0.9998 GB, free: 1.23 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.006462/1.542, allocations: 2.505 MB / 1.002 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/1.542, allocations: 8.031 kB / 1.002 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005028/1.547, allocations: 0.7362 MB / 1.003 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00334/1.55, allocations: 1.236 MB / 1.004 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001142/1.55, allocations: 102.7 kB / 1.004 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002841/1.55, allocations: 143.9 kB / 1.004 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003678/1.554, allocations: 1.772 MB / 1.006 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.76e-05/1.554, allocations: 7.922 kB / 1.006 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001527/1.554, allocations: 60.88 kB / 1.006 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.328e-05/1.554, allocations: 66.58 kB / 1.006 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003573/1.558, allocations: 1.603 MB / 1.008 GB, free: 8.824 MB / 0.7794 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.01164/1.57, allocations: 7.256 MB / 1.015 GB, free: 1.098 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002629/1.572, allocations: 1.15 MB / 1.016 GB, free: 15.93 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001274/1.574, allocations: 0.6478 MB / 1.017 GB, free: 15.29 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002834/1.574, allocations: 52.81 kB / 1.017 GB, free: 15.24 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00146/1.575, allocations: 0.7078 MB / 1.017 GB, free: 14.52 MB / 0.795 GB Notification: Performance of pre-optimization done (n=110): time 3.327e-06/1.575, allocations: 0 / 1.017 GB, free: 14.52 MB / 0.795 GB Notification: Performance of matching and sorting (n=110): time 0.004379/1.58, allocations: 1.807 MB / 1.019 GB, free: 12.7 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001001/1.58, allocations: 119.8 kB / 1.019 GB, free: 12.56 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001883/1.582, allocations: 1.218 MB / 1.02 GB, free: 11.32 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0001372/1.582, allocations: 45.7 kB / 1.021 GB, free: 11.27 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.000703/1.583, allocations: 0.6878 MB / 1.021 GB, free: 10.58 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004776/1.583, allocations: 404.5 kB / 1.022 GB, free: 10.18 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003461/1.583, allocations: 182.6 kB / 1.022 GB, free: 9.996 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001787/1.584, allocations: 345.9 kB / 1.022 GB, free: 9.652 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001142/1.585, allocations: 0.5045 MB / 1.023 GB, free: 9.145 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001247/1.586, allocations: 0.6462 MB / 1.023 GB, free: 8.465 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002286/1.588, allocations: 1.149 MB / 1.024 GB, free: 7.285 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.708e-05/1.588, allocations: 7.984 kB / 1.024 GB, free: 7.277 MB / 0.795 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003087/1.591, allocations: 1.375 MB / 1.026 GB, free: 5.895 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/1.591, allocations: 4 kB / 1.026 GB, free: 5.891 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.327e-05/1.591, allocations: 12.25 kB / 1.026 GB, free: 5.879 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.452e-05/1.591, allocations: 8 kB / 1.026 GB, free: 5.871 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001243/1.593, allocations: 235.7 kB / 1.026 GB, free: 5.641 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.626e-05/1.593, allocations: 4.547 kB / 1.026 GB, free: 5.637 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001425/1.594, allocations: 127.2 kB / 1.026 GB, free: 5.512 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.312e-05/1.594, allocations: 36 kB / 1.026 GB, free: 5.477 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001674/1.596, allocations: 0.8239 MB / 1.027 GB, free: 4.652 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00135/1.597, allocations: 0.6289 MB / 1.027 GB, free: 3.98 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002401/1.6, allocations: 1.134 MB / 1.029 GB, free: 2.816 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.448e-06/1.6, allocations: 0 / 1.029 GB, free: 2.816 MB / 0.795 GB Notification: Performance of matching and sorting (n=126) (initialization_lambda0): time 0.003288/1.603, allocations: 1.355 MB / 1.03 GB, free: 1.453 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/1.603, allocations: 5.875 kB / 1.03 GB, free: 1.449 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/1.603, allocations: 4 kB / 1.03 GB, free: 1.445 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/1.603, allocations: 15.92 kB / 1.03 GB, free: 1.43 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001238/1.604, allocations: 232 kB / 1.03 GB, free: 1.203 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.886e-05/1.604, allocations: 15.92 kB / 1.03 GB, free: 1.188 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001623/1.606, allocations: 95.47 kB / 1.03 GB, free: 1.094 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.045e-05/1.606, allocations: 36 kB / 1.03 GB, free: 1.059 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.mRoo_flow.nextTimeEvent,$whenCondition1,mRoo_flow.nextTimeEventScaled,$PRE.mRoo_flow.nextTimeEventScaled,mRoo_flow.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (126): * Single equations (assignments): 126 * 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.0004243/1.606, allocations: 247.9 kB / 1.031 GB, free: 0.8086 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003001/1.607, allocations: 159 kB / 1.031 GB, free: 0.6523 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003145/1.61, allocations: 1.387 MB / 1.032 GB, free: 15.25 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-05/1.61, allocations: 15.98 kB / 1.032 GB, free: 15.24 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/1.61, allocations: 0 / 1.032 GB, free: 15.24 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00277/1.613, allocations: 1.163 MB / 1.033 GB, free: 14.06 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007159/1.62, allocations: 3.315 MB / 1.036 GB, free: 10.65 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.967e-06/1.62, allocations: 12 kB / 1.036 GB, free: 10.64 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001433/1.621, allocations: 243.7 kB / 1.037 GB, free: 10.4 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-05/1.621, allocations: 11.98 kB / 1.037 GB, free: 10.39 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.787e-05/1.621, allocations: 35.97 kB / 1.037 GB, free: 10.35 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.146e-05/1.621, allocations: 7.938 kB / 1.037 GB, free: 10.34 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.365e-06/1.621, allocations: 7.938 kB / 1.037 GB, free: 10.34 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004491/1.626, allocations: 2.191 MB / 1.039 GB, free: 8.098 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001/1.627, allocations: 302 kB / 1.039 GB, free: 7.805 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002733/1.627, allocations: 27.98 kB / 1.039 GB, free: 7.777 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001153/1.628, allocations: 52.7 kB / 1.039 GB, free: 7.727 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001932/1.628, allocations: 84.83 kB / 1.039 GB, free: 7.645 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001008/1.628, allocations: 43.97 kB / 1.039 GB, free: 7.602 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001281/1.63, allocations: 0.8381 MB / 1.04 GB, free: 6.762 MB / 0.8106 GB Notification: Performance of sort global known variables: time 8e-08/1.63, allocations: 0 / 1.04 GB, free: 6.762 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.002141/1.632, allocations: 0.8539 MB / 1.041 GB, free: 5.906 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 9 (roo.dynBal.medium.Xi[1],roo.dynBal.U,roo.dynBal.m,oriChiTop.mExc,oriBot.mExc,oriChiBot.mExc,sha.vol.dynBal.medium.Xi[1],sha.vol.dynBal.U,sha.vol.dynBal.m) * Number of discrete variables: 3 ($whenCondition1,mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEventScaled) * Number of discrete states: 2 (mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (110): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001862/1.634, allocations: 0.5447 MB / 1.042 GB, free: 5.547 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.004169/1.638, allocations: 1.768 MB / 1.043 GB, free: 3.777 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 8.465e-06/1.638, allocations: 3.938 kB / 1.043 GB, free: 3.773 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.001396/1.639, allocations: 0.6118 MB / 1.044 GB, free: 3.164 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004287/1.644, allocations: 0.881 MB / 1.045 GB, free: 2.301 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006983/1.651, allocations: 3.486 MB / 1.048 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001397/1.652, allocations: 1.376 MB / 1.049 GB, free: 13.34 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.002453/1.654, allocations: 455.7 kB / 1.05 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004869/1.655, allocations: 119.4 kB / 1.05 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of SimCode: time 8.91e-07/1.655, allocations: 0 / 1.05 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of Templates: time 0.4653/2.12, allocations: 32.67 MB / 1.082 GB, free: 294.2 MB / 0.8419 GB " [Timeout remaining time 658] make -j1 -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume.sim & ./IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.629109066911042] Failed to read output from testmodel.py, exit status != 0: 2.1291183209978044 2.14531257 0.606087263 Calling exit ...