Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.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.0008146/0.0008146, allocations: 80.45 kB / 19.15 MB, free: 0.7734 MB / 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.0008683/0.0008683, allocations: 166 kB / 22.43 MB, free: 2.141 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.8802/0.8802, allocations: 177.2 MB / 202.8 MB, free: 5.77 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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 4.0.0/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 4.0.0/package.mo): time 0.6912/0.6912, allocations: 154.7 MB / 413.9 MB, free: 0.7344 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.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.Controls.OBC.CDL.Logical.Validation.Or,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Logical_Validation_Or",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Logical.Validation.Or,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Logical_Validation_Or",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.00103/0.00103, allocations: 62.69 kB / 0.6183 GB, free: 13.64 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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.4237/0.4247, allocations: 102 MB / 0.7179 GB, free: 23.36 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Or): time 0.001322/0.4261, allocations: 0.6246 MB / 0.7185 GB, free: 22.98 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001011/0.4271, allocations: 1.216 MB / 0.7197 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.413e-05/0.4271, allocations: 0 / 0.7197 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.715e-05/0.4271, allocations: 5.766 kB / 0.7197 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.563e-05/0.4272, allocations: 15.08 kB / 0.7197 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004902/0.4277, allocations: 222.7 kB / 0.7199 GB, free: 21.98 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001739/0.4279, allocations: 176.5 kB / 0.7201 GB, free: 21.9 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 8.905e-05/0.428, allocations: 10.42 kB / 0.7201 GB, free: 21.89 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001068/0.4281, allocations: 89.44 kB / 0.7202 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001075/0.4282, allocations: 58.73 kB / 0.7202 GB, free: 21.84 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.71e-05/0.4282, allocations: 14.97 kB / 0.7203 GB, free: 21.84 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 6.5e-05/0.4283, allocations: 32.91 kB / 0.7203 GB, free: 21.83 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.332e-05/0.4283, allocations: 9.297 kB / 0.7203 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 6.343e-05/0.4284, allocations: 55.38 kB / 0.7203 GB, free: 21.8 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002121/0.4286, allocations: 190.2 kB / 0.7205 GB, free: 21.72 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.4286, allocations: 0 / 0.7205 GB, free: 21.72 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.883e-06/0.4286, allocations: 0 / 0.7205 GB, free: 21.72 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.4286, allocations: 0 / 0.7205 GB, free: 21.72 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000364/0.4289, allocations: 359.1 kB / 0.7209 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.429, allocations: 9.938 kB / 0.7209 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.802e-05/0.429, allocations: 33.08 kB / 0.7209 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.188e-05/0.429, allocations: 11.7 kB / 0.7209 GB, free: 21.33 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.906e-05/0.4291, allocations: 119.1 kB / 0.721 GB, free: 21.2 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.4291, allocations: 5.672 kB / 0.721 GB, free: 21.2 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.391e-05/0.4291, allocations: 10.83 kB / 0.7211 GB, free: 21.2 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.426e-05/0.4292, allocations: 56.61 kB / 0.7211 GB, free: 21.15 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.4292, allocations: 5.062 kB / 0.7211 GB, free: 21.14 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.246e-06/0.4293, allocations: 0.6094 kB / 0.7211 GB, free: 21.14 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.4293, allocations: 1.125 kB / 0.7211 GB, free: 21.14 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.376e-05/0.4293, allocations: 14.7 kB / 0.7211 GB, free: 21.14 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003507/0.4296, allocations: 295 kB / 0.7214 GB, free: 20.88 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.658e-05/0.4297, allocations: 32.7 kB / 0.7214 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.353e-05/0.4297, allocations: 20.23 kB / 0.7215 GB, free: 20.83 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.606e-06/0.4297, allocations: 3.938 kB / 0.7215 GB, free: 20.82 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001637/0.4299, allocations: 79.16 kB / 0.7215 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 9.92e-07/0.4299, allocations: 0 / 0.7215 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002145/0.4301, allocations: 112.3 kB / 0.7216 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.095e-05/0.4302, allocations: 53.56 kB / 0.7217 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.447e-05/0.4302, allocations: 121.3 kB / 0.7218 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.995e-05/0.4302, allocations: 33.8 kB / 0.7218 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.631e-05/0.4303, allocations: 93.91 kB / 0.7219 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.218e-05/0.4303, allocations: 15.45 kB / 0.7219 GB, free: 20.4 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.571e-05/0.4304, allocations: 53.53 kB / 0.722 GB, free: 20.37 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.538e-05/0.4304, allocations: 323 kB / 0.7223 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001187/0.4305, allocations: 124.9 kB / 0.7224 GB, free: 19.96 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001148/0.4306, allocations: 150.4 kB / 0.7226 GB, free: 19.84 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001178/0.4307, allocations: 158.9 kB / 0.7227 GB, free: 19.7 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.4307, allocations: 1.312 kB / 0.7227 GB, free: 19.7 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002992/0.431, allocations: 324 kB / 0.723 GB, free: 19.48 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.863e-05/0.4311, allocations: 71.56 kB / 0.7231 GB, free: 19.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.4311, allocations: 1.812 kB / 0.7231 GB, free: 19.41 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.4311, allocations: 5.062 kB / 0.7231 GB, free: 19.41 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.119e-05/0.4311, allocations: 3.906 kB / 0.7231 GB, free: 19.41 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.4311, allocations: 1.828 kB / 0.7231 GB, free: 19.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002157/0.4314, allocations: 56.17 kB / 0.7232 GB, free: 19.4 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.296e-05/0.4314, allocations: 15.78 kB / 0.7232 GB, free: 19.4 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,or1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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 5.936e-05/0.4314, allocations: 125.1 kB / 0.7233 GB, free: 19.28 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.426e-06/0.4314, allocations: 7.219 kB / 0.7233 GB, free: 19.27 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.056e-05/0.4315, allocations: 5.625 kB / 0.7233 GB, free: 19.27 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.4315, allocations: 2.672 kB / 0.7233 GB, free: 19.27 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.4315, allocations: 1.125 kB / 0.7233 GB, free: 19.27 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.4315, allocations: 0 / 0.7233 GB, free: 19.27 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.738e-05/0.4315, allocations: 155 kB / 0.7235 GB, free: 19.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.4315, allocations: 0 / 0.7235 GB, free: 19.09 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.061e-06/0.4315, allocations: 10.14 kB / 0.7235 GB, free: 19.09 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.4316, allocations: 0.875 kB / 0.7235 GB, free: 19.09 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.4316, allocations: 1.812 kB / 0.7235 GB, free: 19.09 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.4316, allocations: 1.656 kB / 0.7235 GB, free: 19.09 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.4316, allocations: 3.938 kB / 0.7235 GB, free: 19.08 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001008/0.4317, allocations: 115.5 kB / 0.7236 GB, free: 19 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.833e-06/0.4317, allocations: 2.531 kB / 0.7236 GB, free: 19 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.126e-05/0.4317, allocations: 1.281 kB / 0.7236 GB, free: 19 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.372e-05/0.4317, allocations: 2.281 kB / 0.7236 GB, free: 19 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.778e-05/0.4317, allocations: 9.141 kB / 0.7236 GB, free: 18.99 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.472e-06/0.4317, allocations: 2.906 kB / 0.7236 GB, free: 18.99 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.505e-05/0.4318, allocations: 98.77 kB / 0.7237 GB, free: 18.91 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4318, allocations: 0 / 0.7237 GB, free: 18.91 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001534/0.4319, allocations: 32.03 kB / 0.7237 GB, free: 18.9 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: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,or1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002275/0.4321, allocations: 0.6504 MB / 0.7244 GB, free: 18.29 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002245/0.4324, allocations: 275.2 kB / 0.7246 GB, free: 18.06 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.4324, allocations: 1.594 kB / 0.7246 GB, free: 18.06 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.232e-05/0.4324, allocations: 24.38 kB / 0.7247 GB, free: 18.05 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001783/0.4326, allocations: 23.98 kB / 0.7247 GB, free: 18.04 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001265/0.4338, allocations: 1.955 MB / 0.7266 GB, free: 16.34 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.018e-05/0.4339, allocations: 77.31 kB / 0.7267 GB, free: 16.27 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.186e-05/0.4339, allocations: 12.81 kB / 0.7267 GB, free: 16.26 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.782e-05/0.434, allocations: 22.2 kB / 0.7267 GB, free: 16.24 MB / 0.6355 GB Notification: Performance of SimCode: time 9.52e-07/0.434, allocations: 4 kB / 0.7267 GB, free: 16.23 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01664/0.4506, allocations: 3.734 MB / 0.7303 GB, free: 15.2 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.609/7.059, allocations: 14.89 kB / 0.7304 GB, free: 15.19 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Or_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 IDEAS_IDEAS_Controls_OBC_CDL_Logical_Validation_Or.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.73681337304879] Failed to read output from testmodel.py, exit status != 0: 7.136879611061886 7.145449634 6.715083317 Calling exit ...