Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading.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.001324/0.001324, allocations: 106.9 kB / 16.45 MB, free: 6.453 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.001377/0.001377, allocations: 215.2 kB / 19.43 MB, free: 3.625 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.441/1.441, allocations: 230.6 MB / 252.8 MB, free: 8.957 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002386/0.002386, allocations: 291.1 kB / 309.1 MB, free: 3.973 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.174/1.174, allocations: 180.9 MB / 0.5333 GB, free: 13.89 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002723/0.002723, allocations: 107.7 kB / 0.7342 GB, free: 28.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1762/0.179, allocations: 95.33 MB / 0.8273 GB, free: 9.902 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.06401/0.243, allocations: 56.66 MB / 0.8827 GB, free: 1.039 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02692/0.2699, allocations: 18.07 MB / 0.9003 GB, free: 14.92 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003644/0.2735, allocations: 103.1 kB / 0.9004 GB, free: 14.82 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.00321/0.2767, allocations: 0.9197 MB / 0.9013 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.01021/0.2869, allocations: 2.624 MB / 0.9039 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.005906/0.2929, allocations: 1.534 MB / 0.9054 GB, free: 9.73 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0273/0.3201, allocations: 21.25 MB / 0.9261 GB, free: 4.426 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01579/0.3359, allocations: 8.886 MB / 0.9348 GB, free: 11.42 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01542/0.3514, allocations: 7.325 MB / 0.942 GB, free: 4.113 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01174/0.3631, allocations: 6.666 MB / 0.9485 GB, free: 13.42 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.003053/0.3661, allocations: 0.9375 MB / 0.9494 GB, free: 12.48 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006992/0.3731, allocations: 1.764 MB / 0.9511 GB, free: 10.72 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.00524/0.3784, allocations: 2.426 MB / 0.9535 GB, free: 8.285 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.01221/0.3906, allocations: 4.711 MB / 0.9581 GB, free: 3.555 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0237/0.4143, allocations: 13.29 MB / 0.971 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.4143, allocations: 0 / 0.971 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.044e-06/0.4143, allocations: 3.938 kB / 0.971 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0004749/0.4148, allocations: 4 kB / 0.9711 GB, free: 6.219 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1564 * Number of variables: 1564 Notification: Performance of Generate backend data structure: time 0.7407/1.156, allocations: 8.696 MB / 0.9795 GB, free: 135.2 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/1.156, allocations: 10.28 kB / 0.9796 GB, free: 135.2 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002378/1.158, allocations: 0.8427 MB / 0.9804 GB, free: 134.7 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004411/1.162, allocations: 0.9566 MB / 0.9813 GB, free: 134.3 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0129/1.175, allocations: 6.748 MB / 0.9879 GB, free: 131.6 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005512/1.176, allocations: 456.3 kB / 0.9883 GB, free: 131.4 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002195/1.178, allocations: 0.5989 MB / 0.9889 GB, free: 131.2 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02059/1.199, allocations: 9.043 MB / 0.9977 GB, free: 127.2 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001612/1.199, allocations: 20.78 kB / 0.9978 GB, free: 127.2 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009341/1.2, allocations: 257.9 kB / 0.998 GB, free: 127 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001892/1.2, allocations: 186.4 kB / 0.9982 GB, free: 127 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01375/1.214, allocations: 7.458 MB / 1.005 GB, free: 123.2 MB / 0.7169 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.04166/1.255, allocations: 36.08 MB / 1.041 GB, free: 86.14 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004949/1.26, allocations: 4.004 MB / 1.045 GB, free: 82.15 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003707/1.264, allocations: 3.033 MB / 1.048 GB, free: 79.11 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001003/1.265, allocations: 0.9544 MB / 1.049 GB, free: 77.98 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002993/1.268, allocations: 2.39 MB / 1.051 GB, free: 75.55 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002546/1.27, allocations: 401 kB / 1.051 GB, free: 75.26 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=317): time 7.925e-06/1.27, allocations: 3.938 kB / 1.051 GB, free: 75.25 MB / 0.7169 GB Notification: Performance of matching and sorting (n=317): time 0.01107/1.282, allocations: 7.147 MB / 1.058 GB, free: 68.02 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.537e-05/1.282, allocations: 85.91 kB / 1.058 GB, free: 67.92 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006869/1.288, allocations: 5.668 MB / 1.064 GB, free: 62.28 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0007034/1.289, allocations: 89.69 kB / 1.064 GB, free: 62.18 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.002215/1.291, allocations: 3.275 MB / 1.067 GB, free: 58.88 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.001289/1.293, allocations: 1.17 MB / 1.068 GB, free: 57.7 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00105/1.294, allocations: 0.8624 MB / 1.069 GB, free: 56.83 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.712e-05/1.294, allocations: 305.1 kB / 1.069 GB, free: 56.53 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002614/1.296, allocations: 2.16 MB / 1.072 GB, free: 54.36 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003148/1.3, allocations: 3.701 MB / 1.075 GB, free: 49.95 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00627/1.306, allocations: 6.315 MB / 1.081 GB, free: 42.92 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.821e-05/1.306, allocations: 20 kB / 1.081 GB, free: 42.9 MB / 0.7169 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.009474/1.315, allocations: 6.79 MB / 1.088 GB, free: 36.06 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.521e-05/1.315, allocations: 62.92 kB / 1.088 GB, free: 36 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.587e-05/1.315, allocations: 51.94 kB / 1.088 GB, free: 35.95 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000847/1.316, allocations: 436.8 kB / 1.088 GB, free: 35.52 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003271/1.32, allocations: 1.002 MB / 1.089 GB, free: 34.52 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004224/1.324, allocations: 5.696 MB / 1.095 GB, free: 28.55 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004689/1.328, allocations: 295.6 kB / 1.095 GB, free: 28.26 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006014/1.329, allocations: 219.9 kB / 1.095 GB, free: 28.05 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 222 * Number of states: 0 () * Number of discrete variables: 7 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,dHTan.local_reset,dHTanEnh.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (540): * Single equations (assignments): 537 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003378/1.332, allocations: 2.476 MB / 1.098 GB, free: 25.56 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001379/1.334, allocations: 0.5552 MB / 1.098 GB, free: 25 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007383/1.341, allocations: 5.261 MB / 1.104 GB, free: 19.7 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.576e-05/1.341, allocations: 28 kB / 1.104 GB, free: 19.67 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.06e-05/1.341, allocations: 4 kB / 1.104 GB, free: 19.67 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005373/1.347, allocations: 4.514 MB / 1.108 GB, free: 15.05 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01826/1.365, allocations: 11.98 MB / 1.12 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.05e-05/1.365, allocations: 0 / 1.12 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002517/1.367, allocations: 0.6438 MB / 1.12 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008012/1.368, allocations: 373.3 kB / 1.121 GB, free: 1.914 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002105/1.368, allocations: 79.95 kB / 1.121 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006244/1.375, allocations: 5.619 MB / 1.126 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/1.375, allocations: 0 / 1.126 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01525/1.39, allocations: 7.787 MB / 1.134 GB, free: 4.07 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00394/1.394, allocations: 1.181 MB / 1.135 GB, free: 2.867 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001589/1.395, allocations: 63.98 kB / 1.135 GB, free: 2.805 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003717/1.399, allocations: 202.1 kB / 1.135 GB, free: 2.613 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005261/1.4, allocations: 206.2 kB / 1.135 GB, free: 2.41 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003861/1.4, allocations: 139.9 kB / 1.136 GB, free: 2.273 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.007535/1.408, allocations: 3.963 MB / 1.139 GB, free: 14.33 MB / 0.7482 GB Notification: Performance of sort global known variables: time 2.01e-07/1.408, allocations: 0 / 1.139 GB, free: 14.33 MB / 0.7482 GB Notification: Performance of remove unused functions: time 0.008024/1.416, allocations: 2.023 MB / 1.141 GB, free: 12.3 MB / 0.7482 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 16 (tanEnh.vol[1].dynBal.U,tanEnh.vol[2].dynBal.U,tanEnh.vol[3].dynBal.U,tanEnh.vol[4].dynBal.U,tanEnh.vol[5].dynBal.U,tanEnh.vol[6].dynBal.U,tanEnh.vol[7].dynBal.U,tan.vol[1].dynBal.U,tan.vol[2].dynBal.U,tan.vol[3].dynBal.U,tan.vol[4].dynBal.U,tan.vol[5].dynBal.U,tan.vol[6].dynBal.U,tan.vol[7].dynBal.U,dHTanEnh.y,dHTan.y) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (296): * Single equations (assignments): 289 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0159/1.432, allocations: 8.704 MB / 1.15 GB, free: 3.5 MB / 0.7482 GB Notification: Performance of simCode: created initialization part: time 0.009896/1.441, allocations: 5.232 MB / 1.155 GB, free: 14.21 MB / 0.7638 GB Notification: Performance of simCode: created event and clocks part: time 8.667e-06/1.441, allocations: 4 kB / 1.155 GB, free: 14.21 MB / 0.7638 GB Notification: Performance of simCode: created simulation system equations: time 0.004529/1.446, allocations: 2.379 MB / 1.157 GB, free: 11.8 MB / 0.7638 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01797/1.464, allocations: 3.395 MB / 1.161 GB, free: 8.516 MB / 0.7638 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1016/1.565, allocations: 52.55 MB / 1.212 GB, free: 1.832 MB / 0.8107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005732/1.571, allocations: 4.635 MB / 1.217 GB, free: 13.16 MB / 0.8263 GB Notification: Performance of simCode: alias equations: time 0.006666/1.578, allocations: 2.07 MB / 1.219 GB, free: 11.11 MB / 0.8263 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005694/1.584, allocations: 2.682 MB / 1.221 GB, free: 8.426 MB / 0.8263 GB Notification: Performance of SimCode: time 1.513e-06/1.584, allocations: 3.938 kB / 1.221 GB, free: 8.422 MB / 0.8263 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7001/2.284, allocations: 160.5 MB / 1.378 GB, free: 295.3 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.54/22.82, allocations: 8.422 kB / 1.378 GB, free: 295.3 MB / 0.92 GB " [Timeout remaining time 637] (rm -f BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading_res.csv --start-time 0 --stop-time 14400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 5.76 BuildingSystems_BuildingSystems_Fluid_Storage_Validation_StratifiedLoadingUnloading.fmu > BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 27.055070464033633] Failed to read output from testmodel.py, exit status != 0: 22.99327928572893 23.001517513 22.584889658 Calling exit ...