Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Buildings.test_HalfWall.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.002092/0.002092, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002981/0.002981, allocations: 220.3 kB / 22.26 MB, free: 5.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.513/1.513, allocations: 207.6 MB / 233 MB, free: 9.984 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.07565/0.07565, allocations: 11.06 MB / 296.3 MB, free: 10.73 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo): time 0.02342/0.02342, allocations: 4.316 MB / 355.1 MB, free: 15.74 MB / 302.1 MB " [Timeout remaining time 180] Using package TAeZoSysPro_testsuite with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo) Using package TAeZoSysPro with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(TAeZoSysPro_testsuite.FluidDynamics.Components.Buildings.test_HalfWall,fileNamePrefix="TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_FluidDynamics_Components_Buildings_test_HalfWall",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(TAeZoSysPro_testsuite.FluidDynamics.Components.Buildings.test_HalfWall,fileNamePrefix="TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_FluidDynamics_Components_Buildings_test_HalfWall",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.002768/0.002768, allocations: 71.89 kB / 476.7 MB, free: 21.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2752/0.2779, allocations: 52.43 MB / 0.5167 GB, free: 8.191 MB / 334.1 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro_testsuite.FluidDynamics.Components.Buildings.test_HalfWall): time 0.5096/0.7875, allocations: 186.3 MB / 0.6986 GB, free: 1.742 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00447/0.792, allocations: 2.864 MB / 0.7014 GB, free: 1.727 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004955/0.7925, allocations: 8.438 kB / 0.7014 GB, free: 1.727 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002158/0.7946, allocations: 0.5052 MB / 0.7019 GB, free: 1.719 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007093/0.7953, allocations: 287.6 kB / 0.7022 GB, free: 1.711 MB / 494.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/FluidDynamics/Components/Buildings/HalfWall.mo:87:5-87:69:writable] Warning: Conditional component 'partialWall' is used in a non-connect context. Notification: Performance of NFTyping.typeClassSections: time 0.004979/0.8003, allocations: 1.825 MB / 0.704 GB, free: 1.66 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001464/0.8018, allocations: 1.152 MB / 0.7051 GB, free: 1.656 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004809/0.8023, allocations: 392.5 kB / 0.7055 GB, free: 1.637 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004762/0.8027, allocations: 419.6 kB / 0.7059 GB, free: 1.633 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005517/0.8033, allocations: 411.8 kB / 0.7063 GB, free: 1.629 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.294e-05/0.8034, allocations: 89.44 kB / 0.7064 GB, free: 1.629 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00597/0.8094, allocations: 3.222 MB / 0.7095 GB, free: 1.602 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003227/0.8097, allocations: 268.6 kB / 0.7098 GB, free: 1.598 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005049/0.8102, allocations: 382.5 kB / 0.7101 GB, free: 1.598 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00451/0.8147, allocations: 2.29 MB / 0.7124 GB, free: 1.473 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.8147, allocations: 0.9062 kB / 0.7124 GB, free: 1.473 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.8147, allocations: 3.219 kB / 0.7124 GB, free: 1.473 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.955e-05/0.8147, allocations: 1 kB / 0.7124 GB, free: 1.473 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.004929/0.8196, allocations: 1.623 MB / 0.714 GB, free: 16.86 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.8197, allocations: 8.438 kB / 0.714 GB, free: 16.86 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001205/0.8198, allocations: 88.94 kB / 0.7141 GB, free: 16.82 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002852/0.8201, allocations: 71.67 kB / 0.7141 GB, free: 16.79 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008335/0.8209, allocations: 482.6 kB / 0.7146 GB, free: 16.61 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.03e-05/0.821, allocations: 65.83 kB / 0.7147 GB, free: 16.58 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001031/0.8211, allocations: 42.69 kB / 0.7147 GB, free: 16.58 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001207/0.8223, allocations: 0.8474 MB / 0.7155 GB, free: 16.5 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.098e-05/0.8223, allocations: 3.438 kB / 0.7155 GB, free: 16.5 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.051e-05/0.8224, allocations: 12.72 kB / 0.7155 GB, free: 16.5 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.564e-05/0.8225, allocations: 38.39 kB / 0.7156 GB, free: 16.5 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001097/0.8235, allocations: 0.829 MB / 0.7164 GB, free: 16.5 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005747/0.8293, allocations: 3.684 MB / 0.72 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003034/0.8323, allocations: 0.9324 MB / 0.7209 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004055/0.8327, allocations: 275.8 kB / 0.7212 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003559/0.8363, allocations: 1.495 MB / 0.7226 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.589e-05/0.8363, allocations: 39.16 kB / 0.7227 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=37): time 2.224e-06/0.8363, allocations: 2.625 kB / 0.7227 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of matching and sorting (n=37): time 0.003398/0.8397, allocations: 1.149 MB / 0.7238 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.984e-05/0.8398, allocations: 55.81 kB / 0.7238 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007899/0.8406, allocations: 0.5586 MB / 0.7244 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.096e-05/0.8406, allocations: 36.27 kB / 0.7244 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001836/0.8408, allocations: 283.7 kB / 0.7247 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.842e-05/0.8409, allocations: 150.2 kB / 0.7248 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000189/0.8411, allocations: 127 kB / 0.7249 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002193/0.8413, allocations: 360.3 kB / 0.7253 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004194/0.8417, allocations: 297 kB / 0.7256 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007027/0.8424, allocations: 0.4976 MB / 0.7261 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001299/0.8437, allocations: 0.8196 MB / 0.7269 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.8437, allocations: 2.094 kB / 0.7269 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.006078/0.8498, allocations: 1.923 MB / 0.7287 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.268e-05/0.8498, allocations: 13.06 kB / 0.7288 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.282e-05/0.8499, allocations: 12.12 kB / 0.7288 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009187/0.8591, allocations: 2.098 MB / 0.7308 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000454/0.8595, allocations: 100.3 kB / 0.7309 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001639/0.8612, allocations: 1.259 MB / 0.7321 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008065/0.862, allocations: 115.1 kB / 0.7322 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.947e-05/0.862, allocations: 32.11 kB / 0.7323 GB, free: 12.7 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 1 (halfWall.partialWall.centralSecondOrder.SteadyState) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 52 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,21)} Notification: Performance of prepare postOptimizeDAE: time 0.0003868/0.8624, allocations: 221.8 kB / 0.7325 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002206/0.8627, allocations: 51.39 kB / 0.7325 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00156/0.8642, allocations: 0.7417 MB / 0.7333 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.023e-05/0.8642, allocations: 4.781 kB / 0.7333 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.8642, allocations: 1.25 kB / 0.7333 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.209e-05/0.8642, allocations: 6.141 kB / 0.7333 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001092/0.8653, allocations: 0.7287 MB / 0.734 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.8653, allocations: 0 / 0.734 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007085/0.866, allocations: 130.8 kB / 0.7341 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00129/0.8673, allocations: 276.5 kB / 0.7344 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.86e-05/0.8674, allocations: 16.17 kB / 0.7344 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008452/0.8682, allocations: 0.826 MB / 0.7352 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.8682, allocations: 0.875 kB / 0.7352 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001759/0.87, allocations: 1.097 MB / 0.7363 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004091/0.8704, allocations: 152.1 kB / 0.7364 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001052/0.8705, allocations: 11.75 kB / 0.7364 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004691/0.871, allocations: 50.02 kB / 0.7365 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.988e-05/0.8711, allocations: 32.33 kB / 0.7365 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.183e-05/0.8711, allocations: 11.19 kB / 0.7365 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006215/0.8717, allocations: 414.7 kB / 0.7369 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.8717, allocations: 1.031 kB / 0.7369 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001304/0.873, allocations: 389.8 kB / 0.7373 GB, free: 11.09 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (halfWall.partialWall.E,halfWall.partialWall.centralSecondOrder.u[2],halfWall.partialWall.centralSecondOrder.u[3],halfWall.partialWall.centralSecondOrder.u[4],halfWall.partialWall.centralSecondOrder.u[5],halfWall.partialWall.centralSecondOrder.u[6],halfWall.convection.E,halfWall.carrollRadiation.E) * 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 (22): * Single equations (assignments): 21 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,17)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003568/0.8766, allocations: 1.975 MB / 0.7392 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002832/0.8794, allocations: 0.8596 MB / 0.74 GB, free: 9.996 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/0.8794, allocations: 0 / 0.74 GB, free: 9.996 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004709/0.8799, allocations: 278.9 kB / 0.7403 GB, free: 9.953 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001006/0.8809, allocations: 145.2 kB / 0.7405 GB, free: 9.906 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01731/0.8982, allocations: 7.897 MB / 0.7482 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006396/0.8989, allocations: 0.8649 MB / 0.749 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004705/0.8993, allocations: 134.9 kB / 0.7491 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002903/0.8996, allocations: 167.2 kB / 0.7493 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of SimCode: time 1.182e-06/0.8996, allocations: 4 kB / 0.7493 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06359/0.9632, allocations: 23.49 MB / 0.7722 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.49/15.46, allocations: 0 / 0.7722 GB, free: 14.99 MB / 0.5294 GB " [Timeout remaining time 644] (rm -f TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Buildings.test_HalfWall.pipe ; mkfifo TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Buildings.test_HalfWall.pipe ; head -c 1048576 < TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Buildings.test_HalfWall.pipe >> ../files/TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Buildings.test_HalfWall.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_FluidDynamics_Components_Buildings_test_HalfWall_fmu --startTime=0 --stopTime=1 --stepSize=0.002 --timeout=50 --tolerance=1e-06 TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_FluidDynamics_Components_Buildings_test_HalfWall.fmu > TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Buildings.test_HalfWall.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.31555690104142] Failed to read output from testmodel.py, exit status != 0: 15.582417527912185 15.598804517 14.780640043 Calling exit ...