Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.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.00124/0.00124, allocations: 109.4 kB / 19.8 MB, free: 2.5 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.001516/0.001516, allocations: 218.2 kB / 23 MB, free: 5.582 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.412/1.412, allocations: 230.5 MB / 256.5 MB, free: 8.176 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_SignalGenerator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_SignalGenerator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex 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. Warning: Requested package ModelicaServices 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.00196/0.00196, allocations: 83.81 kB / 376.3 MB, free: 3.973 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2417/0.2436, allocations: 53.31 MB / 429.6 MB, free: 7.426 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator): time 0.004501/0.2481, allocations: 2.977 MB / 432.5 MB, free: 4.438 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001686/0.2498, allocations: 0.7829 MB / 433.3 MB, free: 3.648 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002039/0.25, allocations: 4 kB / 433.3 MB, free: 3.645 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002006/0.2502, allocations: 63.42 kB / 433.4 MB, free: 3.582 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002308/0.2504, allocations: 103.1 kB / 433.5 MB, free: 3.48 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000313/0.2507, allocations: 119.8 kB / 433.6 MB, free: 3.363 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004605/0.2512, allocations: 402.3 kB / 434 MB, free: 2.969 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002395/0.2514, allocations: 103.3 kB / 434.1 MB, free: 2.863 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00019/0.2516, allocations: 147.5 kB / 434.3 MB, free: 2.719 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002241/0.2519, allocations: 167.2 kB / 434.4 MB, free: 2.555 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.266e-05/0.2519, allocations: 32 kB / 434.4 MB, free: 2.523 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.529e-05/0.252, allocations: 36 kB / 434.5 MB, free: 2.488 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.609e-05/0.252, allocations: 79.67 kB / 434.6 MB, free: 2.41 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000164/0.2522, allocations: 171.2 kB / 434.7 MB, free: 2.242 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004418/0.2527, allocations: 378.8 kB / 435.1 MB, free: 1.875 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.2527, allocations: 0 / 435.1 MB, free: 1.875 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2527, allocations: 0 / 435.1 MB, free: 1.875 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.625e-06/0.2527, allocations: 8 kB / 435.1 MB, free: 1.867 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.001087/0.2538, allocations: 0.6429 MB / 435.7 MB, free: 1.176 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.2538, allocations: 8.031 kB / 435.8 MB, free: 1.168 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.071e-05/0.2539, allocations: 70.72 kB / 435.8 MB, free: 1.09 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.962e-05/0.2539, allocations: 36.7 kB / 435.9 MB, free: 1.055 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004967/0.2544, allocations: 288.7 kB / 436.1 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.227e-05/0.2545, allocations: 21.03 kB / 436.2 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.128e-05/0.2545, allocations: 32.38 kB / 436.2 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006812/0.2552, allocations: 345.2 kB / 436.5 MB, free: 344 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.2552, allocations: 0 / 436.5 MB, free: 344 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.303e-05/0.2553, allocations: 16 kB / 436.5 MB, free: 328 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.146e-05/0.2553, allocations: 8 kB / 436.6 MB, free: 320 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006749/0.2559, allocations: 290.4 kB / 436.8 MB, free: 32 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001985/0.2579, allocations: 1.174 MB / 438 MB, free: 14.78 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008793/0.2588, allocations: 282.7 kB / 438.3 MB, free: 14.49 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004829/0.2593, allocations: 172.7 kB / 438.5 MB, free: 14.32 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.18e-05/0.2593, allocations: 7.875 kB / 438.5 MB, free: 14.31 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.404e-05/0.2593, allocations: 38.56 kB / 438.5 MB, free: 14.27 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.522e-06/0.2593, allocations: 0 / 438.5 MB, free: 14.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.002635/0.262, allocations: 0.8512 MB / 439.4 MB, free: 13.37 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.014e-05/0.262, allocations: 59.39 kB / 439.4 MB, free: 13.3 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003177/0.2623, allocations: 270.6 kB / 439.7 MB, free: 13.02 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.839e-05/0.2624, allocations: 33.7 kB / 439.7 MB, free: 12.98 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001567/0.2625, allocations: 216.2 kB / 439.9 MB, free: 12.77 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.097e-05/0.2626, allocations: 63.44 kB / 440 MB, free: 12.71 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.319e-05/0.2627, allocations: 57.66 kB / 440 MB, free: 12.64 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001612/0.2628, allocations: 334.8 kB / 440.4 MB, free: 12.31 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002729/0.2631, allocations: 112.6 kB / 440.5 MB, free: 12.2 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003354/0.2635, allocations: 196.4 kB / 440.7 MB, free: 11.96 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005843/0.264, allocations: 299.2 kB / 441 MB, free: 11.63 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.264, allocations: 0 / 441 MB, free: 11.63 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001402/0.2654, allocations: 0.5222 MB / 441.5 MB, free: 11.09 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.2655, allocations: 6.812 kB / 441.5 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.2655, allocations: 4 kB / 441.5 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005727/0.266, allocations: 145.7 kB / 441.6 MB, free: 10.94 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001915/0.2662, allocations: 51.92 kB / 441.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005254/0.2715, allocations: 3.705 MB / 445.4 MB, free: 6.898 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002642/0.2718, allocations: 51.78 kB / 445.4 MB, free: 6.848 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.265e-05/0.2718, allocations: 12 kB / 445.5 MB, free: 6.836 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002832/0.2721, allocations: 180.1 kB / 445.6 MB, free: 6.656 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002536/0.2723, allocations: 179.9 kB / 445.8 MB, free: 6.438 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004412/0.2728, allocations: 266.5 kB / 446.1 MB, free: 6.137 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.607e-06/0.2728, allocations: 4 kB / 446.1 MB, free: 6.133 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization_lambda0): time 0.000915/0.2737, allocations: 410.8 kB / 446.5 MB, free: 5.719 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/0.2737, allocations: 8 kB / 446.5 MB, free: 5.711 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.2737, allocations: 4 kB / 446.5 MB, free: 5.707 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002803/0.274, allocations: 81.75 kB / 446.6 MB, free: 5.621 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002044/0.2742, allocations: 63.91 kB / 446.6 MB, free: 5.559 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003092/0.2773, allocations: 3.031 MB / 449.7 MB, free: 2.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002043/0.2775, allocations: 23.89 kB / 449.7 MB, free: 2.227 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.925e-05/0.2775, allocations: 16 kB / 449.7 MB, free: 2.211 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (30): * Single equations (assignments): 28 * 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,5), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001527/0.2776, allocations: 204.2 kB / 449.9 MB, free: 2.004 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.566e-05/0.2777, allocations: 31.75 kB / 449.9 MB, free: 1.973 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.049e-05/0.2778, allocations: 26.17 kB / 449.9 MB, free: 1.945 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.2778, allocations: 4 kB / 450 MB, free: 1.941 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-06/0.2778, allocations: 0 / 450 MB, free: 1.941 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/0.2778, allocations: 3.984 kB / 450 MB, free: 1.938 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001685/0.2795, allocations: 0.8197 MB / 450.8 MB, free: 1.055 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.2795, allocations: 3.984 kB / 450.8 MB, free: 1.051 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001199/0.2796, allocations: 20 kB / 450.8 MB, free: 1.031 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004691/0.28, allocations: 141.5 kB / 450.9 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.913e-05/0.2801, allocations: 4 kB / 450.9 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004357/0.2844, allocations: 3.415 MB / 454.4 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.425e-05/0.2844, allocations: 7.922 kB / 454.4 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001474/0.2859, allocations: 0.6049 MB / 455 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.063e-05/0.286, allocations: 104.9 kB / 455.1 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.634e-05/0.286, allocations: 8.062 kB / 455.1 MB, free: 12.42 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002385/0.2863, allocations: 23.98 kB / 455.1 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.647e-05/0.2863, allocations: 19.97 kB / 455.1 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-05/0.2864, allocations: 7.938 kB / 455.1 MB, free: 12.37 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001998/0.2866, allocations: 198 kB / 455.3 MB, free: 12.18 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2866, allocations: 0 / 455.3 MB, free: 12.18 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006496/0.2872, allocations: 163.7 kB / 455.5 MB, free: 12.02 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c.v) * 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 (13): * 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: 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,5), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0018/0.289, allocations: 1.151 MB / 456.6 MB, free: 10.84 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001685/0.2907, allocations: 0.8735 MB / 457.5 MB, free: 9.91 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.2907, allocations: 5.312 kB / 457.5 MB, free: 9.906 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004957/0.2912, allocations: 348.3 kB / 457.9 MB, free: 9.543 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004056/0.2916, allocations: 50.91 kB / 457.9 MB, free: 9.496 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005724/0.2973, allocations: 3.373 MB / 461.3 MB, free: 5.945 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003854/0.2977, allocations: 0.7648 MB / 462 MB, free: 5.152 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001371/0.2978, allocations: 38.95 kB / 462.1 MB, free: 5.113 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000122/0.298, allocations: 83.41 kB / 462.2 MB, free: 5.031 MB / 366.1 MB Notification: Performance of SimCode: time 6.42e-07/0.298, allocations: 0 / 462.2 MB, free: 5.031 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04346/0.3414, allocations: 7.903 MB / 470.1 MB, free: 13.27 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.8/12.14, allocations: 6.641 kB / 470.1 MB, free: 13.27 MB / 382.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_SignalGenerator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_SignalGenerator.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.378302703000372] Failed to read output from testmodel.py, exit status != 0: ['time', 'c.v', 'opAmp1.out.v', 'opAmp1.out.i', 'opAmp2.out.v', 'opAmp2.out.i'] 12.242878443008522 12.27067908 12.012454268 Calling exit ...