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.001282/0.001282, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001372/0.001371, allocations: 190.2 kB / 16.25 MB, free: 6.633 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.348/1.348, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.02/1.02, allocations: 135.1 MB / 425.2 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 67.95 kB / 0.5049 GB, free: 5.629 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1721/0.1734, allocations: 80.91 MB / 0.5839 GB, free: 4.883 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Average): time 0.002959/0.1764, allocations: 1.6 MB / 0.5854 GB, free: 3.266 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003222/0.1767, allocations: 116.5 kB / 0.5856 GB, free: 3.148 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.873e-05/0.1768, allocations: 0 / 0.5856 GB, free: 3.148 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001655/0.177, allocations: 7.922 kB / 0.5856 GB, free: 3.141 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.013e-05/0.1771, allocations: 7.938 kB / 0.5856 GB, free: 3.133 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002937/0.1774, allocations: 27.95 kB / 0.5856 GB, free: 3.105 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001104/0.1775, allocations: 51.84 kB / 0.5856 GB, free: 3.055 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001275/0.1776, allocations: 27.98 kB / 0.5857 GB, free: 3.027 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.33e-05/0.1777, allocations: 27.91 kB / 0.5857 GB, free: 3 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.774e-05/0.1778, allocations: 27.86 kB / 0.5857 GB, free: 2.973 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.738e-05/0.1778, allocations: 4 kB / 0.5857 GB, free: 2.969 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.703e-05/0.1779, allocations: 11.98 kB / 0.5857 GB, free: 2.957 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.859e-05/0.1779, allocations: 19.91 kB / 0.5858 GB, free: 2.938 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.099e-05/0.178, allocations: 27.88 kB / 0.5858 GB, free: 2.91 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001291/0.1781, allocations: 59.8 kB / 0.5858 GB, free: 2.852 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.1781, allocations: 0 / 0.5858 GB, free: 2.852 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1781, allocations: 0 / 0.5858 GB, free: 2.852 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.1782, allocations: 0 / 0.5858 GB, free: 2.852 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.0005432/0.1787, allocations: 375.6 kB / 0.5862 GB, free: 2.434 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.1787, allocations: 12.03 kB / 0.5862 GB, free: 2.422 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.245e-05/0.1788, allocations: 8.844 kB / 0.5862 GB, free: 2.414 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001634/0.179, allocations: 188.1 kB / 0.5864 GB, free: 2.191 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.179, allocations: 12.38 kB / 0.5864 GB, free: 2.18 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.176e-05/0.179, allocations: 384 / 0.5864 GB, free: 2.18 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002699/0.1793, allocations: 86.2 kB / 0.5865 GB, free: 2.09 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.1793, allocations: 192 / 0.5865 GB, free: 2.09 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.1793, allocations: 3.938 kB / 0.5865 GB, free: 2.086 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.1793, allocations: 0 / 0.5865 GB, free: 2.086 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000314/0.1796, allocations: 91.84 kB / 0.5866 GB, free: 1.996 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005444/0.1802, allocations: 320.7 kB / 0.5869 GB, free: 1.633 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002177/0.1804, allocations: 66.56 kB / 0.587 GB, free: 1.559 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001535/0.1806, allocations: 44.84 kB / 0.587 GB, free: 1.512 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.019e-05/0.1806, allocations: 0 / 0.587 GB, free: 1.512 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.332e-05/0.1807, allocations: 30.56 kB / 0.587 GB, free: 1.473 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 8.31e-07/0.1807, allocations: 0 / 0.587 GB, free: 1.473 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005533/0.1812, allocations: 145.5 kB / 0.5872 GB, free: 1.324 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.416e-05/0.1813, allocations: 51.41 kB / 0.5872 GB, free: 1.262 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.439e-05/0.1814, allocations: 117.8 kB / 0.5873 GB, free: 1.137 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.591e-05/0.1814, allocations: 25.7 kB / 0.5873 GB, free: 1.105 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.148e-05/0.1815, allocations: 99.97 kB / 0.5874 GB, free: 1.004 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.905e-05/0.1815, allocations: 7.906 kB / 0.5875 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.284e-05/0.1815, allocations: 17.72 kB / 0.5875 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001184/0.1817, allocations: 318.8 kB / 0.5878 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001503/0.1818, allocations: 31.97 kB / 0.5878 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001375/0.182, allocations: 35.95 kB / 0.5878 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002842/0.1823, allocations: 76.78 kB / 0.5879 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.1823, allocations: 0 / 0.5879 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003518/0.1826, allocations: 109.8 kB / 0.588 GB, free: 404 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.1827, allocations: 6.656 kB / 0.588 GB, free: 400 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.595e-06/0.1827, allocations: 4 kB / 0.588 GB, free: 396 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.1827, allocations: 3.938 kB / 0.588 GB, free: 392 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001357/0.1828, allocations: 15.98 kB / 0.588 GB, free: 376 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.1829, allocations: 0 / 0.588 GB, free: 376 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.193e-05/0.1829, allocations: 15.97 kB / 0.5881 GB, free: 360 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.22e-05/0.183, allocations: 0 / 0.5881 GB, free: 360 kB / 494.1 MB 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 9.495e-05/0.1831, allocations: 117.8 kB / 0.5882 GB, free: 232 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.333e-05/0.1831, allocations: 11.91 kB / 0.5882 GB, free: 220 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004093/0.1835, allocations: 117.5 kB / 0.5883 GB, free: 88 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.1835, allocations: 0 / 0.5883 GB, free: 88 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.1835, allocations: 0 / 0.5883 GB, free: 88 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.1836, allocations: 0 / 0.5883 GB, free: 88 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002443/0.1838, allocations: 177.6 kB / 0.5885 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-06/0.1838, allocations: 4 kB / 0.5885 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.799e-05/0.1839, allocations: 27.86 kB / 0.5885 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.1839, allocations: 0 / 0.5885 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.1839, allocations: 0 / 0.5885 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.184, allocations: 0 / 0.5885 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.184, allocations: 0 / 0.5885 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003946/0.1844, allocations: 203.4 kB / 0.5887 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.92e-05/0.1844, allocations: 85.02 kB / 0.5888 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.656e-05/0.1844, allocations: 0 / 0.5888 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001116/0.1846, allocations: 15.97 kB / 0.5888 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.877e-05/0.1846, allocations: 4 kB / 0.5888 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.684e-06/0.1846, allocations: 0 / 0.5888 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.397e-05/0.1847, allocations: 96.25 kB / 0.5889 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1847, allocations: 0 / 0.5889 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002316/0.1849, allocations: 11.94 kB / 0.5889 GB, free: 15.39 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.0001746/0.1851, allocations: 111.1 kB / 0.589 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003571/0.1855, allocations: 79.91 kB / 0.5891 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.1855, allocations: 0 / 0.5891 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001487/0.1857, allocations: 43.95 kB / 0.5891 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003178/0.186, allocations: 7.828 kB / 0.5891 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004052/0.1864, allocations: 165.5 kB / 0.5893 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006194/0.187, allocations: 0.6961 MB / 0.59 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.855e-05/0.1871, allocations: 11.98 kB / 0.59 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.686e-05/0.1871, allocations: 11.44 kB / 0.59 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.1871, allocations: 0 / 0.59 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of Templates: time 0.003068/0.1902, allocations: 0.6522 MB / 0.5906 GB, free: 13.57 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)