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.000896/0.000896, allocations: 76.94 kB / 19.93 MB, free: 4.543 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.001565/0.001565, allocations: 172.9 kB / 23.36 MB, free: 1.125 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 0.9322/0.9322, allocations: 177.1 MB / 203.8 MB, free: 5.48 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.03555/0.03555, allocations: 8.629 MB / 268.9 MB, free: 4.789 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.453e-06/1.453e-06, allocations: 0 / 288.1 MB, free: 1.613 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.495e-05/1.64e-05, allocations: 2.312 kB / 288.1 MB, free: 1.609 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks): time 0.1045/0.1045, allocations: 1.884 MB / 289.9 MB, free: 18.09 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001187/0.1057, allocations: 0.7725 MB / 290.7 MB, free: 18 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001111/0.1058, allocations: 24.12 kB / 290.7 MB, free: 17.98 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001801/0.1059, allocations: 56.8 kB / 290.8 MB, free: 17.96 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.555e-05/0.106, allocations: 59.47 kB / 290.9 MB, free: 17.94 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004918/0.1065, allocations: 195.4 kB / 291 MB, free: 17.92 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002592/0.1068, allocations: 284.5 kB / 291.3 MB, free: 17.88 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.1069, allocations: 33.22 kB / 291.4 MB, free: 17.88 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001792/0.1071, allocations: 169 kB / 291.5 MB, free: 17.85 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001506/0.1072, allocations: 87.14 kB / 291.6 MB, free: 17.83 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.602e-05/0.1072, allocations: 14.97 kB / 291.6 MB, free: 17.83 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001198/0.1074, allocations: 84.84 kB / 291.7 MB, free: 17.83 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.456e-05/0.1074, allocations: 50.7 kB / 291.7 MB, free: 17.82 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.604e-05/0.1075, allocations: 62.92 kB / 291.8 MB, free: 17.8 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002386/0.1077, allocations: 237.4 kB / 292 MB, free: 17.74 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.1077, allocations: 0 / 292 MB, free: 17.74 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1077, allocations: 2 kB / 292 MB, free: 17.74 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.058e-06/0.1077, allocations: 0 / 292 MB, free: 17.74 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.000483/0.1082, allocations: 0.5042 MB / 292.5 MB, free: 17.35 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.761e-05/0.1082, allocations: 9.625 kB / 292.6 MB, free: 17.35 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.693e-05/0.1083, allocations: 46.28 kB / 292.6 MB, free: 17.34 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002946/0.1086, allocations: 298.7 kB / 292.9 MB, free: 17.16 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.131e-05/0.1087, allocations: 179.8 kB / 293.1 MB, free: 16.97 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.763e-05/0.1087, allocations: 20 kB / 293.1 MB, free: 16.97 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002032/0.1089, allocations: 216.4 kB / 293.3 MB, free: 16.86 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.1089, allocations: 5.625 kB / 293.3 MB, free: 16.86 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.1089, allocations: 6.156 kB / 293.3 MB, free: 16.86 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.1089, allocations: 4.562 kB / 293.3 MB, free: 16.86 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.592e-05/0.109, allocations: 85.23 kB / 293.4 MB, free: 16.82 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005441/0.1095, allocations: 491.2 kB / 293.9 MB, free: 16.54 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001214/0.1097, allocations: 136.3 kB / 294 MB, free: 16.43 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.611e-05/0.1097, allocations: 61.14 kB / 294.1 MB, free: 16.39 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.29e-05/0.1097, allocations: 7.188 kB / 294.1 MB, free: 16.39 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001011/0.1098, allocations: 145.4 kB / 294.2 MB, free: 16.27 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 1.172e-06/0.1098, allocations: 0 / 294.2 MB, free: 16.27 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.0001749/0.11, allocations: 209.5 kB / 294.4 MB, free: 16.14 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.231e-05/0.11, allocations: 85.19 kB / 294.5 MB, free: 16.05 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001327/0.1101, allocations: 263.2 kB / 294.8 MB, free: 15.89 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.818e-06/0.1102, allocations: 30.8 kB / 294.8 MB, free: 15.86 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.091e-05/0.1102, allocations: 160.2 kB / 295 MB, free: 15.72 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.466e-05/0.1102, allocations: 53.92 kB / 295 MB, free: 15.69 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.226e-05/0.1103, allocations: 61.08 kB / 295.1 MB, free: 15.66 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.952e-05/0.1103, allocations: 346.7 kB / 295.4 MB, free: 15.32 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.87e-05/0.1104, allocations: 58.11 kB / 295.5 MB, free: 15.29 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.69e-05/0.1104, allocations: 144.2 kB / 295.6 MB, free: 15.15 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000122/0.1105, allocations: 231.9 kB / 295.8 MB, free: 14.96 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.1105, allocations: 1.312 kB / 295.8 MB, free: 14.96 MB / 266.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001784/0.1107, allocations: 240.3 kB / 296.1 MB, free: 14.83 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.509e-05/0.1107, allocations: 40.88 kB / 296.1 MB, free: 14.8 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.1107, allocations: 6.016 kB / 296.1 MB, free: 14.8 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.1108, allocations: 3.75 kB / 296.1 MB, free: 14.8 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001202/0.1109, allocations: 55.89 kB / 296.2 MB, free: 14.79 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.1109, allocations: 5.594 kB / 296.2 MB, free: 14.79 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.968e-05/0.111, allocations: 30.36 kB / 296.2 MB, free: 14.78 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.25e-05/0.111, allocations: 12.28 kB / 296.2 MB, free: 14.78 MB / 266.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 7.154e-05/0.111, allocations: 161.9 kB / 296.4 MB, free: 14.62 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.609e-05/0.1111, allocations: 22.44 kB / 296.4 MB, free: 14.62 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.983e-05/0.1111, allocations: 34.38 kB / 296.4 MB, free: 14.61 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.1111, allocations: 2.125 kB / 296.4 MB, free: 14.61 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.1111, allocations: 4.641 kB / 296.4 MB, free: 14.61 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.1111, allocations: 2.609 kB / 296.4 MB, free: 14.61 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002781/0.1114, allocations: 434.5 kB / 296.9 MB, free: 14.29 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.1114, allocations: 3.031 kB / 296.9 MB, free: 14.29 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001171/0.1115, allocations: 34.23 kB / 296.9 MB, free: 14.29 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.574e-06/0.1115, allocations: 4.641 kB / 296.9 MB, free: 14.29 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/0.1115, allocations: 6.516 kB / 296.9 MB, free: 14.29 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.1115, allocations: 2.766 kB / 296.9 MB, free: 14.29 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.1115, allocations: 1.344 kB / 296.9 MB, free: 14.29 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002071/0.1117, allocations: 405.2 kB / 297.3 MB, free: 13.99 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.972e-05/0.1117, allocations: 27.91 kB / 297.3 MB, free: 13.97 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.151e-05/0.1118, allocations: 7.375 kB / 297.3 MB, free: 13.97 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.234e-05/0.1118, allocations: 7.141 kB / 297.3 MB, free: 13.97 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.624e-05/0.1118, allocations: 8.828 kB / 297.4 MB, free: 13.97 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.226e-05/0.1119, allocations: 4.328 kB / 297.4 MB, free: 13.97 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.738e-05/0.1119, allocations: 94.73 kB / 297.5 MB, free: 13.95 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1119, allocations: 0 / 297.5 MB, free: 13.95 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003573/0.1123, allocations: 59.52 kB / 297.5 MB, free: 13.94 MB / 266.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.0001337/0.1124, allocations: 114.1 kB / 297.6 MB, free: 13.87 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001724/0.1126, allocations: 241.7 kB / 297.9 MB, free: 13.71 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.571e-06/0.1126, allocations: 6.844 kB / 297.9 MB, free: 13.71 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.011e-05/0.1127, allocations: 135.5 kB / 298 MB, free: 13.61 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001815/0.1129, allocations: 30.7 kB / 298 MB, free: 13.6 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004314/0.1133, allocations: 483.9 kB / 298.5 MB, free: 13.28 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.504e-05/0.1133, allocations: 94.91 kB / 298.6 MB, free: 13.2 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.711e-05/0.1134, allocations: 28.61 kB / 298.6 MB, free: 13.2 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.692e-05/0.1135, allocations: 91.75 kB / 298.7 MB, free: 13.15 MB / 266.7 MB Notification: Performance of SimCode: time 3.71e-07/0.1135, allocations: 0 / 298.7 MB, free: 13.15 MB / 266.7 MB Notification: Performance of Templates: time 0.004182/0.1177, allocations: 1.958 MB / 300.7 MB, free: 13 MB / 266.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.5171280060894787]