Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.Frosting.Validation.WetterAfjei1997.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.0008478/0.0008478, allocations: 76.45 kB / 19.9 MB, free: 16 kB / 13.93 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.0008351/0.0008351, allocations: 170.2 kB / 23.18 MB, free: 1.383 MB / 18.57 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 0.9444/0.9444, allocations: 177.2 MB / 203.6 MB, free: 5.77 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7473/0.7473, allocations: 154.9 MB / 414.9 MB, free: 80 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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(IDEAS.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.Frosting.Validation.WetterAfjei1997,tolerance=1e-08,outputFormat="empty",numberOfIntervals=35,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.Frosting.Validation.WetterAfjei1997") translateModel(IDEAS.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.Frosting.Validation.WetterAfjei1997,tolerance=1e-08,outputFormat="empty",numberOfIntervals=35,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.Frosting.Validation.WetterAfjei1997") [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.0008927/0.0008927, allocations: 75.88 kB / 0.6199 GB, free: 12.75 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4723/0.4732, allocations: 102 MB / 0.7195 GB, free: 23.45 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.Frosting.Validation.WetterAfjei1997): time 0.002739/0.476, allocations: 1.832 MB / 0.7213 GB, free: 22.22 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0007693/0.4767, allocations: 0.5045 MB / 0.7218 GB, free: 21.89 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.858e-05/0.4768, allocations: 3.5 kB / 0.7218 GB, free: 21.89 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 5.341e-05/0.4769, allocations: 15.75 kB / 0.7218 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0003883/0.4772, allocations: 102.6 kB / 0.7219 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 6.346e-05/0.4773, allocations: 41.03 kB / 0.7219 GB, free: 21.8 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.000158/0.4775, allocations: 135.5 kB / 0.7221 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000258/0.4777, allocations: 102.7 kB / 0.7222 GB, free: 21.67 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001185/0.4778, allocations: 89.78 kB / 0.7222 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 7.911e-05/0.4779, allocations: 51.31 kB / 0.7223 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.075e-05/0.4779, allocations: 17 kB / 0.7223 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002023/0.4782, allocations: 96.27 kB / 0.7224 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 3.553e-05/0.4782, allocations: 41.75 kB / 0.7224 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 5.412e-05/0.4782, allocations: 58.72 kB / 0.7225 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0003546/0.4786, allocations: 251.1 kB / 0.7227 GB, free: 21.4 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.4786, allocations: 1.062 kB / 0.7227 GB, free: 21.4 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.986e-06/0.4786, allocations: 3.938 kB / 0.7227 GB, free: 21.4 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.077e-06/0.4786, allocations: 0 / 0.7227 GB, free: 21.4 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0005711/0.4792, allocations: 388.8 kB / 0.7231 GB, free: 21.06 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.073e-05/0.4792, allocations: 12.3 kB / 0.7231 GB, free: 21.06 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.624e-05/0.4793, allocations: 21.02 kB / 0.7231 GB, free: 21.05 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002275/0.4795, allocations: 163.1 kB / 0.7233 GB, free: 20.88 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.862e-05/0.4795, allocations: 16.22 kB / 0.7233 GB, free: 20.88 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.949e-05/0.4796, allocations: 14.25 kB / 0.7233 GB, free: 20.87 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003192/0.4799, allocations: 161.8 kB / 0.7235 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/0.4799, allocations: 192 / 0.7235 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.74e-05/0.4799, allocations: 10.19 kB / 0.7235 GB, free: 20.78 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.688e-06/0.4799, allocations: 3.75 kB / 0.7235 GB, free: 20.78 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000233/0.4802, allocations: 113.4 kB / 0.7236 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006295/0.4808, allocations: 407.8 kB / 0.724 GB, free: 20.44 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001562/0.481, allocations: 59.58 kB / 0.724 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.208e-05/0.481, allocations: 35.77 kB / 0.7241 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002161/0.4812, allocations: 28.8 kB / 0.7241 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.39e-05/0.4813, allocations: 31.66 kB / 0.7241 GB, free: 20.35 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=5): time 1.653e-06/0.4813, allocations: 0 / 0.7241 GB, free: 20.35 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5): time 0.0003615/0.4816, allocations: 111.4 kB / 0.7242 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.755e-05/0.4817, allocations: 57.38 kB / 0.7243 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001147/0.4818, allocations: 135.1 kB / 0.7244 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.266e-06/0.4818, allocations: 25.7 kB / 0.7244 GB, free: 20.08 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.873e-05/0.4819, allocations: 145.7 kB / 0.7246 GB, free: 19.95 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.38e-05/0.4819, allocations: 15.27 kB / 0.7246 GB, free: 19.94 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.158e-05/0.4819, allocations: 21.83 kB / 0.7246 GB, free: 19.92 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.493e-05/0.482, allocations: 320.2 kB / 0.7249 GB, free: 19.6 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.366e-05/0.482, allocations: 27.66 kB / 0.725 GB, free: 19.59 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.292e-05/0.4821, allocations: 51 kB / 0.725 GB, free: 19.55 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001279/0.4822, allocations: 77.17 kB / 0.7251 GB, free: 19.51 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.4822, allocations: 0 / 0.7251 GB, free: 19.51 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001811/0.4824, allocations: 111.2 kB / 0.7252 GB, free: 19.45 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.4824, allocations: 5.219 kB / 0.7252 GB, free: 19.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.4824, allocations: 1 kB / 0.7252 GB, free: 19.45 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/0.4825, allocations: 1.188 kB / 0.7252 GB, free: 19.45 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.647e-05/0.4825, allocations: 26.09 kB / 0.7252 GB, free: 19.44 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.587e-06/0.4826, allocations: 3.234 kB / 0.7252 GB, free: 19.44 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.054e-05/0.4826, allocations: 11.83 kB / 0.7252 GB, free: 19.44 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.278e-06/0.4826, allocations: 3.312 kB / 0.7252 GB, free: 19.44 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (8): * Single equations (assignments): 8 * 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 6.475e-05/0.4827, allocations: 131.9 kB / 0.7254 GB, free: 19.31 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.902e-05/0.4827, allocations: 8.547 kB / 0.7254 GB, free: 19.3 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001983/0.4829, allocations: 97.19 kB / 0.7255 GB, free: 19.25 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.4829, allocations: 9.344 kB / 0.7255 GB, free: 19.24 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.4829, allocations: 3.984 kB / 0.7255 GB, free: 19.23 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.4829, allocations: 2.219 kB / 0.7255 GB, free: 19.23 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001234/0.483, allocations: 142.4 kB / 0.7256 GB, free: 19.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.483, allocations: 8 kB / 0.7256 GB, free: 19.09 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.095e-05/0.4831, allocations: 13.72 kB / 0.7256 GB, free: 19.09 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.155e-06/0.4831, allocations: 0 / 0.7256 GB, free: 19.09 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.879e-06/0.4831, allocations: 1.578 kB / 0.7256 GB, free: 19.09 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.4831, allocations: 1.188 kB / 0.7256 GB, free: 19.09 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.4831, allocations: 3.938 kB / 0.7256 GB, free: 19.09 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001597/0.4833, allocations: 183.1 kB / 0.7258 GB, free: 18.94 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.344e-05/0.4833, allocations: 7.578 kB / 0.7258 GB, free: 18.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.339e-05/0.4833, allocations: 4.562 kB / 0.7258 GB, free: 18.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.392e-05/0.4833, allocations: 8.406 kB / 0.7258 GB, free: 18.93 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.207e-05/0.4834, allocations: 11.92 kB / 0.7258 GB, free: 18.92 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.549e-06/0.4834, allocations: 1.656 kB / 0.7258 GB, free: 18.92 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.31e-05/0.4834, allocations: 100.1 kB / 0.7259 GB, free: 18.84 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4834, allocations: 0 / 0.7259 GB, free: 18.84 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002227/0.4837, allocations: 58.02 kB / 0.726 GB, free: 18.82 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (5): * Single equations (assignments): 5 * 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.0002109/0.4839, allocations: 139.2 kB / 0.7261 GB, free: 18.71 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002173/0.4841, allocations: 67.27 kB / 0.7262 GB, free: 18.7 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.4841, allocations: 0 / 0.7262 GB, free: 18.7 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.991e-05/0.4842, allocations: 26.89 kB / 0.7262 GB, free: 18.69 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002874/0.4844, allocations: 14.73 kB / 0.7262 GB, free: 18.68 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004955/0.4849, allocations: 253.2 kB / 0.7265 GB, free: 18.5 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001014/0.485, allocations: 101.1 kB / 0.7266 GB, free: 18.42 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.086e-05/0.4851, allocations: 12.19 kB / 0.7266 GB, free: 18.41 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.59e-05/0.4851, allocations: 12.59 kB / 0.7266 GB, free: 18.41 MB / 0.6355 GB Notification: Performance of SimCode: time 1.042e-06/0.4851, allocations: 3.938 kB / 0.7266 GB, free: 18.4 MB / 0.6355 GB Notification: Performance of Templates: time 0.003794/0.4889, allocations: 1.309 MB / 0.7279 GB, free: 18.26 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.Frosting.Validation.WetterAfjei1997.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.Frosting.Validation.WetterAfjei1997.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.Frosting.Validation.WetterAfjei1997.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.Frosting.Validation.WetterAfjei1997.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.Frosting.Validation.WetterAfjei1997.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.Frosting.Validation.WetterAfjei1997 -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.Frosting.Validation.WetterAfjei1997.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.321984647074714] Failed to read output from testmodel.py, exit status != 0: 0.4953839930240065 0.5077288050000001 0.026599156000000002 Calling exit ...