Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Movers.Validation.PumpCurveDerivatives.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.001373/0.001373, allocations: 74.98 kB / 19.93 MB, free: 1.77 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.001566/0.001566, allocations: 171.5 kB / 23.22 MB, free: 4.887 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.394/1.394, allocations: 177.2 MB / 203.5 MB, free: 9.152 MB / 190.1 MB " [Timeout remaining time 179] 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.9028/0.9028, allocations: 114 MB / 373.9 MB, free: 13.23 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.PumpCurveDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Movers.Validation.PumpCurveDerivatives") translateModel(IBPSA.Fluid.Movers.Validation.PumpCurveDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Movers.Validation.PumpCurveDerivatives") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 0.5547 GB, free: 2.613 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.88e-05/3.01e-05, allocations: 3.156 kB / 0.5547 GB, free: 2.609 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Movers.Validation.PumpCurveDerivatives): time 0.08189/0.08192, allocations: 72.15 MB / 0.6251 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0425/0.1244, allocations: 26.47 MB / 0.651 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005162/0.1296, allocations: 166.7 kB / 0.6511 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.008352/0.1379, allocations: 2.692 MB / 0.6538 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.01169/0.1496, allocations: 4.207 MB / 0.6579 GB, free: 8.59 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.008817/0.1584, allocations: 3.342 MB / 0.6611 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.03731/0.1958, allocations: 23.58 MB / 0.6842 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004615/0.2004, allocations: 2.191 MB / 0.6863 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01046/0.2108, allocations: 4.79 MB / 0.691 GB, free: 6.609 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003923/0.2148, allocations: 2.186 MB / 0.6931 GB, free: 4.418 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0008053/0.2156, allocations: 296 kB / 0.6934 GB, free: 4.129 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004342/0.2199, allocations: 1.77 MB / 0.6951 GB, free: 2.355 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001907/0.2218, allocations: 1.823 MB / 0.6969 GB, free: 0.5273 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.2827/0.5045, allocations: 1.581 MB / 0.6984 GB, free: 33.81 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01051/0.515, allocations: 7.21 MB / 0.7055 GB, free: 33.53 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.515, allocations: 0 / 0.7055 GB, free: 33.53 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.273e-06/0.515, allocations: 1 kB / 0.7055 GB, free: 33.53 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.000157/0.5152, allocations: 0 / 0.7055 GB, free: 33.53 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 405 * Number of variables: 405 Notification: Performance of Generate backend data structure: time 0.01268/0.5278, allocations: 5.541 MB / 0.7109 GB, free: 30.71 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.5279, allocations: 9.781 kB / 0.7109 GB, free: 30.71 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009544/0.5374, allocations: 1.582 MB / 0.7124 GB, free: 30.41 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01619/0.5536, allocations: 7.422 MB / 0.7197 GB, free: 29.29 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001412/0.5538, allocations: 138.9 kB / 0.7198 GB, free: 29.29 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004168/0.5542, allocations: 179 kB / 0.72 GB, free: 29.29 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004779/0.559, allocations: 2.709 MB / 0.7226 GB, free: 28.88 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.603e-05/0.559, allocations: 9.812 kB / 0.7227 GB, free: 28.88 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001906/0.5592, allocations: 67.97 kB / 0.7227 GB, free: 28.88 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.732e-05/0.5592, allocations: 41.89 kB / 0.7228 GB, free: 28.88 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004839/0.5641, allocations: 2.015 MB / 0.7247 GB, free: 28.86 MB / 0.5919 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.0145/0.5786, allocations: 8.799 MB / 0.7333 GB, free: 25.95 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005294/0.5838, allocations: 1.742 MB / 0.735 GB, free: 25.89 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001898/0.5857, allocations: 0.7767 MB / 0.7358 GB, free: 25.86 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005591/0.5913, allocations: 2.417 MB / 0.7381 GB, free: 25.5 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.091e-05/0.5914, allocations: 41.94 kB / 0.7382 GB, free: 25.46 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=82): time 2.334e-06/0.5914, allocations: 0 / 0.7382 GB, free: 25.46 MB / 0.5919 GB Notification: Performance of matching and sorting (n=82): time 0.007469/0.5988, allocations: 2.787 MB / 0.7409 GB, free: 25.11 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.141e-05/0.5989, allocations: 62.75 kB / 0.741 GB, free: 25.05 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007329/0.6062, allocations: 5.146 MB / 0.746 GB, free: 24.7 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0004741/0.6067, allocations: 50.95 kB / 0.746 GB, free: 24.66 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001622/0.6083, allocations: 2.206 MB / 0.7482 GB, free: 24.21 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003591/0.6086, allocations: 295.1 kB / 0.7485 GB, free: 24.02 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000584/0.6092, allocations: 375.7 kB / 0.7488 GB, free: 24 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 4.067e-05/0.6093, allocations: 303.9 kB / 0.7491 GB, free: 23.7 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002586/0.6119, allocations: 1.417 MB / 0.7505 GB, free: 23.66 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002958/0.6148, allocations: 2.501 MB / 0.7529 GB, free: 22.38 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005181/0.62, allocations: 3.438 MB / 0.7563 GB, free: 20.83 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-05/0.62, allocations: 5.094 kB / 0.7563 GB, free: 20.83 MB / 0.5919 GB Notification: Performance of matching and sorting (n=204) (initialization): time 0.007684/0.6277, allocations: 4.104 MB / 0.7603 GB, free: 19.43 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.064e-05/0.6277, allocations: 11.31 kB / 0.7603 GB, free: 19.43 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.441e-05/0.6277, allocations: 24.66 kB / 0.7603 GB, free: 19.43 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007379/0.6285, allocations: 407.9 kB / 0.7607 GB, free: 19.3 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001955/0.6304, allocations: 454.6 kB / 0.7612 GB, free: 19.28 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006588/0.6311, allocations: 0.8914 MB / 0.762 GB, free: 18.62 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003664/0.6348, allocations: 308.8 kB / 0.7623 GB, free: 18.48 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002608/0.635, allocations: 126.5 kB / 0.7625 GB, free: 18.47 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003957/0.639, allocations: 2.209 MB / 0.7646 GB, free: 17.56 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002422/0.6414, allocations: 2.271 MB / 0.7668 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004296/0.6457, allocations: 2.996 MB / 0.7698 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.03e-05/0.6457, allocations: 8 kB / 0.7698 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of matching and sorting (n=204) (initialization_lambda0): time 0.006831/0.6525, allocations: 3.672 MB / 0.7734 GB, free: 8.672 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.6526, allocations: 13.75 kB / 0.7734 GB, free: 8.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.073e-05/0.6526, allocations: 24.55 kB / 0.7734 GB, free: 8.637 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008697/0.6535, allocations: 428.7 kB / 0.7738 GB, free: 8.215 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001716/0.6552, allocations: 438.9 kB / 0.7742 GB, free: 7.812 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006111/0.6613, allocations: 5.889 MB / 0.78 GB, free: 1.789 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003844/0.6651, allocations: 283 kB / 0.7802 GB, free: 1.512 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002445/0.6654, allocations: 112 kB / 0.7803 GB, free: 1.402 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 94 * 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 (179): * Single equations (assignments): 175 * Array equations: 3 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0005133/0.6659, allocations: 288 kB / 0.7806 GB, free: 1.141 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007657/0.6666, allocations: 456.9 kB / 0.7811 GB, free: 0.6914 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007017/0.6737, allocations: 2.58 MB / 0.7836 GB, free: 14.14 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.519e-05/0.6737, allocations: 11.98 kB / 0.7836 GB, free: 14.12 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.6737, allocations: 0 / 0.7836 GB, free: 14.12 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.778e-05/0.6737, allocations: 7.984 kB / 0.7836 GB, free: 14.12 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01278/0.6865, allocations: 4.533 MB / 0.788 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.778e-06/0.6865, allocations: 4 kB / 0.788 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001608/0.6881, allocations: 274.3 kB / 0.7883 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003732/0.6885, allocations: 160.7 kB / 0.7884 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001044/0.6886, allocations: 37.16 kB / 0.7885 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007843/0.6894, allocations: 0.8052 MB / 0.7893 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.6894, allocations: 0 / 0.7893 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009567/0.6989, allocations: 3.5 MB / 0.7927 GB, free: 4.762 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00344/0.7024, allocations: 0.6438 MB / 0.7933 GB, free: 4.117 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002463/0.7048, allocations: 20 kB / 0.7933 GB, free: 4.098 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00314/0.708, allocations: 151.8 kB / 0.7935 GB, free: 3.949 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002002/0.7082, allocations: 68.25 kB / 0.7935 GB, free: 3.887 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002033/0.7084, allocations: 63.88 kB / 0.7936 GB, free: 3.824 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.008502/0.7169, allocations: 3.578 MB / 0.7971 GB, free: 276 kB / 0.6075 GB Notification: Performance of sort global known variables: time 2.71e-07/0.7169, allocations: 0 / 0.7971 GB, free: 276 kB / 0.6075 GB Notification: Performance of remove unused functions: time 0.009121/0.726, allocations: 1.702 MB / 0.7988 GB, free: 14.56 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (ddp_dm_flow.x,ddp_dy.x,dm_flow_dy.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 (96): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002394/0.7284, allocations: 0.6422 MB / 0.7994 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.01071/0.7391, allocations: 3.948 MB / 0.8032 GB, free: 10.15 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.632e-06/0.7391, allocations: 0 / 0.8032 GB, free: 10.15 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.002809/0.7419, allocations: 0.8692 MB / 0.8041 GB, free: 9.305 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01394/0.7559, allocations: 2.629 MB / 0.8067 GB, free: 6.82 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01898/0.7749, allocations: 7.808 MB / 0.8143 GB, free: 14.97 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004107/0.779, allocations: 2.132 MB / 0.8164 GB, free: 12.8 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.005561/0.7845, allocations: 1.13 MB / 0.8175 GB, free: 11.68 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001473/0.786, allocations: 368.3 kB / 0.8178 GB, free: 11.32 MB / 0.6387 GB Notification: Performance of SimCode: time 1.292e-06/0.786, allocations: 0 / 0.8178 GB, free: 11.32 MB / 0.6387 GB Notification: Performance of Templates: time 0.1676/0.9536, allocations: 98.77 MB / 0.9143 GB, free: 10.14 MB / 0.7325 GB " [Timeout remaining time 659] make -j1 -f IBPSA_latest_IBPSA.Fluid.Movers.Validation.PumpCurveDerivatives.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.Movers.Validation.PumpCurveDerivatives.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Movers.Validation.PumpCurveDerivatives.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Movers.Validation.PumpCurveDerivatives.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Movers.Validation.PumpCurveDerivatives.sim & ./IBPSA_latest_IBPSA.Fluid.Movers.Validation.PumpCurveDerivatives -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Movers.Validation.PumpCurveDerivatives.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.49776691570878] Failed to read output from testmodel.py, exit status != 0: 0.9628726802766323 0.976767036 0.45850784699999997 Calling exit ...