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.001052/0.001052, allocations: 91.45 kB / 15.36 MB, free: 0.7383 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.008563/0.008563, allocations: 172.5 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.468/1.468, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9748/0.9748, allocations: 135.3 MB / 426.7 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004914/0.0004915, allocations: 8.969 kB / 0.5076 GB, free: 4.789 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1598/0.1603, allocations: 82.31 MB / 0.588 GB, free: 2.656 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.MovingAverage): time 0.001736/0.1621, allocations: 1.301 MB / 0.5892 GB, free: 1.34 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009193/0.163, allocations: 0.5183 MB / 0.5897 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.607e-05/0.1631, allocations: 4 kB / 0.5897 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.17e-05/0.1631, allocations: 3.938 kB / 0.5897 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001038/0.1632, allocations: 15.91 kB / 0.5898 GB, free: 0.793 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002733/0.1635, allocations: 43.89 kB / 0.5898 GB, free: 0.75 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001663/0.1637, allocations: 91.77 kB / 0.5899 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.1638, allocations: 16.16 kB / 0.5899 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.461e-05/0.1639, allocations: 39.84 kB / 0.5899 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.095e-05/0.164, allocations: 39.83 kB / 0.59 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.447e-05/0.164, allocations: 4 kB / 0.59 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.829e-05/0.1641, allocations: 4 kB / 0.59 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.226e-05/0.1641, allocations: 19.91 kB / 0.59 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.588e-05/0.1642, allocations: 53.56 kB / 0.5901 GB, free: 492 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001317/0.1643, allocations: 75.95 kB / 0.5901 GB, free: 416 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.1643, allocations: 4 kB / 0.5901 GB, free: 412 kB / 494.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.1643, allocations: 0 / 0.5901 GB, free: 412 kB / 494.1 MB Notification: Performance of Transformations before backend: time 4.568e-06/0.1643, allocations: 0 / 0.5901 GB, free: 412 kB / 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.0007791/0.1651, allocations: 446.7 kB / 0.5906 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.1652, allocations: 8.031 kB / 0.5906 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.447e-05/0.1653, allocations: 12.84 kB / 0.5906 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002027/0.1655, allocations: 196.1 kB / 0.5908 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.571e-05/0.1656, allocations: 38.27 kB / 0.5908 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.346e-05/0.1656, allocations: 8.375 kB / 0.5908 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003276/0.1659, allocations: 101.6 kB / 0.5909 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.166, allocations: 0 / 0.5909 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.001e-05/0.166, allocations: 7.984 kB / 0.5909 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.347e-06/0.166, allocations: 8 kB / 0.5909 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003554/0.1664, allocations: 87.88 kB / 0.591 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005819/0.167, allocations: 352.6 kB / 0.5913 GB, free: 15 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004197/0.1674, allocations: 106.6 kB / 0.5914 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001834/0.1676, allocations: 60.81 kB / 0.5915 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.833e-05/0.1676, allocations: 0 / 0.5915 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003441/0.168, allocations: 131.2 kB / 0.5916 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 3.917e-06/0.168, allocations: 0 / 0.5916 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.000655/0.1686, allocations: 205.4 kB / 0.5918 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.371e-05/0.1687, allocations: 59.39 kB / 0.5919 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.266e-05/0.1688, allocations: 122.1 kB / 0.592 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.974e-05/0.1688, allocations: 33.7 kB / 0.592 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.643e-05/0.1689, allocations: 95.97 kB / 0.5921 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.169e-05/0.1689, allocations: 23.7 kB / 0.5921 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.569e-05/0.169, allocations: 17.72 kB / 0.5922 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.1691, allocations: 334.8 kB / 0.5925 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002122/0.1693, allocations: 63.89 kB / 0.5925 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000212/0.1695, allocations: 81.67 kB / 0.5926 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004102/0.17, allocations: 180.4 kB / 0.5928 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.17, allocations: 0 / 0.5928 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005329/0.1705, allocations: 236.9 kB / 0.593 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.044e-05/0.1706, allocations: 59.41 kB / 0.5931 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.1706, allocations: 3.984 kB / 0.5931 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.1706, allocations: 0 / 0.5931 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000142/0.1708, allocations: 23.98 kB / 0.5931 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.317e-06/0.1708, allocations: 4 kB / 0.5931 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001563/0.1709, allocations: 31.83 kB / 0.5931 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.689e-05/0.171, allocations: 7.938 kB / 0.5931 GB, free: 13.03 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,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 9.685e-05/0.1711, allocations: 129.8 kB / 0.5933 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.104e-05/0.1711, allocations: 7.906 kB / 0.5933 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.271e-05/0.1711, allocations: 12.38 kB / 0.5933 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.1711, allocations: 0 / 0.5933 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.1712, allocations: 0 / 0.5933 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.1712, allocations: 4 kB / 0.5933 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001775/0.1713, allocations: 197.5 kB / 0.5935 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1714, allocations: 0 / 0.5935 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001591/0.1715, allocations: 28.36 kB / 0.5935 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.1715, allocations: 0 / 0.5935 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.701e-05/0.1716, allocations: 3.984 kB / 0.5935 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.1716, allocations: 0 / 0.5935 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1716, allocations: 7.938 kB / 0.5935 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006625/0.1722, allocations: 256.5 kB / 0.5938 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.439e-05/0.1723, allocations: 88.95 kB / 0.5938 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.619e-05/0.1723, allocations: 4.031 kB / 0.5939 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001402/0.1725, allocations: 19.98 kB / 0.5939 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.355e-05/0.1726, allocations: 23.91 kB / 0.5939 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.296e-05/0.1726, allocations: 8 kB / 0.5939 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.592e-05/0.1726, allocations: 99.2 kB / 0.594 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1726, allocations: 0 / 0.594 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002221/0.1729, allocations: 24 kB / 0.594 GB, free: 12.04 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 (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.00012/0.173, allocations: 99.23 kB / 0.5941 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000511/0.1735, allocations: 250 kB / 0.5944 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1735, allocations: 0 / 0.5944 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002285/0.1738, allocations: 75.95 kB / 0.5944 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002635/0.174, allocations: 19.64 kB / 0.5944 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006433/0.1747, allocations: 281.2 kB / 0.5947 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002334/0.1749, allocations: 0.6926 MB / 0.5954 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.016e-05/0.175, allocations: 8.438 kB / 0.5954 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.613e-05/0.1751, allocations: 15.42 kB / 0.5954 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1751, allocations: 4 kB / 0.5954 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of Templates: time 0.003952/0.179, allocations: 1.31 MB / 0.5967 GB, free: 9.219 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.MovingAverage.makefile (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)