Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks.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.001362/0.001362, allocations: 73.88 kB / 20.66 MB, free: 3.844 MB / 18.57 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.001443/0.001443, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9492/0.9492, allocations: 177.1 MB / 204.5 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo): time 0.03693/0.03693, allocations: 8.601 MB / 269.6 MB, free: 4.77 MB / 250.7 MB " [Timeout remaining time 180] Using package IndustrialControlSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.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(IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks") translateModel(IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.213e-06/1.213e-06, allocations: 0 / 342.1 MB, free: 8.094 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.264e-05/1.386e-05, allocations: 2.312 kB / 342.1 MB, free: 8.09 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks): time 0.005052/0.005066, allocations: 1.882 MB / 344 MB, free: 6.195 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009288/0.005995, allocations: 0.7441 MB / 344.7 MB, free: 5.449 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001063/0.006101, allocations: 23.75 kB / 344.8 MB, free: 5.426 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001577/0.006259, allocations: 63.56 kB / 344.8 MB, free: 5.363 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.419e-05/0.006343, allocations: 59.56 kB / 344.9 MB, free: 5.305 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003955/0.006738, allocations: 187.5 kB / 345.1 MB, free: 5.121 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002205/0.006959, allocations: 283.3 kB / 345.3 MB, free: 4.844 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.771e-05/0.007057, allocations: 32.91 kB / 345.4 MB, free: 4.812 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001461/0.007203, allocations: 171.5 kB / 345.5 MB, free: 4.645 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001374/0.00734, allocations: 87.73 kB / 345.6 MB, free: 4.559 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.546e-05/0.007365, allocations: 16 kB / 345.6 MB, free: 4.543 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001008/0.007466, allocations: 91.8 kB / 345.7 MB, free: 4.453 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.391e-05/0.00752, allocations: 47.83 kB / 345.8 MB, free: 4.406 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.138e-05/0.007572, allocations: 67.75 kB / 345.8 MB, free: 4.34 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00323/0.0108, allocations: 227.1 kB / 346.1 MB, free: 4.117 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.0108, allocations: 0 / 346.1 MB, free: 4.117 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.0108, allocations: 0 / 346.1 MB, free: 4.117 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.419e-06/0.01081, allocations: 4 kB / 346.1 MB, free: 4.113 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0004948/0.0113, allocations: 0.6336 MB / 346.7 MB, free: 3.434 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.841e-05/0.01133, allocations: 12.03 kB / 346.7 MB, free: 3.422 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.244e-05/0.01139, allocations: 56.69 kB / 346.8 MB, free: 3.367 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002989/0.01169, allocations: 317.9 kB / 347.1 MB, free: 3.023 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.051e-05/0.01176, allocations: 183.1 kB / 347.3 MB, free: 2.805 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.078e-05/0.01179, allocations: 24.38 kB / 347.3 MB, free: 2.781 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001727/0.01197, allocations: 209.1 kB / 347.5 MB, free: 2.555 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.01198, allocations: 7.938 kB / 347.5 MB, free: 2.547 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.01199, allocations: 4 kB / 347.5 MB, free: 2.543 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.471e-06/0.01199, allocations: 4 kB / 347.5 MB, free: 2.539 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.18e-05/0.01206, allocations: 85.59 kB / 347.6 MB, free: 2.449 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004941/0.01255, allocations: 0.6742 MB / 348.3 MB, free: 1.742 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001348/0.01269, allocations: 104.7 kB / 348.4 MB, free: 1.621 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.479e-05/0.01274, allocations: 61.38 kB / 348.4 MB, free: 1.551 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.965e-06/0.01275, allocations: 0 / 348.4 MB, free: 1.551 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001338/0.01288, allocations: 152.5 kB / 348.6 MB, free: 1.375 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 1.723e-06/0.01288, allocations: 0 / 348.6 MB, free: 1.375 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003105/0.01319, allocations: 266.6 kB / 348.8 MB, free: 1.09 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.687e-05/0.01322, allocations: 89.09 kB / 348.9 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001779/0.0134, allocations: 330 kB / 349.2 MB, free: 0.6484 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.347e-05/0.01341, allocations: 29.7 kB / 349.3 MB, free: 0.6133 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.85e-05/0.0135, allocations: 227.1 kB / 349.5 MB, free: 396 kB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.622e-05/0.01354, allocations: 55.47 kB / 349.6 MB, free: 340 kB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.332e-05/0.01361, allocations: 67.55 kB / 349.6 MB, free: 260 kB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000127/0.01374, allocations: 0.5195 MB / 350.1 MB, free: 15.72 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.242e-05/0.01381, allocations: 58.19 kB / 350.2 MB, free: 15.66 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001376/0.01395, allocations: 183.2 kB / 350.4 MB, free: 15.42 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000228/0.01418, allocations: 261.5 kB / 350.6 MB, free: 15.1 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.01418, allocations: 4 kB / 350.6 MB, free: 15.1 MB / 282.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003864/0.01456, allocations: 296.5 kB / 350.9 MB, free: 14.79 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.752e-05/0.0146, allocations: 37.69 kB / 351 MB, free: 14.75 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.01461, allocations: 4 kB / 351 MB, free: 14.74 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.01462, allocations: 4.375 kB / 351 MB, free: 14.74 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000205/0.01483, allocations: 59.91 kB / 351 MB, free: 14.68 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.01483, allocations: 4 kB / 351 MB, free: 14.68 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001169/0.01495, allocations: 31.78 kB / 351.1 MB, free: 14.64 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.963e-05/0.01497, allocations: 11.94 kB / 351.1 MB, free: 14.63 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 12 (signal.nextEventScaled,signal.nextEvent,$PRE.signal.nextEvent,signal.last,signal.b,signal.a,$whenCondition1,Gain.TS_in,Integrator.TS_in,FirstOrder.TS_in,LeadLAG.TS_in,complexPoles.TS_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 1 * 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.0001528/0.01512, allocations: 208.6 kB / 351.3 MB, free: 14.41 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.949e-05/0.01517, allocations: 35.75 kB / 351.3 MB, free: 14.38 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.787e-05/0.01522, allocations: 30.23 kB / 351.3 MB, free: 14.35 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.01522, allocations: 3.938 kB / 351.3 MB, free: 14.35 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.534e-06/0.01522, allocations: 8 kB / 351.4 MB, free: 14.34 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.01523, allocations: 0 / 351.4 MB, free: 14.34 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006258/0.01585, allocations: 0.5353 MB / 351.9 MB, free: 13.76 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.01586, allocations: 4 kB / 351.9 MB, free: 13.75 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002035/0.01606, allocations: 31.98 kB / 351.9 MB, free: 13.72 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.192e-06/0.01607, allocations: 7.984 kB / 351.9 MB, free: 13.71 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.788e-05/0.01609, allocations: 4 kB / 351.9 MB, free: 13.71 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.01609, allocations: 0 / 351.9 MB, free: 13.71 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.01609, allocations: 0 / 351.9 MB, free: 13.71 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004559/0.01654, allocations: 475.3 kB / 352.4 MB, free: 13.21 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.096e-05/0.01658, allocations: 23.84 kB / 352.4 MB, free: 13.18 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.514e-05/0.01661, allocations: 8 kB / 352.4 MB, free: 13.18 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001064/0.01672, allocations: 7.984 kB / 352.4 MB, free: 13.17 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.962e-05/0.01676, allocations: 7.984 kB / 352.4 MB, free: 13.16 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.086e-05/0.01678, allocations: 8 kB / 352.5 MB, free: 13.15 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001374/0.01691, allocations: 206.9 kB / 352.7 MB, free: 12.95 MB / 282.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01691, allocations: 0 / 352.7 MB, free: 12.95 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003644/0.01728, allocations: 59.89 kB / 352.7 MB, free: 12.89 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (Integrator.y,FirstOrder.Y,LeadLAG.uF,complexPoles.Y,complexPoles.dY) * Number of discrete variables: 6 ($whenCondition1,signal.a,signal.b,signal.last,signal.nextEvent,signal.nextEventScaled) * Number of discrete states: 6 (signal.nextEvent,signal.last,signal.nextEventScaled,signal.b,signal.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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.0001883/0.01747, allocations: 135.2 kB / 352.8 MB, free: 12.75 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002864/0.01775, allocations: 246.2 kB / 353.1 MB, free: 12.48 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.01776, allocations: 0 / 353.1 MB, free: 12.48 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001215/0.01788, allocations: 148.6 kB / 353.2 MB, free: 12.31 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003029/0.01818, allocations: 21.53 kB / 353.3 MB, free: 12.29 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006486/0.01883, allocations: 483.4 kB / 353.7 MB, free: 11.77 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.104e-05/0.0189, allocations: 92.16 kB / 353.8 MB, free: 11.66 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 9.808e-05/0.019, allocations: 26.3 kB / 353.8 MB, free: 11.64 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001334/0.01913, allocations: 110.2 kB / 353.9 MB, free: 11.53 MB / 282.7 MB Notification: Performance of SimCode: time 7.62e-07/0.01913, allocations: 4 kB / 354 MB, free: 11.52 MB / 282.7 MB Notification: Performance of Templates: time 0.004867/0.024, allocations: 1.995 MB / 355.9 MB, free: 9.582 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks -abortSlowSimulation -alarm=240 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.7811950338073075]