Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001396/0.001396, allocations: 121.2 kB / 17.8 MB, free: 5.121 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001373/0.001373, allocations: 189.5 kB / 20.75 MB, free: 2.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 225.6 MB / 249.2 MB, free: 3.625 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8485/0.8485, allocations: 128.4 MB / 432.4 MB, free: 13.21 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") translateModel(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001928/0.001928, allocations: 67.89 kB / 0.5987 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4265/0.4284, allocations: 83.27 MB / 0.68 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.0764/0.5048, allocations: 74.46 MB / 0.7528 GB, free: 4.449 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02097/0.5258, allocations: 13.74 MB / 0.7662 GB, free: 6.66 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002904/0.5287, allocations: 71.56 kB / 0.7662 GB, free: 6.59 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.002717/0.5314, allocations: 0.8033 MB / 0.767 GB, free: 5.781 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.007181/0.5386, allocations: 2.317 MB / 0.7693 GB, free: 3.453 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.004723/0.5433, allocations: 1.684 MB / 0.7709 GB, free: 1.777 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.006374/0.5497, allocations: 3.717 MB / 0.7746 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002147/0.5518, allocations: 1.081 MB / 0.7756 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005102/0.5569, allocations: 1.843 MB / 0.7774 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002431/0.5594, allocations: 1.143 MB / 0.7785 GB, free: 9.941 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003874/0.5597, allocations: 140 kB / 0.7787 GB, free: 9.805 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003975/0.5637, allocations: 1.716 MB / 0.7803 GB, free: 8.086 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000434/0.5642, allocations: 358.4 kB / 0.7807 GB, free: 7.734 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001226/0.5654, allocations: 0.8552 MB / 0.7815 GB, free: 6.875 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.005319/0.5707, allocations: 2.74 MB / 0.7842 GB, free: 4.133 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.5707, allocations: 0 / 0.7842 GB, free: 4.133 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.744e-06/0.5707, allocations: 3.938 kB / 0.7842 GB, free: 4.129 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.297e-05/0.5707, allocations: 0 / 0.7842 GB, free: 4.129 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: 242 * Number of variables: 242 Notification: Performance of Generate backend data structure: time 0.003908/0.5746, allocations: 2.067 MB / 0.7862 GB, free: 1.996 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.5747, allocations: 12.03 kB / 0.7862 GB, free: 1.984 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002536/0.5772, allocations: 498.4 kB / 0.7867 GB, free: 1.496 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002699/0.5799, allocations: 1.338 MB / 0.788 GB, free: 108 kB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.047e-05/0.58, allocations: 78 kB / 0.7881 GB, free: 28 kB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001736/0.5802, allocations: 100 kB / 0.7882 GB, free: 15.93 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002596/0.5828, allocations: 1.207 MB / 0.7894 GB, free: 14.67 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.112e-05/0.5828, allocations: 0 / 0.7894 GB, free: 14.67 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001048/0.5829, allocations: 40 kB / 0.7894 GB, free: 14.63 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.298e-05/0.5829, allocations: 27.94 kB / 0.7894 GB, free: 14.6 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002827/0.5858, allocations: 1.062 MB / 0.7905 GB, free: 13.54 MB / 0.6075 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.008438/0.5942, allocations: 6.323 MB / 0.7966 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002631/0.5968, allocations: 0.8882 MB / 0.7975 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001139/0.598, allocations: 430.2 kB / 0.7979 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002022/0.6, allocations: 1.674 MB / 0.7996 GB, free: 3.359 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.872e-05/0.6, allocations: 39.12 kB / 0.7996 GB, free: 3.312 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=65): time 2.805e-06/0.6, allocations: 4 kB / 0.7996 GB, free: 3.309 MB / 0.6075 GB Notification: Performance of matching and sorting (n=65): time 0.009933/0.61, allocations: 2.291 MB / 0.8018 GB, free: 0.9883 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.103e-05/0.61, allocations: 63.97 kB / 0.8019 GB, free: 0.9141 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001827/0.6118, allocations: 1.118 MB / 0.803 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001221/0.612, allocations: 37.7 kB / 0.803 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005697/0.6125, allocations: 0.6228 MB / 0.8036 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002715/0.6128, allocations: 241.9 kB / 0.8039 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002779/0.6131, allocations: 158.6 kB / 0.804 GB, free: 14.72 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002305/0.6133, allocations: 330 kB / 0.8043 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001137/0.6145, allocations: 400.6 kB / 0.8047 GB, free: 14 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001385/0.6158, allocations: 0.6203 MB / 0.8053 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002348/0.6182, allocations: 0.9144 MB / 0.8062 GB, free: 12.32 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.293e-06/0.6182, allocations: 4 kB / 0.8062 GB, free: 12.32 MB / 0.6231 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.004753/0.6229, allocations: 1.364 MB / 0.8075 GB, free: 10.94 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 4.634e-05/0.623, allocations: 8.125 kB / 0.8075 GB, free: 10.93 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.696e-05/0.623, allocations: 4 kB / 0.8076 GB, free: 10.93 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001367/0.6244, allocations: 300.6 kB / 0.8078 GB, free: 10.63 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007629/0.6251, allocations: 175.7 kB / 0.808 GB, free: 10.46 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001617/0.6268, allocations: 0.9061 MB / 0.8089 GB, free: 9.531 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001363/0.6281, allocations: 151.4 kB / 0.809 GB, free: 9.383 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001192/0.6282, allocations: 35.98 kB / 0.8091 GB, free: 9.348 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001691/0.6299, allocations: 0.619 MB / 0.8097 GB, free: 8.723 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001379/0.6313, allocations: 0.6086 MB / 0.8103 GB, free: 8.027 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002329/0.6336, allocations: 0.9027 MB / 0.8112 GB, free: 7.066 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.078e-06/0.6336, allocations: 0 / 0.8112 GB, free: 7.066 MB / 0.6231 GB Notification: Performance of matching and sorting (n=89) (initialization_lambda0): time 0.004323/0.638, allocations: 1.344 MB / 0.8125 GB, free: 5.711 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.638, allocations: 8 kB / 0.8125 GB, free: 5.703 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.638, allocations: 4 kB / 0.8125 GB, free: 5.699 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001157/0.6392, allocations: 297 kB / 0.8128 GB, free: 5.406 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007594/0.6399, allocations: 163.8 kB / 0.8129 GB, free: 5.246 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001518/0.6414, allocations: 0.8996 MB / 0.8138 GB, free: 4.32 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001261/0.6427, allocations: 127.6 kB / 0.8139 GB, free: 4.195 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001013/0.6428, allocations: 35.98 kB / 0.8139 GB, free: 4.16 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (75): * 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: 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.0003236/0.6431, allocations: 228.1 kB / 0.8142 GB, free: 3.93 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002954/0.6434, allocations: 151 kB / 0.8143 GB, free: 3.781 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005422/0.6488, allocations: 1.704 MB / 0.816 GB, free: 2.055 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.507e-05/0.6489, allocations: 8 kB / 0.816 GB, free: 2.047 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/0.6489, allocations: 7.938 kB / 0.816 GB, free: 2.039 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.077e-05/0.6489, allocations: 7.984 kB / 0.816 GB, free: 2.031 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007467/0.6563, allocations: 2.871 MB / 0.8188 GB, free: 15.08 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-05/0.6564, allocations: 7.984 kB / 0.8188 GB, free: 15.07 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006346/0.657, allocations: 128 kB / 0.8189 GB, free: 14.95 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001068/0.6581, allocations: 290.7 kB / 0.8192 GB, free: 14.66 MB / 0.6388 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.972e-05/0.6582, allocations: 27.98 kB / 0.8192 GB, free: 14.63 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00165/0.6598, allocations: 0.927 MB / 0.8201 GB, free: 13.68 MB / 0.6388 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.6598, allocations: 0 / 0.8201 GB, free: 13.68 MB / 0.6388 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005237/0.6651, allocations: 1.578 MB / 0.8217 GB, free: 12.06 MB / 0.6388 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008693/0.6659, allocations: 343.8 kB / 0.822 GB, free: 11.71 MB / 0.6388 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003358/0.6663, allocations: 12 kB / 0.822 GB, free: 11.7 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001173/0.6674, allocations: 87.89 kB / 0.8221 GB, free: 11.61 MB / 0.6388 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001545/0.6676, allocations: 56.52 kB / 0.8222 GB, free: 11.55 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001019/0.6677, allocations: 35.97 kB / 0.8222 GB, free: 11.52 MB / 0.6388 GB Notification: Performance of sorting global known variables: time 0.001645/0.6693, allocations: 0.7708 MB / 0.8229 GB, free: 10.75 MB / 0.6388 GB Notification: Performance of sort global known variables: time 6e-08/0.6693, allocations: 0 / 0.8229 GB, free: 10.75 MB / 0.6388 GB Notification: Performance of remove unused functions: time 0.002632/0.672, allocations: 0.7328 MB / 0.8237 GB, free: 10.01 MB / 0.6388 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (62): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 11 * 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.001305/0.6733, allocations: 487 kB / 0.8241 GB, free: 9.539 MB / 0.6388 GB Notification: Performance of simCode: created initialization part: time 0.00483/0.6781, allocations: 1.497 MB / 0.8256 GB, free: 8.043 MB / 0.6388 GB Notification: Performance of simCode: created event and clocks part: time 7.104e-06/0.6781, allocations: 0 / 0.8256 GB, free: 8.043 MB / 0.6388 GB Notification: Performance of simCode: created simulation system equations: time 0.001635/0.6797, allocations: 0.5335 MB / 0.8261 GB, free: 7.512 MB / 0.6388 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003406/0.6831, allocations: 0.6177 MB / 0.8267 GB, free: 6.906 MB / 0.6388 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005726/0.6889, allocations: 2.366 MB / 0.829 GB, free: 4.484 MB / 0.6388 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001082/0.69, allocations: 1.166 MB / 0.8302 GB, free: 3.285 MB / 0.6388 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005252/0.6905, allocations: 119.4 kB / 0.8303 GB, free: 3.168 MB / 0.6388 GB Notification: Performance of SimCode: time 1.573e-06/0.6905, allocations: 0 / 0.8303 GB, free: 3.168 MB / 0.6388 GB Notification: Performance of Templates: time 0.04775/0.7382, allocations: 29.98 MB / 0.8595 GB, free: 5.422 MB / 0.67 GB " [Timeout remaining time 659] make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 12.280429488047957] Failed to read output from testmodel.py, exit status != 0: 0.7475358070805669 1.063454767 0.489957689 Calling exit ...