Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb.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.000757/0.000757, 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.0008035/0.0008035, 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.8725/0.8725, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.5369/0.5369, allocations: 110.2 MB / 369.4 MB, free: 12.62 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.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_TemperatureWetBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_TemperatureWetBulb",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 3.938 kB / 0.5473 GB, free: 9.832 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.349e-05/1.493e-05, allocations: 7.312 kB / 0.5473 GB, free: 9.824 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.4111/0.4111, allocations: 142.3 MB / 0.6862 GB, free: 40.29 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.002961/0.4141, allocations: 3.261 MB / 0.6894 GB, free: 40.24 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001621/0.4142, allocations: 18.41 kB / 0.6894 GB, free: 40.24 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0003811/0.4146, allocations: 139.5 kB / 0.6896 GB, free: 40.23 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0008326/0.4155, allocations: 464.8 kB / 0.69 GB, free: 40.21 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008004/0.4163, allocations: 0.6291 MB / 0.6906 GB, free: 40.19 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0004124/0.4167, allocations: 0.6298 MB / 0.6913 GB, free: 40.19 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002286/0.4169, allocations: 183 kB / 0.6914 GB, free: 40.18 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007997/0.4177, allocations: 427.8 kB / 0.6918 GB, free: 40.18 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001536/0.4179, allocations: 176.7 kB / 0.692 GB, free: 40.18 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.869e-05/0.4179, allocations: 23.16 kB / 0.692 GB, free: 40.18 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00041/0.4183, allocations: 497 kB / 0.6925 GB, free: 40.18 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 6.666e-05/0.4184, allocations: 99.12 kB / 0.6926 GB, free: 40.18 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 7.095e-05/0.4184, allocations: 97.98 kB / 0.6927 GB, free: 40.18 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0004765/0.4189, allocations: 0.5908 MB / 0.6933 GB, free: 40.14 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.4189, allocations: 6.906 kB / 0.6933 GB, free: 40.14 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.643e-06/0.4189, allocations: 1.156 kB / 0.6933 GB, free: 40.14 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.4189, allocations: 0 / 0.6933 GB, free: 40.14 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0006213/0.4195, allocations: 0.5636 MB / 0.6938 GB, free: 39.76 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.4196, allocations: 8.656 kB / 0.6938 GB, free: 39.76 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.079e-05/0.4196, allocations: 60.91 kB / 0.6939 GB, free: 39.72 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003315/0.4199, allocations: 72 kB / 0.694 GB, free: 39.7 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002752/0.4202, allocations: 250.4 kB / 0.6942 GB, free: 39.55 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.4202, allocations: 15.91 kB / 0.6942 GB, free: 39.55 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.273e-05/0.4203, allocations: 22.84 kB / 0.6942 GB, free: 39.54 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003807/0.4206, allocations: 369.6 kB / 0.6946 GB, free: 39.41 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.4207, allocations: 1.062 kB / 0.6946 GB, free: 39.41 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.966e-05/0.4207, allocations: 9.875 kB / 0.6946 GB, free: 39.41 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.4207, allocations: 5.812 kB / 0.6946 GB, free: 39.41 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000336/0.421, allocations: 249.7 kB / 0.6948 GB, free: 39.41 MB / 0.6355 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.0008308/0.4218, allocations: 0.9787 MB / 0.6958 GB, free: 38.8 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002406/0.4221, allocations: 166.7 kB / 0.696 GB, free: 38.78 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001573/0.4222, allocations: 121.3 kB / 0.6961 GB, free: 38.77 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002306/0.4225, allocations: 80 kB / 0.6961 GB, free: 38.77 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.442e-05/0.4225, allocations: 33.31 kB / 0.6962 GB, free: 38.73 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=14): time 1.443e-06/0.4225, allocations: 1.125 kB / 0.6962 GB, free: 38.73 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14): time 0.001079/0.4236, allocations: 0.4965 MB / 0.6967 GB, free: 38.68 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.131e-05/0.4236, allocations: 54.31 kB / 0.6967 GB, free: 38.62 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000141/0.4237, allocations: 259.4 kB / 0.697 GB, free: 38.5 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.457e-05/0.4237, allocations: 25.7 kB / 0.697 GB, free: 38.47 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.124e-05/0.4238, allocations: 168.5 kB / 0.6972 GB, free: 38.36 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.297e-05/0.4238, allocations: 52.92 kB / 0.6972 GB, free: 38.33 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.706e-05/0.4239, allocations: 37.41 kB / 0.6972 GB, free: 38.32 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.969e-05/0.4239, allocations: 335.5 kB / 0.6976 GB, free: 38 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001441/0.4241, allocations: 98.53 kB / 0.6977 GB, free: 38 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001614/0.4242, allocations: 162.4 kB / 0.6978 GB, free: 37.93 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002895/0.4245, allocations: 241.4 kB / 0.698 GB, free: 37.89 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.4245, allocations: 0 / 0.698 GB, free: 37.89 MB / 0.6355 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000536/0.425, allocations: 352.4 kB / 0.6984 GB, free: 37.84 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.4251, allocations: 6.875 kB / 0.6984 GB, free: 37.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.168e-06/0.4251, allocations: 5.938 kB / 0.6984 GB, free: 37.84 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002916/0.4254, allocations: 93.08 kB / 0.6985 GB, free: 37.83 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.4255, allocations: 36.38 kB / 0.6985 GB, free: 37.83 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001025/0.4265, allocations: 1.615 MB / 0.7001 GB, free: 36.58 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001015/0.4266, allocations: 34.06 kB / 0.7001 GB, free: 36.57 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.617e-05/0.4266, allocations: 5.656 kB / 0.7001 GB, free: 36.57 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (16): * 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: 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,2)} Notification: Performance of prepare postOptimizeDAE: time 7.726e-05/0.4267, allocations: 146.8 kB / 0.7003 GB, free: 36.46 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.811e-05/0.4267, allocations: 33.92 kB / 0.7003 GB, free: 36.44 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005344/0.4273, allocations: 358.6 kB / 0.7006 GB, free: 36.4 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.4273, allocations: 3.812 kB / 0.7006 GB, free: 36.4 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-06/0.4273, allocations: 1 kB / 0.7006 GB, free: 36.4 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.4273, allocations: 3.141 kB / 0.7006 GB, free: 36.4 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007882/0.428, allocations: 0.7261 MB / 0.7014 GB, free: 36.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.4281, allocations: 2.594 kB / 0.7014 GB, free: 36.1 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.285e-05/0.4281, allocations: 34.98 kB / 0.7014 GB, free: 36.1 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000188/0.4283, allocations: 75.23 kB / 0.7015 GB, free: 36.09 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.288e-05/0.4283, allocations: 6.812 kB / 0.7015 GB, free: 36.09 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000846/0.4292, allocations: 1.635 MB / 0.7031 GB, free: 34.84 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.4292, allocations: 0.6562 kB / 0.7031 GB, free: 34.84 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005046/0.4297, allocations: 459.1 kB / 0.7035 GB, free: 34.66 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.701e-05/0.4297, allocations: 42.78 kB / 0.7035 GB, free: 34.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.726e-05/0.4298, allocations: 9.531 kB / 0.7036 GB, free: 34.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001136/0.4299, allocations: 24.5 kB / 0.7036 GB, free: 34.64 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.25e-05/0.4299, allocations: 19.55 kB / 0.7036 GB, free: 34.64 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.278e-05/0.4299, allocations: 8.562 kB / 0.7036 GB, free: 34.64 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 9.216e-05/0.43, allocations: 179.2 kB / 0.7038 GB, free: 34.56 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.43, allocations: 1.031 kB / 0.7038 GB, free: 34.56 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002362/0.4303, allocations: 90.12 kB / 0.7039 GB, free: 34.55 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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): 11 * 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,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007465/0.431, allocations: 1.028 MB / 0.7049 GB, free: 33.84 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004898/0.4315, allocations: 357.5 kB / 0.7052 GB, free: 33.73 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.4315, allocations: 3.125 kB / 0.7052 GB, free: 33.73 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002435/0.4317, allocations: 253.7 kB / 0.7055 GB, free: 33.61 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004124/0.4322, allocations: 122.8 kB / 0.7056 GB, free: 33.61 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002358/0.4345, allocations: 2.804 MB / 0.7083 GB, free: 32.16 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.171e-05/0.4346, allocations: 163.6 kB / 0.7085 GB, free: 32.09 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001167/0.4347, allocations: 63.42 kB / 0.7085 GB, free: 32.09 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.605e-05/0.4348, allocations: 77.41 kB / 0.7086 GB, free: 32.08 MB / 0.6355 GB Notification: Performance of SimCode: time 5.51e-07/0.4348, allocations: 2.969 kB / 0.7086 GB, free: 32.08 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02149/0.4563, allocations: 9.659 MB / 0.718 GB, free: 30.78 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.624/8.08, allocations: 8.672 kB / 0.718 GB, free: 30.78 MB / 0.6355 GB " [Timeout remaining time 652] (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb_res.csv --start-time 0 --stop-time 120 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.048 BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_TemperatureWetBulb.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.569229588843882] Failed to read output from testmodel.py, exit status != 0: 8.171378165483475 8.180983027 7.760085341 Calling exit ...