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.00135/0.00135, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001454/0.001454, allocations: 222.2 kB / 23 MB, free: 4.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.506/1.506, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 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.06589/0.06589, allocations: 11.35 MB / 324.5 MB, free: 8.035 MB / 254.1 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: IndustrialControlSystems 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.002102/0.002102, allocations: 74.06 kB / 452.2 MB, free: 9.828 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1137, allocations: 56.07 MB / 0.4964 GB, free: 1.656 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks): time 0.003546/0.1173, allocations: 1.835 MB / 0.4982 GB, free: 15.81 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001489/0.1188, allocations: 0.7366 MB / 0.4989 GB, free: 15.07 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001266/0.1189, allocations: 27.75 kB / 0.4989 GB, free: 15.04 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002005/0.1191, allocations: 55.56 kB / 0.499 GB, free: 14.99 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001295/0.1192, allocations: 59.62 kB / 0.499 GB, free: 14.93 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005738/0.1198, allocations: 187.6 kB / 0.4992 GB, free: 14.75 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003696/0.1202, allocations: 279.3 kB / 0.4995 GB, free: 14.47 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001356/0.1203, allocations: 32.92 kB / 0.4995 GB, free: 14.44 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001553/0.1205, allocations: 127.5 kB / 0.4996 GB, free: 14.31 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002591/0.1207, allocations: 115.4 kB / 0.4997 GB, free: 14.2 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.008e-05/0.1208, allocations: 16 kB / 0.4998 GB, free: 14.18 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001603/0.1209, allocations: 91.86 kB / 0.4998 GB, free: 14.09 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.008e-05/0.121, allocations: 55.72 kB / 0.4999 GB, free: 14.04 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001112/0.1211, allocations: 87.44 kB / 0.5 GB, free: 13.95 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003928/0.1215, allocations: 274.7 kB / 0.5002 GB, free: 13.68 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.1215, allocations: 0 / 0.5002 GB, free: 13.68 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1215, allocations: 0 / 0.5002 GB, free: 13.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.1215, allocations: 4 kB / 0.5002 GB, free: 13.68 MB / 382.1 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.0009055/0.1224, allocations: 0.5338 MB / 0.5008 GB, free: 13.11 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.1225, allocations: 8.031 kB / 0.5008 GB, free: 13.1 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.685e-05/0.1226, allocations: 40.69 kB / 0.5008 GB, free: 13.06 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006206/0.1232, allocations: 303.8 kB / 0.5011 GB, free: 12.74 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001812/0.1234, allocations: 183.1 kB / 0.5013 GB, free: 12.52 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.783e-05/0.1234, allocations: 20.12 kB / 0.5013 GB, free: 12.5 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004405/0.1239, allocations: 262.1 kB / 0.5015 GB, free: 12.23 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.1239, allocations: 4 kB / 0.5015 GB, free: 12.22 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.18e-05/0.1239, allocations: 4 kB / 0.5016 GB, free: 12.22 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.867e-06/0.1239, allocations: 4 kB / 0.5016 GB, free: 12.21 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002547/0.1242, allocations: 145.6 kB / 0.5017 GB, free: 12.07 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001237/0.1254, allocations: 0.6247 MB / 0.5023 GB, free: 11.41 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002816/0.1257, allocations: 144.1 kB / 0.5024 GB, free: 11.25 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001212/0.1258, allocations: 86.55 kB / 0.5025 GB, free: 11.16 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.072e-05/0.1258, allocations: 0 / 0.5025 GB, free: 11.16 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002512/0.1261, allocations: 174.7 kB / 0.5027 GB, free: 10.96 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 1.263e-06/0.1261, allocations: 4 kB / 0.5027 GB, free: 10.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005759/0.1266, allocations: 366.6 kB / 0.503 GB, free: 10.57 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.672e-05/0.1267, allocations: 85.09 kB / 0.5031 GB, free: 10.47 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003107/0.127, allocations: 292.4 kB / 0.5034 GB, free: 10.18 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.524e-05/0.127, allocations: 25.7 kB / 0.5034 GB, free: 10.15 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001563/0.1272, allocations: 180.3 kB / 0.5036 GB, free: 9.969 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.965e-05/0.1273, allocations: 51.59 kB / 0.5036 GB, free: 9.918 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.949e-05/0.1274, allocations: 61.89 kB / 0.5037 GB, free: 9.848 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001829/0.1275, allocations: 342.8 kB / 0.504 GB, free: 9.504 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001345/0.1277, allocations: 94.19 kB / 0.5041 GB, free: 9.406 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002258/0.1279, allocations: 186.6 kB / 0.5043 GB, free: 9.18 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003777/0.1283, allocations: 292.8 kB / 0.5046 GB, free: 8.844 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.1283, allocations: 4 kB / 0.5046 GB, free: 8.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005351/0.1288, allocations: 376.5 kB / 0.5049 GB, free: 8.453 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.157e-05/0.1289, allocations: 41.69 kB / 0.505 GB, free: 8.406 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.1289, allocations: 4 kB / 0.505 GB, free: 8.402 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.832e-05/0.1289, allocations: 4 kB / 0.505 GB, free: 8.398 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002498/0.1291, allocations: 56.28 kB / 0.505 GB, free: 8.344 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.356e-05/0.1291, allocations: 4 kB / 0.505 GB, free: 8.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001343/0.1293, allocations: 31.78 kB / 0.5051 GB, free: 8.309 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.957e-05/0.1293, allocations: 8 kB / 0.5051 GB, free: 8.301 MB / 382.1 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.0001987/0.1295, allocations: 192.1 kB / 0.5053 GB, free: 8.098 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.073e-05/0.1295, allocations: 27.86 kB / 0.5053 GB, free: 8.07 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.017e-05/0.1296, allocations: 30.23 kB / 0.5053 GB, free: 8.035 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.1296, allocations: 0 / 0.5053 GB, free: 8.035 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/0.1296, allocations: 7.984 kB / 0.5053 GB, free: 8.027 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.1296, allocations: 0 / 0.5053 GB, free: 8.027 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008198/0.1304, allocations: 0.5919 MB / 0.5059 GB, free: 7.383 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.1304, allocations: 0 / 0.5059 GB, free: 7.383 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002437/0.1307, allocations: 35.97 kB / 0.5059 GB, free: 7.348 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.1307, allocations: 0 / 0.5059 GB, free: 7.348 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.266e-05/0.1307, allocations: 8 kB / 0.506 GB, free: 7.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.979e-06/0.1307, allocations: 3.938 kB / 0.506 GB, free: 7.336 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.1307, allocations: 3.938 kB / 0.506 GB, free: 7.332 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006647/0.1314, allocations: 0.5124 MB / 0.5065 GB, free: 6.785 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.391e-05/0.1314, allocations: 31.73 kB / 0.5065 GB, free: 6.754 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.274e-05/0.1315, allocations: 16.05 kB / 0.5065 GB, free: 6.738 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001209/0.1316, allocations: 3.938 kB / 0.5065 GB, free: 6.734 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.265e-05/0.1316, allocations: 7.984 kB / 0.5065 GB, free: 6.727 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.528e-05/0.1317, allocations: 12 kB / 0.5065 GB, free: 6.715 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002073/0.1319, allocations: 191.1 kB / 0.5067 GB, free: 6.527 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1319, allocations: 0 / 0.5067 GB, free: 6.527 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003707/0.1322, allocations: 63.81 kB / 0.5068 GB, free: 6.465 MB / 382.1 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.0002245/0.1325, allocations: 127.2 kB / 0.5069 GB, free: 6.332 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004352/0.1329, allocations: 294.6 kB / 0.5072 GB, free: 6.02 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.1329, allocations: 0 / 0.5072 GB, free: 6.02 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001869/0.1331, allocations: 161 kB / 0.5073 GB, free: 5.844 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003327/0.1334, allocations: 26.28 kB / 0.5074 GB, free: 5.82 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009845/0.1344, allocations: 0.5626 MB / 0.5079 GB, free: 5.215 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001783/0.1346, allocations: 163.1 kB / 0.5081 GB, free: 5.035 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.661e-05/0.1346, allocations: 19.44 kB / 0.5081 GB, free: 5.016 MB / 382.1 MB Notification: Performance of SimCode: time 8.01e-07/0.1346, allocations: 0 / 0.5081 GB, free: 5.016 MB / 382.1 MB Notification: Performance of Templates: time 0.006203/0.1408, allocations: 3.064 MB / 0.5111 GB, free: 1.961 MB / 382.1 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: 7.250663789920509] Failed to read output from testmodel.py, exit status != 0: 0.14972909493371844 0.34274144300000003 0.21847893000000002 Calling exit ...