Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.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.001042/0.001042, allocations: 84.44 kB / 20.69 MB, free: 3.871 MB / 18.57 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.001069/0.001069, allocations: 166.3 kB / 23.97 MB, free: 0.5977 MB / 18.57 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 0.9045/0.9045, allocations: 177.1 MB / 204.3 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.549/0.549, allocations: 114 MB / 374.7 MB, free: 8.727 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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: translateModel(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature") translateModel(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 0.5554 GB, free: 2.285 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.988e-05/3.167e-05, allocations: 7.344 kB / 0.5554 GB, free: 2.277 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature): time 0.04039/0.04042, allocations: 56.1 MB / 0.6102 GB, free: 9.988 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.01291/0.05332, allocations: 11.1 MB / 0.621 GB, free: 14.86 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001992/0.05532, allocations: 79.31 kB / 0.6211 GB, free: 14.78 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.001546/0.05686, allocations: 0.6906 MB / 0.6218 GB, free: 14.09 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.004295/0.06116, allocations: 2.136 MB / 0.6239 GB, free: 11.94 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.002466/0.06362, allocations: 1.263 MB / 0.6251 GB, free: 10.69 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.003738/0.06736, allocations: 3.105 MB / 0.6282 GB, free: 7.57 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001234/0.0686, allocations: 0.851 MB / 0.629 GB, free: 6.684 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003445/0.07204, allocations: 1.92 MB / 0.6309 GB, free: 4.762 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00118/0.07322, allocations: 0.7671 MB / 0.6316 GB, free: 3.992 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.0001927/0.07341, allocations: 120 kB / 0.6317 GB, free: 3.875 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001885/0.0753, allocations: 1.181 MB / 0.6329 GB, free: 2.691 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0002331/0.07553, allocations: 310.6 kB / 0.6332 GB, free: 2.387 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0008064/0.07634, allocations: 474.8 kB / 0.6336 GB, free: 1.922 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.003787/0.08012, allocations: 2.349 MB / 0.6359 GB, free: 15.56 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.08013, allocations: 0 / 0.6359 GB, free: 15.56 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.124e-06/0.08013, allocations: 4 kB / 0.6359 GB, free: 15.56 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.087e-05/0.08018, allocations: 4 kB / 0.6359 GB, free: 15.55 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.002828/0.08301, allocations: 1.7 MB / 0.6376 GB, free: 13.81 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.08305, allocations: 12.62 kB / 0.6376 GB, free: 13.8 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001133/0.08419, allocations: 419.2 kB / 0.638 GB, free: 13.39 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001635/0.08582, allocations: 1.112 MB / 0.6391 GB, free: 12.22 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.403e-05/0.08587, allocations: 62 kB / 0.6391 GB, free: 12.16 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.656e-05/0.08595, allocations: 84 kB / 0.6392 GB, free: 12.08 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001315/0.08727, allocations: 1.1 MB / 0.6403 GB, free: 10.91 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.629e-05/0.08729, allocations: 0 / 0.6403 GB, free: 10.91 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.438e-05/0.08734, allocations: 32 kB / 0.6403 GB, free: 10.88 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.259e-05/0.08735, allocations: 20 kB / 0.6403 GB, free: 10.86 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001327/0.08868, allocations: 0.8781 MB / 0.6412 GB, free: 9.98 MB / 0.6042 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.003853/0.09253, allocations: 3.746 MB / 0.6449 GB, free: 6.129 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001674/0.09421, allocations: 0.7581 MB / 0.6456 GB, free: 5.359 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004084/0.09461, allocations: 301.2 kB / 0.6459 GB, free: 5.062 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001949/0.09481, allocations: 87.89 kB / 0.646 GB, free: 4.977 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.09483, allocations: 38.56 kB / 0.646 GB, free: 4.93 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=44): time 2.896e-06/0.09484, allocations: 0 / 0.646 GB, free: 4.93 MB / 0.6042 GB Notification: Performance of matching and sorting (n=44): time 0.003393/0.09823, allocations: 1.517 MB / 0.6475 GB, free: 3.398 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.697e-05/0.09827, allocations: 59.34 kB / 0.6475 GB, free: 3.328 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009816/0.09925, allocations: 0.9562 MB / 0.6485 GB, free: 2.352 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.644e-05/0.0993, allocations: 37.7 kB / 0.6485 GB, free: 2.309 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000311/0.09962, allocations: 0.5664 MB / 0.6491 GB, free: 1.734 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 9.818e-05/0.09971, allocations: 154.7 kB / 0.6492 GB, free: 1.582 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001508/0.09986, allocations: 138.2 kB / 0.6493 GB, free: 1.441 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.088e-05/0.09996, allocations: 326 kB / 0.6497 GB, free: 1.117 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004889/0.1004, allocations: 327.2 kB / 0.65 GB, free: 0.793 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007142/0.1012, allocations: 0.9173 MB / 0.6509 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009365/0.1021, allocations: 0.731 MB / 0.6516 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.8e-06/0.1021, allocations: 0 / 0.6516 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001535/0.1036, allocations: 1.04 MB / 0.6526 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/0.1037, allocations: 8.625 kB / 0.6526 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.1037, allocations: 4 kB / 0.6526 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007376/0.1044, allocations: 308.6 kB / 0.6529 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00029/0.1047, allocations: 135.8 kB / 0.653 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008427/0.1055, allocations: 0.9021 MB / 0.6539 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006029/0.1061, allocations: 139.6 kB / 0.654 GB, free: 12.33 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.768e-05/0.1062, allocations: 31.98 kB / 0.6541 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001012/0.1072, allocations: 0.5246 MB / 0.6546 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006992/0.1079, allocations: 0.9211 MB / 0.6555 GB, free: 10.66 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009041/0.1088, allocations: 0.7298 MB / 0.6562 GB, free: 9.855 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.497e-06/0.1088, allocations: 4 kB / 0.6562 GB, free: 9.852 MB / 0.6198 GB Notification: Performance of matching and sorting (n=72) (initialization_lambda0): time 0.001471/0.1103, allocations: 1.017 MB / 0.6572 GB, free: 8.824 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.1103, allocations: 15.88 kB / 0.6572 GB, free: 8.809 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.1103, allocations: 7.984 kB / 0.6572 GB, free: 8.801 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005542/0.1109, allocations: 280.6 kB / 0.6575 GB, free: 8.523 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002792/0.1111, allocations: 135.8 kB / 0.6576 GB, free: 8.391 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007616/0.1119, allocations: 0.888 MB / 0.6585 GB, free: 7.477 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000603/0.1125, allocations: 135.7 kB / 0.6586 GB, free: 7.344 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.236e-05/0.1125, allocations: 31.98 kB / 0.6586 GB, free: 7.312 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (58): * Single equations (assignments): 57 * 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,14)} Notification: Performance of prepare postOptimizeDAE: time 0.000178/0.1127, allocations: 224 kB / 0.6589 GB, free: 7.086 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001227/0.1128, allocations: 103.3 kB / 0.659 GB, free: 6.984 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001771/0.1146, allocations: 1.087 MB / 0.66 GB, free: 5.898 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.29e-05/0.1146, allocations: 8 kB / 0.66 GB, free: 5.891 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.1146, allocations: 0 / 0.66 GB, free: 5.891 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.1146, allocations: 3.984 kB / 0.66 GB, free: 5.887 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003036/0.1177, allocations: 1.942 MB / 0.6619 GB, free: 3.879 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.026e-06/0.1177, allocations: 4 kB / 0.6619 GB, free: 3.875 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001554/0.1178, allocations: 71.88 kB / 0.662 GB, free: 3.805 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005459/0.1184, allocations: 299.2 kB / 0.6623 GB, free: 3.512 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.891e-05/0.1184, allocations: 11.98 kB / 0.6623 GB, free: 3.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008143/0.1192, allocations: 0.9309 MB / 0.6632 GB, free: 2.543 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.1192, allocations: 0 / 0.6632 GB, free: 2.543 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001888/0.1211, allocations: 1.192 MB / 0.6644 GB, free: 1.305 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003204/0.1214, allocations: 183 kB / 0.6645 GB, free: 1.125 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.139e-05/0.1215, allocations: 12 kB / 0.6646 GB, free: 1.113 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003723/0.1219, allocations: 71.91 kB / 0.6646 GB, free: 1.043 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.205e-05/0.122, allocations: 39.88 kB / 0.6647 GB, free: 1.004 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.625e-05/0.122, allocations: 23.98 kB / 0.6647 GB, free: 0.9805 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0007085/0.1227, allocations: 0.6659 MB / 0.6653 GB, free: 312 kB / 0.6198 GB Notification: Performance of sort global known variables: time 2.3e-07/0.1227, allocations: 0 / 0.6653 GB, free: 312 kB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001162/0.1239, allocations: 0.6001 MB / 0.6659 GB, free: 15.7 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (34): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005056/0.1244, allocations: 385.6 kB / 0.6663 GB, free: 15.32 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001852/0.1262, allocations: 1.133 MB / 0.6674 GB, free: 14.19 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.1262, allocations: 192 / 0.6674 GB, free: 14.19 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0004946/0.1267, allocations: 354.4 kB / 0.6677 GB, free: 13.84 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001051/0.1278, allocations: 389 kB / 0.6681 GB, free: 13.48 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003549/0.1313, allocations: 2.072 MB / 0.6701 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003368/0.1317, allocations: 485.7 kB / 0.6706 GB, free: 10.83 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001941/0.1319, allocations: 76.48 kB / 0.6707 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of SimCode: time 2.485e-06/0.1319, allocations: 0 / 0.6707 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of Templates: time 0.24/0.3718, allocations: 23.54 MB / 0.6937 GB, free: 156.1 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.sim & ./IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.865530122071505] Failed to read output from testmodel.py, exit status != 0: 0.37866988591849804 0.386557277 0.30434904799999996 Calling exit ...