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.001136/0.001136, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001628/0.001628, allocations: 196.8 kB / 16.14 MB, free: 6.734 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.349/1.349, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9306/0.9306, allocations: 135.1 MB / 425.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 71.5 kB / 0.5047 GB, free: 5.77 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1739/0.1753, allocations: 80.93 MB / 0.5837 GB, free: 5.016 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Average): time 0.003396/0.1788, allocations: 1.594 MB / 0.5853 GB, free: 3.402 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003684/0.1792, allocations: 116.5 kB / 0.5854 GB, free: 3.285 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.379e-05/0.1792, allocations: 0 / 0.5854 GB, free: 3.285 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001204/0.1794, allocations: 3.938 kB / 0.5854 GB, free: 3.281 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.041e-05/0.1794, allocations: 11.92 kB / 0.5854 GB, free: 3.27 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001886/0.1796, allocations: 19.98 kB / 0.5854 GB, free: 3.25 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.832e-05/0.1797, allocations: 51.84 kB / 0.5855 GB, free: 3.199 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.1798, allocations: 31.91 kB / 0.5855 GB, free: 3.168 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.146e-05/0.1799, allocations: 27.91 kB / 0.5855 GB, free: 3.141 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.911e-05/0.18, allocations: 27.91 kB / 0.5855 GB, free: 3.113 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.705e-05/0.18, allocations: 0 / 0.5855 GB, free: 3.113 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.295e-05/0.1801, allocations: 12 kB / 0.5855 GB, free: 3.102 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.563e-05/0.1801, allocations: 15.92 kB / 0.5856 GB, free: 3.086 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.299e-05/0.1802, allocations: 19.86 kB / 0.5856 GB, free: 3.066 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001323/0.1803, allocations: 59.8 kB / 0.5856 GB, free: 3.008 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1803, allocations: 0 / 0.5856 GB, free: 3.008 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.1803, allocations: 0 / 0.5856 GB, free: 3.008 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.907e-06/0.1803, allocations: 0 / 0.5856 GB, free: 3.008 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.0006051/0.181, allocations: 383.6 kB / 0.586 GB, free: 2.582 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.181, allocations: 11.97 kB / 0.586 GB, free: 2.57 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.151e-05/0.181, allocations: 8.844 kB / 0.586 GB, free: 2.562 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001631/0.1812, allocations: 188.2 kB / 0.5862 GB, free: 2.34 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.828e-06/0.1812, allocations: 384 / 0.5862 GB, free: 2.34 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.497e-05/0.1813, allocations: 12.31 kB / 0.5862 GB, free: 2.328 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002834/0.1815, allocations: 86.19 kB / 0.5863 GB, free: 2.238 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.1816, allocations: 4.172 kB / 0.5863 GB, free: 2.234 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.62e-05/0.1816, allocations: 11.94 kB / 0.5863 GB, free: 2.223 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.1816, allocations: 0 / 0.5863 GB, free: 2.223 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00031/0.1819, allocations: 75.86 kB / 0.5864 GB, free: 2.148 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00055/0.1825, allocations: 332.7 kB / 0.5867 GB, free: 1.773 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002139/0.1827, allocations: 62.56 kB / 0.5868 GB, free: 1.703 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001514/0.1829, allocations: 36.92 kB / 0.5868 GB, free: 1.664 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.436e-05/0.1829, allocations: 4 kB / 0.5868 GB, free: 1.66 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.866e-05/0.1829, allocations: 34.56 kB / 0.5868 GB, free: 1.617 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.1829, allocations: 0 / 0.5868 GB, free: 1.617 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005548/0.1835, allocations: 141.5 kB / 0.587 GB, free: 1.473 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.082e-05/0.1835, allocations: 55.41 kB / 0.587 GB, free: 1.406 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.246e-05/0.1836, allocations: 109.8 kB / 0.5871 GB, free: 1.289 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.416e-05/0.1836, allocations: 29.7 kB / 0.5872 GB, free: 1.254 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.242e-05/0.1837, allocations: 95.98 kB / 0.5872 GB, free: 1.156 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.077e-05/0.1837, allocations: 11.89 kB / 0.5873 GB, free: 1.145 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.37e-05/0.1838, allocations: 9.719 kB / 0.5873 GB, free: 1.129 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001041/0.1839, allocations: 322.8 kB / 0.5876 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001511/0.184, allocations: 35.95 kB / 0.5876 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001392/0.1842, allocations: 35.95 kB / 0.5876 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002753/0.1845, allocations: 72.78 kB / 0.5877 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1845, allocations: 0 / 0.5877 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003339/0.1848, allocations: 109.5 kB / 0.5878 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.1848, allocations: 8 kB / 0.5878 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.1849, allocations: 0 / 0.5878 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.1849, allocations: 0 / 0.5878 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001359/0.185, allocations: 15.97 kB / 0.5878 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.185, allocations: 4 kB / 0.5878 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.941e-05/0.1851, allocations: 11.98 kB / 0.5879 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.195e-05/0.1851, allocations: 4 kB / 0.5879 GB, free: 0.5039 MB / 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 8.624e-05/0.1852, allocations: 125.7 kB / 0.588 GB, free: 380 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.925e-05/0.1853, allocations: 3.906 kB / 0.588 GB, free: 376 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003897/0.1857, allocations: 117.5 kB / 0.5881 GB, free: 244 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.1857, allocations: 7.938 kB / 0.5881 GB, free: 236 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.1857, allocations: 0 / 0.5881 GB, free: 236 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.1857, allocations: 384 / 0.5881 GB, free: 236 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001838/0.1859, allocations: 185.6 kB / 0.5883 GB, free: 0 / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.09e-05/0.1859, allocations: 4.047 kB / 0.5883 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001007/0.186, allocations: 15.92 kB / 0.5883 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.186, allocations: 0 / 0.5883 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.186, allocations: 0 / 0.5883 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.186, allocations: 4 kB / 0.5883 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1861, allocations: 0 / 0.5883 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003942/0.1865, allocations: 207.4 kB / 0.5885 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.927e-05/0.1865, allocations: 81.02 kB / 0.5886 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.555e-05/0.1865, allocations: 0 / 0.5886 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001197/0.1866, allocations: 11.98 kB / 0.5886 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.995e-05/0.1867, allocations: 7.984 kB / 0.5886 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.997e-06/0.1867, allocations: 4 kB / 0.5886 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.1e-05/0.1868, allocations: 97.61 kB / 0.5887 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1868, allocations: 0 / 0.5887 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000235/0.187, allocations: 15.94 kB / 0.5887 GB, free: 15.53 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.0001412/0.1872, allocations: 99.19 kB / 0.5888 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003518/0.1875, allocations: 75.92 kB / 0.5889 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.1875, allocations: 0 / 0.5889 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001539/0.1877, allocations: 39.95 kB / 0.5889 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003032/0.188, allocations: 8.562 kB / 0.5889 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003704/0.1884, allocations: 171.2 kB / 0.5891 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002695/0.1887, allocations: 0.6926 MB / 0.5898 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.676e-05/0.1887, allocations: 8.156 kB / 0.5898 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.607e-05/0.1888, allocations: 7.438 kB / 0.5898 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of SimCode: time 2.11e-07/0.1888, allocations: 0 / 0.5898 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of Templates: time 0.002859/0.1916, allocations: 0.6385 MB / 0.5904 GB, free: 13.74 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)