Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.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.001335/0.001335, allocations: 81.23 kB / 19.18 MB, free: 2.52 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.001534/0.001534, allocations: 168.9 kB / 22.46 MB, free: 5.371 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.532/1.532, allocations: 177.2 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.9291/0.9291, allocations: 110.3 MB / 369.4 MB, free: 1.164 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:44:3-56:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:58:3-65:19:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:67:3-72:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:74:3-79:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.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: translateModel(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") translateModel(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 0.5478 GB, free: 9.801 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.009e-05/3.157e-05, allocations: 2.938 kB / 0.5478 GB, free: 9.797 MB / 462.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.5653/0.5654, allocations: 165.5 MB / 0.7094 GB, free: 6.516 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01527/0.5806, allocations: 12.02 MB / 0.7212 GB, free: 6.367 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001249/0.5819, allocations: 46.69 kB / 0.7212 GB, free: 6.367 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001259/0.5831, allocations: 430.9 kB / 0.7216 GB, free: 6.363 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003059/0.5862, allocations: 1.231 MB / 0.7228 GB, free: 6.309 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001899/0.5881, allocations: 0.7758 MB / 0.7236 GB, free: 6.293 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002993/0.5911, allocations: 2.056 MB / 0.7256 GB, free: 6.254 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009203/0.592, allocations: 0.6157 MB / 0.7262 GB, free: 6.18 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004841/0.5968, allocations: 2.094 MB / 0.7282 GB, free: 5.934 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001567/0.5984, allocations: 0.6237 MB / 0.7288 GB, free: 5.871 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001389/0.5986, allocations: 79.12 kB / 0.7289 GB, free: 5.871 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001821/0.6004, allocations: 0.7493 MB / 0.7297 GB, free: 5.793 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003987/0.6008, allocations: 417.2 kB / 0.73 GB, free: 5.742 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004152/0.6012, allocations: 349.7 kB / 0.7304 GB, free: 5.707 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001954/0.6031, allocations: 1.572 MB / 0.7319 GB, free: 5.559 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.6031, allocations: 0 / 0.7319 GB, free: 5.559 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.493e-06/0.6031, allocations: 0.875 kB / 0.7319 GB, free: 5.559 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.313e-05/0.6032, allocations: 0 / 0.7319 GB, free: 5.559 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.001682/0.6048, allocations: 1.184 MB / 0.7331 GB, free: 4.918 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.6049, allocations: 11.38 kB / 0.7331 GB, free: 4.918 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001188/0.6061, allocations: 217.6 kB / 0.7333 GB, free: 4.863 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009813/0.607, allocations: 0.6122 MB / 0.7339 GB, free: 4.621 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.221e-05/0.6071, allocations: 60.19 kB / 0.7339 GB, free: 4.617 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001033/0.6072, allocations: 82.48 kB / 0.734 GB, free: 4.609 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001138/0.6083, allocations: 1.059 MB / 0.7351 GB, free: 4.207 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.401e-05/0.6084, allocations: 5.5 kB / 0.7351 GB, free: 4.207 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.962e-05/0.6084, allocations: 34.27 kB / 0.7351 GB, free: 4.207 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.025e-05/0.6085, allocations: 30.92 kB / 0.7351 GB, free: 4.203 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008202/0.6093, allocations: 0.6133 MB / 0.7357 GB, free: 4.195 MB / 0.5919 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.0029/0.6122, allocations: 3.587 MB / 0.7392 GB, free: 1.859 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006698/0.6129, allocations: 458.3 kB / 0.7397 GB, free: 1.781 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002732/0.6131, allocations: 232.3 kB / 0.7399 GB, free: 1.758 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001398/0.6133, allocations: 23.12 kB / 0.7399 GB, free: 1.758 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.128e-05/0.6133, allocations: 45.91 kB / 0.74 GB, free: 1.719 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=43): time 2.164e-06/0.6133, allocations: 0 / 0.74 GB, free: 1.719 MB / 0.5919 GB Notification: Performance of matching and sorting (n=45): time 0.002324/0.6156, allocations: 1.527 MB / 0.7414 GB, free: 1.184 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.162e-05/0.6157, allocations: 112 kB / 0.7416 GB, free: 1.059 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004805/0.6161, allocations: 0.5355 MB / 0.7421 GB, free: 0.9219 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.968e-05/0.6162, allocations: 37.52 kB / 0.7421 GB, free: 0.8906 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002083/0.6164, allocations: 437.6 kB / 0.7425 GB, free: 0.6602 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 9.788e-05/0.6165, allocations: 168.7 kB / 0.7427 GB, free: 0.5508 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001484/0.6166, allocations: 115.7 kB / 0.7428 GB, free: 0.5312 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 8.467e-05/0.6167, allocations: 378.2 kB / 0.7432 GB, free: 220 kB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002561/0.617, allocations: 189.5 kB / 0.7433 GB, free: 216 kB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004925/0.6175, allocations: 0.5622 MB / 0.7439 GB, free: 15.78 MB / 0.6075 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.00213/0.6196, allocations: 1.093 MB / 0.745 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.6196, allocations: 2.656 kB / 0.745 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009186/0.6205, allocations: 0.6551 MB / 0.7456 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.6205, allocations: 9.844 kB / 0.7456 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/0.6205, allocations: 8.375 kB / 0.7456 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.383e-05/0.6206, allocations: 12.19 kB / 0.7456 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004404/0.621, allocations: 125.7 kB / 0.7458 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.344e-05/0.621, allocations: 9.75 kB / 0.7458 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005259/0.6216, allocations: 36.03 kB / 0.7458 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.134e-05/0.6216, allocations: 31.12 kB / 0.7458 GB, free: 15.47 MB / 0.6075 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (intTraSubOut.local_reset,intTraSubIn.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 74 * 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.000367/0.622, allocations: 271.9 kB / 0.7461 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001428/0.6221, allocations: 70.95 kB / 0.7462 GB, free: 15.32 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001396/0.6223, allocations: 78.95 kB / 0.7462 GB, free: 15.31 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.6223, allocations: 10.16 kB / 0.7462 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.054e-05/0.6223, allocations: 0 / 0.7462 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007519/0.623, allocations: 0.7003 MB / 0.7469 GB, free: 14.86 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002179/0.6252, allocations: 1.442 MB / 0.7483 GB, free: 14.33 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.6252, allocations: 2.906 kB / 0.7483 GB, free: 14.33 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004409/0.6256, allocations: 107.5 kB / 0.7484 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.005e-06/0.6257, allocations: 6.188 kB / 0.7484 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.577e-05/0.6257, allocations: 14.94 kB / 0.7485 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.444e-06/0.6257, allocations: 9.656 kB / 0.7485 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/0.6257, allocations: 8.031 kB / 0.7485 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001073/0.6268, allocations: 0.8501 MB / 0.7493 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000238/0.627, allocations: 114.1 kB / 0.7494 GB, free: 13.97 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.364e-05/0.6271, allocations: 16.09 kB / 0.7494 GB, free: 13.97 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004106/0.6275, allocations: 16.59 kB / 0.7494 GB, free: 13.97 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.341e-05/0.6276, allocations: 42.83 kB / 0.7495 GB, free: 13.97 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.287e-05/0.6276, allocations: 20.75 kB / 0.7495 GB, free: 13.97 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003944/0.628, allocations: 364.8 kB / 0.7498 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.628, allocations: 0.8438 kB / 0.7499 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0007502/0.6287, allocations: 199.7 kB / 0.75 GB, free: 13.88 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 5 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.mC[1],intTraSubIn.y,intTraSubOut.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 (45): * Single equations (assignments): 45 * 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.000457/0.6292, allocations: 186.2 kB / 0.7502 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0007061/0.6299, allocations: 458.9 kB / 0.7507 GB, free: 13.78 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.6299, allocations: 0 / 0.7507 GB, free: 13.78 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002674/0.6302, allocations: 205.2 kB / 0.7509 GB, free: 13.78 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00156/0.6317, allocations: 347.6 kB / 0.7512 GB, free: 13.73 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002507/0.6342, allocations: 1.554 MB / 0.7527 GB, free: 13.01 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004196/0.6347, allocations: 442.7 kB / 0.7531 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.000485/0.6352, allocations: 169.5 kB / 0.7533 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001453/0.6353, allocations: 60.48 kB / 0.7533 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of SimCode: time 4.51e-07/0.6353, allocations: 1.062 kB / 0.7533 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of Templates: time 0.02046/0.6558, allocations: 11.85 MB / 0.7649 GB, free: 10.46 MB / 0.6075 GB " [Timeout remaining time 659] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.547167487442493] Failed to read output from testmodel.py, exit status != 0: 0.6645498014986515 0.677410811 0.071053922 Calling exit ...