Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage.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.001402/0.001402, allocations: 102.3 kB / 19.7 MB, free: 2.254 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.001635/0.001635, allocations: 217.9 kB / 23.01 MB, free: 4.609 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.45/1.45, allocations: 230.6 MB / 256.8 MB, free: 8.055 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8578/0.8578, allocations: 134 MB / 447.2 MB, free: 10.24 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Utilities.Math.Examples.MovingAverage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage") translateModel(IDEAS.Utilities.Math.Examples.MovingAverage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage") [Timeout 660] "Notification: IDEAS 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.001995/0.001995, allocations: 65.5 kB / 0.6198 GB, free: 6.766 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1574/0.1594, allocations: 85.9 MB / 0.7037 GB, free: 0.9375 MB / 0.5138 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.MovingAverage): time 0.003077/0.1625, allocations: 1.619 MB / 0.7052 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001157/0.1636, allocations: 0.5803 MB / 0.7058 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.257e-05/0.1637, allocations: 4 kB / 0.7058 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.307e-05/0.1638, allocations: 3.938 kB / 0.7058 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001042/0.1639, allocations: 19.8 kB / 0.7058 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003246/0.1642, allocations: 51.88 kB / 0.7059 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002208/0.1644, allocations: 99.7 kB / 0.706 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.1645, allocations: 20.09 kB / 0.706 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000106/0.1646, allocations: 39.91 kB / 0.706 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001048/0.1647, allocations: 39.84 kB / 0.7061 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.612e-05/0.1648, allocations: 8 kB / 0.7061 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.845e-05/0.1648, allocations: 12 kB / 0.7061 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.976e-05/0.1648, allocations: 19.97 kB / 0.7061 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.595e-05/0.1649, allocations: 39.78 kB / 0.7061 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001649/0.165, allocations: 83.64 kB / 0.7062 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1651, allocations: 0 / 0.7062 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.703e-06/0.1651, allocations: 0 / 0.7062 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.1651, allocations: 0 / 0.7062 GB, free: 14.29 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0008499/0.1659, allocations: 411.1 kB / 0.7066 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.1659, allocations: 8.031 kB / 0.7066 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.035e-05/0.166, allocations: 12.89 kB / 0.7066 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000265/0.1663, allocations: 133.8 kB / 0.7068 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001158/0.1664, allocations: 81.67 kB / 0.7068 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.37e-05/0.1664, allocations: 12.38 kB / 0.7069 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003083/0.1667, allocations: 101.5 kB / 0.707 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.1667, allocations: 4 kB / 0.707 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.664e-05/0.1668, allocations: 4 kB / 0.707 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.1668, allocations: 0 / 0.707 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003187/0.1671, allocations: 71.92 kB / 0.707 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006095/0.1677, allocations: 315.7 kB / 0.7073 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004105/0.1681, allocations: 90.56 kB / 0.7074 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001693/0.1683, allocations: 44.81 kB / 0.7075 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.342e-05/0.1683, allocations: 4 kB / 0.7075 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003286/0.1686, allocations: 131.3 kB / 0.7076 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=9): time 1.423e-06/0.1686, allocations: 0 / 0.7076 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of matching and sorting (n=9): time 0.0006217/0.1692, allocations: 173.4 kB / 0.7078 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.043e-05/0.1693, allocations: 59.41 kB / 0.7078 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001179/0.1694, allocations: 130.1 kB / 0.7079 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.209e-05/0.1694, allocations: 25.7 kB / 0.708 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.244e-05/0.1695, allocations: 100.1 kB / 0.7081 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.552e-05/0.1696, allocations: 31.73 kB / 0.7081 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.502e-05/0.1696, allocations: 29.7 kB / 0.7081 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000148/0.1698, allocations: 322.8 kB / 0.7084 GB, free: 11.83 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001952/0.17, allocations: 55.95 kB / 0.7085 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001925/0.1702, allocations: 65.67 kB / 0.7085 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000366/0.1705, allocations: 172.7 kB / 0.7087 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.1705, allocations: 0 / 0.7087 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004885/0.171, allocations: 217 kB / 0.7089 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 5.365e-05/0.1711, allocations: 59.41 kB / 0.709 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.1711, allocations: 0 / 0.709 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.1711, allocations: 0 / 0.709 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001368/0.1712, allocations: 27.94 kB / 0.709 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.305e-06/0.1712, allocations: 8 kB / 0.709 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001364/0.1714, allocations: 19.94 kB / 0.709 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.145e-05/0.1714, allocations: 7.938 kB / 0.709 GB, free: 11.16 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,step.count,$PRE.step.count,step.T_start,$PRE.step.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 2 * 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.0001027/0.1715, allocations: 121.8 kB / 0.7091 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.127e-05/0.1715, allocations: 7.953 kB / 0.7092 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.866e-05/0.1716, allocations: 12.38 kB / 0.7092 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.1716, allocations: 0 / 0.7092 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.1716, allocations: 4 kB / 0.7092 GB, free: 11 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.1716, allocations: 0 / 0.7092 GB, free: 11 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001835/0.1717, allocations: 176.9 kB / 0.7093 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1717, allocations: 0 / 0.7093 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001496/0.1719, allocations: 19.92 kB / 0.7094 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.564e-06/0.1719, allocations: 0 / 0.7094 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.965e-05/0.1719, allocations: 15.92 kB / 0.7094 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.1719, allocations: 0 / 0.7094 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1719, allocations: 0 / 0.7094 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006304/0.1726, allocations: 224.8 kB / 0.7096 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.398e-05/0.1726, allocations: 11.98 kB / 0.7096 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.303e-05/0.1726, allocations: 0 / 0.7096 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00012/0.1727, allocations: 15.98 kB / 0.7096 GB, free: 10.49 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.205e-05/0.1728, allocations: 19.97 kB / 0.7096 GB, free: 10.47 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.167e-05/0.1728, allocations: 4 kB / 0.7096 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 7.576e-05/0.1729, allocations: 103.2 kB / 0.7097 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.1729, allocations: 0 / 0.7097 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000216/0.1731, allocations: 24 kB / 0.7098 GB, free: 10.34 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (movingAverage.iDelay,movingAverage.iStop,firstOrder.y) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,step.T_start,step.count) * Number of discrete states: 1 (step.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001212/0.1732, allocations: 99.22 kB / 0.7099 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005403/0.1737, allocations: 230.7 kB / 0.7101 GB, free: 9.984 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1737, allocations: 0 / 0.7101 GB, free: 9.984 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001885/0.1739, allocations: 51.89 kB / 0.7101 GB, free: 9.934 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002454/0.1742, allocations: 26.2 kB / 0.7101 GB, free: 9.91 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006857/0.1749, allocations: 273.4 kB / 0.7104 GB, free: 9.609 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003215/0.1752, allocations: 0.6926 MB / 0.7111 GB, free: 8.891 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.716e-05/0.1752, allocations: 15.44 kB / 0.7111 GB, free: 8.875 MB / 0.5294 GB Notification: Performance of SimCode: time 4.01e-07/0.1752, allocations: 0 / 0.7111 GB, free: 8.875 MB / 0.5294 GB Notification: Performance of Templates: time 0.003411/0.1787, allocations: 1.434 MB / 0.7125 GB, free: 7.449 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.120422397041693] Failed to read output from testmodel.py, exit status != 0: 0.18629891402088106 0.20263219600000001 0.034389202 Calling exit ...