Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sensors.Examples.Pressure.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.001345/0.001345, allocations: 104.3 kB / 16.45 MB, free: 6.5 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.00133/0.00133, allocations: 210.4 kB / 19.42 MB, free: 3.66 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.42/1.42, allocations: 230.6 MB / 252.8 MB, free: 8.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8565/0.8565, allocations: 133.9 MB / 442.8 MB, free: 11.71 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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: "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.Pressure,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_Pressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.Pressure,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_Pressure",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.001909/0.001909, allocations: 65.31 kB / 0.6134 GB, free: 8.754 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1696/0.1715, allocations: 85.85 MB / 0.6973 GB, free: 2.98 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Pressure): time 0.5845/0.756, allocations: 172.9 MB / 0.8661 GB, free: 11.55 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01048/0.7665, allocations: 7.366 MB / 0.8733 GB, free: 4.168 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009596/0.7674, allocations: 19.81 kB / 0.8733 GB, free: 4.148 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0009784/0.7684, allocations: 222.5 kB / 0.8736 GB, free: 3.93 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001933/0.7704, allocations: 0.5912 MB / 0.8741 GB, free: 3.336 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001542/0.7719, allocations: 443.8 kB / 0.8746 GB, free: 2.906 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001287/0.7732, allocations: 0.705 MB / 0.8752 GB, free: 2.199 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004992/0.7737, allocations: 219.4 kB / 0.8754 GB, free: 1.988 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009707/0.7747, allocations: 402.5 kB / 0.8758 GB, free: 1.594 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003509/0.775, allocations: 235 kB / 0.8761 GB, free: 1.363 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 4.151e-05/0.775, allocations: 20 kB / 0.8761 GB, free: 1.344 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001605/0.7766, allocations: 0.7249 MB / 0.8768 GB, free: 0.6172 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001806/0.7768, allocations: 115.6 kB / 0.8769 GB, free: 0.5039 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0002342/0.7771, allocations: 159.2 kB / 0.877 GB, free: 356 kB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.00123/0.7783, allocations: 0.5706 MB / 0.8776 GB, free: 15.78 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/0.7783, allocations: 0 / 0.8776 GB, free: 15.78 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.144e-06/0.7783, allocations: 3.938 kB / 0.8776 GB, free: 15.78 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.406e-06/0.7783, allocations: 0 / 0.8776 GB, free: 15.78 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001139/0.7795, allocations: 0.6575 MB / 0.8782 GB, free: 15.07 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/0.7795, allocations: 13.11 kB / 0.8783 GB, free: 15.06 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.799e-05/0.7796, allocations: 54.55 kB / 0.8783 GB, free: 15 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003772/0.78, allocations: 71.7 kB / 0.8784 GB, free: 14.93 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005613/0.7805, allocations: 315.6 kB / 0.8787 GB, free: 14.58 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.596e-05/0.7805, allocations: 16.44 kB / 0.8787 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.656e-05/0.7806, allocations: 24 kB / 0.8787 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005602/0.7811, allocations: 308.5 kB / 0.879 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.7811, allocations: 0 / 0.879 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.225e-05/0.7812, allocations: 8 kB / 0.879 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.7812, allocations: 4 kB / 0.879 GB, free: 14.19 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004175/0.7816, allocations: 183.8 kB / 0.8792 GB, free: 14.01 MB / 0.6544 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.001998/0.7836, allocations: 1.69 MB / 0.8809 GB, free: 12.2 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002898/0.7839, allocations: 90.45 kB / 0.8809 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001747/0.7841, allocations: 73.88 kB / 0.881 GB, free: 12.03 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003092/0.7844, allocations: 190.2 kB / 0.8812 GB, free: 11.81 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.035e-05/0.7844, allocations: 34.56 kB / 0.8812 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=11): time 1.212e-06/0.7844, allocations: 0 / 0.8812 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11): time 0.0007569/0.7852, allocations: 227.3 kB / 0.8814 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.093e-05/0.7852, allocations: 55.41 kB / 0.8815 GB, free: 11.47 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003678/0.7856, allocations: 320.5 kB / 0.8818 GB, free: 11.15 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.503e-05/0.7856, allocations: 29.7 kB / 0.8818 GB, free: 11.11 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001734/0.7858, allocations: 208.1 kB / 0.882 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.467e-05/0.7858, allocations: 35.66 kB / 0.8821 GB, free: 10.87 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.681e-05/0.7859, allocations: 49.7 kB / 0.8821 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001783/0.7861, allocations: 338.8 kB / 0.8824 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001566/0.7862, allocations: 60.77 kB / 0.8825 GB, free: 10.41 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002901/0.7865, allocations: 199 kB / 0.8827 GB, free: 10.16 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003965/0.7869, allocations: 233.5 kB / 0.8829 GB, free: 9.883 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.7869, allocations: 3.938 kB / 0.8829 GB, free: 9.879 MB / 0.6544 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005158/0.7874, allocations: 253.1 kB / 0.8831 GB, free: 9.625 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.7875, allocations: 12.34 kB / 0.8832 GB, free: 9.613 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.7875, allocations: 8 kB / 0.8832 GB, free: 9.605 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.7875, allocations: 4 kB / 0.8832 GB, free: 9.602 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001826/0.7877, allocations: 47.91 kB / 0.8832 GB, free: 9.555 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/0.7877, allocations: 7.938 kB / 0.8832 GB, free: 9.547 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002471/0.7879, allocations: 39.77 kB / 0.8833 GB, free: 9.508 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.157e-05/0.788, allocations: 8 kB / 0.8833 GB, free: 9.5 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002539/0.7882, allocations: 172.1 kB / 0.8834 GB, free: 9.328 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002808/0.7885, allocations: 199.5 kB / 0.8836 GB, free: 9.074 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003874/0.7889, allocations: 233.6 kB / 0.8838 GB, free: 8.797 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.904e-06/0.7889, allocations: 4 kB / 0.8838 GB, free: 8.793 MB / 0.6544 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004884/0.7894, allocations: 249 kB / 0.8841 GB, free: 8.543 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/0.7894, allocations: 8.406 kB / 0.8841 GB, free: 8.535 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.7894, allocations: 4.703 kB / 0.8841 GB, free: 8.531 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.933e-06/0.7894, allocations: 8 kB / 0.8841 GB, free: 8.523 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000183/0.7896, allocations: 51.91 kB / 0.8842 GB, free: 8.473 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.7896, allocations: 7.938 kB / 0.8842 GB, free: 8.465 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002315/0.7898, allocations: 27.75 kB / 0.8842 GB, free: 8.441 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.407e-05/0.7898, allocations: 15.98 kB / 0.8842 GB, free: 8.426 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (23): * Single equations (assignments): 23 * 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.0001467/0.79, allocations: 204.1 kB / 0.8844 GB, free: 8.219 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.417e-05/0.79, allocations: 35.81 kB / 0.8844 GB, free: 8.184 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004241/0.7905, allocations: 165.9 kB / 0.8846 GB, free: 8.016 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.7905, allocations: 0 / 0.8846 GB, free: 8.016 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.7905, allocations: 0 / 0.8846 GB, free: 8.016 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.7905, allocations: 0 / 0.8846 GB, free: 8.016 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001016/0.7915, allocations: 0.6132 MB / 0.8852 GB, free: 7.324 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.7915, allocations: 0 / 0.8852 GB, free: 7.324 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000123/0.7916, allocations: 23.98 kB / 0.8852 GB, free: 7.301 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.743e-06/0.7916, allocations: 4.219 kB / 0.8852 GB, free: 7.297 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.492e-05/0.7916, allocations: 12 kB / 0.8852 GB, free: 7.285 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.137e-06/0.7916, allocations: 3.938 kB / 0.8852 GB, free: 7.281 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/0.7917, allocations: 7.938 kB / 0.8852 GB, free: 7.273 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004314/0.7921, allocations: 293.3 kB / 0.8855 GB, free: 6.949 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001237/0.7922, allocations: 120.8 kB / 0.8856 GB, free: 6.812 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.157e-05/0.7923, allocations: 8 kB / 0.8856 GB, free: 6.805 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001968/0.7924, allocations: 19.86 kB / 0.8857 GB, free: 6.785 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.945e-05/0.7925, allocations: 15.98 kB / 0.8857 GB, free: 6.77 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.051e-05/0.7925, allocations: 7.938 kB / 0.8857 GB, free: 6.762 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002539/0.7928, allocations: 227 kB / 0.8859 GB, free: 6.543 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.7928, allocations: 0 / 0.8859 GB, free: 6.543 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0005955/0.7934, allocations: 131.8 kB / 0.886 GB, free: 6.414 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (11): * Single equations (assignments): 11 * 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 Backend phase and start with SimCode phase: time 0.0009808/0.7943, allocations: 0.8858 MB / 0.8869 GB, free: 5.484 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0006197/0.795, allocations: 240.9 kB / 0.8871 GB, free: 5.25 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.795, allocations: 0 / 0.8871 GB, free: 5.25 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001824/0.7951, allocations: 68.09 kB / 0.8872 GB, free: 5.184 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007726/0.7959, allocations: 121.3 kB / 0.8873 GB, free: 5.066 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004017/0.7999, allocations: 2.805 MB / 0.89 GB, free: 2.039 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004712/0.8004, allocations: 0.7795 MB / 0.8908 GB, free: 1.234 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0002723/0.8007, allocations: 91.48 kB / 0.8909 GB, free: 1.148 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001431/0.8008, allocations: 87.41 kB / 0.891 GB, free: 1.062 MB / 0.6544 GB Notification: Performance of SimCode: time 6.61e-07/0.8008, allocations: 0 / 0.891 GB, free: 1.062 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03266/0.8335, allocations: 7.912 MB / 0.8987 GB, free: 9.32 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.193/9.027, allocations: 8.938 kB / 0.8987 GB, free: 9.312 MB / 0.67 GB " [Timeout remaining time 651] (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.Pressure.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.Pressure.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Sensors.Examples.Pressure_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Fluid_Sensors_Examples_Pressure.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.Pressure.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.69579512999917] Failed to read output from testmodel.py, exit status != 0: 9.10000298099476 9.125016536 8.341929058 Calling exit ...