Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.MovingAverage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001261/0.001261, allocations: 113.6 kB / 17.08 MB, free: 5.961 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00134/0.00134, allocations: 194.2 kB / 20.03 MB, free: 3.039 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.424/1.424, allocations: 222.9 MB / 245.7 MB, free: 4.191 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.19/1.19, allocations: 173.4 MB / 471.3 MB, free: 6.562 MB / 366.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-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Utilities.Math.Examples.MovingAverage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.MovingAverage") translateModel(IDEAS.Utilities.Math.Examples.MovingAverage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.MovingAverage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00205/0.00205, allocations: 71.27 kB / 0.649 GB, free: 22.95 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1573/0.1594, allocations: 89.53 MB / 0.7364 GB, free: 3.602 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.MovingAverage): time 0.00304/0.1625, allocations: 1.572 MB / 0.738 GB, free: 2.016 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001039/0.1635, allocations: 0.5269 MB / 0.7385 GB, free: 1.484 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.036e-05/0.1636, allocations: 4 kB / 0.7385 GB, free: 1.48 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.089e-05/0.1637, allocations: 7.875 kB / 0.7385 GB, free: 1.473 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 9.734e-05/0.1638, allocations: 15.84 kB / 0.7385 GB, free: 1.457 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002749/0.1641, allocations: 51.88 kB / 0.7385 GB, free: 1.406 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002074/0.1643, allocations: 103.8 kB / 0.7386 GB, free: 1.305 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.661e-05/0.1644, allocations: 16.19 kB / 0.7387 GB, free: 1.289 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 9.864e-05/0.1645, allocations: 43.83 kB / 0.7387 GB, free: 1.246 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001039/0.1646, allocations: 47.77 kB / 0.7387 GB, free: 1.199 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.763e-05/0.1647, allocations: 8 kB / 0.7388 GB, free: 1.191 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 2.167e-05/0.1647, allocations: 8 kB / 0.7388 GB, free: 1.184 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.872e-05/0.1647, allocations: 19.92 kB / 0.7388 GB, free: 1.164 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.26e-05/0.1648, allocations: 39.78 kB / 0.7388 GB, free: 1.125 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001781/0.165, allocations: 83.69 kB / 0.7389 GB, free: 1.043 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.165, allocations: 0 / 0.7389 GB, free: 1.043 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.372e-06/0.165, allocations: 0 / 0.7389 GB, free: 1.043 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.044e-05/0.165, allocations: 4 kB / 0.7389 GB, free: 1.039 MB / 0.545 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.0008329/0.1659, allocations: 458.5 kB / 0.7393 GB, free: 0.5312 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.1659, allocations: 12.03 kB / 0.7394 GB, free: 0.5195 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.323e-05/0.166, allocations: 8.891 kB / 0.7394 GB, free: 0.5117 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002764/0.1662, allocations: 188.3 kB / 0.7395 GB, free: 296 kB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.157e-05/0.1663, allocations: 46.19 kB / 0.7396 GB, free: 244 kB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.001e-05/0.1664, allocations: 8.375 kB / 0.7396 GB, free: 236 kB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003637/0.1668, allocations: 97.56 kB / 0.7397 GB, free: 132 kB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.1668, allocations: 0 / 0.7397 GB, free: 132 kB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.1668, allocations: 0 / 0.7397 GB, free: 132 kB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-06/0.1668, allocations: 4 kB / 0.7397 GB, free: 128 kB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003251/0.1671, allocations: 71.92 kB / 0.7398 GB, free: 56 kB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000618/0.1678, allocations: 344.6 kB / 0.7401 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004144/0.1682, allocations: 94.56 kB / 0.7402 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001717/0.1684, allocations: 44.83 kB / 0.7402 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.15e-05/0.1684, allocations: 4 kB / 0.7402 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003094/0.1687, allocations: 115.3 kB / 0.7403 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=9): time 1.462e-06/0.1687, allocations: 0 / 0.7403 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of matching and sorting (n=9): time 0.0006633/0.1694, allocations: 181.8 kB / 0.7405 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.092e-05/0.1695, allocations: 51.5 kB / 0.7406 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001129/0.1696, allocations: 134 kB / 0.7407 GB, free: 15 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.418e-05/0.1696, allocations: 29.64 kB / 0.7407 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.429e-05/0.1697, allocations: 92.09 kB / 0.7408 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.777e-05/0.1697, allocations: 39.72 kB / 0.7408 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.901e-05/0.1698, allocations: 33.7 kB / 0.7409 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.1699, allocations: 326.8 kB / 0.7412 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001964/0.1701, allocations: 47.97 kB / 0.7412 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001981/0.1703, allocations: 67.36 kB / 0.7413 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003804/0.1707, allocations: 172.4 kB / 0.7415 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1707, allocations: 0 / 0.7415 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005032/0.1713, allocations: 220.9 kB / 0.7417 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.072e-05/0.1713, allocations: 67.44 kB / 0.7417 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.1713, allocations: 0 / 0.7417 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.1713, allocations: 3.984 kB / 0.7417 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001296/0.1715, allocations: 23.97 kB / 0.7418 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.1715, allocations: 4 kB / 0.7418 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001301/0.1716, allocations: 11.98 kB / 0.7418 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.347e-05/0.1717, allocations: 11.94 kB / 0.7418 GB, free: 13.8 MB / 0.5606 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.000107/0.1718, allocations: 125.7 kB / 0.7419 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.227e-05/0.1718, allocations: 11.94 kB / 0.7419 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.448e-05/0.1719, allocations: 12.38 kB / 0.7419 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.1719, allocations: 0 / 0.7419 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.1719, allocations: 0 / 0.7419 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/0.1719, allocations: 4 kB / 0.7419 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002018/0.1721, allocations: 201.5 kB / 0.7421 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.1721, allocations: 0 / 0.7421 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001384/0.1723, allocations: 19.98 kB / 0.7421 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.1723, allocations: 0 / 0.7421 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.1723, allocations: 4 kB / 0.7421 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.1723, allocations: 4 kB / 0.7422 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.1723, allocations: 0 / 0.7422 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006437/0.1729, allocations: 224.8 kB / 0.7424 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.169e-05/0.173, allocations: 89.06 kB / 0.7425 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.726e-05/0.1731, allocations: 4 kB / 0.7425 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001304/0.1732, allocations: 20.05 kB / 0.7425 GB, free: 13 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.038e-05/0.1733, allocations: 19.92 kB / 0.7425 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.209e-05/0.1733, allocations: 4 kB / 0.7425 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.748e-05/0.1734, allocations: 99.2 kB / 0.7426 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1734, allocations: 0 / 0.7426 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002175/0.1736, allocations: 20 kB / 0.7426 GB, free: 12.86 MB / 0.5606 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.0001289/0.1737, allocations: 111.2 kB / 0.7427 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005203/0.1743, allocations: 226.7 kB / 0.7429 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.1743, allocations: 0 / 0.7429 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002016/0.1745, allocations: 55.95 kB / 0.743 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002453/0.1747, allocations: 20.05 kB / 0.743 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006977/0.1754, allocations: 277.5 kB / 0.7433 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003885/0.1758, allocations: 0.6963 MB / 0.7439 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.068e-05/0.1759, allocations: 19.44 kB / 0.744 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of SimCode: time 2.51e-07/0.1759, allocations: 4 kB / 0.744 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of Templates: time 0.003522/0.1795, allocations: 1.439 MB / 0.7454 GB, free: 9.938 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.MovingAverage.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.MovingAverage.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.MovingAverage.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.MovingAverage.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.MovingAverage.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.MovingAverage -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.MovingAverage.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.061721401987597] Failed to read output from testmodel.py, exit status != 0: 0.18594081606715918 0.20013060200000002 0.032446478 Calling exit ...