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.002184/0.002184, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002329/0.002329, allocations: 214 kB / 22.25 MB, free: 5.258 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.683/1.683, allocations: 230.6 MB / 256 MB, free: 7.801 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.06908/0.06908, allocations: 11.34 MB / 323.8 MB, free: 8.137 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.002093/0.002093, allocations: 73.86 kB / 451.5 MB, free: 9.84 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1409, allocations: 56.07 MB / 0.4956 GB, free: 1.668 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks): time 0.0041/0.145, allocations: 1.835 MB / 0.4974 GB, free: 15.82 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001722/0.1467, allocations: 0.7443 MB / 0.4982 GB, free: 15.07 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000236/0.1469, allocations: 23.75 kB / 0.4982 GB, free: 15.05 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002379/0.1472, allocations: 55.56 kB / 0.4982 GB, free: 15 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001568/0.1473, allocations: 59.62 kB / 0.4983 GB, free: 14.94 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007165/0.1481, allocations: 190.8 kB / 0.4985 GB, free: 14.75 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004455/0.1485, allocations: 287.3 kB / 0.4988 GB, free: 14.47 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000166/0.1487, allocations: 32.92 kB / 0.4988 GB, free: 14.44 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002101/0.1489, allocations: 123.5 kB / 0.4989 GB, free: 14.32 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002642/0.1491, allocations: 115.4 kB / 0.499 GB, free: 14.2 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.451e-05/0.1492, allocations: 20 kB / 0.499 GB, free: 14.18 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001808/0.1494, allocations: 87.88 kB / 0.4991 GB, free: 14.1 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001083/0.1495, allocations: 55.77 kB / 0.4992 GB, free: 14.04 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001161/0.1496, allocations: 83.45 kB / 0.4992 GB, free: 13.96 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004673/0.1501, allocations: 278.7 kB / 0.4995 GB, free: 13.69 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1501, allocations: 3.938 kB / 0.4995 GB, free: 13.68 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.1501, allocations: 0 / 0.4995 GB, free: 13.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.113e-05/0.1501, allocations: 0 / 0.4995 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.001258/0.1513, allocations: 0.5338 MB / 0.5 GB, free: 13.11 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.1514, allocations: 12.03 kB / 0.5 GB, free: 13.1 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001011/0.1515, allocations: 36.75 kB / 0.5001 GB, free: 13.06 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007457/0.1522, allocations: 299.8 kB / 0.5004 GB, free: 12.75 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000189/0.1524, allocations: 175.1 kB / 0.5005 GB, free: 12.54 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.037e-05/0.1525, allocations: 20.12 kB / 0.5006 GB, free: 12.52 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004807/0.1529, allocations: 258.1 kB / 0.5008 GB, free: 12.25 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.153, allocations: 0 / 0.5008 GB, free: 12.25 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.623e-05/0.153, allocations: 15.92 kB / 0.5008 GB, free: 12.23 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.969e-06/0.153, allocations: 4 kB / 0.5008 GB, free: 12.23 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002677/0.1533, allocations: 149.6 kB / 0.501 GB, free: 12.07 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001373/0.1546, allocations: 0.6285 MB / 0.5016 GB, free: 11.41 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003186/0.155, allocations: 132.2 kB / 0.5017 GB, free: 11.27 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000139/0.1551, allocations: 94.53 kB / 0.5018 GB, free: 11.16 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.686e-05/0.1551, allocations: 0 / 0.5018 GB, free: 11.16 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003381/0.1554, allocations: 174.8 kB / 0.502 GB, free: 10.97 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 1.643e-06/0.1554, allocations: 0 / 0.502 GB, free: 10.97 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0006238/0.1561, allocations: 358.6 kB / 0.5023 GB, free: 10.59 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.938e-05/0.1562, allocations: 85.11 kB / 0.5024 GB, free: 10.49 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004316/0.1566, allocations: 292.3 kB / 0.5027 GB, free: 10.2 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.649e-05/0.1567, allocations: 29.7 kB / 0.5027 GB, free: 10.16 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001581/0.1568, allocations: 176.4 kB / 0.5029 GB, free: 9.988 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001028/0.1569, allocations: 63.62 kB / 0.5029 GB, free: 9.926 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001064/0.157, allocations: 57.89 kB / 0.503 GB, free: 9.859 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001921/0.1572, allocations: 338.8 kB / 0.5033 GB, free: 9.52 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001486/0.1574, allocations: 94.19 kB / 0.5034 GB, free: 9.422 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002247/0.1576, allocations: 190.6 kB / 0.5036 GB, free: 9.191 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003785/0.158, allocations: 292 kB / 0.5038 GB, free: 8.855 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.158, allocations: 0 / 0.5038 GB, free: 8.855 MB / 382.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.00058/0.1586, allocations: 374.4 kB / 0.5042 GB, free: 8.473 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.023e-05/0.1586, allocations: 41.69 kB / 0.5042 GB, free: 8.426 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.1586, allocations: 0 / 0.5042 GB, free: 8.426 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.019e-05/0.1587, allocations: 7.938 kB / 0.5043 GB, free: 8.418 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002522/0.1589, allocations: 51.97 kB / 0.5043 GB, free: 8.367 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.217e-05/0.1589, allocations: 7.938 kB / 0.5043 GB, free: 8.359 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001483/0.1591, allocations: 27.83 kB / 0.5043 GB, free: 8.332 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.247e-05/0.1591, allocations: 12 kB / 0.5043 GB, free: 8.32 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.0002068/0.1593, allocations: 201.7 kB / 0.5045 GB, free: 8.109 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.521e-05/0.1593, allocations: 27.86 kB / 0.5046 GB, free: 8.082 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.042e-05/0.1594, allocations: 30.23 kB / 0.5046 GB, free: 8.047 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.1594, allocations: 0 / 0.5046 GB, free: 8.047 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.1594, allocations: 0 / 0.5046 GB, free: 8.047 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.1594, allocations: 0 / 0.5046 GB, free: 8.047 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009736/0.1604, allocations: 0.593 MB / 0.5052 GB, free: 7.402 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.1604, allocations: 0 / 0.5052 GB, free: 7.402 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003771/0.1608, allocations: 40.02 kB / 0.5052 GB, free: 7.363 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.1608, allocations: 0 / 0.5052 GB, free: 7.363 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.111e-05/0.1608, allocations: 8 kB / 0.5052 GB, free: 7.355 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.1608, allocations: 3.938 kB / 0.5052 GB, free: 7.352 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.396e-06/0.1608, allocations: 7.969 kB / 0.5052 GB, free: 7.344 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007435/0.1616, allocations: 0.5103 MB / 0.5057 GB, free: 6.797 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.081e-05/0.1616, allocations: 31.81 kB / 0.5058 GB, free: 6.766 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.084e-05/0.1616, allocations: 4 kB / 0.5058 GB, free: 6.762 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001181/0.1618, allocations: 7.938 kB / 0.5058 GB, free: 6.754 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.982e-05/0.1618, allocations: 7.984 kB / 0.5058 GB, free: 6.746 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.398e-05/0.1618, allocations: 11.98 kB / 0.5058 GB, free: 6.734 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002968/0.1621, allocations: 195.1 kB / 0.506 GB, free: 6.543 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1621, allocations: 0 / 0.506 GB, free: 6.543 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003688/0.1625, allocations: 55.89 kB / 0.506 GB, free: 6.488 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.0003095/0.1628, allocations: 131.1 kB / 0.5062 GB, free: 6.352 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004568/0.1633, allocations: 291.3 kB / 0.5064 GB, free: 6.043 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.1633, allocations: 0 / 0.5064 GB, free: 6.043 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001886/0.1635, allocations: 165.1 kB / 0.5066 GB, free: 5.863 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003426/0.1638, allocations: 24.66 kB / 0.5066 GB, free: 5.84 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009815/0.1648, allocations: 0.5406 MB / 0.5071 GB, free: 5.262 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001705/0.165, allocations: 154.9 kB / 0.5073 GB, free: 5.09 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.715e-05/0.1651, allocations: 26.28 kB / 0.5073 GB, free: 5.066 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.135e-05/0.1651, allocations: 19.44 kB / 0.5073 GB, free: 5.047 MB / 382.1 MB Notification: Performance of SimCode: time 8.51e-07/0.1651, allocations: 3.938 kB / 0.5073 GB, free: 5.043 MB / 382.1 MB Notification: Performance of Templates: time 0.006625/0.1717, allocations: 2.035 MB / 0.5093 GB, free: 3.059 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: 5.231200482696295] Failed to read output from testmodel.py, exit status != 0: 0.18089609779417515 0.41045245199999997 0.25762942099999997 Calling exit ...