Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.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.001308/0.001308, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.00149/0.00149, allocations: 214.7 kB / 24.52 MB, free: 3.914 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.475/1.475, allocations: 230.6 MB / 258.3 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2289/0.2289, allocations: 44.95 MB / 359.6 MB, free: 6.156 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/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(ModelicaTest.Blocks.Limiters,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_Limiters",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Limiters,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_Limiters",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest 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.002046/0.002046, allocations: 63.89 kB / 0.4938 GB, free: 10.56 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3461/0.3481, allocations: 65.47 MB / 0.5577 GB, free: 7.348 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.005723/0.3538, allocations: 1.658 MB / 0.5593 GB, free: 5.871 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001998/0.3558, allocations: 0.6128 MB / 0.5599 GB, free: 5.254 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001686/0.356, allocations: 7.938 kB / 0.5599 GB, free: 5.246 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 7.207e-05/0.3561, allocations: 15.86 kB / 0.56 GB, free: 5.23 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001934/0.3563, allocations: 19.75 kB / 0.56 GB, free: 5.211 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008256/0.3571, allocations: 155 kB / 0.5601 GB, free: 5.062 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002926/0.3574, allocations: 155.7 kB / 0.5603 GB, free: 4.91 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001696/0.3576, allocations: 31.05 kB / 0.5603 GB, free: 4.879 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000223/0.3578, allocations: 75.7 kB / 0.5604 GB, free: 4.805 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001425/0.3579, allocations: 67.73 kB / 0.5604 GB, free: 4.738 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.015e-05/0.358, allocations: 16 kB / 0.5605 GB, free: 4.723 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.702e-05/0.358, allocations: 16 kB / 0.5605 GB, free: 4.707 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.221e-05/0.3581, allocations: 39.84 kB / 0.5605 GB, free: 4.668 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.043e-05/0.3582, allocations: 55.7 kB / 0.5606 GB, free: 4.613 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002775/0.3584, allocations: 139.4 kB / 0.5607 GB, free: 4.477 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.3585, allocations: 0 / 0.5607 GB, free: 4.477 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3585, allocations: 0 / 0.5607 GB, free: 4.477 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.995e-06/0.3585, allocations: 0 / 0.5607 GB, free: 4.477 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0009395/0.3594, allocations: 393.6 kB / 0.5611 GB, free: 4.062 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.2e-05/0.3595, allocations: 8.031 kB / 0.5611 GB, free: 4.055 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.462e-05/0.3595, allocations: 4.188 kB / 0.5611 GB, free: 4.051 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.413e-05/0.3595, allocations: 38.75 kB / 0.5611 GB, free: 4.004 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002374/0.3598, allocations: 28.83 kB / 0.5611 GB, free: 3.977 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004994/0.3603, allocations: 164 kB / 0.5613 GB, free: 3.793 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.896e-05/0.3603, allocations: 8.359 kB / 0.5613 GB, free: 3.785 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.939e-05/0.3603, allocations: 12.38 kB / 0.5613 GB, free: 3.773 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006831/0.361, allocations: 328.4 kB / 0.5616 GB, free: 3.402 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.361, allocations: 0 / 0.5616 GB, free: 3.402 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.951e-05/0.3611, allocations: 11.94 kB / 0.5616 GB, free: 3.391 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.3611, allocations: 0 / 0.5616 GB, free: 3.391 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005541/0.3616, allocations: 135.8 kB / 0.5618 GB, free: 3.258 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001134/0.3628, allocations: 387.6 kB / 0.5621 GB, free: 2.836 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000814/0.3636, allocations: 194.4 kB / 0.5623 GB, free: 2.637 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003146/0.3639, allocations: 76.8 kB / 0.5624 GB, free: 2.559 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.816e-05/0.3639, allocations: 3.984 kB / 0.5624 GB, free: 2.555 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.417e-05/0.364, allocations: 34.56 kB / 0.5624 GB, free: 2.512 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 2.044e-06/0.364, allocations: 0 / 0.5624 GB, free: 2.512 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.002076/0.366, allocations: 0.4969 MB / 0.5629 GB, free: 1.98 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.963e-05/0.3661, allocations: 110.8 kB / 0.563 GB, free: 1.848 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002103/0.3664, allocations: 155.3 kB / 0.5632 GB, free: 1.684 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.579e-05/0.3664, allocations: 33.64 kB / 0.5632 GB, free: 1.645 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001098/0.3665, allocations: 104.1 kB / 0.5633 GB, free: 1.539 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.705e-05/0.3666, allocations: 35.69 kB / 0.5633 GB, free: 1.504 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.988e-05/0.3666, allocations: 29.7 kB / 0.5634 GB, free: 1.469 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001939/0.3668, allocations: 322.8 kB / 0.5637 GB, free: 1.145 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003427/0.3672, allocations: 76.8 kB / 0.5638 GB, free: 1.066 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003741/0.3676, allocations: 137.9 kB / 0.5639 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006285/0.3682, allocations: 145 kB / 0.564 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.3682, allocations: 0 / 0.564 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0007318/0.3689, allocations: 189.4 kB / 0.5642 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/0.3689, allocations: 8 kB / 0.5642 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.3689, allocations: 4 kB / 0.5642 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.228e-05/0.369, allocations: 3.938 kB / 0.5642 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002775/0.3692, allocations: 35.95 kB / 0.5643 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.3693, allocations: 0 / 0.5643 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001977/0.3695, allocations: 23.97 kB / 0.5643 GB, free: 0.5 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.84e-05/0.3695, allocations: 4 kB / 0.5643 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002357/0.3697, allocations: 124 kB / 0.5644 GB, free: 380 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002095/0.3699, allocations: 114 kB / 0.5645 GB, free: 244 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002789/0.3702, allocations: 72.77 kB / 0.5646 GB, free: 168 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.122e-06/0.3702, allocations: 0 / 0.5646 GB, free: 168 kB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003745/0.3706, allocations: 125.5 kB / 0.5647 GB, free: 36 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/0.3706, allocations: 4 kB / 0.5647 GB, free: 32 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.685e-06/0.3706, allocations: 4.375 kB / 0.5647 GB, free: 28 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.376e-06/0.3706, allocations: 4.031 kB / 0.5647 GB, free: 24 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000127/0.3707, allocations: 23.92 kB / 0.5647 GB, free: 0 / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.374e-06/0.3707, allocations: 0 / 0.5647 GB, free: 0 / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001346/0.3709, allocations: 12.09 kB / 0.5647 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.618e-05/0.3709, allocations: 7.938 kB / 0.5647 GB, free: 15.98 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (10): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001737/0.371, allocations: 184.3 kB / 0.5649 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.08e-05/0.3711, allocations: 11.91 kB / 0.5649 GB, free: 15.78 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.69e-05/0.3712, allocations: 29.33 kB / 0.565 GB, free: 15.74 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.3712, allocations: 4 kB / 0.565 GB, free: 15.74 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.578e-06/0.3712, allocations: 7.938 kB / 0.565 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.3712, allocations: 0 / 0.565 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001315/0.3725, allocations: 466.3 kB / 0.5654 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.754e-06/0.3725, allocations: 8.031 kB / 0.5654 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002373/0.3728, allocations: 35.97 kB / 0.5655 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.3728, allocations: 0 / 0.5655 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.649e-05/0.3728, allocations: 0 / 0.5655 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.691e-06/0.3728, allocations: 4 kB / 0.5655 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.3728, allocations: 0 / 0.5655 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001138/0.3739, allocations: 364 kB / 0.5658 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.933e-05/0.374, allocations: 7.984 kB / 0.5658 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.967e-05/0.374, allocations: 4 kB / 0.5658 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003847/0.3744, allocations: 40.02 kB / 0.5659 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.082e-05/0.3745, allocations: 11.98 kB / 0.5659 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.223e-05/0.3745, allocations: 7.984 kB / 0.5659 GB, free: 14.73 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001424/0.3746, allocations: 121.8 kB / 0.566 GB, free: 14.61 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3746, allocations: 0 / 0.566 GB, free: 14.61 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004817/0.3751, allocations: 32 kB / 0.566 GB, free: 14.58 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (idealDerivative.u) * 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 (9): * Single equations (assignments): 9 * 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.001453/0.3766, allocations: 0.8926 MB / 0.5669 GB, free: 13.66 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008301/0.3774, allocations: 196 kB / 0.5671 GB, free: 13.47 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.3774, allocations: 0 / 0.5671 GB, free: 13.47 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003231/0.3777, allocations: 79.94 kB / 0.5672 GB, free: 13.39 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005805/0.3783, allocations: 35.95 kB / 0.5672 GB, free: 13.36 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003874/0.3822, allocations: 1.942 MB / 0.5691 GB, free: 11.32 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.185e-05/0.3823, allocations: 93.67 kB / 0.5692 GB, free: 11.21 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.825e-05/0.3824, allocations: 20.95 kB / 0.5692 GB, free: 11.2 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000101/0.3825, allocations: 47.42 kB / 0.5692 GB, free: 11.15 MB / 414.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3825, allocations: 0 / 0.5692 GB, free: 11.15 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02536/0.4078, allocations: 4.296 MB / 0.5734 GB, free: 7.031 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.63/12.04, allocations: 12.08 kB / 0.5735 GB, free: 7.027 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Blocks_Limiters_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219036 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Blocks_Limiters.fmu > ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.993126972927712] Failed to read output from testmodel.py, exit status != 0: ['time', 'slewRateLimiter.y', 'limiter.y', 'variableLimiter.y', 'deadZone.y', 'sine.y', 'constPos.y', 'constNeg.y', 'idealDerivative.y'] 12.221144845010713 12.246895465 11.883445502 Calling exit ...