Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_CurrentControlled.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00137/0.00137, allocations: 109 kB / 21.1 MB, free: 0.7891 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001401/0.001401, allocations: 206 kB / 24.38 MB, free: 4.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.534/1.534, allocations: 230.2 MB / 257.7 MB, free: 8.285 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.251/0.251, allocations: 46.89 MB / 361 MB, free: 4.488 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Electrical.Machines.DCPM_CurrentControlled,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_Machines_DCPM_CurrentControlled",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.Machines.DCPM_CurrentControlled,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_Machines_DCPM_CurrentControlled",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002291/0.002291, allocations: 80.05 kB / 0.4962 GB, free: 8.227 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4493/0.4516, allocations: 66.03 MB / 0.5606 GB, free: 4.672 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Machines.DCPM_CurrentControlled): time 0.006432/0.458, allocations: 4.059 MB / 0.5646 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003257/0.4613, allocations: 1.503 MB / 0.5661 GB, free: 15.09 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004171/0.4617, allocations: 11.94 kB / 0.5661 GB, free: 15.07 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008549/0.4625, allocations: 262.3 kB / 0.5663 GB, free: 14.82 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000334/0.4629, allocations: 146.8 kB / 0.5665 GB, free: 14.67 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004754/0.4633, allocations: 199.7 kB / 0.5667 GB, free: 14.48 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007964/0.4641, allocations: 0.6311 MB / 0.5673 GB, free: 13.84 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003915/0.4645, allocations: 200.6 kB / 0.5675 GB, free: 13.64 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004959/0.465, allocations: 247 kB / 0.5677 GB, free: 13.4 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003554/0.4654, allocations: 266.7 kB / 0.568 GB, free: 13.14 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.858e-05/0.4655, allocations: 64 kB / 0.568 GB, free: 13.08 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.035e-05/0.4656, allocations: 60 kB / 0.5681 GB, free: 13.02 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001129/0.4657, allocations: 127.5 kB / 0.5682 GB, free: 12.89 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002764/0.466, allocations: 286.5 kB / 0.5685 GB, free: 12.61 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009254/0.4669, allocations: 0.7119 MB / 0.5692 GB, free: 11.9 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.4669, allocations: 4 kB / 0.5692 GB, free: 11.89 MB / 414.1 MB Notification: Performance of FrontEnd: time 5.33e-06/0.4669, allocations: 4 kB / 0.5692 GB, free: 11.89 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.58e-05/0.4669, allocations: 0 / 0.5692 GB, free: 11.89 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 115 * Number of variables: 115 Notification: Performance of Generate backend data structure: time 0.001482/0.4684, allocations: 0.845 MB / 0.57 GB, free: 10.99 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.4684, allocations: 12.03 kB / 0.57 GB, free: 10.98 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001162/0.4685, allocations: 86.7 kB / 0.5701 GB, free: 10.89 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001128/0.4687, allocations: 64.52 kB / 0.5702 GB, free: 10.82 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007294/0.4694, allocations: 411.9 kB / 0.5706 GB, free: 10.38 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.976e-05/0.4694, allocations: 37.38 kB / 0.5706 GB, free: 10.34 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.164e-05/0.4695, allocations: 60.31 kB / 0.5706 GB, free: 10.29 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008807/0.4704, allocations: 455.1 kB / 0.5711 GB, free: 9.824 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.513e-05/0.4704, allocations: 0 / 0.5711 GB, free: 9.824 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.912e-05/0.4705, allocations: 27.94 kB / 0.5711 GB, free: 9.797 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.344e-05/0.4705, allocations: 8 kB / 0.5711 GB, free: 9.789 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006223/0.4711, allocations: 303.8 kB / 0.5714 GB, free: 9.492 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002677/0.4738, allocations: 1.67 MB / 0.573 GB, free: 7.73 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001001/0.4748, allocations: 370.8 kB / 0.5734 GB, free: 7.344 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002541/0.475, allocations: 112.8 kB / 0.5735 GB, free: 7.23 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.502e-05/0.4751, allocations: 0 / 0.5735 GB, free: 7.23 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.172e-05/0.4751, allocations: 46.5 kB / 0.5735 GB, free: 7.176 MB / 414.1 MB Notification: Performance of pre-optimization done (n=24): time 2.395e-06/0.4751, allocations: 0 / 0.5735 GB, free: 7.176 MB / 414.1 MB Notification: Performance of matching and sorting (n=25): time 0.00234/0.4775, allocations: 0.8865 MB / 0.5744 GB, free: 6.215 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.214e-05/0.4776, allocations: 55.41 kB / 0.5745 GB, free: 6.148 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007093/0.4783, allocations: 401.6 kB / 0.5748 GB, free: 5.746 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.327e-05/0.4783, allocations: 37.64 kB / 0.5749 GB, free: 5.703 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003262/0.4786, allocations: 280.4 kB / 0.5751 GB, free: 5.422 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000124/0.4788, allocations: 99.16 kB / 0.5752 GB, free: 5.324 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001198/0.4789, allocations: 57.45 kB / 0.5753 GB, free: 5.262 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002593/0.4791, allocations: 346.8 kB / 0.5756 GB, free: 4.914 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002355/0.4794, allocations: 100.8 kB / 0.5757 GB, free: 4.812 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003068/0.4797, allocations: 163.1 kB / 0.5759 GB, free: 4.629 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005117/0.4802, allocations: 246.8 kB / 0.5761 GB, free: 4.363 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.4802, allocations: 4 kB / 0.5761 GB, free: 4.359 MB / 414.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0007826/0.481, allocations: 357.9 kB / 0.5765 GB, free: 4 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.045e-05/0.481, allocations: 9.875 kB / 0.5765 GB, free: 3.992 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.481, allocations: 224 / 0.5765 GB, free: 3.992 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001887/0.4812, allocations: 24.84 kB / 0.5765 GB, free: 3.965 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000319/0.4815, allocations: 71.91 kB / 0.5766 GB, free: 3.895 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00159/0.4831, allocations: 1.379 MB / 0.5779 GB, free: 2.379 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002583/0.4834, allocations: 27.95 kB / 0.5779 GB, free: 2.352 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.207e-05/0.4834, allocations: 8 kB / 0.5779 GB, free: 2.344 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004078/0.4838, allocations: 208 kB / 0.5781 GB, free: 2.137 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002486/0.484, allocations: 151.5 kB / 0.5783 GB, free: 1.961 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004115/0.4845, allocations: 239.6 kB / 0.5785 GB, free: 1.699 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.553e-06/0.4845, allocations: 0 / 0.5785 GB, free: 1.699 MB / 414.1 MB Notification: Performance of matching and sorting (n=38) (initialization_lambda0): time 0.0005995/0.4851, allocations: 338.3 kB / 0.5788 GB, free: 1.359 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.4851, allocations: 4 kB / 0.5788 GB, free: 1.355 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.4851, allocations: 4 kB / 0.5788 GB, free: 1.352 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.512e-05/0.4852, allocations: 24.84 kB / 0.5789 GB, free: 1.324 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000253/0.4854, allocations: 59.91 kB / 0.5789 GB, free: 1.266 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001322/0.4867, allocations: 1.383 MB / 0.5803 GB, free: 15.74 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001944/0.4869, allocations: 16.09 kB / 0.5803 GB, free: 15.72 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.995e-05/0.487, allocations: 15.98 kB / 0.5803 GB, free: 15.71 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 1 (currentController.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002047/0.4872, allocations: 204.1 kB / 0.5805 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.147e-05/0.4872, allocations: 39.72 kB / 0.5805 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001001/0.4873, allocations: 47.59 kB / 0.5806 GB, free: 15.42 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.4873, allocations: 0 / 0.5806 GB, free: 15.42 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.675e-06/0.4873, allocations: 4 kB / 0.5806 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.828e-06/0.4873, allocations: 0 / 0.5806 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00137/0.4887, allocations: 0.8368 MB / 0.5814 GB, free: 14.51 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.4887, allocations: 7.938 kB / 0.5814 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002513/0.489, allocations: 51.91 kB / 0.5815 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.147e-05/0.4891, allocations: 28.84 kB / 0.5815 GB, free: 14.42 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.294e-05/0.4891, allocations: 8 kB / 0.5815 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001242/0.4903, allocations: 1.383 MB / 0.5828 GB, free: 12.89 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.4903, allocations: 0 / 0.5828 GB, free: 12.89 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008123/0.4911, allocations: 489.7 kB / 0.5833 GB, free: 12.39 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001181/0.4913, allocations: 116.9 kB / 0.5834 GB, free: 12.25 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.967e-05/0.4913, allocations: 8 kB / 0.5834 GB, free: 12.25 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000205/0.4915, allocations: 15.98 kB / 0.5834 GB, free: 12.23 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.084e-05/0.4916, allocations: 27.91 kB / 0.5835 GB, free: 12.2 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.475e-05/0.4916, allocations: 4 kB / 0.5835 GB, free: 12.2 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003814/0.492, allocations: 283.2 kB / 0.5837 GB, free: 11.93 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.492, allocations: 0 / 0.5837 GB, free: 11.93 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006219/0.4926, allocations: 140 kB / 0.5839 GB, free: 11.79 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (dcpm.inductor.i,dcpm.inertia.w,torqueLoad.phi,deadTime.y,currentController.integrator.y) * 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 (24): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001195/0.4938, allocations: 1.023 MB / 0.5849 GB, free: 10.73 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001137/0.4949, allocations: 0.5636 MB / 0.5854 GB, free: 10.14 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.4949, allocations: 0 / 0.5854 GB, free: 10.14 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003658/0.4953, allocations: 227.4 kB / 0.5856 GB, free: 9.906 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005869/0.4959, allocations: 80.36 kB / 0.5857 GB, free: 9.832 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006059/0.5019, allocations: 3.965 MB / 0.5896 GB, free: 5.711 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005481/0.5025, allocations: 0.8347 MB / 0.5904 GB, free: 4.848 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002041/0.5027, allocations: 39.27 kB / 0.5904 GB, free: 4.812 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002535/0.5029, allocations: 163.4 kB / 0.5906 GB, free: 4.652 MB / 430.1 MB Notification: Performance of SimCode: time 1.142e-06/0.5029, allocations: 7.938 kB / 0.5906 GB, free: 4.645 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05197/0.5549, allocations: 8.596 MB / 0.599 GB, free: 12.16 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.14/10.7, allocations: 12.05 kB / 0.599 GB, free: 12.15 MB / 446.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_CurrentControlled.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_CurrentControlled.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_CurrentControlled.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_CurrentControlled.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_CurrentControlled_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 ModelicaTest_trunk_ModelicaTest_Electrical_Machines_DCPM_CurrentControlled.fmu > ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_CurrentControlled.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.95514504890889] Failed to read output from testmodel.py, exit status != 0: 10.782600218895823 10.797575626 10.3275146 Calling exit ...