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.0007858/0.0007859, allocations: 91.3 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.005218/0.005218, allocations: 170.9 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.442/1.442, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9919/0.9919, allocations: 135.3 MB / 426.7 MB, free: 14.22 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004778/0.000478, allocations: 15.98 kB / 0.5076 GB, free: 4.762 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1761/0.1766, allocations: 82.29 MB / 0.588 GB, free: 2.637 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Average): time 0.001758/0.1784, allocations: 1.247 MB / 0.5892 GB, free: 1.375 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003339/0.1788, allocations: 116.5 kB / 0.5893 GB, free: 1.258 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.435e-05/0.1789, allocations: 0 / 0.5893 GB, free: 1.258 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.898e-05/0.179, allocations: 11.92 kB / 0.5893 GB, free: 1.246 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 2.32e-05/0.179, allocations: 11.94 kB / 0.5893 GB, free: 1.234 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001751/0.1792, allocations: 23.97 kB / 0.5893 GB, free: 1.211 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.552e-05/0.1793, allocations: 43.91 kB / 0.5894 GB, free: 1.168 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.1794, allocations: 27.95 kB / 0.5894 GB, free: 1.141 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.967e-05/0.1794, allocations: 27.86 kB / 0.5894 GB, free: 1.113 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.896e-05/0.1795, allocations: 23.86 kB / 0.5895 GB, free: 1.09 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.491e-05/0.1795, allocations: 4 kB / 0.5895 GB, free: 1.086 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.695e-05/0.1796, allocations: 7.984 kB / 0.5895 GB, free: 1.078 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.698e-05/0.1796, allocations: 8 kB / 0.5895 GB, free: 1.07 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.38e-05/0.1797, allocations: 49.5 kB / 0.5895 GB, free: 1.016 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000104/0.1798, allocations: 59.78 kB / 0.5896 GB, free: 0.957 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.1798, allocations: 0 / 0.5896 GB, free: 0.957 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1798, allocations: 0 / 0.5896 GB, free: 0.957 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.467e-06/0.1798, allocations: 0 / 0.5896 GB, free: 0.957 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.000483/0.1803, allocations: 383.6 kB / 0.5899 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/0.1804, allocations: 11.97 kB / 0.59 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.959e-05/0.1804, allocations: 8.844 kB / 0.59 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001449/0.1806, allocations: 183.3 kB / 0.5901 GB, free: 304 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.708e-06/0.1806, allocations: 384 / 0.5901 GB, free: 304 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.287e-05/0.1806, allocations: 8.375 kB / 0.5901 GB, free: 296 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002755/0.1809, allocations: 98.14 kB / 0.5902 GB, free: 192 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.1809, allocations: 192 / 0.5902 GB, free: 192 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.611e-05/0.1809, allocations: 11.92 kB / 0.5903 GB, free: 180 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.1809, allocations: 4 kB / 0.5903 GB, free: 176 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003373/0.1813, allocations: 99.91 kB / 0.5904 GB, free: 76 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005188/0.1818, allocations: 340.6 kB / 0.5907 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002127/0.182, allocations: 70.53 kB / 0.5907 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001678/0.1822, allocations: 56.91 kB / 0.5908 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.17e-05/0.1822, allocations: 0 / 0.5908 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.719e-05/0.1823, allocations: 38.5 kB / 0.5908 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 2.234e-06/0.1823, allocations: 96 / 0.5908 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.000589/0.1829, allocations: 173.4 kB / 0.591 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.915e-05/0.1829, allocations: 55.41 kB / 0.5911 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.69e-05/0.183, allocations: 113.8 kB / 0.5912 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.434e-05/0.183, allocations: 25.7 kB / 0.5912 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.16e-05/0.1831, allocations: 104 kB / 0.5913 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.847e-05/0.1831, allocations: 7.891 kB / 0.5913 GB, free: 15 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.295e-05/0.1831, allocations: 9.719 kB / 0.5913 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.1833, allocations: 330.8 kB / 0.5916 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001652/0.1834, allocations: 39.97 kB / 0.5917 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001569/0.1836, allocations: 47.95 kB / 0.5917 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003058/0.1839, allocations: 96.72 kB / 0.5918 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1839, allocations: 0 / 0.5918 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003692/0.1843, allocations: 129.6 kB / 0.5919 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.1843, allocations: 4 kB / 0.5919 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.1843, allocations: 0 / 0.5919 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.1843, allocations: 0 / 0.5919 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001269/0.1845, allocations: 23.98 kB / 0.5919 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.1845, allocations: 4 kB / 0.592 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.229e-05/0.1846, allocations: 23.88 kB / 0.592 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.519e-05/0.1846, allocations: 0 / 0.592 GB, free: 14.28 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 8.867e-05/0.1847, allocations: 121.7 kB / 0.5921 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.655e-05/0.1847, allocations: 4 kB / 0.5921 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004054/0.1851, allocations: 141.4 kB / 0.5922 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.1852, allocations: 4 kB / 0.5922 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.1852, allocations: 0 / 0.5922 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.1852, allocations: 0 / 0.5922 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001679/0.1854, allocations: 177.6 kB / 0.5924 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.1854, allocations: 0 / 0.5924 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000111/0.1855, allocations: 19.98 kB / 0.5924 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.1855, allocations: 384 / 0.5924 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.746e-06/0.1855, allocations: 7.938 kB / 0.5924 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.1855, allocations: 4 kB / 0.5924 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1855, allocations: 4 kB / 0.5924 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004194/0.1859, allocations: 227.2 kB / 0.5927 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.26e-05/0.186, allocations: 85.11 kB / 0.5927 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.553e-05/0.186, allocations: 0 / 0.5927 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001157/0.1861, allocations: 19.97 kB / 0.5928 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.693e-05/0.1862, allocations: 0 / 0.5928 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.714e-06/0.1862, allocations: 8 kB / 0.5928 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.642e-05/0.1863, allocations: 91.27 kB / 0.5928 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1863, allocations: 0 / 0.5928 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002329/0.1865, allocations: 15.84 kB / 0.5929 GB, free: 13.26 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.000135/0.1866, allocations: 99.19 kB / 0.593 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003863/0.187, allocations: 103.9 kB / 0.5931 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.1871, allocations: 0 / 0.5931 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001787/0.1872, allocations: 55.89 kB / 0.5931 GB, free: 13 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002748/0.1875, allocations: 8 kB / 0.5931 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003294/0.1879, allocations: 168.7 kB / 0.5933 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002497/0.1881, allocations: 0.6887 MB / 0.594 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.533e-05/0.1882, allocations: 4.25 kB / 0.594 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.69e-05/0.1882, allocations: 7.438 kB / 0.594 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of SimCode: time 3.41e-07/0.1882, allocations: 3.938 kB / 0.594 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of Templates: time 0.002868/0.1911, allocations: 0.6339 MB / 0.5946 GB, free: 11.45 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)