Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.Average.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.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.Average") translateModel(IDEAS.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.Average") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001518/0.001518, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001385/0.001385, allocations: 196.8 kB / 16.53 MB, free: 6.664 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.553/1.553, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.048/1.048, allocations: 135.6 MB / 425.9 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001936, allocations: 67.77 kB / 0.5059 GB, free: 4.832 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1736/0.1756, allocations: 81.02 MB / 0.585 GB, free: 3.938 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Average): time 0.002955/0.1786, allocations: 1.523 MB / 0.5865 GB, free: 2.391 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003394/0.1789, allocations: 114.2 kB / 0.5866 GB, free: 2.277 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.105e-05/0.179, allocations: 0 / 0.5866 GB, free: 2.277 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001217/0.1791, allocations: 11.86 kB / 0.5866 GB, free: 2.266 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 2.481e-05/0.1792, allocations: 7.938 kB / 0.5866 GB, free: 2.258 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002336/0.1794, allocations: 23.97 kB / 0.5866 GB, free: 2.234 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.544e-05/0.1795, allocations: 51.84 kB / 0.5867 GB, free: 2.184 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001323/0.1796, allocations: 31.97 kB / 0.5867 GB, free: 2.152 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.466e-05/0.1797, allocations: 23.86 kB / 0.5867 GB, free: 2.129 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.19e-05/0.1798, allocations: 31.84 kB / 0.5868 GB, free: 2.098 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.77e-05/0.1798, allocations: 4 kB / 0.5868 GB, free: 2.094 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.375e-05/0.1799, allocations: 12 kB / 0.5868 GB, free: 2.082 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.76e-05/0.1799, allocations: 15.92 kB / 0.5868 GB, free: 2.066 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.119e-05/0.18, allocations: 31.86 kB / 0.5868 GB, free: 2.035 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001282/0.1801, allocations: 59.8 kB / 0.5869 GB, free: 1.977 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.1801, allocations: 0 / 0.5869 GB, free: 1.977 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1801, allocations: 0 / 0.5869 GB, free: 1.977 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.1801, allocations: 0 / 0.5869 GB, free: 1.977 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005935/0.1807, allocations: 375.6 kB / 0.5872 GB, free: 1.559 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.1808, allocations: 12.03 kB / 0.5872 GB, free: 1.547 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.932e-05/0.1808, allocations: 4.844 kB / 0.5872 GB, free: 1.543 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001924/0.181, allocations: 196.1 kB / 0.5874 GB, free: 1.312 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.1811, allocations: 4.375 kB / 0.5874 GB, free: 1.309 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.302e-05/0.1811, allocations: 4.375 kB / 0.5874 GB, free: 1.305 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002846/0.1814, allocations: 86.2 kB / 0.5875 GB, free: 1.215 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.1814, allocations: 192 / 0.5875 GB, free: 1.215 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.525e-05/0.1814, allocations: 7.938 kB / 0.5875 GB, free: 1.207 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.1814, allocations: 4 kB / 0.5875 GB, free: 1.203 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003173/0.1817, allocations: 83.84 kB / 0.5876 GB, free: 1.121 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005473/0.1823, allocations: 324.7 kB / 0.5879 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002305/0.1825, allocations: 66.5 kB / 0.588 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001572/0.1827, allocations: 40.92 kB / 0.588 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.612e-05/0.1827, allocations: 0 / 0.588 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.216e-05/0.1828, allocations: 34.55 kB / 0.5881 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 9.41e-07/0.1828, allocations: 0 / 0.5881 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.000579/0.1834, allocations: 141.7 kB / 0.5882 GB, free: 460 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.94e-05/0.1834, allocations: 55.34 kB / 0.5882 GB, free: 392 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001225/0.1836, allocations: 113.8 kB / 0.5884 GB, free: 268 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.462e-05/0.1836, allocations: 25.7 kB / 0.5884 GB, free: 236 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.254e-05/0.1837, allocations: 108 kB / 0.5885 GB, free: 124 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.161e-05/0.1837, allocations: 7.891 kB / 0.5885 GB, free: 116 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.769e-05/0.1837, allocations: 13.72 kB / 0.5885 GB, free: 96 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001764/0.1839, allocations: 322.8 kB / 0.5888 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001528/0.1841, allocations: 31.97 kB / 0.5888 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001441/0.1842, allocations: 39.89 kB / 0.5889 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002851/0.1845, allocations: 72.78 kB / 0.589 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1845, allocations: 0 / 0.589 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003535/0.1849, allocations: 109.5 kB / 0.5891 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.1849, allocations: 11.98 kB / 0.5891 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.413e-06/0.1849, allocations: 0 / 0.5891 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.185, allocations: 4 kB / 0.5891 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001364/0.1851, allocations: 11.98 kB / 0.5891 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.1851, allocations: 3.984 kB / 0.5891 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.184e-05/0.1852, allocations: 11.98 kB / 0.5891 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.411e-05/0.1852, allocations: 0 / 0.5891 GB, free: 15.47 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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.0001184/0.1854, allocations: 121.8 kB / 0.5892 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.046e-05/0.1854, allocations: 11.91 kB / 0.5892 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004172/0.1858, allocations: 109.5 kB / 0.5893 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.1858, allocations: 0 / 0.5893 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.1858, allocations: 0 / 0.5893 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.1859, allocations: 3.938 kB / 0.5893 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002249/0.1861, allocations: 181.6 kB / 0.5895 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1861, allocations: 3.938 kB / 0.5895 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001009/0.1862, allocations: 23.97 kB / 0.5895 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.1862, allocations: 0 / 0.5895 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.1862, allocations: 0 / 0.5895 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.1862, allocations: 0 / 0.5895 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.1862, allocations: 4 kB / 0.5895 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004244/0.1867, allocations: 203.4 kB / 0.5897 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.153e-05/0.1867, allocations: 85.02 kB / 0.5898 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.696e-05/0.1868, allocations: 0 / 0.5898 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.1869, allocations: 11.98 kB / 0.5898 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.755e-05/0.1869, allocations: 3.984 kB / 0.5898 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.333e-06/0.1869, allocations: 0 / 0.5898 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.16e-05/0.187, allocations: 95.27 kB / 0.5899 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.013e-06/0.187, allocations: 0 / 0.5899 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002402/0.1873, allocations: 23.88 kB / 0.5899 GB, free: 14.5 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001873/0.1875, allocations: 99.19 kB / 0.59 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003795/0.1879, allocations: 75.91 kB / 0.5901 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1879, allocations: 0 / 0.5901 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001624/0.188, allocations: 44.34 kB / 0.5901 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003635/0.1884, allocations: 4 kB / 0.5902 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000426/0.1888, allocations: 157.3 kB / 0.5903 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003655/0.1892, allocations: 0.6997 MB / 0.591 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.175e-05/0.1893, allocations: 4.344 kB / 0.591 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.983e-05/0.1893, allocations: 15.44 kB / 0.591 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of SimCode: time 3.8e-07/0.1893, allocations: 0 / 0.591 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of Templates: time 0.003532/0.1928, allocations: 0.7551 MB / 0.5917 GB, free: 12.6 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Average.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Average.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.Average.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.Average.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.Average -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.Average.pipe 2>&1)