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.00172/0.00172, allocations: 81.5 kB / 19.44 MB, free: 344 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.001964/0.001964, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.629/1.629, allocations: 177.1 MB / 203.1 MB, free: 5.625 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.07508/0.07508, allocations: 8.615 MB / 268.2 MB, free: 4.961 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 2.205e-06/2.205e-06, allocations: 0 / 340.1 MB, free: 8.762 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.274e-05/3.495e-05, allocations: 12.5 kB / 340.2 MB, free: 8.75 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks): time 0.003427/0.003462, allocations: 1.88 MB / 342 MB, free: 6.855 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001602/0.005064, allocations: 0.7481 MB / 342.8 MB, free: 6.105 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001628/0.005227, allocations: 23.75 kB / 342.8 MB, free: 6.082 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002462/0.005473, allocations: 63.5 kB / 342.9 MB, free: 6.02 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000149/0.005622, allocations: 47.64 kB / 342.9 MB, free: 5.973 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006242/0.006246, allocations: 203.5 kB / 343.1 MB, free: 5.773 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003459/0.006592, allocations: 275.3 kB / 343.4 MB, free: 5.504 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001402/0.006732, allocations: 36.89 kB / 343.4 MB, free: 5.469 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002396/0.006972, allocations: 159.6 kB / 343.6 MB, free: 5.312 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002526/0.007224, allocations: 95.67 kB / 343.7 MB, free: 5.219 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.089e-05/0.007275, allocations: 20 kB / 343.7 MB, free: 5.199 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001738/0.007449, allocations: 87.91 kB / 343.8 MB, free: 5.113 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.116e-05/0.00754, allocations: 51.77 kB / 343.8 MB, free: 5.062 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.721e-05/0.007638, allocations: 63.77 kB / 343.9 MB, free: 5 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004286/0.008066, allocations: 295 kB / 344.2 MB, free: 4.711 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.008071, allocations: 0 / 344.2 MB, free: 4.711 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.008073, allocations: 0 / 344.2 MB, free: 4.711 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.008079, allocations: 0 / 344.2 MB, free: 4.711 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.0009663/0.009045, allocations: 0.6528 MB / 344.8 MB, free: 4.012 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.009086, allocations: 8.031 kB / 344.8 MB, free: 4.004 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001205/0.009206, allocations: 56.7 kB / 344.9 MB, free: 3.949 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005255/0.009732, allocations: 306 kB / 345.2 MB, free: 3.617 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001196/0.009851, allocations: 179.1 kB / 345.4 MB, free: 3.402 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.24e-05/0.009914, allocations: 28.33 kB / 345.4 MB, free: 3.375 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004155/0.01033, allocations: 248.4 kB / 345.6 MB, free: 3.113 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.547e-05/0.01034, allocations: 3.938 kB / 345.6 MB, free: 3.109 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.805e-05/0.01037, allocations: 4 kB / 345.6 MB, free: 3.105 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.637e-06/0.01038, allocations: 7.984 kB / 345.6 MB, free: 3.098 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002645/0.01065, allocations: 129.7 kB / 345.8 MB, free: 2.965 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001386/0.01203, allocations: 0.7751 MB / 346.5 MB, free: 2.148 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002693/0.0123, allocations: 128.7 kB / 346.7 MB, free: 2.004 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001106/0.01241, allocations: 81.36 kB / 346.8 MB, free: 1.914 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.953e-05/0.01243, allocations: 4 kB / 346.8 MB, free: 1.91 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002086/0.01264, allocations: 164.4 kB / 346.9 MB, free: 1.723 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 1.553e-06/0.01264, allocations: 0 / 346.9 MB, free: 1.723 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.0005563/0.0132, allocations: 297.3 kB / 347.2 MB, free: 1.41 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.18e-05/0.01323, allocations: 81.11 kB / 347.3 MB, free: 1.312 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003279/0.01356, allocations: 378.3 kB / 347.7 MB, free: 0.9297 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.937e-05/0.01358, allocations: 29.7 kB / 347.7 MB, free: 0.8945 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001328/0.01371, allocations: 239.1 kB / 347.9 MB, free: 0.6562 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.861e-05/0.01377, allocations: 63.53 kB / 348 MB, free: 0.5938 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001074/0.01388, allocations: 67.7 kB / 348 MB, free: 0.5156 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001837/0.01406, allocations: 0.5351 MB / 348.6 MB, free: 15.97 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001768/0.01424, allocations: 78.2 kB / 348.7 MB, free: 15.89 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003414/0.01458, allocations: 212 kB / 348.9 MB, free: 15.62 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005602/0.01514, allocations: 315 kB / 349.2 MB, free: 15.25 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.01514, allocations: 0 / 349.2 MB, free: 15.25 MB / 282.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007823/0.01592, allocations: 339.9 kB / 349.5 MB, free: 14.9 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.304e-05/0.016, allocations: 42.06 kB / 349.5 MB, free: 14.85 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/0.01601, allocations: 8 kB / 349.6 MB, free: 14.84 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.885e-05/0.01604, allocations: 8 kB / 349.6 MB, free: 14.84 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000359/0.0164, allocations: 51.91 kB / 349.6 MB, free: 14.79 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.634e-05/0.01641, allocations: 7.938 kB / 349.6 MB, free: 14.78 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002025/0.01662, allocations: 23.84 kB / 349.6 MB, free: 14.75 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.792e-05/0.01665, allocations: 12 kB / 349.7 MB, free: 14.74 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.0002939/0.01695, allocations: 228.3 kB / 349.9 MB, free: 14.5 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.085e-05/0.01703, allocations: 39.81 kB / 349.9 MB, free: 14.46 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.634e-05/0.01711, allocations: 30.23 kB / 349.9 MB, free: 14.44 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.01712, allocations: 0 / 349.9 MB, free: 14.44 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.01712, allocations: 0 / 349.9 MB, free: 14.44 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.01713, allocations: 0 / 349.9 MB, free: 14.44 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009976/0.01812, allocations: 0.633 MB / 350.6 MB, free: 13.75 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.01813, allocations: 0 / 350.6 MB, free: 13.75 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002464/0.01837, allocations: 31.97 kB / 350.6 MB, free: 13.71 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.01838, allocations: 4 kB / 350.6 MB, free: 13.71 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.232e-05/0.0184, allocations: 12.03 kB / 350.6 MB, free: 13.7 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.0184, allocations: 3.938 kB / 350.6 MB, free: 13.7 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.0184, allocations: 0 / 350.6 MB, free: 13.7 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000677/0.01908, allocations: 0.5074 MB / 351.1 MB, free: 13.15 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.913e-05/0.01913, allocations: 27.75 kB / 351.2 MB, free: 13.12 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.067e-05/0.01917, allocations: 7.984 kB / 351.2 MB, free: 13.11 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.85e-05/0.01927, allocations: 4 kB / 351.2 MB, free: 13.11 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.254e-05/0.01933, allocations: 11.98 kB / 351.2 MB, free: 13.1 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.83e-05/0.01936, allocations: 11.94 kB / 351.2 MB, free: 13.09 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002689/0.01963, allocations: 238.9 kB / 351.4 MB, free: 12.85 MB / 282.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01963, allocations: 4 kB / 351.4 MB, free: 12.85 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003538/0.01998, allocations: 59.89 kB / 351.5 MB, free: 12.79 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.0002434/0.02022, allocations: 131.2 kB / 351.6 MB, free: 12.65 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004638/0.02069, allocations: 286.3 kB / 351.9 MB, free: 12.34 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.02069, allocations: 0 / 351.9 MB, free: 12.34 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001986/0.02089, allocations: 165.4 kB / 352.1 MB, free: 12.16 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003036/0.02119, allocations: 35.2 kB / 352.1 MB, free: 12.12 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008844/0.02208, allocations: 0.5106 MB / 352.6 MB, free: 11.57 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001729/0.02225, allocations: 150.9 kB / 352.8 MB, free: 11.4 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 9.417e-05/0.02234, allocations: 26.28 kB / 352.8 MB, free: 11.38 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.732e-05/0.0224, allocations: 20.5 kB / 352.8 MB, free: 11.36 MB / 282.7 MB Notification: Performance of SimCode: time 7.12e-07/0.0224, allocations: 0 / 352.8 MB, free: 11.36 MB / 282.7 MB Notification: Performance of Templates: time 0.006918/0.02932, allocations: 1.835 MB / 354.6 MB, free: 9.566 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: 4.687354025896639]