Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Antifreeze.Validation.PropyleneGlycolWater.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.001316/0.001316, allocations: 77.78 kB / 19.76 MB, free: 2.027 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.001438/0.001438, allocations: 158.1 kB / 23.01 MB, free: 4.949 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.372/1.372, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.1 MB " [Timeout remaining time 179] 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.8342/0.8342, allocations: 110.3 MB / 370.1 MB, free: 15.69 MB / 350.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.Media.Antifreeze.Validation.PropyleneGlycolWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Antifreeze.Validation.PropyleneGlycolWater") translateModel(BuildSysPro.IBPSA.Media.Antifreeze.Validation.PropyleneGlycolWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Antifreeze.Validation.PropyleneGlycolWater") [Timeout 660] "Notification: BuildSysPro 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.002009/0.002009, allocations: 67.89 kB / 0.5483 GB, free: 13.29 MB / 0.5137 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.1733/0.1753, allocations: 87.86 MB / 0.6341 GB, free: 5.266 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Antifreeze.Validation.PropyleneGlycolWater): time 0.00249/0.1778, allocations: 1.395 MB / 0.6355 GB, free: 3.855 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.003605/0.1814, allocations: 2.763 MB / 0.6382 GB, free: 1.074 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.121e-05/0.1814, allocations: 0 / 0.6382 GB, free: 1.074 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 8.005e-05/0.1815, allocations: 7.922 kB / 0.6382 GB, free: 1.066 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0001192/0.1816, allocations: 43.81 kB / 0.6382 GB, free: 1.023 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005642/0.1822, allocations: 183.1 kB / 0.6384 GB, free: 0.8438 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0002764/0.1824, allocations: 239.5 kB / 0.6386 GB, free: 0.6094 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.79e-05/0.1825, allocations: 11.98 kB / 0.6386 GB, free: 0.5977 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001019/0.1826, allocations: 99.73 kB / 0.6387 GB, free: 0.5 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001584/0.1827, allocations: 119.8 kB / 0.6388 GB, free: 392 kB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.109e-05/0.1828, allocations: 8 kB / 0.6389 GB, free: 384 kB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003788/0.1831, allocations: 155.8 kB / 0.639 GB, free: 228 kB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001055/0.1833, allocations: 83.78 kB / 0.6391 GB, free: 144 kB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001073/0.1834, allocations: 83.7 kB / 0.6392 GB, free: 60 kB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0003863/0.1837, allocations: 279 kB / 0.6394 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1838, allocations: 0 / 0.6394 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.136e-06/0.1838, allocations: 3.984 kB / 0.6394 GB, free: 15.78 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.1838, allocations: 0 / 0.6394 GB, free: 15.78 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0008471/0.1846, allocations: 469.2 kB / 0.6399 GB, free: 15.29 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.1846, allocations: 8.031 kB / 0.6399 GB, free: 15.29 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001172/0.1848, allocations: 20.84 kB / 0.6399 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002897/0.185, allocations: 186.2 kB / 0.6401 GB, free: 15.06 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.712e-05/0.1851, allocations: 24.36 kB / 0.6401 GB, free: 15.04 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.435e-05/0.1851, allocations: 24.38 kB / 0.6401 GB, free: 15.01 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006732/0.1858, allocations: 289.2 kB / 0.6404 GB, free: 14.72 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.1858, allocations: 3.938 kB / 0.6404 GB, free: 14.72 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.163e-05/0.1858, allocations: 8 kB / 0.6404 GB, free: 14.71 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.1858, allocations: 4 kB / 0.6404 GB, free: 14.71 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001496/0.1873, allocations: 0.7217 MB / 0.6411 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003352/0.1877, allocations: 228.8 kB / 0.6413 GB, free: 13.73 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001693/0.1894, allocations: 0.6485 MB / 0.642 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005207/0.1899, allocations: 216.7 kB / 0.6422 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002677/0.1902, allocations: 75.95 kB / 0.6423 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.752e-05/0.1902, allocations: 34.56 kB / 0.6423 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=37): time 1.452e-06/0.1902, allocations: 0 / 0.6423 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of matching and sorting (n=37): time 0.001722/0.1919, allocations: 0.6564 MB / 0.6429 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.816e-05/0.192, allocations: 59.34 kB / 0.643 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001117/0.1921, allocations: 128 kB / 0.6431 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.858e-05/0.1921, allocations: 29.7 kB / 0.6431 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.863e-05/0.1922, allocations: 92.78 kB / 0.6432 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001235/0.1923, allocations: 130.9 kB / 0.6433 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001072/0.1924, allocations: 65.67 kB / 0.6434 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.00016/0.1926, allocations: 330.8 kB / 0.6437 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005079/0.1931, allocations: 195.8 kB / 0.6439 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005065/0.1936, allocations: 203.6 kB / 0.6441 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009432/0.1945, allocations: 357.2 kB / 0.6444 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.1945, allocations: 0 / 0.6444 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001127/0.1956, allocations: 468.4 kB / 0.6449 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.1957, allocations: 14.12 kB / 0.6449 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.1957, allocations: 0 / 0.6449 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.1957, allocations: 3.984 kB / 0.6449 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003719/0.1961, allocations: 99.86 kB / 0.645 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.1961, allocations: 4 kB / 0.645 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000187/0.1962, allocations: 47.78 kB / 0.6451 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.963e-05/0.1963, allocations: 11.98 kB / 0.6451 GB, free: 9.832 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (37): * Single equations (assignments): 37 * 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.0001435/0.1964, allocations: 145.8 kB / 0.6452 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.482e-05/0.1965, allocations: 23.84 kB / 0.6452 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001258/0.1977, allocations: 0.5094 MB / 0.6457 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.1977, allocations: 8 kB / 0.6457 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.1977, allocations: 0 / 0.6457 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.1977, allocations: 3.984 kB / 0.6457 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002987/0.198, allocations: 237 kB / 0.646 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-06/0.198, allocations: 7.984 kB / 0.646 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003439/0.1984, allocations: 91.86 kB / 0.6461 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.631e-06/0.1984, allocations: 3.984 kB / 0.6461 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.648e-05/0.1984, allocations: 15.94 kB / 0.6461 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.1984, allocations: 4 kB / 0.6461 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1984, allocations: 4 kB / 0.6461 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00117/0.1996, allocations: 0.4965 MB / 0.6466 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.559e-05/0.1996, allocations: 23.78 kB / 0.6466 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.496e-05/0.1997, allocations: 7.938 kB / 0.6466 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001816/0.1998, allocations: 35.95 kB / 0.6466 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002573/0.2001, allocations: 119.8 kB / 0.6468 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.923e-05/0.2001, allocations: 15.98 kB / 0.6468 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.96e-05/0.2002, allocations: 99.27 kB / 0.6469 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of sort global known variables: time 8.1e-08/0.2002, allocations: 0 / 0.6469 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004067/0.2006, allocations: 115.8 kB / 0.647 GB, free: 7.828 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (37): * Single equations (assignments): 37 * 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.0003634/0.201, allocations: 190.9 kB / 0.6472 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001166/0.2021, allocations: 447.3 kB / 0.6476 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2021, allocations: 0 / 0.6476 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000575/0.2027, allocations: 252.3 kB / 0.6478 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004067/0.2031, allocations: 79.86 kB / 0.6479 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008187/0.2039, allocations: 432.4 kB / 0.6483 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001325/0.2041, allocations: 122.6 kB / 0.6484 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0004663/0.2045, allocations: 192 kB / 0.6486 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001171/0.2047, allocations: 44.42 kB / 0.6487 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of SimCode: time 4.91e-07/0.2047, allocations: 0 / 0.6487 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of Templates: time 0.01112/0.2158, allocations: 5.583 MB / 0.6541 GB, free: 0.6211 MB / 0.6075 GB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Antifreeze.Validation.PropyleneGlycolWater.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Antifreeze.Validation.PropyleneGlycolWater.sim & ./BuildSysPro_BuildSysPro.IBPSA.Media.Antifreeze.Validation.PropyleneGlycolWater -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.490157547988929] Failed to read output from testmodel.py, exit status != 0: 0.22480289195664227 0.23924436000000002 0.052517392 Calling exit ...