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.001337/0.001337, allocations: 105.1 kB / 16.41 MB, free: 6.465 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.001308/0.001308, allocations: 187 kB / 17.34 MB, free: 5.715 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.442/1.442, allocations: 222.9 MB / 241.1 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8695/0.8695, allocations: 135.2 MB / 426.4 MB, free: 4.086 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001972/0.001972, allocations: 69.16 kB / 0.5863 GB, free: 21.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1769/0.1788, allocations: 80.93 MB / 0.6654 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.MovingAverage): time 0.004154/0.183, allocations: 1.583 MB / 0.6669 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001328/0.1843, allocations: 0.5297 MB / 0.6674 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.54e-05/0.1844, allocations: 0 / 0.6674 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.122e-05/0.1844, allocations: 3.938 kB / 0.6674 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001354/0.1846, allocations: 23.86 kB / 0.6675 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003656/0.1849, allocations: 51.81 kB / 0.6675 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003248/0.1853, allocations: 99.75 kB / 0.6676 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000117/0.1854, allocations: 12.12 kB / 0.6676 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001178/0.1855, allocations: 43.89 kB / 0.6677 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001146/0.1856, allocations: 39.83 kB / 0.6677 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.305e-05/0.1857, allocations: 8 kB / 0.6677 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.224e-05/0.1857, allocations: 8 kB / 0.6677 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.949e-05/0.1857, allocations: 23.92 kB / 0.6677 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.789e-05/0.1858, allocations: 35.84 kB / 0.6678 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001983/0.186, allocations: 91.58 kB / 0.6679 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.186, allocations: 0 / 0.6679 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.394e-06/0.186, allocations: 0 / 0.6679 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.253e-06/0.186, allocations: 0 / 0.6679 GB, free: 3.188 MB / 0.4981 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.001138/0.1872, allocations: 458.6 kB / 0.6683 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.067e-05/0.1872, allocations: 9.109 kB / 0.6683 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.14e-05/0.1873, allocations: 12.89 kB / 0.6683 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004354/0.1877, allocations: 200.2 kB / 0.6685 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001061/0.1878, allocations: 38.25 kB / 0.6685 GB, free: 2.383 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.237e-05/0.1879, allocations: 12.33 kB / 0.6685 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003895/0.1883, allocations: 101.5 kB / 0.6686 GB, free: 2.266 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.598e-05/0.1883, allocations: 0 / 0.6686 GB, free: 2.266 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.923e-05/0.1883, allocations: 0 / 0.6686 GB, free: 2.266 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.1883, allocations: 0 / 0.6686 GB, free: 2.266 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004145/0.1887, allocations: 79.92 kB / 0.6687 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008125/0.1895, allocations: 328.7 kB / 0.669 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005417/0.1901, allocations: 98.59 kB / 0.6691 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002253/0.1903, allocations: 40.83 kB / 0.6692 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.932e-05/0.1903, allocations: 4 kB / 0.6692 GB, free: 1.664 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004251/0.1907, allocations: 127.3 kB / 0.6693 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 2.255e-06/0.1908, allocations: 0 / 0.6693 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0009733/0.1917, allocations: 169.8 kB / 0.6695 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.376e-05/0.1918, allocations: 55.34 kB / 0.6695 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001485/0.1919, allocations: 126 kB / 0.6696 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.9e-05/0.192, allocations: 37.78 kB / 0.6697 GB, free: 1.113 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.081e-05/0.1921, allocations: 92.08 kB / 0.6698 GB, free: 1.02 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.596e-05/0.1921, allocations: 35.72 kB / 0.6698 GB, free: 0.9844 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.462e-05/0.1922, allocations: 25.72 kB / 0.6698 GB, free: 0.9531 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001857/0.1924, allocations: 326.8 kB / 0.6701 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002562/0.1927, allocations: 51.95 kB / 0.6702 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002644/0.1929, allocations: 76.48 kB / 0.6702 GB, free: 0.4961 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005166/0.1934, allocations: 168.7 kB / 0.6704 GB, free: 324 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/0.1934, allocations: 0 / 0.6704 GB, free: 324 kB / 0.4981 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006674/0.1941, allocations: 224.9 kB / 0.6706 GB, free: 80 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.895e-05/0.1942, allocations: 59.41 kB / 0.6707 GB, free: 8 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.1942, allocations: 0 / 0.6707 GB, free: 8 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-05/0.1942, allocations: 0 / 0.6707 GB, free: 8 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000299/0.1945, allocations: 31.92 kB / 0.6707 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.1945, allocations: 0 / 0.6707 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001744/0.1947, allocations: 19.91 kB / 0.6707 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.03e-05/0.1947, allocations: 11.97 kB / 0.6707 GB, free: 15.95 MB / 0.5137 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.0001468/0.1949, allocations: 117.8 kB / 0.6708 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.59e-05/0.1949, allocations: 11.95 kB / 0.6709 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.803e-05/0.1949, allocations: 8.375 kB / 0.6709 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.1949, allocations: 3.984 kB / 0.6709 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.1949, allocations: 0 / 0.6709 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.195, allocations: 0 / 0.6709 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000281/0.1952, allocations: 201.5 kB / 0.6711 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1952, allocations: 4 kB / 0.6711 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001885/0.1954, allocations: 23.97 kB / 0.6711 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.1954, allocations: 0 / 0.6711 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.26e-05/0.1955, allocations: 7.938 kB / 0.6711 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1955, allocations: 0 / 0.6711 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.1955, allocations: 0 / 0.6711 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009554/0.1964, allocations: 228.8 kB / 0.6713 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.731e-05/0.1965, allocations: 89.14 kB / 0.6714 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.067e-05/0.1965, allocations: 0 / 0.6714 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001551/0.1967, allocations: 16.03 kB / 0.6714 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.986e-05/0.1968, allocations: 19.97 kB / 0.6714 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.575e-05/0.1968, allocations: 4.094 kB / 0.6714 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001215/0.1969, allocations: 99.14 kB / 0.6715 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1969, allocations: 8 kB / 0.6715 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003703/0.1973, allocations: 20 kB / 0.6716 GB, free: 15 MB / 0.5137 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.0001789/0.1975, allocations: 99.23 kB / 0.6717 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0006918/0.1982, allocations: 222.7 kB / 0.6719 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.1982, allocations: 0 / 0.6719 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000256/0.1984, allocations: 55.95 kB / 0.6719 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003775/0.1988, allocations: 23.97 kB / 0.6719 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009708/0.1998, allocations: 269.6 kB / 0.6722 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004764/0.2002, allocations: 0.7007 MB / 0.6729 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.477e-05/0.2003, allocations: 19.44 kB / 0.6729 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of SimCode: time 4.71e-07/0.2003, allocations: 0 / 0.6729 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of Templates: time 0.004587/0.2049, allocations: 1.438 MB / 0.6743 GB, free: 12.11 MB / 0.5137 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)