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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) 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=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.MovingAverage") translateModel(IDEAS.Utilities.Math.Examples.MovingAverage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.MovingAverage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008562/0.0008561, allocations: 100.1 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000923/0.0009231, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.216/1.216, allocations: 223.2 MB / 239.9 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8829/0.8829, allocations: 135.2 MB / 426.2 MB, free: 14.29 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000314/0.0003141, allocations: 13.72 kB / 0.5068 GB, free: 5.266 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.157/0.1574, allocations: 82.3 MB / 0.5872 GB, free: 3.133 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.MovingAverage): time 0.001608/0.159, allocations: 1.277 MB / 0.5884 GB, free: 1.844 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007691/0.1598, allocations: 495.2 kB / 0.5889 GB, free: 1.355 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.351e-05/0.1599, allocations: 0 / 0.5889 GB, free: 1.355 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.787e-05/0.1599, allocations: 7.922 kB / 0.5889 GB, free: 1.348 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.669e-05/0.16, allocations: 7.984 kB / 0.5889 GB, free: 1.34 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000237/0.1603, allocations: 55.81 kB / 0.589 GB, free: 1.285 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001445/0.1604, allocations: 51.92 kB / 0.589 GB, free: 1.234 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.047e-05/0.1605, allocations: 24.09 kB / 0.5891 GB, free: 1.211 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.221e-05/0.1606, allocations: 23.92 kB / 0.5891 GB, free: 1.188 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.423e-05/0.1607, allocations: 39.88 kB / 0.5891 GB, free: 1.148 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.428e-05/0.1607, allocations: 4 kB / 0.5891 GB, free: 1.145 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.648e-05/0.1607, allocations: 4 kB / 0.5891 GB, free: 1.141 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.46e-05/0.1608, allocations: 19.91 kB / 0.5891 GB, free: 1.121 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.266e-05/0.1608, allocations: 33.7 kB / 0.5892 GB, free: 1.082 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.305e-05/0.1609, allocations: 68.05 kB / 0.5892 GB, free: 1.016 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.454e-06/0.1609, allocations: 0 / 0.5892 GB, free: 1.016 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1609, allocations: 0 / 0.5892 GB, free: 1.016 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.085e-06/0.1609, allocations: 0 / 0.5892 GB, free: 1.016 MB / 494.1 MB 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.0006766/0.1616, allocations: 446.5 kB / 0.5897 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.09e-05/0.1616, allocations: 12.03 kB / 0.5897 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.451e-05/0.1617, allocations: 7.906 kB / 0.5897 GB, free: 0.5 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001825/0.1619, allocations: 194.8 kB / 0.5899 GB, free: 276 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.02e-05/0.162, allocations: 37.69 kB / 0.5899 GB, free: 232 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.85e-05/0.162, allocations: 8 kB / 0.5899 GB, free: 224 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002651/0.1623, allocations: 109.5 kB / 0.59 GB, free: 108 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.1623, allocations: 0 / 0.59 GB, free: 108 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.535e-05/0.1623, allocations: 4 kB / 0.59 GB, free: 104 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.1623, allocations: 4 kB / 0.59 GB, free: 100 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003016/0.1626, allocations: 87.92 kB / 0.5901 GB, free: 12 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005207/0.1632, allocations: 344.7 kB / 0.5904 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003782/0.1636, allocations: 106.5 kB / 0.5905 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.757e-05/0.1636, allocations: 8 kB / 0.5905 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003054/0.1639, allocations: 127.3 kB / 0.5907 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.373e-06/0.1639, allocations: 0 / 0.5907 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0005897/0.1645, allocations: 201.5 kB / 0.5909 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/0.1646, allocations: 55.41 kB / 0.5909 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.339e-05/0.1646, allocations: 129.9 kB / 0.591 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.348e-05/0.1647, allocations: 29.7 kB / 0.5911 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.818e-05/0.1647, allocations: 104.1 kB / 0.5912 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.625e-05/0.1648, allocations: 23.62 kB / 0.5912 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.517e-06/0.1648, allocations: 4 kB / 0.5912 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.945e-05/0.1649, allocations: 322.8 kB / 0.5915 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001825/0.1651, allocations: 59.95 kB / 0.5916 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001831/0.1653, allocations: 83.92 kB / 0.5916 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001931/0.1655, allocations: 107.4 kB / 0.5917 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.1655, allocations: 0 / 0.5917 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004597/0.166, allocations: 248 kB / 0.592 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.351e-05/0.166, allocations: 65.73 kB / 0.592 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.166, allocations: 384 / 0.592 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.166, allocations: 0 / 0.592 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001218/0.1662, allocations: 28.02 kB / 0.5921 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.1662, allocations: 4 kB / 0.5921 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001307/0.1663, allocations: 35.81 kB / 0.5921 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.314e-05/0.1663, allocations: 4 kB / 0.5921 GB, free: 13.8 MB / 0.4981 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,$whenCondition1,$PRE.step.T_start,step.T_start,$PRE.step.count,step.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.422e-05/0.1664, allocations: 125.8 kB / 0.5922 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.659e-05/0.1665, allocations: 7.906 kB / 0.5922 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.807e-05/0.1665, allocations: 16.38 kB / 0.5922 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.1665, allocations: 0 / 0.5922 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.1665, allocations: 0 / 0.5922 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.1665, allocations: 0 / 0.5922 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000157/0.1667, allocations: 197.5 kB / 0.5924 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.1667, allocations: 4 kB / 0.5924 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001319/0.1668, allocations: 19.98 kB / 0.5925 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.1669, allocations: 4 kB / 0.5925 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.329e-05/0.1669, allocations: 7.984 kB / 0.5925 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.1669, allocations: 4 kB / 0.5925 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1669, allocations: 0 / 0.5925 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005774/0.1675, allocations: 244.8 kB / 0.5927 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.696e-05/0.1675, allocations: 89 kB / 0.5928 GB, free: 13 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.235e-05/0.1675, allocations: 7.984 kB / 0.5928 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001173/0.1677, allocations: 15.98 kB / 0.5928 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.524e-05/0.1677, allocations: 23.91 kB / 0.5928 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.027e-06/0.1678, allocations: 3.938 kB / 0.5928 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.687e-05/0.1678, allocations: 99.27 kB / 0.5929 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1678, allocations: 0 / 0.5929 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002003/0.168, allocations: 20 kB / 0.593 GB, free: 12.83 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001302/0.1682, allocations: 111.2 kB / 0.5931 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004594/0.1686, allocations: 246.7 kB / 0.5933 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1686, allocations: 0 / 0.5933 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001825/0.1688, allocations: 59.91 kB / 0.5934 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001856/0.169, allocations: 23.06 kB / 0.5934 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005655/0.1696, allocations: 281.3 kB / 0.5936 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002293/0.1698, allocations: 0.6965 MB / 0.5943 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.919e-05/0.1699, allocations: 8.438 kB / 0.5943 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.673e-05/0.1699, allocations: 11.44 kB / 0.5943 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of SimCode: time 3.91e-07/0.1699, allocations: 0 / 0.5943 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of Templates: time 0.00322/0.1732, allocations: 1.253 MB / 0.5956 GB, free: 10.07 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.MovingAverage.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: