Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS.Utilities.Math.Examples.Average") translateModel(IDEAS.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.0009682/0.0009685, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.0008414/0.0008414, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.232/1.232, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8606/0.8606, allocations: 135.2 MB / 426.2 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002931/0.0002932, allocations: 9.344 kB / 0.5068 GB, free: 5.281 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1634/0.1637, allocations: 82.3 MB / 0.5872 GB, free: 3.156 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Average): time 0.001738/0.1655, allocations: 1.23 MB / 0.5884 GB, free: 1.914 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002862/0.1658, allocations: 116.5 kB / 0.5885 GB, free: 1.797 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.716e-05/0.1659, allocations: 4 kB / 0.5885 GB, free: 1.793 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001117/0.166, allocations: 3.938 kB / 0.5885 GB, free: 1.789 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 2.689e-05/0.166, allocations: 7.969 kB / 0.5885 GB, free: 1.781 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001985/0.1662, allocations: 19.98 kB / 0.5885 GB, free: 1.762 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.683e-05/0.1663, allocations: 43.88 kB / 0.5886 GB, free: 1.719 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001187/0.1664, allocations: 27.95 kB / 0.5886 GB, free: 1.691 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.412e-05/0.1665, allocations: 19.92 kB / 0.5886 GB, free: 1.672 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.048e-05/0.1666, allocations: 15.92 kB / 0.5886 GB, free: 1.656 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.448e-05/0.1666, allocations: 4 kB / 0.5886 GB, free: 1.652 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.877e-05/0.1666, allocations: 11.92 kB / 0.5887 GB, free: 1.641 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.133e-05/0.1667, allocations: 19.92 kB / 0.5887 GB, free: 1.621 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.363e-05/0.1667, allocations: 33.7 kB / 0.5887 GB, free: 1.582 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.362e-05/0.1668, allocations: 39.92 kB / 0.5887 GB, free: 1.543 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.365e-06/0.1668, allocations: 0 / 0.5887 GB, free: 1.543 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1668, allocations: 0 / 0.5887 GB, free: 1.543 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.182e-06/0.1668, allocations: 0 / 0.5887 GB, free: 1.543 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.0005643/0.1674, allocations: 387.3 kB / 0.5891 GB, free: 1.117 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.025e-05/0.1674, allocations: 8.031 kB / 0.5891 GB, free: 1.109 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.27e-05/0.1675, allocations: 7.906 kB / 0.5891 GB, free: 1.102 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001688/0.1677, allocations: 186.9 kB / 0.5893 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.949e-06/0.1677, allocations: 0 / 0.5893 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.2e-05/0.1677, allocations: 4 kB / 0.5893 GB, free: 0.875 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002729/0.168, allocations: 97.64 kB / 0.5894 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.168, allocations: 0 / 0.5894 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.168, allocations: 0 / 0.5894 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.381e-05/0.168, allocations: 3.984 kB / 0.5894 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003064/0.1683, allocations: 99.92 kB / 0.5895 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005297/0.1689, allocations: 344.6 kB / 0.5898 GB, free: 292 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001976/0.1691, allocations: 70.62 kB / 0.5899 GB, free: 212 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.322e-05/0.1691, allocations: 7.938 kB / 0.5899 GB, free: 204 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.215e-05/0.1691, allocations: 30.66 kB / 0.5899 GB, free: 164 kB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.282e-06/0.1692, allocations: 0 / 0.5899 GB, free: 164 kB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005622/0.1697, allocations: 177.7 kB / 0.5901 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.595e-05/0.1698, allocations: 55.41 kB / 0.5902 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.837e-05/0.1699, allocations: 121 kB / 0.5903 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/0.1699, allocations: 25.7 kB / 0.5903 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.114e-05/0.1699, allocations: 104 kB / 0.5904 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.774e-05/0.17, allocations: 7.812 kB / 0.5904 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.967e-06/0.17, allocations: 0 / 0.5904 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.1701, allocations: 314.8 kB / 0.5907 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001478/0.1702, allocations: 51.95 kB / 0.5908 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000137/0.1704, allocations: 47.91 kB / 0.5908 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001389/0.1705, allocations: 43.95 kB / 0.5908 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1705, allocations: 0 / 0.5908 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003171/0.1709, allocations: 125.6 kB / 0.591 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.1709, allocations: 11.94 kB / 0.591 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.1709, allocations: 0 / 0.591 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.688e-06/0.1709, allocations: 4 kB / 0.591 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00012/0.171, allocations: 23.94 kB / 0.591 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.1711, allocations: 0 / 0.591 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.663e-05/0.1711, allocations: 15.98 kB / 0.591 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.738e-05/0.1712, allocations: 0 / 0.591 GB, free: 15 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.744e-05/0.1712, allocations: 124.2 kB / 0.5911 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.644e-05/0.1713, allocations: 7.906 kB / 0.5911 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003626/0.1716, allocations: 137.5 kB / 0.5913 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.1717, allocations: 3.984 kB / 0.5913 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.1717, allocations: 3.953 kB / 0.5913 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.1717, allocations: 4 kB / 0.5913 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001611/0.1718, allocations: 173.6 kB / 0.5914 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.1719, allocations: 0 / 0.5914 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.41e-05/0.172, allocations: 27.98 kB / 0.5915 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.172, allocations: 0 / 0.5915 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.273e-06/0.172, allocations: 0 / 0.5915 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.172, allocations: 0 / 0.5915 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.172, allocations: 0 / 0.5915 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003652/0.1724, allocations: 231.3 kB / 0.5917 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.333e-05/0.1724, allocations: 77.11 kB / 0.5918 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.733e-05/0.1724, allocations: 4 kB / 0.5918 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.1725, allocations: 19.92 kB / 0.5918 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.752e-05/0.1726, allocations: 7.984 kB / 0.5918 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.673e-06/0.1726, allocations: 0 / 0.5918 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.424e-05/0.1727, allocations: 91.27 kB / 0.5919 GB, free: 14 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.91e-07/0.1727, allocations: 0 / 0.5919 GB, free: 14 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002147/0.1729, allocations: 19.89 kB / 0.5919 GB, free: 13.98 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001265/0.173, allocations: 103.2 kB / 0.592 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003269/0.1733, allocations: 99.91 kB / 0.5921 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.1734, allocations: 0 / 0.5921 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001579/0.1735, allocations: 47.91 kB / 0.5921 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001793/0.1737, allocations: 10.23 kB / 0.5922 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002957/0.174, allocations: 164.9 kB / 0.5923 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002528/0.1743, allocations: 0.6887 MB / 0.593 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.211e-05/0.1743, allocations: 11.98 kB / 0.593 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.424e-05/0.1744, allocations: 15.44 kB / 0.593 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1744, allocations: 0 / 0.593 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of Templates: time 0.002429/0.1768, allocations: 0.5948 MB / 0.5936 GB, free: 12.2 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.Average.makefile Environment - environmentSimulation: (rm -f IDEAS_IDEAS.Utilities.Math.Examples.Average.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.Average.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.Average.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.Average -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.Average.pipe 2>&1) Environment - environmentSimulation: