Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MassFraction.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.001792/0.001792, allocations: 75.27 kB / 20.51 MB, free: 1.285 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.002223/0.002223, allocations: 164.4 kB / 23.76 MB, free: 4.465 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.433/1.433, allocations: 177.2 MB / 204.1 MB, free: 8.965 MB / 190.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 0.8927/0.8927, allocations: 113.9 MB / 374.5 MB, free: 12.88 MB / 350.1 MB " [Timeout remaining time 179] 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.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MassFraction") translateModel(IBPSA.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MassFraction") [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.002115/0.002115, allocations: 75.86 kB / 0.555 GB, free: 2.836 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1716/0.1737, allocations: 89.14 MB / 0.6421 GB, free: 9.656 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.MassFraction): time 0.5342/0.7079, allocations: 165.2 MB / 0.8034 GB, free: 13.31 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.008091/0.716, allocations: 4.293 MB / 0.8076 GB, free: 9.012 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008452/0.7168, allocations: 43.62 kB / 0.8076 GB, free: 8.969 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001137/0.718, allocations: 413.4 kB / 0.808 GB, free: 8.562 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.003609/0.7216, allocations: 1.389 MB / 0.8094 GB, free: 7.168 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002158/0.7237, allocations: 0.7684 MB / 0.8101 GB, free: 6.402 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.002924/0.7267, allocations: 1.999 MB / 0.8121 GB, free: 4.395 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008812/0.7275, allocations: 499.7 kB / 0.8126 GB, free: 3.895 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003891/0.7314, allocations: 1.37 MB / 0.8139 GB, free: 2.543 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001214/0.7327, allocations: 0.5953 MB / 0.8145 GB, free: 1.949 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001501/0.7328, allocations: 64 kB / 0.8145 GB, free: 1.887 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002398/0.7352, allocations: 1.126 MB / 0.8156 GB, free: 0.7578 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003639/0.7356, allocations: 291.1 kB / 0.8159 GB, free: 484 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0004926/0.7361, allocations: 350.5 kB / 0.8163 GB, free: 132 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002431/0.7385, allocations: 1.451 MB / 0.8177 GB, free: 14.68 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.7385, allocations: 4 kB / 0.8177 GB, free: 14.68 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.643e-06/0.7385, allocations: 0 / 0.8177 GB, free: 14.68 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.347e-05/0.7385, allocations: 4 kB / 0.8177 GB, free: 14.67 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001831/0.7403, allocations: 1.04 MB / 0.8187 GB, free: 13.6 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.7404, allocations: 16.02 kB / 0.8187 GB, free: 13.59 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001344/0.7417, allocations: 207.3 kB / 0.8189 GB, free: 13.38 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001127/0.7429, allocations: 0.5466 MB / 0.8194 GB, free: 12.8 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.273e-05/0.7429, allocations: 41.31 kB / 0.8195 GB, free: 12.77 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.801e-05/0.743, allocations: 56 kB / 0.8195 GB, free: 12.71 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001172/0.7442, allocations: 0.7298 MB / 0.8202 GB, free: 11.94 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.047e-05/0.7442, allocations: 0 / 0.8202 GB, free: 11.94 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.58e-05/0.7442, allocations: 20 kB / 0.8203 GB, free: 11.92 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.503e-05/0.7443, allocations: 21.31 kB / 0.8203 GB, free: 11.9 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008786/0.7452, allocations: 0.4969 MB / 0.8208 GB, free: 11.4 MB / 0.67 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.002725/0.7479, allocations: 1.505 MB / 0.8222 GB, free: 9.855 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006611/0.7485, allocations: 347.3 kB / 0.8226 GB, free: 9.508 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000323/0.7489, allocations: 200.7 kB / 0.8228 GB, free: 9.309 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004882/0.7494, allocations: 75.91 kB / 0.8228 GB, free: 9.234 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.497e-05/0.7494, allocations: 38.56 kB / 0.8229 GB, free: 9.188 MB / 0.67 GB Notification: Performance of pre-optimization done (n=36): time 2.013e-06/0.7494, allocations: 4 kB / 0.8229 GB, free: 9.184 MB / 0.67 GB Notification: Performance of matching and sorting (n=36): time 0.001208/0.7506, allocations: 0.5453 MB / 0.8234 GB, free: 8.633 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.858e-05/0.7506, allocations: 59.41 kB / 0.8235 GB, free: 8.562 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005495/0.7512, allocations: 450 kB / 0.8239 GB, free: 8.113 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 5.124e-05/0.7512, allocations: 41.62 kB / 0.8239 GB, free: 8.066 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002651/0.7515, allocations: 328.9 kB / 0.8243 GB, free: 7.742 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001374/0.7516, allocations: 134.8 kB / 0.8244 GB, free: 7.609 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001555/0.7518, allocations: 86.16 kB / 0.8245 GB, free: 7.52 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001981/0.752, allocations: 358.8 kB / 0.8248 GB, free: 7.16 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002738/0.7523, allocations: 158.8 kB / 0.825 GB, free: 7.004 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004584/0.7527, allocations: 410.2 kB / 0.8253 GB, free: 6.531 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000629/0.7534, allocations: 410.2 kB / 0.8257 GB, free: 6.102 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.7534, allocations: 0 / 0.8257 GB, free: 6.102 MB / 0.67 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007924/0.7542, allocations: 481.5 kB / 0.8262 GB, free: 5.625 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.7542, allocations: 8 kB / 0.8262 GB, free: 5.617 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.358e-06/0.7542, allocations: 7.984 kB / 0.8262 GB, free: 5.609 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.7542, allocations: 4.281 kB / 0.8262 GB, free: 5.605 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005784/0.7548, allocations: 99.89 kB / 0.8263 GB, free: 5.508 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000451/0.7552, allocations: 0.6015 MB / 0.8269 GB, free: 4.883 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004823/0.7557, allocations: 31.73 kB / 0.8269 GB, free: 4.852 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.119e-05/0.7558, allocations: 25.55 kB / 0.827 GB, free: 4.828 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004733/0.7562, allocations: 325 kB / 0.8273 GB, free: 4.508 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004462/0.7567, allocations: 414.3 kB / 0.8277 GB, free: 4.027 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006097/0.7573, allocations: 404.7 kB / 0.828 GB, free: 3.602 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.997e-06/0.7573, allocations: 4 kB / 0.828 GB, free: 3.598 MB / 0.67 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0007794/0.7581, allocations: 481 kB / 0.8285 GB, free: 3.121 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.058e-05/0.7581, allocations: 8 kB / 0.8285 GB, free: 3.113 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.7581, allocations: 7.938 kB / 0.8285 GB, free: 3.105 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.871e-06/0.7581, allocations: 7.938 kB / 0.8285 GB, free: 3.098 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003705/0.7585, allocations: 83.84 kB / 0.8286 GB, free: 3.016 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.685e-06/0.7585, allocations: 7.984 kB / 0.8286 GB, free: 3.008 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004467/0.7589, allocations: 31.84 kB / 0.8286 GB, free: 2.977 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.692e-05/0.759, allocations: 19.98 kB / 0.8287 GB, free: 2.957 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000169/0.7591, allocations: 208.4 kB / 0.8289 GB, free: 2.746 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001023/0.7592, allocations: 55.61 kB / 0.8289 GB, free: 2.691 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007933/0.76, allocations: 442.9 kB / 0.8293 GB, free: 2.25 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.61e-06/0.76, allocations: 4 kB / 0.8293 GB, free: 2.246 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.76, allocations: 0.875 kB / 0.8293 GB, free: 2.246 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000739/0.7608, allocations: 0.6534 MB / 0.83 GB, free: 1.508 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001696/0.7625, allocations: 1.047 MB / 0.831 GB, free: 412 kB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.7625, allocations: 4 kB / 0.831 GB, free: 408 kB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004875/0.763, allocations: 89 kB / 0.8311 GB, free: 320 kB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.763, allocations: 4 kB / 0.8311 GB, free: 316 kB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.415e-05/0.763, allocations: 16 kB / 0.8311 GB, free: 300 kB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004018/0.7634, allocations: 0.5937 MB / 0.8317 GB, free: 15.68 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.147e-06/0.7634, allocations: 4.25 kB / 0.8317 GB, free: 15.67 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000999/0.7644, allocations: 0.7212 MB / 0.8324 GB, free: 14.91 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002204/0.7646, allocations: 95.61 kB / 0.8325 GB, free: 14.82 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.513e-05/0.7647, allocations: 11.94 kB / 0.8325 GB, free: 14.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003857/0.7651, allocations: 22.36 kB / 0.8325 GB, free: 14.79 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.972e-05/0.7651, allocations: 19.97 kB / 0.8325 GB, free: 14.77 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.098e-05/0.7652, allocations: 15.98 kB / 0.8326 GB, free: 14.75 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0003785/0.7655, allocations: 314.9 kB / 0.8329 GB, free: 14.45 MB / 0.6856 GB Notification: Performance of sort global known variables: time 9e-08/0.7655, allocations: 0 / 0.8329 GB, free: 14.45 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0009497/0.7665, allocations: 363.2 kB / 0.8332 GB, free: 14.09 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,senMasFra1.X) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003558/0.7668, allocations: 183.1 kB / 0.8334 GB, free: 13.9 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.00124/0.7681, allocations: 0.5619 MB / 0.8339 GB, free: 13.34 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.7681, allocations: 3.938 kB / 0.8339 GB, free: 13.34 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0003371/0.7684, allocations: 180.5 kB / 0.8341 GB, free: 13.16 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001519/0.7699, allocations: 321.9 kB / 0.8344 GB, free: 12.85 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002355/0.7723, allocations: 1.344 MB / 0.8357 GB, free: 11.45 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003936/0.7727, allocations: 348.6 kB / 0.8361 GB, free: 11.09 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0005848/0.7733, allocations: 196.6 kB / 0.8362 GB, free: 10.89 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001301/0.7734, allocations: 52.5 kB / 0.8363 GB, free: 10.84 MB / 0.6856 GB Notification: Performance of SimCode: time 8.62e-07/0.7734, allocations: 0 / 0.8363 GB, free: 10.84 MB / 0.6856 GB Notification: Performance of Templates: time 0.02167/0.7951, allocations: 11.22 MB / 0.8473 GB, free: 15.89 MB / 0.7012 GB " [Timeout remaining time 659] make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MassFraction.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MassFraction.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MassFraction.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MassFraction.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MassFraction.sim & ./IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MassFraction -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MassFraction.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.452848679036833] Failed to read output from testmodel.py, exit status != 0: 0.8049198510125279 0.826885067 0.084082745 Calling exit ...