Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Movers.Validation.ComparePowerTotal.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.001663/0.001663, allocations: 79.58 kB / 20.52 MB, free: 1.27 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.001963/0.001963, allocations: 169.2 kB / 23.77 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.437/1.437, allocations: 177.2 MB / 204.1 MB, free: 8.984 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.9073/0.9073, 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.Movers.Validation.ComparePowerTotal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Movers.Validation.ComparePowerTotal") translateModel(IBPSA.Fluid.Movers.Validation.ComparePowerTotal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Movers.Validation.ComparePowerTotal") [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.002125/0.002125, allocations: 68.02 kB / 0.5551 GB, free: 2.688 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1563/0.1584, allocations: 89.15 MB / 0.6421 GB, free: 9.488 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Movers.Validation.ComparePowerTotal): time 0.4079/0.5663, allocations: 98.27 MB / 0.7381 GB, free: 5.285 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.04091/0.6073, allocations: 27.57 MB / 0.765 GB, free: 2.805 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005098/0.6124, allocations: 167.3 kB / 0.7652 GB, free: 2.719 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.008338/0.6207, allocations: 2.727 MB / 0.7679 GB, free: 0.875 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.01429/0.635, allocations: 4.756 MB / 0.7725 GB, free: 13.13 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.008809/0.6438, allocations: 3.389 MB / 0.7758 GB, free: 10.64 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.04775/0.6915, allocations: 30.34 MB / 0.8054 GB, free: 15.97 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004768/0.6963, allocations: 2.361 MB / 0.8077 GB, free: 13.55 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009659/0.706, allocations: 3.768 MB / 0.8114 GB, free: 9.781 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005612/0.7116, allocations: 2.737 MB / 0.8141 GB, free: 7.035 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0009615/0.7125, allocations: 324 kB / 0.8144 GB, free: 6.719 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005378/0.7179, allocations: 2.082 MB / 0.8164 GB, free: 4.633 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0019/0.7198, allocations: 1.826 MB / 0.8182 GB, free: 2.801 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.002999/0.7228, allocations: 2.075 MB / 0.8203 GB, free: 0.7148 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01083/0.7337, allocations: 7.69 MB / 0.8278 GB, free: 8.996 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.7337, allocations: 3.938 kB / 0.8278 GB, free: 8.992 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.683e-06/0.7337, allocations: 4 kB / 0.8278 GB, free: 8.988 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0001388/0.7338, allocations: 3.984 kB / 0.8278 GB, free: 8.984 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: 373 * Number of variables: 373 Notification: Performance of Generate backend data structure: time 0.01251/0.7463, allocations: 6.055 MB / 0.8337 GB, free: 2.836 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/0.7464, allocations: 8.031 kB / 0.8337 GB, free: 2.828 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008329/0.7547, allocations: 1.577 MB / 0.8352 GB, free: 1.246 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01618/0.7709, allocations: 7.967 MB / 0.843 GB, free: 9.195 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001472/0.771, allocations: 134.9 kB / 0.8431 GB, free: 9.062 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003627/0.7714, allocations: 183.9 kB / 0.8433 GB, free: 8.883 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004997/0.7764, allocations: 2.592 MB / 0.8458 GB, free: 6.191 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.298e-05/0.7764, allocations: 0 / 0.8458 GB, free: 6.191 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001846/0.7766, allocations: 64 kB / 0.8459 GB, free: 6.129 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.436e-05/0.7766, allocations: 36 kB / 0.8459 GB, free: 6.094 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004858/0.7815, allocations: 1.842 MB / 0.8477 GB, free: 4.246 MB / 0.6856 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.01633/0.7978, allocations: 8.256 MB / 0.8558 GB, free: 11.78 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004799/0.8026, allocations: 1.493 MB / 0.8573 GB, free: 10.28 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001949/0.8046, allocations: 0.6898 MB / 0.8579 GB, free: 9.586 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006317/0.8109, allocations: 2.345 MB / 0.8602 GB, free: 7.215 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.623e-05/0.8109, allocations: 43.22 kB / 0.8603 GB, free: 7.164 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=68): time 2.374e-06/0.8109, allocations: 0 / 0.8603 GB, free: 7.164 MB / 0.7012 GB Notification: Performance of matching and sorting (n=68): time 0.009768/0.8207, allocations: 2.972 MB / 0.8632 GB, free: 4.176 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.31e-05/0.8207, allocations: 60.06 kB / 0.8632 GB, free: 4.102 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008916/0.8297, allocations: 5.481 MB / 0.8686 GB, free: 14.6 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.000341/0.83, allocations: 53.7 kB / 0.8686 GB, free: 14.54 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.002338/0.8323, allocations: 2.287 MB / 0.8709 GB, free: 12.25 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.000389/0.8327, allocations: 257.8 kB / 0.8711 GB, free: 11.99 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006566/0.8334, allocations: 402.4 kB / 0.8715 GB, free: 11.59 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001268/0.8335, allocations: 305.1 kB / 0.8718 GB, free: 11.29 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002927/0.8364, allocations: 1.478 MB / 0.8732 GB, free: 9.812 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004229/0.8407, allocations: 3.26 MB / 0.8764 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006413/0.8471, allocations: 3.581 MB / 0.8799 GB, free: 2.074 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.777e-05/0.8471, allocations: 8 kB / 0.8799 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.009498/0.8566, allocations: 4.642 MB / 0.8844 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.542e-05/0.8566, allocations: 16 kB / 0.8845 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.111e-05/0.8567, allocations: 20 kB / 0.8845 GB, free: 13.37 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002067/0.8587, allocations: 1.046 MB / 0.8855 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001838/0.8606, allocations: 383.3 kB / 0.8859 GB, free: 11.94 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002563/0.8631, allocations: 2.516 MB / 0.8883 GB, free: 9.348 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003795/0.8669, allocations: 326.9 kB / 0.8886 GB, free: 9.027 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003503/0.8673, allocations: 143.9 kB / 0.8888 GB, free: 8.887 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004672/0.8719, allocations: 2.307 MB / 0.891 GB, free: 6.574 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00402/0.876, allocations: 3.062 MB / 0.894 GB, free: 2.898 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006087/0.882, allocations: 3.176 MB / 0.8971 GB, free: 15.44 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.6e-05/0.8821, allocations: 12 kB / 0.8971 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of matching and sorting (n=191) (initialization_lambda0): time 0.0102/0.8923, allocations: 4.333 MB / 0.9014 GB, free: 11.08 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.407e-05/0.8923, allocations: 12 kB / 0.9014 GB, free: 11.07 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.602e-05/0.8923, allocations: 20.19 kB / 0.9014 GB, free: 11.05 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002752/0.8951, allocations: 1.112 MB / 0.9025 GB, free: 9.926 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001774/0.8968, allocations: 379.3 kB / 0.9028 GB, free: 9.555 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02157/0.9184, allocations: 15.62 MB / 0.9181 GB, free: 9.539 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004176/0.9226, allocations: 343.5 kB / 0.9184 GB, free: 9.203 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003875/0.923, allocations: 120 kB / 0.9185 GB, free: 9.086 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 91 * 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 (152): * Single equations (assignments): 146 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,4), (1,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0004943/0.9235, allocations: 287.8 kB / 0.9188 GB, free: 8.797 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001179/0.9246, allocations: 476.7 kB / 0.9193 GB, free: 8.328 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00714/0.9318, allocations: 2.767 MB / 0.922 GB, free: 5.535 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.111e-05/0.9318, allocations: 15.98 kB / 0.922 GB, free: 5.52 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.9318, allocations: 3.938 kB / 0.922 GB, free: 5.516 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.258e-05/0.9318, allocations: 7.984 kB / 0.922 GB, free: 5.508 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01119/0.943, allocations: 4.696 MB / 0.9266 GB, free: 0.7422 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.943, allocations: 0 / 0.9266 GB, free: 0.7422 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001279/0.9443, allocations: 223.8 kB / 0.9268 GB, free: 0.5234 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009741/0.9453, allocations: 438.1 kB / 0.9272 GB, free: 88 kB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.46e-05/0.9454, allocations: 35.91 kB / 0.9272 GB, free: 52 kB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002062/0.9474, allocations: 2.34 MB / 0.9295 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.9474, allocations: 0 / 0.9295 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006401/0.9538, allocations: 2.619 MB / 0.9321 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001765/0.9556, allocations: 0.6681 MB / 0.9327 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005341/0.9561, allocations: 27.88 kB / 0.9328 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002097/0.9582, allocations: 135.8 kB / 0.9329 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001444/0.9584, allocations: 68.88 kB / 0.933 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001374/0.9585, allocations: 59.95 kB / 0.933 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.00621/0.9647, allocations: 3.814 MB / 0.9367 GB, free: 6.195 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2e-07/0.9647, allocations: 0 / 0.9367 GB, free: 6.195 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.005008/0.9697, allocations: 1.801 MB / 0.9385 GB, free: 4.391 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 simulation (76): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,5), (1,5), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001392/0.9711, allocations: 0.6771 MB / 0.9392 GB, free: 3.703 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.009165/0.9803, allocations: 4.283 MB / 0.9433 GB, free: 15.39 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.9803, allocations: 3.938 kB / 0.9434 GB, free: 15.38 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.002305/0.9826, allocations: 0.8065 MB / 0.9441 GB, free: 14.57 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009399/0.992, allocations: 2.657 MB / 0.9467 GB, free: 11.98 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01356/1.006, allocations: 7.801 MB / 0.9544 GB, free: 4.125 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002726/1.008, allocations: 2.201 MB / 0.9565 GB, free: 1.879 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.004555/1.013, allocations: 1.188 MB / 0.9577 GB, free: 0.6875 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001082/1.014, allocations: 388.3 kB / 0.958 GB, free: 316 kB / 0.795 GB Notification: Performance of SimCode: time 6.11e-07/1.014, allocations: 0 / 0.958 GB, free: 316 kB / 0.795 GB Notification: Performance of Templates: time 0.4783/1.492, allocations: 110.3 MB / 1.066 GB, free: 290.8 MB / 0.8575 GB " [Timeout remaining time 659] make -j1 -f IBPSA_latest_IBPSA.Fluid.Movers.Validation.ComparePowerTotal.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.Movers.Validation.ComparePowerTotal.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Movers.Validation.ComparePowerTotal.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Movers.Validation.ComparePowerTotal.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Movers.Validation.ComparePowerTotal.sim & ./IBPSA_latest_IBPSA.Fluid.Movers.Validation.ComparePowerTotal -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Movers.Validation.ComparePowerTotal.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.75424717599526] Failed to read output from testmodel.py, exit status != 0: 1.5012859859270975 1.511486689 0.77531958 Calling exit ...