Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Redge.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.001361/0.001361, 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.001578/0.001578, allocations: 215.3 kB / 22.25 MB, free: 5.262 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.535/1.535, allocations: 230.6 MB / 256 MB, free: 7.805 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.08692/0.08692, allocations: 11.34 MB / 323.8 MB, free: 8.121 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.Logical.Timers.Examples.testT_OffDelay_Redge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Redge") translateModel(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Redge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Redge") [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.002059/0.002059, allocations: 71.89 kB / 451.5 MB, free: 9.836 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1418/0.1438, allocations: 56.07 MB / 0.4956 GB, free: 1.668 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Redge): time 0.00448/0.1483, allocations: 1.963 MB / 0.4976 GB, free: 15.69 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003144/0.1515, allocations: 1.35 MB / 0.4989 GB, free: 14.34 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002435/0.1517, allocations: 0 / 0.4989 GB, free: 14.34 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001102/0.1528, allocations: 311.1 kB / 0.4992 GB, free: 14.03 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008242/0.1536, allocations: 269.6 kB / 0.4994 GB, free: 13.77 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008806/0.1545, allocations: 262.4 kB / 0.4997 GB, free: 13.52 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005786/0.1551, allocations: 371 kB / 0.5 GB, free: 13.15 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001535/0.1552, allocations: 28.92 kB / 0.5001 GB, free: 13.12 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002969/0.1555, allocations: 159.4 kB / 0.5002 GB, free: 12.96 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002662/0.1558, allocations: 155.4 kB / 0.5004 GB, free: 12.81 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.077e-05/0.1559, allocations: 20 kB / 0.5004 GB, free: 12.79 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003071/0.1562, allocations: 123.8 kB / 0.5005 GB, free: 12.67 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001444/0.1563, allocations: 91.67 kB / 0.5006 GB, free: 12.58 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000148/0.1565, allocations: 103.3 kB / 0.5007 GB, free: 12.48 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006373/0.1571, allocations: 394.4 kB / 0.5011 GB, free: 12.09 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.1571, allocations: 4 kB / 0.5011 GB, free: 12.09 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1571, allocations: 0 / 0.5011 GB, free: 12.09 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.769e-05/0.1571, allocations: 0 / 0.5011 GB, free: 12.09 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.001338/0.1585, allocations: 0.6206 MB / 0.5017 GB, free: 11.43 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.1585, allocations: 8.031 kB / 0.5017 GB, free: 11.42 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001096/0.1586, allocations: 40.69 kB / 0.5017 GB, free: 11.38 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005745/0.1592, allocations: 284.7 kB / 0.502 GB, free: 11.07 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.466e-05/0.1592, allocations: 16.31 kB / 0.502 GB, free: 11.06 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.222e-05/0.1592, allocations: 15.98 kB / 0.502 GB, free: 11.04 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003251/0.1596, allocations: 127.8 kB / 0.5021 GB, free: 10.91 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.1596, allocations: 0 / 0.5021 GB, free: 10.91 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.659e-05/0.1596, allocations: 0 / 0.5021 GB, free: 10.91 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.1596, allocations: 4 kB / 0.5021 GB, free: 10.91 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001923/0.1598, allocations: 71.95 kB / 0.5022 GB, free: 10.84 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007873/0.1606, allocations: 408.1 kB / 0.5026 GB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004552/0.161, allocations: 162.6 kB / 0.5028 GB, free: 10.24 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001376/0.1612, allocations: 52.84 kB / 0.5028 GB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.302e-05/0.1612, allocations: 4 kB / 0.5028 GB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002898/0.1615, allocations: 141.8 kB / 0.5029 GB, free: 10.04 MB / 382.1 MB Notification: Performance of pre-optimization done (n=18): time 1.904e-06/0.1615, allocations: 0 / 0.5029 GB, free: 10.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.0006862/0.1622, allocations: 301.2 kB / 0.5032 GB, free: 9.734 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.344e-05/0.1622, allocations: 59.39 kB / 0.5033 GB, free: 9.664 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005978/0.1628, allocations: 461.6 kB / 0.5037 GB, free: 9.203 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.199e-05/0.1629, allocations: 33.7 kB / 0.5038 GB, free: 9.164 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000174/0.163, allocations: 172.5 kB / 0.5039 GB, free: 8.992 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.463e-05/0.1631, allocations: 43.69 kB / 0.504 GB, free: 8.949 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.972e-05/0.1632, allocations: 41.7 kB / 0.504 GB, free: 8.902 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001889/0.1634, allocations: 350.8 kB / 0.5043 GB, free: 8.551 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001272/0.1635, allocations: 48.41 kB / 0.5044 GB, free: 8.504 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002585/0.1637, allocations: 194 kB / 0.5046 GB, free: 8.266 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003818/0.1641, allocations: 208.3 kB / 0.5048 GB, free: 8.031 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.1641, allocations: 0 / 0.5048 GB, free: 8.031 MB / 382.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004675/0.1646, allocations: 233.2 kB / 0.505 GB, free: 7.797 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.418e-05/0.1646, allocations: 8 kB / 0.505 GB, free: 7.789 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.377e-06/0.1646, allocations: 4 kB / 0.505 GB, free: 7.785 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.1646, allocations: 0 / 0.505 GB, free: 7.785 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001316/0.1648, allocations: 35.92 kB / 0.505 GB, free: 7.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.661e-05/0.1648, allocations: 7.984 kB / 0.505 GB, free: 7.742 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001425/0.1649, allocations: 24.08 kB / 0.5051 GB, free: 7.719 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.884e-05/0.165, allocations: 12 kB / 0.5051 GB, free: 7.707 MB / 382.1 MB Warning: Assuming fixed start value for the following 3 variables: timer.Sd:DISCRETE(fixed = true ) type: Boolean timer.Q:DISCRETE(flow=false fixed = true ) \"status of the timer\" type: Boolean timer.tr:DISCRETE(flow=false fixed = true ) \"residual time\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 23 ($PRE.timer.Sd,timer.Sd,timer.run,$PRE.timer.run,timer.startTime,$PRE.timer.startTime,$PRE.timer.Q,timer.Q,$PRE.timer.tr,timer.tr,$PRE.ResetSignal.combiTimeTable.nextTimeEvent,$whenCondition3,$PRE.SetSignal.combiTimeTable.nextTimeEvent,$whenCondition2,$whenCondition1,ResetSignal.combiTimeTable.nextTimeEventScaled,$PRE.ResetSignal.combiTimeTable.nextTimeEventScaled,ResetSignal.combiTimeTable.nextTimeEvent,ResetSignal.y,SetSignal.combiTimeTable.nextTimeEventScaled,$PRE.SetSignal.combiTimeTable.nextTimeEventScaled,SetSignal.combiTimeTable.nextTimeEvent,SetSignal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * 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.0002869/0.1652, allocations: 192.4 kB / 0.5053 GB, free: 7.512 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.066e-05/0.1653, allocations: 31.77 kB / 0.5053 GB, free: 7.48 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005435/0.1658, allocations: 264.8 kB / 0.5055 GB, free: 7.219 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.203e-06/0.1659, allocations: 4 kB / 0.5055 GB, free: 7.215 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.1659, allocations: 0 / 0.5055 GB, free: 7.215 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.1659, allocations: 7.984 kB / 0.5056 GB, free: 7.207 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003189/0.1662, allocations: 233 kB / 0.5058 GB, free: 6.949 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.1662, allocations: 0 / 0.5058 GB, free: 6.949 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.392e-05/0.1662, allocations: 11.98 kB / 0.5058 GB, free: 6.938 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.1662, allocations: 0 / 0.5058 GB, free: 6.938 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.852e-05/0.1663, allocations: 4 kB / 0.5058 GB, free: 6.934 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.1663, allocations: 0 / 0.5058 GB, free: 6.934 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.596e-06/0.1663, allocations: 7.875 kB / 0.5058 GB, free: 6.926 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006523/0.1669, allocations: 294.6 kB / 0.5061 GB, free: 6.621 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001003/0.167, allocations: 27.77 kB / 0.5061 GB, free: 6.594 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.377e-05/0.1671, allocations: 12 kB / 0.5061 GB, free: 6.582 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001396/0.1672, allocations: 11.98 kB / 0.5061 GB, free: 6.57 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.028e-05/0.1673, allocations: 15.97 kB / 0.5061 GB, free: 6.555 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-05/0.1673, allocations: 8 kB / 0.5062 GB, free: 6.547 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004797/0.1678, allocations: 335.1 kB / 0.5065 GB, free: 6.219 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1678, allocations: 0 / 0.5065 GB, free: 6.219 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004036/0.1682, allocations: 67.86 kB / 0.5065 GB, free: 6.152 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition3,$whenCondition2,$whenCondition1,timer.Q,timer.tr,timer.run,timer.startTime,timer.Sd,SetSignal.y,SetSignal.combiTimeTable.nextTimeEvent,SetSignal.combiTimeTable.nextTimeEventScaled,ResetSignal.y,ResetSignal.combiTimeTable.nextTimeEvent,ResetSignal.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 6 (timer.Sd,timer.run,SetSignal.combiTimeTable.nextTimeEvent,ResetSignal.combiTimeTable.nextTimeEvent,SetSignal.combiTimeTable.nextTimeEventScaled,ResetSignal.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.001947/0.1702, allocations: 486.3 kB / 0.507 GB, free: 5.855 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004483/0.1706, allocations: 159.8 kB / 0.5072 GB, free: 5.699 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.1706, allocations: 3.938 kB / 0.5072 GB, free: 5.695 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002033/0.1708, allocations: 75.91 kB / 0.5072 GB, free: 5.621 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004634/0.1713, allocations: 79.11 kB / 0.5073 GB, free: 5.551 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001113/0.1724, allocations: 0.5195 MB / 0.5078 GB, free: 5.004 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002134/0.1726, allocations: 178.6 kB / 0.508 GB, free: 4.809 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000159/0.1728, allocations: 47.2 kB / 0.508 GB, free: 4.766 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.491e-05/0.1729, allocations: 31.42 kB / 0.5081 GB, free: 4.734 MB / 382.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1729, allocations: 0 / 0.5081 GB, free: 4.734 MB / 382.1 MB Notification: Performance of Templates: time 0.0125/0.1854, allocations: 4.716 MB / 0.5127 GB, free: 80 kB / 382.1 MB " [Timeout remaining time 659] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Redge.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Redge.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Redge.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Redge.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Redge.sim & ./IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Redge -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Redge.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.403693355619907] Failed to read output from testmodel.py, exit status != 0: 0.5172881353646517 0.5308919040000001 0.370805219 Calling exit ...