Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.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.000917/0.000917, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001466/0.001466, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8963/0.8963, allocations: 177.1 MB / 202.8 MB, free: 5.547 MB / 186.7 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.5392/0.5392, allocations: 110.3 MB / 369.4 MB, free: 12.54 MB / 346.7 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: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.5473 GB, free: 9.852 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.498e-05/1.652e-05, allocations: 2.281 kB / 0.5473 GB, free: 9.848 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.002423/0.002439, allocations: 1.844 MB / 0.5491 GB, free: 7.992 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.3998/0.4023, allocations: 136.8 MB / 0.6826 GB, free: 40.25 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001871/0.4025, allocations: 5.312 kB / 0.6826 GB, free: 40.25 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001805/0.4026, allocations: 22.84 kB / 0.6826 GB, free: 40.25 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.000273/0.4029, allocations: 80.47 kB / 0.6827 GB, free: 40.25 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005987/0.4035, allocations: 262.5 kB / 0.683 GB, free: 40.25 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.000215/0.4037, allocations: 268 kB / 0.6832 GB, free: 40.25 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001394/0.4039, allocations: 49.27 kB / 0.6833 GB, free: 40.25 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008188/0.4047, allocations: 294.5 kB / 0.6836 GB, free: 40.25 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 8.144e-05/0.4048, allocations: 69.05 kB / 0.6836 GB, free: 40.25 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.571e-05/0.4048, allocations: 21.67 kB / 0.6836 GB, free: 40.25 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002058/0.405, allocations: 186.9 kB / 0.6838 GB, free: 40.25 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 4.908e-05/0.405, allocations: 41.44 kB / 0.6839 GB, free: 40.25 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 5.591e-05/0.4051, allocations: 64.55 kB / 0.6839 GB, free: 40.25 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0003161/0.4054, allocations: 319.8 kB / 0.6842 GB, free: 40.23 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.4054, allocations: 0 / 0.6842 GB, free: 40.23 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.092e-06/0.4054, allocations: 0 / 0.6842 GB, free: 40.23 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.152e-06/0.4054, allocations: 3.594 kB / 0.6842 GB, free: 40.23 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0005723/0.406, allocations: 449.4 kB / 0.6847 GB, free: 39.91 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.406, allocations: 10.56 kB / 0.6847 GB, free: 39.91 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.545e-05/0.4061, allocations: 49.67 kB / 0.6847 GB, free: 39.87 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005621/0.4066, allocations: 118.1 kB / 0.6848 GB, free: 39.86 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001657/0.4068, allocations: 164.7 kB / 0.685 GB, free: 39.72 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.041e-05/0.4068, allocations: 64.58 kB / 0.685 GB, free: 39.66 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.183e-05/0.4069, allocations: 14.06 kB / 0.6851 GB, free: 39.66 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00031/0.4072, allocations: 319.8 kB / 0.6854 GB, free: 39.5 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.4072, allocations: 2.812 kB / 0.6854 GB, free: 39.5 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.885e-05/0.4072, allocations: 7.375 kB / 0.6854 GB, free: 39.5 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.4072, allocations: 2.562 kB / 0.6854 GB, free: 39.5 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002369/0.4074, allocations: 169 kB / 0.6855 GB, free: 39.5 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008184/0.4083, allocations: 1.117 MB / 0.6866 GB, free: 38.66 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004071/0.4087, allocations: 199.5 kB / 0.6868 GB, free: 38.64 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.756e-05/0.4088, allocations: 71.2 kB / 0.6869 GB, free: 38.62 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.837e-05/0.4088, allocations: 5.328 kB / 0.6869 GB, free: 38.62 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.254e-05/0.4088, allocations: 37.62 kB / 0.6869 GB, free: 38.59 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=12): time 1.482e-06/0.4088, allocations: 1.094 kB / 0.6869 GB, free: 38.59 MB / 0.6355 GB Notification: Performance of matching and sorting (n=12): time 0.001211/0.41, allocations: 485.7 kB / 0.6874 GB, free: 38.53 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.799e-05/0.41, allocations: 55.34 kB / 0.6874 GB, free: 38.46 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001196/0.4101, allocations: 210 kB / 0.6876 GB, free: 38.36 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.428e-05/0.4102, allocations: 28.89 kB / 0.6877 GB, free: 38.32 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.299e-05/0.4102, allocations: 137.4 kB / 0.6878 GB, free: 38.22 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.897e-05/0.4102, allocations: 46.64 kB / 0.6879 GB, free: 38.19 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.277e-05/0.4103, allocations: 43.23 kB / 0.6879 GB, free: 38.17 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.243e-05/0.4103, allocations: 329.4 kB / 0.6882 GB, free: 37.86 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001094/0.4104, allocations: 69.11 kB / 0.6883 GB, free: 37.86 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001333/0.4105, allocations: 158.7 kB / 0.6884 GB, free: 37.76 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002172/0.4108, allocations: 196.7 kB / 0.6886 GB, free: 37.7 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.4108, allocations: 0 / 0.6886 GB, free: 37.7 MB / 0.6355 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006651/0.4114, allocations: 381.9 kB / 0.689 GB, free: 37.64 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.4114, allocations: 6.75 kB / 0.689 GB, free: 37.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.4114, allocations: 3.156 kB / 0.689 GB, free: 37.64 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004717/0.4119, allocations: 163.5 kB / 0.6891 GB, free: 37.62 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.715e-05/0.412, allocations: 37.58 kB / 0.6892 GB, free: 37.62 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001684/0.4137, allocations: 3.027 MB / 0.6921 GB, free: 35.13 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001527/0.4139, allocations: 40.62 kB / 0.6922 GB, free: 35.11 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.487e-05/0.4139, allocations: 8.781 kB / 0.6922 GB, free: 35.11 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 6.976e-05/0.4139, allocations: 134.9 kB / 0.6923 GB, free: 35 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.672e-05/0.414, allocations: 17.75 kB / 0.6923 GB, free: 34.98 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005733/0.4145, allocations: 372.6 kB / 0.6927 GB, free: 34.93 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.4145, allocations: 5.266 kB / 0.6927 GB, free: 34.93 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.72e-07/0.4145, allocations: 0 / 0.6927 GB, free: 34.93 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.4145, allocations: 2.672 kB / 0.6927 GB, free: 34.93 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001458/0.4147, allocations: 224.1 kB / 0.6929 GB, free: 34.76 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.4147, allocations: 5.047 kB / 0.6929 GB, free: 34.76 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.578e-05/0.4147, allocations: 18.72 kB / 0.6929 GB, free: 34.76 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003428/0.4151, allocations: 141.5 kB / 0.6931 GB, free: 34.75 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/0.4151, allocations: 6.312 kB / 0.6931 GB, free: 34.75 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001434/0.4165, allocations: 3.071 MB / 0.6961 GB, free: 32.25 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.4165, allocations: 0.9375 kB / 0.6961 GB, free: 32.25 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005604/0.4171, allocations: 432.1 kB / 0.6965 GB, free: 32.08 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.756e-05/0.4171, allocations: 37 kB / 0.6965 GB, free: 32.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.708e-05/0.4172, allocations: 8.438 kB / 0.6965 GB, free: 32.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001213/0.4173, allocations: 13.25 kB / 0.6965 GB, free: 32.07 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.082e-05/0.4173, allocations: 18.56 kB / 0.6966 GB, free: 32.07 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.138e-05/0.4173, allocations: 10.06 kB / 0.6966 GB, free: 32.07 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 8.302e-05/0.4174, allocations: 155.8 kB / 0.6967 GB, free: 31.99 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4174, allocations: 0 / 0.6967 GB, free: 31.99 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002445/0.4177, allocations: 68.91 kB / 0.6968 GB, free: 31.99 MB / 0.6355 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 (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007333/0.4184, allocations: 0.978 MB / 0.6977 GB, free: 31.29 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0005005/0.4189, allocations: 440.9 kB / 0.6982 GB, free: 31.07 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.4189, allocations: 0.9688 kB / 0.6982 GB, free: 31.07 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002533/0.4192, allocations: 347.9 kB / 0.6985 GB, free: 30.84 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002616/0.4194, allocations: 58.38 kB / 0.6985 GB, free: 30.84 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002405/0.4218, allocations: 2.513 MB / 0.701 GB, free: 29.45 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.991e-05/0.4219, allocations: 117.3 kB / 0.7011 GB, free: 29.38 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001045/0.422, allocations: 33.72 kB / 0.7011 GB, free: 29.37 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.08e-05/0.4221, allocations: 53.23 kB / 0.7012 GB, free: 29.36 MB / 0.6355 GB Notification: Performance of SimCode: time 6.72e-07/0.4221, allocations: 0.875 kB / 0.7012 GB, free: 29.36 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02179/0.4438, allocations: 8.178 MB / 0.7092 GB, free: 28.2 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.097/8.541, allocations: 7.422 kB / 0.7092 GB, free: 28.2 MB / 0.6355 GB " [Timeout remaining time 651] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.097699766978621] Failed to read output from testmodel.py, exit status != 0: 8.632722979411483 8.640986872 8.233792989 Calling exit ...