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.001829/0.001829, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.00258/0.00258, allocations: 212.6 kB / 24.54 MB, free: 4.02 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.497/1.497, allocations: 230.6 MB / 258.3 MB, free: 8.012 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.001921/0.001921, allocations: 64.98 kB / 378.6 MB, free: 3.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2359/0.2378, allocations: 53.37 MB / 432 MB, free: 6.961 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator): time 0.004323/0.2422, allocations: 2.984 MB / 434.9 MB, free: 3.969 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001468/0.2436, allocations: 0.7829 MB / 435.7 MB, free: 3.18 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001736/0.2438, allocations: 4 kB / 435.7 MB, free: 3.176 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001852/0.244, allocations: 59.42 kB / 435.8 MB, free: 3.117 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002188/0.2442, allocations: 119 kB / 435.9 MB, free: 3 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002962/0.2445, allocations: 115.8 kB / 436 MB, free: 2.887 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004484/0.245, allocations: 406.3 kB / 436.4 MB, free: 2.488 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002273/0.2452, allocations: 95.67 kB / 436.5 MB, free: 2.395 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001852/0.2454, allocations: 151.5 kB / 436.7 MB, free: 2.246 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002214/0.2456, allocations: 175.2 kB / 436.8 MB, free: 2.074 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.364e-05/0.2456, allocations: 36 kB / 436.9 MB, free: 2.039 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.333e-05/0.2457, allocations: 36 kB / 436.9 MB, free: 2.004 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.578e-05/0.2458, allocations: 71.7 kB / 437 MB, free: 1.934 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000162/0.2459, allocations: 171.2 kB / 437.1 MB, free: 1.766 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004048/0.2463, allocations: 383.1 kB / 437.5 MB, free: 1.395 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.2463, allocations: 4 kB / 437.5 MB, free: 1.391 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2463, allocations: 0 / 437.5 MB, free: 1.391 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.114e-06/0.2463, allocations: 0 / 437.5 MB, free: 1.391 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.001017/0.2474, allocations: 0.5638 MB / 438.1 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.2474, allocations: 8.031 kB / 438.1 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.597e-05/0.2475, allocations: 70.72 kB / 438.1 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.852e-05/0.2476, allocations: 36.7 kB / 438.2 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004152/0.248, allocations: 233.9 kB / 438.4 MB, free: 432 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.819e-05/0.248, allocations: 25.03 kB / 438.4 MB, free: 404 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.002e-05/0.2481, allocations: 28.38 kB / 438.5 MB, free: 376 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006722/0.2487, allocations: 345.2 kB / 438.8 MB, free: 24 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.584e-05/0.2487, allocations: 7.938 kB / 438.8 MB, free: 16 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.109e-05/0.2488, allocations: 8 kB / 438.8 MB, free: 8 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/0.2488, allocations: 8 kB / 438.8 MB, free: 0 / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007176/0.2495, allocations: 286.5 kB / 439.1 MB, free: 15.71 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001901/0.2514, allocations: 1.132 MB / 440.2 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008275/0.2522, allocations: 290.7 kB / 440.5 MB, free: 14.22 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000468/0.2527, allocations: 176.7 kB / 440.7 MB, free: 14.05 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.842e-05/0.2527, allocations: 4 kB / 440.7 MB, free: 14.04 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.198e-05/0.2528, allocations: 30.56 kB / 440.7 MB, free: 14 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.844e-06/0.2528, allocations: 4 kB / 440.7 MB, free: 14 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.002386/0.2551, allocations: 0.7016 MB / 441.4 MB, free: 13.29 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.275e-05/0.2552, allocations: 51.41 kB / 441.5 MB, free: 13.22 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003002/0.2555, allocations: 277.8 kB / 441.8 MB, free: 12.95 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.516e-05/0.2555, allocations: 25.7 kB / 441.8 MB, free: 12.91 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001464/0.2557, allocations: 212.3 kB / 442 MB, free: 12.7 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.587e-05/0.2557, allocations: 63.44 kB / 442 MB, free: 12.64 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.254e-05/0.2558, allocations: 61.66 kB / 442.1 MB, free: 12.57 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001494/0.256, allocations: 338.8 kB / 442.4 MB, free: 12.23 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000267/0.2562, allocations: 104.7 kB / 442.5 MB, free: 12.12 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003143/0.2565, allocations: 193.3 kB / 442.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005875/0.2571, allocations: 300.5 kB / 443 MB, free: 11.56 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.2571, allocations: 0 / 443 MB, free: 11.56 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001326/0.2585, allocations: 0.5296 MB / 443.6 MB, free: 11.02 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.2585, allocations: 8 kB / 443.6 MB, free: 11.01 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.2585, allocations: 0 / 443.6 MB, free: 11.01 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005705/0.2591, allocations: 145.7 kB / 443.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001906/0.2592, allocations: 51.92 kB / 443.8 MB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005033/0.2643, allocations: 3.505 MB / 447.3 MB, free: 7.078 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002678/0.2645, allocations: 55.66 kB / 447.3 MB, free: 7.023 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.77e-05/0.2646, allocations: 12 kB / 447.3 MB, free: 7.012 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00029/0.2649, allocations: 184 kB / 447.5 MB, free: 6.828 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002469/0.2651, allocations: 172 kB / 447.7 MB, free: 6.617 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004314/0.2655, allocations: 267.7 kB / 447.9 MB, free: 6.312 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.773e-06/0.2656, allocations: 0 / 447.9 MB, free: 6.312 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization_lambda0): time 0.0008912/0.2664, allocations: 413.7 kB / 448.3 MB, free: 5.898 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.2665, allocations: 11.98 kB / 448.4 MB, free: 5.887 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.2665, allocations: 4 kB / 448.4 MB, free: 5.883 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002852/0.2667, allocations: 77.77 kB / 448.4 MB, free: 5.801 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002115/0.267, allocations: 67.84 kB / 448.5 MB, free: 5.734 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002925/0.2699, allocations: 2.809 MB / 451.3 MB, free: 2.691 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000225/0.2701, allocations: 27.88 kB / 451.3 MB, free: 2.664 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.096e-05/0.2701, allocations: 15.98 kB / 451.3 MB, free: 2.648 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.0001809/0.2703, allocations: 208 kB / 451.6 MB, free: 2.438 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.618e-05/0.2704, allocations: 27.81 kB / 451.6 MB, free: 2.41 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.947e-05/0.2704, allocations: 34.11 kB / 451.6 MB, free: 2.375 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.2704, allocations: 0 / 451.6 MB, free: 2.375 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.2704, allocations: 4.062 kB / 451.6 MB, free: 2.371 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.2704, allocations: 0 / 451.6 MB, free: 2.371 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001646/0.2721, allocations: 0.7859 MB / 452.4 MB, free: 1.531 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.2721, allocations: 0 / 452.4 MB, free: 1.531 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001315/0.2722, allocations: 27.92 kB / 452.4 MB, free: 1.504 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004917/0.2727, allocations: 141.6 kB / 452.6 MB, free: 1.359 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.639e-05/0.2727, allocations: 4 kB / 452.6 MB, free: 1.355 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004159/0.2769, allocations: 3.211 MB / 455.8 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/0.2769, allocations: 3.938 kB / 455.8 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001417/0.2783, allocations: 0.6062 MB / 456.4 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.287e-05/0.2784, allocations: 23.81 kB / 456.4 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.916e-05/0.2784, allocations: 8 kB / 456.4 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002309/0.2786, allocations: 24.03 kB / 456.4 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.482e-05/0.2787, allocations: 23.97 kB / 456.5 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.782e-05/0.2787, allocations: 11.94 kB / 456.5 MB, free: 13.19 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002119/0.2789, allocations: 193.2 kB / 456.7 MB, free: 13 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2789, allocations: 0 / 456.7 MB, free: 13 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006643/0.2796, allocations: 159.7 kB / 456.8 MB, free: 12.84 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.001781/0.2814, allocations: 1.15 MB / 458 MB, free: 11.66 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001713/0.2831, allocations: 0.8743 MB / 458.9 MB, free: 10.74 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.2831, allocations: 3.984 kB / 458.9 MB, free: 10.73 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004963/0.2836, allocations: 345.2 kB / 459.2 MB, free: 10.37 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004175/0.284, allocations: 56.08 kB / 459.2 MB, free: 10.32 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005773/0.2898, allocations: 3.361 MB / 462.6 MB, free: 6.785 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004381/0.2902, allocations: 0.7687 MB / 463.4 MB, free: 5.988 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001458/0.2904, allocations: 26.97 kB / 463.4 MB, free: 5.957 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001259/0.2905, allocations: 83.41 kB / 463.5 MB, free: 5.875 MB / 366.1 MB Notification: Performance of SimCode: time 8.31e-07/0.2905, allocations: 0 / 463.5 MB, free: 5.875 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05687/0.3474, allocations: 8.091 MB / 471.6 MB, free: 13.95 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.75/13.1, allocations: 10.47 kB / 471.6 MB, free: 13.94 MB / 382.1 MB " [Timeout remaining time 647] (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 --stepSize=0.001 --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: 15.625657320022583] 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'] 13.208097418304533 13.237807374 12.985873147 Calling exit ...