Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001331/0.001331, allocations: 106.5 kB / 21.22 MB, free: 0.6797 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001436/0.001436, allocations: 209.3 kB / 24.54 MB, free: 4.055 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.422/1.422, allocations: 230.5 MB / 258.2 MB, free: 8.039 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2273/0.2273, allocations: 46.93 MB / 361.6 MB, free: 4.195 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002268/0.002268, allocations: 83.88 kB / 0.497 GB, free: 7.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3339/0.3361, allocations: 66.07 MB / 0.5615 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall): time 0.003673/0.3398, allocations: 2.292 MB / 0.5638 GB, free: 1.957 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003292/0.3431, allocations: 2.184 MB / 0.5659 GB, free: 15.77 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001575/0.3433, allocations: 3.938 kB / 0.5659 GB, free: 15.76 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003318/0.3436, allocations: 71.58 kB / 0.566 GB, free: 15.69 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002747/0.3439, allocations: 119.2 kB / 0.5661 GB, free: 15.57 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001145/0.345, allocations: 454.3 kB / 0.5665 GB, free: 15.13 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006132/0.3456, allocations: 0.5171 MB / 0.567 GB, free: 14.61 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.423e-05/0.3457, allocations: 27.19 kB / 0.5671 GB, free: 14.58 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003029/0.346, allocations: 198.9 kB / 0.5673 GB, free: 14.38 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002909/0.3463, allocations: 214.8 kB / 0.5675 GB, free: 14.17 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.469e-05/0.3463, allocations: 12 kB / 0.5675 GB, free: 14.16 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001057/0.3474, allocations: 0.6982 MB / 0.5682 GB, free: 13.46 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001234/0.3475, allocations: 99.47 kB / 0.5682 GB, free: 13.36 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001996/0.3477, allocations: 206.6 kB / 0.5684 GB, free: 13.16 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001057/0.3488, allocations: 0.8677 MB / 0.5693 GB, free: 12.29 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3488, allocations: 0 / 0.5693 GB, free: 12.29 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3488, allocations: 0 / 0.5693 GB, free: 12.29 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.527e-06/0.3488, allocations: 0 / 0.5693 GB, free: 12.29 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.00147/0.3502, allocations: 0.7816 MB / 0.5701 GB, free: 11.47 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.3503, allocations: 12.03 kB / 0.5701 GB, free: 11.46 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001279/0.3504, allocations: 114.6 kB / 0.5702 GB, free: 11.34 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003918/0.3508, allocations: 92.52 kB / 0.5703 GB, free: 11.25 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004217/0.3512, allocations: 265.7 kB / 0.5705 GB, free: 10.96 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.524e-05/0.3513, allocations: 37.69 kB / 0.5706 GB, free: 10.93 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.287e-05/0.3513, allocations: 55.94 kB / 0.5706 GB, free: 10.88 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001172/0.3525, allocations: 0.7735 MB / 0.5714 GB, free: 10.08 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.3525, allocations: 0 / 0.5714 GB, free: 10.08 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.367e-05/0.3526, allocations: 24 kB / 0.5714 GB, free: 10.06 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.184e-05/0.3526, allocations: 29.3 kB / 0.5714 GB, free: 10.03 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001001/0.3536, allocations: 0.5515 MB / 0.5719 GB, free: 9.48 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002395/0.356, allocations: 1.637 MB / 0.5735 GB, free: 7.785 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005889/0.3566, allocations: 298.7 kB / 0.5738 GB, free: 7.469 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003304/0.3569, allocations: 142.4 kB / 0.574 GB, free: 7.32 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.6e-05/0.357, allocations: 19.97 kB / 0.574 GB, free: 7.301 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.483e-05/0.357, allocations: 34.5 kB / 0.574 GB, free: 7.258 MB / 414.1 MB Notification: Performance of pre-optimization done (n=20): time 1.874e-06/0.357, allocations: 0 / 0.574 GB, free: 7.258 MB / 414.1 MB Notification: Performance of matching and sorting (n=20): time 0.001276/0.3583, allocations: 0.5149 MB / 0.5745 GB, free: 6.738 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.894e-05/0.3584, allocations: 106.8 kB / 0.5746 GB, free: 6.609 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007782/0.3592, allocations: 0.6354 MB / 0.5752 GB, free: 5.965 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.393e-05/0.3592, allocations: 33.7 kB / 0.5753 GB, free: 5.926 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000232/0.3594, allocations: 292.1 kB / 0.5756 GB, free: 5.633 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.577e-05/0.3595, allocations: 83.3 kB / 0.5756 GB, free: 5.551 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001678/0.3597, allocations: 122.2 kB / 0.5758 GB, free: 5.426 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001807/0.3598, allocations: 362.8 kB / 0.5761 GB, free: 5.062 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004069/0.3603, allocations: 196.8 kB / 0.5763 GB, free: 4.871 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006001/0.3609, allocations: 456.6 kB / 0.5767 GB, free: 4.293 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001039/0.3619, allocations: 0.6711 MB / 0.5774 GB, free: 3.492 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.502e-06/0.3619, allocations: 4 kB / 0.5774 GB, free: 3.488 MB / 414.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001288/0.3632, allocations: 0.6984 MB / 0.5781 GB, free: 2.785 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.469e-05/0.3632, allocations: 15.88 kB / 0.5781 GB, free: 2.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.958e-05/0.3633, allocations: 51.98 kB / 0.5781 GB, free: 2.719 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.501e-05/0.3633, allocations: 20.62 kB / 0.5781 GB, free: 2.699 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002971/0.3636, allocations: 71.83 kB / 0.5782 GB, free: 2.629 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.095e-05/0.3636, allocations: 23.92 kB / 0.5782 GB, free: 2.605 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004139/0.3641, allocations: 95.28 kB / 0.5783 GB, free: 2.512 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.443e-05/0.3641, allocations: 39.98 kB / 0.5784 GB, free: 2.473 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 24 (m_flow_IN_con_4[3].roughness,m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].roughness,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].roughness,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].roughness,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].roughness,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].roughness,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].roughness,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].roughness,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0003076/0.3644, allocations: 261.4 kB / 0.5786 GB, free: 2.207 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001196/0.3645, allocations: 55.61 kB / 0.5787 GB, free: 2.152 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009322/0.3655, allocations: 465.7 kB / 0.5791 GB, free: 1.688 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.089e-05/0.3655, allocations: 7.984 kB / 0.5791 GB, free: 1.68 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.3655, allocations: 0 / 0.5791 GB, free: 1.68 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.3655, allocations: 0 / 0.5791 GB, free: 1.68 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006151/0.3661, allocations: 380.4 kB / 0.5795 GB, free: 1.266 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.743e-05/0.3662, allocations: 43.98 kB / 0.5795 GB, free: 1.223 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001472/0.3663, allocations: 27.91 kB / 0.5796 GB, free: 1.195 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.651e-06/0.3663, allocations: 7.938 kB / 0.5796 GB, free: 1.188 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.837e-05/0.3664, allocations: 15.98 kB / 0.5796 GB, free: 1.172 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.3664, allocations: 0 / 0.5796 GB, free: 1.172 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.3664, allocations: 4 kB / 0.5796 GB, free: 1.168 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009055/0.3673, allocations: 0.6113 MB / 0.5802 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001194/0.3674, allocations: 59.53 kB / 0.5802 GB, free: 492 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.839e-05/0.3675, allocations: 4 kB / 0.5802 GB, free: 488 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002831/0.3677, allocations: 19.97 kB / 0.5803 GB, free: 468 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.293e-05/0.3678, allocations: 31.91 kB / 0.5803 GB, free: 436 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.777e-05/0.3679, allocations: 16 kB / 0.5803 GB, free: 420 kB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006159/0.3685, allocations: 446.7 kB / 0.5807 GB, free: 15.98 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3685, allocations: 0 / 0.5807 GB, free: 15.98 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007624/0.3692, allocations: 195.6 kB / 0.5809 GB, free: 15.79 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (17): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.001655/0.3709, allocations: 1.3 MB / 0.5822 GB, free: 14.46 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001196/0.3721, allocations: 0.7404 MB / 0.5829 GB, free: 13.65 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.3721, allocations: 4.062 kB / 0.5829 GB, free: 13.64 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005454/0.3726, allocations: 476.2 kB / 0.5834 GB, free: 13.11 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007285/0.3734, allocations: 126.2 kB / 0.5835 GB, free: 12.98 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008185/0.3815, allocations: 5.96 MB / 0.5893 GB, free: 6.668 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005642/0.3821, allocations: 0.8932 MB / 0.5902 GB, free: 5.746 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003632/0.3825, allocations: 128.5 kB / 0.5903 GB, free: 5.621 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000199/0.3827, allocations: 143.4 kB / 0.5904 GB, free: 5.48 MB / 430.1 MB Notification: Performance of SimCode: time 1.102e-06/0.3827, allocations: 4 kB / 0.5904 GB, free: 5.477 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04112/0.4238, allocations: 16.29 MB / 0.6063 GB, free: 5.336 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.611/9.035, allocations: 12.62 kB / 0.6064 GB, free: 5.324 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.000201839 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.955100427381694] Failed to read output from testmodel.py, exit status != 0: ['time', 'cp[1]', 'cp[2]', 'cp[3]', 'eta[1]', 'eta[2]', 'eta[3]', 'lambda[1]', 'lambda[2]', 'lambda[3]', 'rho[1]', 'rho[2]', 'rho[3]', 'm_flow[1]', 'm_flow[2]', 'm_flow[3]', 'Re_1[1]', 'Re_1[2]', 'Re_1[3]', 'Nu_1[1]', 'Nu_1[2]', 'Nu_1[3]', 'Nu_2[1]', 'Nu_2[2]', 'Nu_2[3]', 'Nu_3[1]', 'Nu_3[2]', 'Nu_3[3]', 'Nu_4[1]', 'Nu_4[2]', 'Nu_4[3]', 'Re', 'Pr[1]', 'Pr[2]', 'Pr[3]', 'input_mflow_0.y', 'input_mflow_1.y', 'input_mflow_2.y'] 9.115258357021958 9.140058705 8.786219763 Calling exit ...