Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.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.001927/0.001927, allocations: 113.8 kB / 19.73 MB, free: 2.242 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.002323/0.002323, allocations: 219.6 kB / 23.04 MB, free: 5.074 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.442/1.442, allocations: 230.6 MB / 256.8 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.151/3.151, allocations: 0.5003 GB / 0.8061 GB, free: 26.79 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelLoads",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelLoads",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings 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.002067/0.002067, allocations: 61.97 kB / 1.171 GB, free: 19.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3705/0.3725, allocations: 179 MB / 1.345 GB, free: 0.4922 MB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads): time 0.006381/0.3789, allocations: 4.38 MB / 1.35 GB, free: 12.09 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.004897/0.3838, allocations: 2.914 MB / 1.352 GB, free: 9.164 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002157/0.384, allocations: 15.88 kB / 1.352 GB, free: 9.148 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001139/0.3852, allocations: 389.2 kB / 1.353 GB, free: 8.77 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0009119/0.3861, allocations: 422.2 kB / 1.353 GB, free: 8.355 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001179/0.3873, allocations: 0.5029 MB / 1.354 GB, free: 7.852 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0009186/0.3882, allocations: 0.7592 MB / 1.354 GB, free: 7.09 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000493/0.3887, allocations: 315.2 kB / 1.355 GB, free: 6.773 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004305/0.3891, allocations: 299 kB / 1.355 GB, free: 6.48 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005901/0.3897, allocations: 378.7 kB / 1.355 GB, free: 6.109 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 7.834e-05/0.3898, allocations: 44 kB / 1.355 GB, free: 6.066 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005845/0.3903, allocations: 351.2 kB / 1.356 GB, free: 5.723 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0002226/0.3906, allocations: 203.4 kB / 1.356 GB, free: 5.523 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0002671/0.3908, allocations: 262.7 kB / 1.356 GB, free: 5.266 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0009284/0.3918, allocations: 0.7823 MB / 1.357 GB, free: 4.48 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.3918, allocations: 0 / 1.357 GB, free: 4.48 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.302e-06/0.3918, allocations: 0 / 1.357 GB, free: 4.48 MB / 1.045 GB Notification: Performance of Transformations before backend: time 9.108e-06/0.3918, allocations: 3.938 kB / 1.357 GB, free: 4.477 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.001621/0.3934, allocations: 0.7774 MB / 1.358 GB, free: 3.664 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.3934, allocations: 12.03 kB / 1.358 GB, free: 3.652 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.376e-05/0.3935, allocations: 13.19 kB / 1.358 GB, free: 3.641 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000112/0.3936, allocations: 86.69 kB / 1.358 GB, free: 3.547 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001326/0.3949, allocations: 188.3 kB / 1.358 GB, free: 3.363 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005877/0.3955, allocations: 329 kB / 1.358 GB, free: 3.016 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.029e-05/0.3955, allocations: 29.36 kB / 1.358 GB, free: 2.988 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.427e-05/0.3956, allocations: 44.36 kB / 1.358 GB, free: 2.945 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001467/0.3971, allocations: 0.8756 MB / 1.359 GB, free: 1.973 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.384e-05/0.3971, allocations: 7.984 kB / 1.359 GB, free: 1.965 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.066e-05/0.3972, allocations: 16 kB / 1.359 GB, free: 1.949 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.382e-05/0.3973, allocations: 64.61 kB / 1.359 GB, free: 1.887 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001395/0.3987, allocations: 0.6645 MB / 1.36 GB, free: 1.227 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004977/0.4036, allocations: 4.695 MB / 1.365 GB, free: 12.19 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001184/0.4048, allocations: 484.9 kB / 1.365 GB, free: 11.7 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005298/0.4053, allocations: 261.5 kB / 1.365 GB, free: 11.43 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.59e-05/0.4054, allocations: 4 kB / 1.365 GB, free: 11.43 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.953e-05/0.4054, allocations: 38.55 kB / 1.365 GB, free: 11.38 MB / 1.061 GB Notification: Performance of pre-optimization done (n=33): time 1.753e-06/0.4054, allocations: 4 kB / 1.365 GB, free: 11.38 MB / 1.061 GB Notification: Performance of matching and sorting (n=34): time 0.002/0.4074, allocations: 0.8825 MB / 1.366 GB, free: 10.49 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.096e-05/0.4075, allocations: 85.09 kB / 1.366 GB, free: 10.39 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004428/0.4079, allocations: 373.6 kB / 1.367 GB, free: 10.02 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.682e-05/0.408, allocations: 33.7 kB / 1.367 GB, free: 9.977 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002099/0.4082, allocations: 295.9 kB / 1.367 GB, free: 9.684 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001304/0.4083, allocations: 138.8 kB / 1.367 GB, free: 9.547 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002084/0.4085, allocations: 110.3 kB / 1.367 GB, free: 9.434 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001785/0.4087, allocations: 354.7 kB / 1.368 GB, free: 9.078 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006228/0.4093, allocations: 295.3 kB / 1.368 GB, free: 8.789 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008156/0.4101, allocations: 0.5034 MB / 1.368 GB, free: 8.18 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001452/0.4116, allocations: 0.8202 MB / 1.369 GB, free: 7.262 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.4116, allocations: 7.938 kB / 1.369 GB, free: 7.254 MB / 1.061 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001703/0.4133, allocations: 0.8408 MB / 1.37 GB, free: 6.406 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.4133, allocations: 8 kB / 1.37 GB, free: 6.398 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.492e-05/0.4133, allocations: 8 kB / 1.37 GB, free: 6.391 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.253e-05/0.4133, allocations: 12.03 kB / 1.37 GB, free: 6.379 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008435/0.4142, allocations: 187.6 kB / 1.37 GB, free: 6.195 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.557e-05/0.4142, allocations: 8 kB / 1.37 GB, free: 6.188 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006433/0.4148, allocations: 79.8 kB / 1.37 GB, free: 6.109 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.702e-05/0.4149, allocations: 35.92 kB / 1.37 GB, free: 6.074 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007109/0.4156, allocations: 389.2 kB / 1.371 GB, free: 5.691 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007203/0.4163, allocations: 463.4 kB / 1.371 GB, free: 5.141 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00125/0.4176, allocations: 0.7254 MB / 1.372 GB, free: 4.316 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.719e-06/0.4176, allocations: 8 kB / 1.372 GB, free: 4.309 MB / 1.061 GB Notification: Performance of matching and sorting (n=67) (initialization_lambda0): time 0.001524/0.4191, allocations: 0.7355 MB / 1.373 GB, free: 3.566 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.4191, allocations: 8 kB / 1.373 GB, free: 3.559 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.4191, allocations: 4 kB / 1.373 GB, free: 3.555 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.4191, allocations: 12 kB / 1.373 GB, free: 3.543 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008392/0.42, allocations: 171.7 kB / 1.373 GB, free: 3.375 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.622e-05/0.42, allocations: 15.92 kB / 1.373 GB, free: 3.359 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000545/0.4205, allocations: 71.88 kB / 1.373 GB, free: 3.289 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.374e-05/0.4206, allocations: 24 kB / 1.373 GB, free: 3.266 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (67): * Single equations (assignments): 67 * 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.0002198/0.4208, allocations: 227.9 kB / 1.373 GB, free: 3.035 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001017/0.4209, allocations: 39.77 kB / 1.373 GB, free: 2.996 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00123/0.4221, allocations: 0.581 MB / 1.374 GB, free: 2.41 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.4221, allocations: 4 kB / 1.374 GB, free: 2.406 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.4221, allocations: 0 / 1.374 GB, free: 2.406 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.4222, allocations: 4.031 kB / 1.374 GB, free: 2.402 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00265/0.4248, allocations: 1.583 MB / 1.375 GB, free: 0.7266 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.251e-06/0.4248, allocations: 4 kB / 1.375 GB, free: 0.7227 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005538/0.4254, allocations: 111.8 kB / 1.375 GB, free: 0.6133 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.437e-06/0.4254, allocations: 8 kB / 1.375 GB, free: 0.6055 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.328e-05/0.4254, allocations: 8 kB / 1.375 GB, free: 0.5977 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.889e-06/0.4254, allocations: 11.94 kB / 1.375 GB, free: 0.5859 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.272e-06/0.4254, allocations: 8.391 kB / 1.375 GB, free: 0.5781 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001183/0.4266, allocations: 0.7803 MB / 1.376 GB, free: 15.73 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002224/0.4268, allocations: 95.59 kB / 1.376 GB, free: 15.64 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.788e-05/0.4269, allocations: 8 kB / 1.376 GB, free: 15.63 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004625/0.4274, allocations: 47.94 kB / 1.376 GB, free: 15.59 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.302e-05/0.4275, allocations: 39.83 kB / 1.376 GB, free: 15.55 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.343e-05/0.4275, allocations: 15.98 kB / 1.376 GB, free: 15.53 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0003804/0.4279, allocations: 271.1 kB / 1.377 GB, free: 15.27 MB / 1.076 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4279, allocations: 0 / 1.377 GB, free: 15.27 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0008628/0.4287, allocations: 203.9 kB / 1.377 GB, free: 15.07 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (35): * Single equations (assignments): 35 * 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.001505/0.4302, allocations: 1.345 MB / 1.378 GB, free: 13.65 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.002012/0.4322, allocations: 0.9397 MB / 1.379 GB, free: 12.71 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/0.4323, allocations: 0 / 1.379 GB, free: 12.71 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0005174/0.4328, allocations: 265.9 kB / 1.379 GB, free: 12.45 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000822/0.4336, allocations: 122.9 kB / 1.379 GB, free: 12.34 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007622/0.4412, allocations: 4.97 MB / 1.384 GB, free: 7.008 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006077/0.4418, allocations: 0.8709 MB / 1.385 GB, free: 6.109 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0006147/0.4424, allocations: 219.9 kB / 1.385 GB, free: 5.895 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003072/0.4427, allocations: 143.4 kB / 1.385 GB, free: 5.754 MB / 1.076 GB Notification: Performance of SimCode: time 6.31e-07/0.4427, allocations: 0 / 1.385 GB, free: 5.754 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03525/0.478, allocations: 11.51 MB / 1.397 GB, free: 10.44 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/11.92, allocations: 11.98 kB / 1.397 GB, free: 10.43 MB / 1.092 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelLoads_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelLoads.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 18.5592496979516] Failed to read output from testmodel.py, exit status != 0: 12.090771672024857 12.121921645 11.724798834 Calling exit ...