Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Delays.Examples.Delay.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.00131/0.00131, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.001435/0.001435, allocations: 211.7 kB / 22.24 MB, free: 5.262 MB / 14.72 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 1.419/1.419, allocations: 230.6 MB / 256 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] 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.9131/0.9131, allocations: 145 MB / 457.4 MB, free: 15.28 MB / 366.1 MB " [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: translateModel(BuildSysPro.IBPSA.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Delays.Examples.Delay") translateModel(BuildSysPro.IBPSA.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Delays.Examples.Delay") [Timeout 660] "Notification: BuildSysPro requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002308/0.002308, allocations: 70.27 kB / 0.6335 GB, free: 6.266 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1729/0.1752, allocations: 87.89 MB / 0.7194 GB, free: 14.39 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Delays.Examples.Delay): time 0.5197/0.695, allocations: 162 MB / 0.8776 GB, free: 8.828 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.00834/0.7033, allocations: 4.587 MB / 0.8821 GB, free: 4.23 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006998/0.704, allocations: 43.62 kB / 0.8821 GB, free: 4.188 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001163/0.7052, allocations: 413.4 kB / 0.8825 GB, free: 3.781 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.003342/0.7085, allocations: 1.462 MB / 0.8839 GB, free: 2.312 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001947/0.7105, allocations: 0.7969 MB / 0.8847 GB, free: 1.523 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.002228/0.7127, allocations: 1.879 MB / 0.8865 GB, free: 15.64 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006812/0.7134, allocations: 472.6 kB / 0.887 GB, free: 15.16 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001643/0.715, allocations: 0.9145 MB / 0.8879 GB, free: 14.25 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001119/0.7161, allocations: 0.5658 MB / 0.8884 GB, free: 13.68 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001124/0.7163, allocations: 56 kB / 0.8885 GB, free: 13.63 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002084/0.7183, allocations: 1.165 MB / 0.8896 GB, free: 12.46 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0003047/0.7186, allocations: 271.2 kB / 0.8899 GB, free: 12.2 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.00037/0.719, allocations: 334.5 kB / 0.8902 GB, free: 11.87 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001883/0.7209, allocations: 1.444 MB / 0.8916 GB, free: 10.42 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.7209, allocations: 0 / 0.8916 GB, free: 10.42 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.293e-06/0.7209, allocations: 0 / 0.8916 GB, free: 10.42 MB / 0.67 GB Notification: Performance of Transformations before backend: time 9.418e-06/0.7209, allocations: 4 kB / 0.8916 GB, free: 10.41 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001734/0.7226, allocations: 1.052 MB / 0.8926 GB, free: 9.328 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.7227, allocations: 8.031 kB / 0.8926 GB, free: 9.32 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001241/0.7239, allocations: 215.3 kB / 0.8928 GB, free: 9.109 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001087/0.725, allocations: 0.5523 MB / 0.8934 GB, free: 8.535 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.418e-05/0.725, allocations: 37 kB / 0.8934 GB, free: 8.5 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.87e-05/0.7251, allocations: 48 kB / 0.8935 GB, free: 8.453 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009965/0.7261, allocations: 0.6418 MB / 0.8941 GB, free: 7.77 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.179e-05/0.7261, allocations: 4 kB / 0.8941 GB, free: 7.766 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.78e-05/0.7262, allocations: 16 kB / 0.8941 GB, free: 7.75 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.41e-05/0.7262, allocations: 24.94 kB / 0.8941 GB, free: 7.723 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008234/0.7271, allocations: 431.7 kB / 0.8946 GB, free: 7.301 MB / 0.67 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.002418/0.7295, allocations: 1.242 MB / 0.8958 GB, free: 6.02 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006598/0.7301, allocations: 332.9 kB / 0.8961 GB, free: 5.688 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003564/0.7305, allocations: 193.3 kB / 0.8963 GB, free: 5.496 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002104/0.7307, allocations: 40.25 kB / 0.8963 GB, free: 5.457 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.287e-05/0.7307, allocations: 38.84 kB / 0.8963 GB, free: 5.41 MB / 0.67 GB Notification: Performance of pre-optimization done (n=33): time 1.583e-06/0.7307, allocations: 0 / 0.8963 GB, free: 5.41 MB / 0.67 GB Notification: Performance of matching and sorting (n=33): time 0.001278/0.732, allocations: 0.5457 MB / 0.8969 GB, free: 4.859 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.768e-05/0.732, allocations: 55.41 kB / 0.8969 GB, free: 4.793 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005587/0.7326, allocations: 470.8 kB / 0.8974 GB, free: 4.32 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 4.073e-05/0.7326, allocations: 33.7 kB / 0.8974 GB, free: 4.281 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002538/0.7329, allocations: 312.5 kB / 0.8977 GB, free: 3.973 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001147/0.733, allocations: 122.9 kB / 0.8978 GB, free: 3.852 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001199/0.7331, allocations: 74.02 kB / 0.8979 GB, free: 3.773 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001803/0.7333, allocations: 362.7 kB / 0.8982 GB, free: 3.41 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002896/0.7336, allocations: 142.1 kB / 0.8984 GB, free: 3.27 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004528/0.7341, allocations: 374.8 kB / 0.8987 GB, free: 2.844 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000607/0.7347, allocations: 340.2 kB / 0.8991 GB, free: 2.5 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.7347, allocations: 0 / 0.8991 GB, free: 2.5 MB / 0.67 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007503/0.7354, allocations: 429 kB / 0.8995 GB, free: 2.074 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.7354, allocations: 8 kB / 0.8995 GB, free: 2.066 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.7354, allocations: 7.938 kB / 0.8995 GB, free: 2.059 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.7355, allocations: 0 / 0.8995 GB, free: 2.059 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003208/0.7358, allocations: 67.91 kB / 0.8995 GB, free: 1.992 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/0.7358, allocations: 6 kB / 0.8996 GB, free: 1.988 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004248/0.7362, allocations: 43.75 kB / 0.8996 GB, free: 1.945 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.906e-05/0.7362, allocations: 8 kB / 0.8996 GB, free: 1.938 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004602/0.7367, allocations: 304 kB / 0.8999 GB, free: 1.637 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004238/0.7371, allocations: 369.6 kB / 0.9002 GB, free: 1.215 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005793/0.7377, allocations: 339.2 kB / 0.9006 GB, free: 0.8711 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.363e-06/0.7377, allocations: 0 / 0.9006 GB, free: 0.8711 MB / 0.67 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0007303/0.7384, allocations: 417 kB / 0.901 GB, free: 468 kB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 9.949e-06/0.7384, allocations: 8 kB / 0.901 GB, free: 460 kB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.924e-06/0.7384, allocations: 3.938 kB / 0.901 GB, free: 456 kB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.475e-06/0.7384, allocations: 3.938 kB / 0.901 GB, free: 452 kB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003046/0.7388, allocations: 75.89 kB / 0.9011 GB, free: 376 kB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.7388, allocations: 4 kB / 0.9011 GB, free: 372 kB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004203/0.7392, allocations: 31.83 kB / 0.9011 GB, free: 340 kB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.542e-05/0.7392, allocations: 12 kB / 0.9011 GB, free: 328 kB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (39): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.000145/0.7393, allocations: 204.2 kB / 0.9013 GB, free: 116 kB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000105/0.7395, allocations: 55.67 kB / 0.9013 GB, free: 60 kB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008038/0.7403, allocations: 414.6 kB / 0.9017 GB, free: 15.64 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.231e-06/0.7403, allocations: 4 kB / 0.9017 GB, free: 15.64 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.7403, allocations: 0 / 0.9017 GB, free: 15.64 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006591/0.7409, allocations: 441.6 kB / 0.9022 GB, free: 15.18 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001755/0.7427, allocations: 1.01 MB / 0.9032 GB, free: 14.12 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.7427, allocations: 1.625 kB / 0.9032 GB, free: 14.12 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000438/0.7431, allocations: 83.89 kB / 0.9032 GB, free: 14.04 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.224e-06/0.7431, allocations: 7.938 kB / 0.9032 GB, free: 14.03 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.278e-05/0.7432, allocations: 16.17 kB / 0.9033 GB, free: 14.01 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/0.7432, allocations: 4 kB / 0.9033 GB, free: 14.01 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.7432, allocations: 0 / 0.9033 GB, free: 14.01 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001139/0.7443, allocations: 0.7074 MB / 0.904 GB, free: 13.27 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002501/0.7446, allocations: 115.5 kB / 0.9041 GB, free: 13.15 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.704e-05/0.7446, allocations: 8 kB / 0.9041 GB, free: 13.14 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004457/0.7451, allocations: 31.91 kB / 0.9041 GB, free: 13.11 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.16e-05/0.7451, allocations: 19.97 kB / 0.9041 GB, free: 13.09 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-05/0.7452, allocations: 15.92 kB / 0.9041 GB, free: 13.08 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0003855/0.7456, allocations: 330.9 kB / 0.9044 GB, free: 12.76 MB / 0.6856 GB Notification: Performance of sort global known variables: time 9e-08/0.7456, allocations: 0 / 0.9044 GB, free: 12.76 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0008702/0.7464, allocations: 335.3 kB / 0.9048 GB, free: 12.43 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (del.dynBal.medium.Xi[1],del.dynBal.U,del.dynBal.m) * 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 (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0003178/0.7467, allocations: 178.9 kB / 0.9049 GB, free: 12.25 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001043/0.7478, allocations: 0.4956 MB / 0.9054 GB, free: 11.75 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.7478, allocations: 0 / 0.9054 GB, free: 11.75 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0003134/0.7481, allocations: 171.8 kB / 0.9056 GB, free: 11.59 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001557/0.7497, allocations: 329.2 kB / 0.9059 GB, free: 11.28 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002051/0.7517, allocations: 1.256 MB / 0.9071 GB, free: 9.973 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003678/0.7521, allocations: 336.4 kB / 0.9074 GB, free: 9.617 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0005178/0.7526, allocations: 180.5 kB / 0.9076 GB, free: 9.441 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001333/0.7527, allocations: 47.42 kB / 0.9077 GB, free: 9.395 MB / 0.6856 GB Notification: Performance of SimCode: time 6.31e-07/0.7527, allocations: 4 kB / 0.9077 GB, free: 9.391 MB / 0.6856 GB Notification: Performance of Templates: time 0.02203/0.7748, allocations: 12.69 MB / 0.9201 GB, free: 13.01 MB / 0.7013 GB " [Timeout remaining time 659] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Delays.Examples.Delay.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Delays.Examples.Delay.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Delays.Examples.Delay.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Delays.Examples.Delay.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Delays.Examples.Delay -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Delays.Examples.Delay.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.294224238023162] Failed to read output from testmodel.py, exit status != 0: 0.7836378067731857 0.797637794 0.07365948900000001 Calling exit ...