Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Math.Examples.Average.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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 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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Examples.Average") translateModel(Buildings.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Examples.Average") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.1667/0.1674, allocations: 82.21 MB / 0.5934 GB, free: 6.008 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Average): time 0.002009/0.1695, allocations: 1.207 MB / 0.5945 GB, free: 4.781 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002894/0.1698, allocations: 99.7 kB / 0.5946 GB, free: 4.684 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.286e-05/0.1698, allocations: 0 / 0.5946 GB, free: 4.684 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001262/0.17, allocations: 11.94 kB / 0.5947 GB, free: 4.672 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.67e-05/0.17, allocations: 3.984 kB / 0.5947 GB, free: 4.668 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002154/0.1702, allocations: 23.97 kB / 0.5947 GB, free: 4.645 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.471e-05/0.1703, allocations: 39.94 kB / 0.5947 GB, free: 4.605 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/0.1704, allocations: 19.92 kB / 0.5947 GB, free: 4.586 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.056e-05/0.1705, allocations: 15.98 kB / 0.5947 GB, free: 4.57 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.147e-05/0.1706, allocations: 23.86 kB / 0.5948 GB, free: 4.547 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.844e-05/0.1706, allocations: 4 kB / 0.5948 GB, free: 4.543 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.706e-05/0.1707, allocations: 7.984 kB / 0.5948 GB, free: 4.535 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.111e-05/0.1707, allocations: 8 kB / 0.5948 GB, free: 4.527 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.594e-05/0.1708, allocations: 41.64 kB / 0.5948 GB, free: 4.48 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001012/0.1709, allocations: 52.06 kB / 0.5949 GB, free: 4.43 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.1709, allocations: 0 / 0.5949 GB, free: 4.43 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1709, allocations: 0 / 0.5949 GB, free: 4.43 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.491e-06/0.1709, allocations: 3.938 kB / 0.5949 GB, free: 4.426 MB / 446.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.0005893/0.1715, allocations: 386.2 kB / 0.5953 GB, free: 4.004 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.1716, allocations: 8.031 kB / 0.5953 GB, free: 3.996 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.004e-05/0.1716, allocations: 7.906 kB / 0.5953 GB, free: 3.988 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001834/0.1718, allocations: 171.1 kB / 0.5954 GB, free: 3.781 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.809e-05/0.1718, allocations: 7.984 kB / 0.5954 GB, free: 3.773 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.563e-05/0.1718, allocations: 7.953 kB / 0.5954 GB, free: 3.766 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003053/0.1722, allocations: 101.6 kB / 0.5955 GB, free: 3.66 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.1722, allocations: 0 / 0.5955 GB, free: 3.66 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.1722, allocations: 0 / 0.5955 GB, free: 3.66 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.1722, allocations: 0 / 0.5955 GB, free: 3.66 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003367/0.1725, allocations: 103.9 kB / 0.5956 GB, free: 3.559 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005831/0.1731, allocations: 336.6 kB / 0.596 GB, free: 3.18 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002267/0.1734, allocations: 74.53 kB / 0.596 GB, free: 3.098 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.272e-05/0.1734, allocations: 0 / 0.596 GB, free: 3.098 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.845e-05/0.1735, allocations: 38.59 kB / 0.5961 GB, free: 3.051 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 9.21e-07/0.1735, allocations: 3.938 kB / 0.5961 GB, free: 3.047 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005824/0.1741, allocations: 173.6 kB / 0.5962 GB, free: 2.871 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.908e-05/0.1741, allocations: 55.39 kB / 0.5963 GB, free: 2.805 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.501e-05/0.1742, allocations: 117.8 kB / 0.5964 GB, free: 2.68 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.42e-05/0.1742, allocations: 25.7 kB / 0.5964 GB, free: 2.648 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.277e-05/0.1743, allocations: 92.06 kB / 0.5965 GB, free: 2.555 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.345e-05/0.1743, allocations: 15.8 kB / 0.5965 GB, free: 2.539 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.077e-06/0.1743, allocations: 0 / 0.5965 GB, free: 2.539 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.1744, allocations: 318.8 kB / 0.5968 GB, free: 2.219 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001585/0.1746, allocations: 47.95 kB / 0.5969 GB, free: 2.172 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001446/0.1748, allocations: 43.97 kB / 0.5969 GB, free: 2.129 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001565/0.1749, allocations: 43.95 kB / 0.597 GB, free: 2.086 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.175, allocations: 4 kB / 0.597 GB, free: 2.082 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003373/0.1753, allocations: 125.6 kB / 0.5971 GB, free: 1.953 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.1753, allocations: 10.48 kB / 0.5971 GB, free: 1.945 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.1753, allocations: 0 / 0.5971 GB, free: 1.945 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.1754, allocations: 8 kB / 0.5971 GB, free: 1.938 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001261/0.1755, allocations: 15.98 kB / 0.5971 GB, free: 1.922 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.1755, allocations: 4 kB / 0.5971 GB, free: 1.918 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.968e-05/0.1756, allocations: 15.98 kB / 0.5971 GB, free: 1.902 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.014e-05/0.1756, allocations: 3.938 kB / 0.5971 GB, free: 1.898 MB / 446.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.23e-05/0.1757, allocations: 125.8 kB / 0.5973 GB, free: 1.766 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.433e-05/0.1757, allocations: 3.906 kB / 0.5973 GB, free: 1.762 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003905/0.1761, allocations: 137.5 kB / 0.5974 GB, free: 1.621 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/0.1762, allocations: 4 kB / 0.5974 GB, free: 1.617 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.1762, allocations: 0 / 0.5974 GB, free: 1.617 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.1762, allocations: 0 / 0.5974 GB, free: 1.617 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001793/0.1764, allocations: 181.9 kB / 0.5976 GB, free: 1.391 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.1764, allocations: 4 kB / 0.5976 GB, free: 1.387 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.909e-05/0.1765, allocations: 23.97 kB / 0.5976 GB, free: 1.363 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.56e-06/0.1765, allocations: 4 kB / 0.5976 GB, free: 1.359 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.1765, allocations: 7.938 kB / 0.5976 GB, free: 1.352 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.1765, allocations: 0 / 0.5976 GB, free: 1.352 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1765, allocations: 0 / 0.5976 GB, free: 1.352 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003884/0.1769, allocations: 235.2 kB / 0.5978 GB, free: 1.105 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.809e-05/0.177, allocations: 77.11 kB / 0.5979 GB, free: 1.012 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.462e-05/0.177, allocations: 0 / 0.5979 GB, free: 1.012 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001059/0.1771, allocations: 19.98 kB / 0.5979 GB, free: 0.9922 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.057e-05/0.1771, allocations: 7.984 kB / 0.5979 GB, free: 0.9844 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.334e-06/0.1772, allocations: 0 / 0.5979 GB, free: 0.9844 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.139e-05/0.1772, allocations: 95.09 kB / 0.598 GB, free: 0.8945 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1772, allocations: 0 / 0.598 GB, free: 0.8945 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002225/0.1774, allocations: 11.91 kB / 0.598 GB, free: 0.8828 MB / 446.1 MB 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.0001403/0.1776, allocations: 107.2 kB / 0.5981 GB, free: 0.7695 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003545/0.178, allocations: 99.91 kB / 0.5982 GB, free: 0.6719 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.178, allocations: 0 / 0.5982 GB, free: 0.6719 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001599/0.1781, allocations: 47.91 kB / 0.5983 GB, free: 0.625 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002137/0.1784, allocations: 15.95 kB / 0.5983 GB, free: 0.6094 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003806/0.1787, allocations: 164.7 kB / 0.5985 GB, free: 432 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002724/0.179, allocations: 0.6926 MB / 0.5991 GB, free: 15.7 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 4.637e-05/0.1791, allocations: 11.98 kB / 0.5991 GB, free: 15.69 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.625e-05/0.1791, allocations: 7.438 kB / 0.5992 GB, free: 15.68 MB / 462.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1791, allocations: 3.938 kB / 0.5992 GB, free: 15.68 MB / 462.1 MB Notification: Performance of Templates: time 0.002902/0.182, allocations: 0.5986 MB / 0.5997 GB, free: 15.09 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.Average.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.Average.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Examples.Average.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Examples.Average.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Examples.Average -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Examples.Average.pipe 2>&1) Environment - environmentSimulation: