Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.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.001335/0.001335, allocations: 119 kB / 19.69 MB, free: 2.199 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.00147/0.00147, allocations: 221.5 kB / 23.01 MB, free: 5.043 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.501/1.501, allocations: 230.6 MB / 256.8 MB, free: 7.992 MB / 206.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 1.038/1.038, allocations: 150 MB / 463.2 MB, free: 10.5 MB / 366.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: "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Utilities_Validation_SunRiseSet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Utilities_Validation_SunRiseSet",fmuType="me",version="2.0",platforms={"static"}) [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: 61.91 kB / 0.6412 GB, free: 10.4 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1698/0.1719, allocations: 89.18 MB / 0.7283 GB, free: 1.289 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.002032/0.174, allocations: 0.8902 MB / 0.7292 GB, free: 408 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003352/0.1773, allocations: 2.584 MB / 0.7317 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.2e-05/0.1774, allocations: 4 kB / 0.7317 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.337e-05/0.1774, allocations: 15.8 kB / 0.7318 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002241/0.1777, allocations: 47.56 kB / 0.7318 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001094/0.1788, allocations: 0.4983 MB / 0.7323 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003572/0.1791, allocations: 311.1 kB / 0.7326 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.728e-05/0.1792, allocations: 13.8 kB / 0.7326 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002892/0.1795, allocations: 151.6 kB / 0.7327 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002244/0.1797, allocations: 151.5 kB / 0.7329 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.489e-05/0.1797, allocations: 24 kB / 0.7329 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006866/0.1804, allocations: 391.7 kB / 0.7333 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.252e-05/0.1805, allocations: 71.78 kB / 0.7333 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.00012/0.1806, allocations: 123.4 kB / 0.7335 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0007518/0.1814, allocations: 0.5685 MB / 0.734 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.1814, allocations: 4 kB / 0.734 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.363e-06/0.1814, allocations: 0 / 0.734 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.252e-06/0.1814, allocations: 0 / 0.734 GB, free: 11.44 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001328/0.1827, allocations: 0.6115 MB / 0.7346 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.1827, allocations: 12.02 kB / 0.7346 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.806e-05/0.1828, allocations: 46.73 kB / 0.7347 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001026/0.1838, allocations: 88.73 kB / 0.7348 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001409/0.184, allocations: 142.9 kB / 0.7349 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002317/0.1842, allocations: 234.2 kB / 0.7351 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.11e-05/0.1842, allocations: 16.38 kB / 0.7351 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003771/0.1846, allocations: 247.7 kB / 0.7354 GB, free: 9.898 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.1846, allocations: 7.938 kB / 0.7354 GB, free: 9.891 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.404e-05/0.1847, allocations: 8 kB / 0.7354 GB, free: 9.883 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.245e-06/0.1847, allocations: 4 kB / 0.7354 GB, free: 9.879 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002352/0.1849, allocations: 107.8 kB / 0.7355 GB, free: 9.773 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004846/0.1854, allocations: 370.2 kB / 0.7358 GB, free: 9.336 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001486/0.1869, allocations: 479.4 kB / 0.7363 GB, free: 8.758 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002336/0.1871, allocations: 158.2 kB / 0.7365 GB, free: 8.566 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.405e-05/0.1872, allocations: 15.91 kB / 0.7365 GB, free: 8.551 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005346/0.1877, allocations: 311.5 kB / 0.7368 GB, free: 8.195 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=40): time 2.375e-06/0.1877, allocations: 0 / 0.7368 GB, free: 8.195 MB / 0.5606 GB Notification: Performance of matching and sorting (n=40): time 0.0009431/0.1887, allocations: 417.1 kB / 0.7372 GB, free: 7.781 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002227/0.1889, allocations: 354.1 kB / 0.7375 GB, free: 7.355 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001812/0.1891, allocations: 163.2 kB / 0.7377 GB, free: 7.184 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.226e-05/0.1891, allocations: 41.7 kB / 0.7377 GB, free: 7.137 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.964e-05/0.1892, allocations: 97.62 kB / 0.7378 GB, free: 7.035 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001164/0.1893, allocations: 119 kB / 0.7379 GB, free: 6.918 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001448/0.1894, allocations: 98.16 kB / 0.738 GB, free: 6.812 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.1896, allocations: 330.8 kB / 0.7383 GB, free: 6.48 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002877/0.1899, allocations: 116.9 kB / 0.7384 GB, free: 6.367 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000313/0.1902, allocations: 164.3 kB / 0.7386 GB, free: 6.199 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005623/0.1908, allocations: 266.6 kB / 0.7388 GB, free: 5.93 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.1908, allocations: 3.938 kB / 0.7388 GB, free: 5.926 MB / 0.5606 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007831/0.1915, allocations: 384.1 kB / 0.7392 GB, free: 5.547 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/0.1916, allocations: 4 kB / 0.7392 GB, free: 5.543 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.1916, allocations: 4 kB / 0.7392 GB, free: 5.539 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.1916, allocations: 0 / 0.7392 GB, free: 5.539 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003986/0.192, allocations: 83.88 kB / 0.7393 GB, free: 5.457 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.192, allocations: 5 kB / 0.7393 GB, free: 5.453 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002801/0.1923, allocations: 47.75 kB / 0.7393 GB, free: 5.406 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.635e-05/0.1923, allocations: 19.92 kB / 0.7394 GB, free: 5.387 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 28 (sunRiseSetSyd.sunUp,sunRiseSetSyd.nextSunSet,$PRE.sunRiseSetSyd.nextSunSet,sunRiseSetSyd.nextSunRise,$PRE.sunRiseSetSyd.nextSunRise,$whenCondition7,$whenCondition8,sunRiseSetAntarctic.sunUp,sunRiseSetAntarctic.nextSunSet,$PRE.sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.nextSunRise,$PRE.sunRiseSetAntarctic.nextSunRise,$whenCondition5,$whenCondition6,sunRiseSetSf.sunUp,sunRiseSetSf.nextSunSet,$PRE.sunRiseSetSf.nextSunSet,sunRiseSetSf.nextSunRise,$PRE.sunRiseSetSf.nextSunRise,$whenCondition3,$whenCondition4,sunRiseSetArctic.sunUp,sunRiseSetArctic.nextSunSet,$PRE.sunRiseSetArctic.nextSunSet,sunRiseSetArctic.nextSunRise,$PRE.sunRiseSetArctic.nextSunRise,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 56 * 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.0002002/0.1925, allocations: 153.7 kB / 0.7395 GB, free: 5.227 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.312e-05/0.1926, allocations: 28.55 kB / 0.7395 GB, free: 5.199 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006864/0.1933, allocations: 362.2 kB / 0.7399 GB, free: 4.84 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.295e-05/0.1933, allocations: 15.98 kB / 0.7399 GB, free: 4.824 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.538e-06/0.1933, allocations: 4 kB / 0.7399 GB, free: 4.82 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.012e-05/0.1933, allocations: 4 kB / 0.7399 GB, free: 4.816 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004162/0.1937, allocations: 324.2 kB / 0.7402 GB, free: 4.457 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.1937, allocations: 4 kB / 0.7402 GB, free: 4.453 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002935/0.194, allocations: 75.84 kB / 0.7403 GB, free: 4.379 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.973e-06/0.194, allocations: 4 kB / 0.7403 GB, free: 4.375 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.503e-05/0.1941, allocations: 19.98 kB / 0.7403 GB, free: 4.355 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.057e-06/0.1941, allocations: 4 kB / 0.7403 GB, free: 4.352 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.011e-06/0.1941, allocations: 7.938 kB / 0.7403 GB, free: 4.344 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007543/0.1948, allocations: 0.4886 MB / 0.7408 GB, free: 3.797 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001605/0.195, allocations: 75.61 kB / 0.7409 GB, free: 3.723 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.675e-05/0.195, allocations: 19.94 kB / 0.7409 GB, free: 3.703 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002456/0.1953, allocations: 32.22 kB / 0.7409 GB, free: 3.672 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001507/0.1954, allocations: 51.86 kB / 0.741 GB, free: 3.621 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.008e-05/0.1955, allocations: 31.98 kB / 0.741 GB, free: 3.59 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000108/0.1956, allocations: 123.2 kB / 0.7411 GB, free: 3.469 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.1956, allocations: 0 / 0.7411 GB, free: 3.469 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006476/0.1962, allocations: 227.2 kB / 0.7413 GB, free: 3.246 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition8,$whenCondition7,sunRiseSetSyd.nextSunRise,sunRiseSetSyd.nextSunSet,sunRiseSetSyd.sunUp,$whenCondition6,$whenCondition5,sunRiseSetAntarctic.nextSunRise,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.sunUp,$whenCondition4,$whenCondition3,sunRiseSetSf.nextSunRise,sunRiseSetSf.nextSunSet,sunRiseSetSf.sunUp,$whenCondition2,$whenCondition1,sunRiseSetArctic.nextSunRise,sunRiseSetArctic.nextSunSet,sunRiseSetArctic.sunUp) * Number of discrete states: 8 (sunRiseSetArctic.nextSunSet,sunRiseSetArctic.nextSunRise,sunRiseSetSf.nextSunSet,sunRiseSetSf.nextSunRise,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.nextSunRise,sunRiseSetSyd.nextSunSet,sunRiseSetSyd.nextSunRise) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.001613/0.1978, allocations: 1.274 MB / 0.7426 GB, free: 1.91 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007154/0.1986, allocations: 313.5 kB / 0.7429 GB, free: 1.605 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1986, allocations: 0 / 0.7429 GB, free: 1.605 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003238/0.1989, allocations: 171.7 kB / 0.743 GB, free: 1.438 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002881/0.1992, allocations: 35.2 kB / 0.7431 GB, free: 1.406 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004058/0.2032, allocations: 2.77 MB / 0.7458 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003865/0.2036, allocations: 0.765 MB / 0.7465 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002054/0.2038, allocations: 59.3 kB / 0.7466 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002005/0.204, allocations: 91.39 kB / 0.7467 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of SimCode: time 7.11e-07/0.204, allocations: 0 / 0.7467 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0377/0.2417, allocations: 8.467 MB / 0.7549 GB, free: 5.219 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/11.66, allocations: 5.031 kB / 0.7549 GB, free: 5.219 MB / 0.5762 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Utilities_Validation_SunRiseSet_fmu --startTime=0 --stopTime=3.1536e+07 --stepSize=12614.4 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Utilities_Validation_SunRiseSet.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.987786961020902] Failed to read output from testmodel.py, exit status != 0: 11.770962329115719 12.130781814 11.94641562 Calling exit ...