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.00173/0.00173, allocations: 88.72 kB / 19.44 MB, free: 352 kB / 13.93 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.00239/0.00239, allocations: 157.7 kB / 22.75 MB, free: 1.68 MB / 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 1.468/1.468, allocations: 177.1 MB / 203.1 MB, free: 5.262 MB / 186.7 MB " [Timeout remaining time 178] 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.06695/0.06695, allocations: 8.612 MB / 268.2 MB, free: 4.812 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.463e-06/1.463e-06, allocations: 0 / 340.1 MB, free: 8.75 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.351e-05/2.498e-05, allocations: 8.922 kB / 340.1 MB, free: 8.742 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks): time 0.002504/0.002529, allocations: 1.849 MB / 342 MB, free: 6.879 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00129/0.003819, allocations: 0.7363 MB / 342.7 MB, free: 6.141 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001654/0.003985, allocations: 23.75 kB / 342.8 MB, free: 6.117 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001996/0.004184, allocations: 63.52 kB / 342.8 MB, free: 6.055 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001223/0.004307, allocations: 59.61 kB / 342.9 MB, free: 5.996 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006047/0.004911, allocations: 187.5 kB / 343.1 MB, free: 5.812 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002849/0.005196, allocations: 283.2 kB / 343.3 MB, free: 5.535 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.005309, allocations: 32.91 kB / 343.4 MB, free: 5.504 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001937/0.005503, allocations: 163.5 kB / 343.5 MB, free: 5.344 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002052/0.005708, allocations: 99.73 kB / 343.6 MB, free: 5.246 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.464e-05/0.005743, allocations: 16 kB / 343.6 MB, free: 5.23 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001242/0.005867, allocations: 83.92 kB / 343.7 MB, free: 5.148 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.512e-05/0.005932, allocations: 51.77 kB / 343.8 MB, free: 5.098 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.167e-05/0.006004, allocations: 67.75 kB / 343.8 MB, free: 5.031 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003013/0.006305, allocations: 294.9 kB / 344.1 MB, free: 4.742 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.006309, allocations: 0 / 344.1 MB, free: 4.742 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.00631, allocations: 0 / 344.1 MB, free: 4.742 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.264e-06/0.006317, allocations: 0 / 344.1 MB, free: 4.742 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.0006909/0.007008, allocations: 0.5338 MB / 344.7 MB, free: 4.168 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.267e-05/0.007041, allocations: 8.031 kB / 344.7 MB, free: 4.16 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.71e-05/0.007138, allocations: 56.7 kB / 344.7 MB, free: 4.105 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004336/0.007571, allocations: 307.1 kB / 345 MB, free: 3.773 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001071/0.007678, allocations: 187 kB / 345.2 MB, free: 3.551 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.558e-05/0.007724, allocations: 24.33 kB / 345.2 MB, free: 3.527 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003428/0.008067, allocations: 246.8 kB / 345.5 MB, free: 3.27 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.008079, allocations: 3.938 kB / 345.5 MB, free: 3.266 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.175e-05/0.0081, allocations: 8 kB / 345.5 MB, free: 3.258 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.008107, allocations: 7.984 kB / 345.5 MB, free: 3.25 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002016/0.008308, allocations: 138.3 kB / 345.6 MB, free: 3.109 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001001/0.00931, allocations: 0.6365 MB / 346.3 MB, free: 2.438 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002503/0.00956, allocations: 136.2 kB / 346.4 MB, free: 2.289 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.22e-05/0.009652, allocations: 94.53 kB / 346.5 MB, free: 2.188 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.59e-05/0.009668, allocations: 0 / 346.5 MB, free: 2.188 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001671/0.009835, allocations: 170.8 kB / 346.6 MB, free: 1.996 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 1.052e-06/0.009836, allocations: 0 / 346.6 MB, free: 1.996 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004498/0.01029, allocations: 361.3 kB / 347 MB, free: 1.621 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.174e-05/0.01032, allocations: 93.05 kB / 347.1 MB, free: 1.512 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002114/0.01053, allocations: 288.5 kB / 347.4 MB, free: 1.227 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.615e-05/0.01055, allocations: 33.7 kB / 347.4 MB, free: 1.188 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.131e-05/0.01063, allocations: 180.3 kB / 347.6 MB, free: 1.008 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.461e-05/0.01066, allocations: 55.55 kB / 347.6 MB, free: 0.9531 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.522e-05/0.01073, allocations: 53.92 kB / 347.7 MB, free: 0.8906 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.161e-05/0.01078, allocations: 342.8 kB / 348 MB, free: 0.5469 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.85e-05/0.01088, allocations: 94.19 kB / 348.1 MB, free: 460 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001142/0.01099, allocations: 188.3 kB / 348.3 MB, free: 228 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003269/0.01132, allocations: 300.1 kB / 348.6 MB, free: 15.88 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.01132, allocations: 0 / 348.6 MB, free: 15.88 MB / 282.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006417/0.01196, allocations: 389.8 kB / 349 MB, free: 15.48 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.622e-05/0.01202, allocations: 41.69 kB / 349 MB, free: 15.43 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.01203, allocations: 4 kB / 349 MB, free: 15.43 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.323e-05/0.01205, allocations: 4 kB / 349 MB, free: 15.43 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002548/0.01231, allocations: 52.28 kB / 349.1 MB, free: 15.38 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.202e-05/0.01232, allocations: 12 kB / 349.1 MB, free: 15.36 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001515/0.01247, allocations: 27.84 kB / 349.1 MB, free: 15.34 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.445e-05/0.01249, allocations: 12 kB / 349.1 MB, free: 15.32 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,complexPoles.TS_in,LeadLAG.TS_in,FirstOrder.TS_in,Integrator.TS_in,Gain.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.0002102/0.0127, allocations: 192.8 kB / 349.3 MB, free: 15.12 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.954e-05/0.01276, allocations: 35.81 kB / 349.3 MB, free: 15.09 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.553e-05/0.01283, allocations: 30.23 kB / 349.4 MB, free: 15.05 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.01283, allocations: 0 / 349.4 MB, free: 15.05 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.01284, allocations: 0 / 349.4 MB, free: 15.05 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.644e-06/0.01284, allocations: 0 / 349.4 MB, free: 15.05 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008781/0.01372, allocations: 0.5958 MB / 350 MB, free: 14.4 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.01372, allocations: 0 / 350 MB, free: 14.4 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002681/0.01399, allocations: 39.91 kB / 350 MB, free: 14.36 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.01399, allocations: 0 / 350 MB, free: 14.36 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.242e-05/0.01401, allocations: 4 kB / 350 MB, free: 14.36 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.01402, allocations: 0 / 350 MB, free: 14.36 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.01402, allocations: 0 / 350 MB, free: 14.36 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007514/0.01477, allocations: 0.5206 MB / 350.5 MB, free: 13.8 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.296e-05/0.01481, allocations: 27.75 kB / 350.6 MB, free: 13.77 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.23e-05/0.01485, allocations: 8.031 kB / 350.6 MB, free: 13.77 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001245/0.01498, allocations: 8.062 kB / 350.6 MB, free: 13.76 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.944e-05/0.01504, allocations: 7.984 kB / 350.6 MB, free: 13.75 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.569e-05/0.01506, allocations: 7.938 kB / 350.6 MB, free: 13.74 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002297/0.01529, allocations: 199.1 kB / 350.8 MB, free: 13.55 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01529, allocations: 0 / 350.8 MB, free: 13.55 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003883/0.01568, allocations: 63.89 kB / 350.9 MB, free: 13.48 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.0002763/0.01596, allocations: 135.2 kB / 351 MB, free: 13.34 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004782/0.01644, allocations: 301.4 kB / 351.3 MB, free: 13.03 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.01644, allocations: 0 / 351.3 MB, free: 13.03 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002041/0.01664, allocations: 164.9 kB / 351.4 MB, free: 12.85 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003324/0.01697, allocations: 24.66 kB / 351.5 MB, free: 12.82 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001006/0.01798, allocations: 0.5179 MB / 352 MB, free: 12.27 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001867/0.01817, allocations: 151.7 kB / 352.1 MB, free: 12.1 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001075/0.01827, allocations: 26.28 kB / 352.2 MB, free: 12.07 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.904e-05/0.01832, allocations: 28.5 kB / 352.2 MB, free: 12.05 MB / 282.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01832, allocations: 0 / 352.2 MB, free: 12.05 MB / 282.7 MB Notification: Performance of Templates: time 0.006424/0.02475, allocations: 1.839 MB / 354 MB, free: 10.26 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=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.525293109938502]