Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Average.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Average") translateModel(Buildings.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Average") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.294/1.294, allocations: 251.5 MB / 267.4 MB, free: 11.07 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000914/0.0009141, allocations: 179.1 kB / 326.5 MB, free: 2.691 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.433/1.433, allocations: 205 MB / 0.5766 GB, free: 20.95 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006905/0.0006906, allocations: 89.34 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002922/0.0002922, allocations: 12.66 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1728/0.1731, allocations: 105.4 MB / 0.8968 GB, free: 68.19 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Average): time 0.001933/0.1751, allocations: 1.266 MB / 0.898 GB, free: 66.91 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004594/0.1756, allocations: 113.3 kB / 0.8981 GB, free: 66.79 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.534e-05/0.1757, allocations: 0 / 0.8981 GB, free: 66.79 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.000145/0.1758, allocations: 3.938 kB / 0.8981 GB, free: 66.79 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.023e-05/0.1759, allocations: 7.922 kB / 0.8981 GB, free: 66.78 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002195/0.1761, allocations: 31.97 kB / 0.8981 GB, free: 66.75 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.332e-05/0.1762, allocations: 55.78 kB / 0.8982 GB, free: 66.7 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.1763, allocations: 27.92 kB / 0.8982 GB, free: 66.67 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.587e-05/0.1764, allocations: 15.92 kB / 0.8982 GB, free: 66.65 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.783e-05/0.1764, allocations: 31.91 kB / 0.8983 GB, free: 66.62 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.641e-05/0.1764, allocations: 4 kB / 0.8983 GB, free: 66.62 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.5e-05/0.1765, allocations: 4 kB / 0.8983 GB, free: 66.61 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.128e-05/0.1766, allocations: 19.91 kB / 0.8983 GB, free: 66.59 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.659e-05/0.1766, allocations: 15.88 kB / 0.8983 GB, free: 66.58 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001152/0.1767, allocations: 55.8 kB / 0.8984 GB, free: 66.52 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1767, allocations: 0 / 0.8984 GB, free: 66.52 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.523e-06/0.1767, allocations: 0 / 0.8984 GB, free: 66.52 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.438e-06/0.1767, allocations: 0 / 0.8984 GB, free: 66.52 MB / 0.6042 GB 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.0004757/0.1772, allocations: 383.2 kB / 0.8987 GB, free: 66.1 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.1773, allocations: 8.031 kB / 0.8987 GB, free: 66.09 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.41e-05/0.1773, allocations: 8.844 kB / 0.8987 GB, free: 66.08 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001423/0.1775, allocations: 188.2 kB / 0.8989 GB, free: 65.86 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.1775, allocations: 4.312 kB / 0.8989 GB, free: 65.86 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.306e-05/0.1775, allocations: 8.359 kB / 0.8989 GB, free: 65.85 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002567/0.1778, allocations: 98.2 kB / 0.899 GB, free: 65.75 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.1778, allocations: 192 / 0.899 GB, free: 65.75 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.1778, allocations: 7.875 kB / 0.899 GB, free: 65.74 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.1778, allocations: 0 / 0.899 GB, free: 65.74 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002757/0.1781, allocations: 103.9 kB / 0.8991 GB, free: 65.64 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004694/0.1786, allocations: 344.5 kB / 0.8995 GB, free: 65.25 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001818/0.1788, allocations: 70.62 kB / 0.8995 GB, free: 65.17 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001365/0.1789, allocations: 56.86 kB / 0.8996 GB, free: 65.11 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.034e-05/0.179, allocations: 0 / 0.8996 GB, free: 65.11 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.337e-05/0.179, allocations: 34.56 kB / 0.8996 GB, free: 65.07 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.093e-06/0.179, allocations: 0 / 0.8996 GB, free: 65.07 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0005031/0.1795, allocations: 169.6 kB / 0.8998 GB, free: 64.9 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.873e-05/0.1795, allocations: 55.41 kB / 0.8998 GB, free: 64.83 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.705e-05/0.1796, allocations: 117.7 kB / 0.8999 GB, free: 64.71 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.167e-06/0.1796, allocations: 29.7 kB / 0.9 GB, free: 64.67 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.263e-05/0.1797, allocations: 92.03 kB / 0.9001 GB, free: 64.58 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.794e-05/0.1797, allocations: 11.91 kB / 0.9001 GB, free: 64.57 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.02e-05/0.1797, allocations: 9.719 kB / 0.9001 GB, free: 64.55 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.62e-05/0.1798, allocations: 314.8 kB / 0.9004 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000133/0.1799, allocations: 51.89 kB / 0.9004 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000121/0.18, allocations: 51.95 kB / 0.9005 GB, free: 64.13 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002458/0.1803, allocations: 101 kB / 0.9006 GB, free: 64.03 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.1803, allocations: 0 / 0.9006 GB, free: 64.03 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002845/0.1806, allocations: 121.5 kB / 0.9007 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.1806, allocations: 8 kB / 0.9007 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.1806, allocations: 0 / 0.9007 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.1806, allocations: 0 / 0.9007 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001151/0.1807, allocations: 27.97 kB / 0.9007 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.1808, allocations: 0 / 0.9007 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.486e-05/0.1808, allocations: 27.86 kB / 0.9007 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.762e-05/0.1809, allocations: 7.938 kB / 0.9008 GB, free: 63.84 MB / 0.6042 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 5.348e-05/0.1809, allocations: 113.8 kB / 0.9009 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.525e-05/0.181, allocations: 11.89 kB / 0.9009 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003243/0.1813, allocations: 133.5 kB / 0.901 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.1813, allocations: 0 / 0.901 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.1813, allocations: 0 / 0.901 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.476e-05/0.1814, allocations: 85.11 kB / 0.9011 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.452e-05/0.1814, allocations: 0 / 0.9011 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.1815, allocations: 23.91 kB / 0.9011 GB, free: 63.44 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.158e-05/0.1815, allocations: 0 / 0.9011 GB, free: 63.44 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003463/0.1819, allocations: 220.8 kB / 0.9013 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003153/0.1822, allocations: 302.7 kB / 0.9016 GB, free: 62.9 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001385/0.1824, allocations: 47.95 kB / 0.9017 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.842e-05/0.1824, allocations: 99.58 kB / 0.9017 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of Backend: time 4.71e-07/0.1824, allocations: 4 kB / 0.9018 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004488/0.1828, allocations: 130.3 kB / 0.9019 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0003907/0.1832, allocations: 0.602 MB / 0.9025 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of Templates: time 0.002738/0.186, allocations: 0.8067 MB / 0.9033 GB, free: 61.18 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Average.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Average.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Average.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Average.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Average -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Average.pipe 2>&1)