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.1723/0.1732, allocations: 82.23 MB / 0.5941 GB, free: 5.617 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Average): time 0.001783/0.175, allocations: 1.237 MB / 0.5953 GB, free: 4.359 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000334/0.1753, allocations: 99.73 kB / 0.5954 GB, free: 4.262 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.59e-05/0.1754, allocations: 3.938 kB / 0.5954 GB, free: 4.258 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000116/0.1755, allocations: 3.938 kB / 0.5954 GB, free: 4.254 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.531e-05/0.1756, allocations: 3.938 kB / 0.5954 GB, free: 4.25 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000208/0.1758, allocations: 23.97 kB / 0.5954 GB, free: 4.227 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.44e-05/0.1759, allocations: 47.91 kB / 0.5955 GB, free: 4.18 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001192/0.176, allocations: 31.97 kB / 0.5955 GB, free: 4.148 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.754e-05/0.1761, allocations: 15.92 kB / 0.5955 GB, free: 4.133 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.828e-05/0.1762, allocations: 35.78 kB / 0.5956 GB, free: 4.098 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.492e-05/0.1762, allocations: 0 / 0.5956 GB, free: 4.098 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.326e-05/0.1763, allocations: 11.94 kB / 0.5956 GB, free: 4.086 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.678e-05/0.1763, allocations: 19.92 kB / 0.5956 GB, free: 4.066 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.25e-05/0.1764, allocations: 41.58 kB / 0.5956 GB, free: 4.02 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001351/0.1765, allocations: 64 kB / 0.5957 GB, free: 3.957 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.074e-06/0.1765, allocations: 0 / 0.5957 GB, free: 3.957 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.696e-06/0.1765, allocations: 0 / 0.5957 GB, free: 3.957 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.1766, allocations: 0 / 0.5957 GB, free: 3.957 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.0006153/0.1772, allocations: 379.3 kB / 0.5961 GB, free: 3.539 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.1772, allocations: 12.03 kB / 0.5961 GB, free: 3.527 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.067e-05/0.1773, allocations: 8.844 kB / 0.5961 GB, free: 3.52 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001842/0.1775, allocations: 176.3 kB / 0.5963 GB, free: 3.309 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.1775, allocations: 4.375 kB / 0.5963 GB, free: 3.305 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.199e-05/0.1775, allocations: 384 / 0.5963 GB, free: 3.305 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000306/0.1778, allocations: 113.7 kB / 0.5964 GB, free: 3.188 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.1778, allocations: 0 / 0.5964 GB, free: 3.188 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.464e-05/0.1778, allocations: 0 / 0.5964 GB, free: 3.188 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.1779, allocations: 3.938 kB / 0.5964 GB, free: 3.184 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003441/0.1782, allocations: 99.92 kB / 0.5965 GB, free: 3.086 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005755/0.1788, allocations: 348.5 kB / 0.5968 GB, free: 2.695 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00022/0.179, allocations: 67.27 kB / 0.5969 GB, free: 2.621 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001619/0.1792, allocations: 48.91 kB / 0.5969 GB, free: 2.57 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.779e-05/0.1792, allocations: 7.984 kB / 0.5969 GB, free: 2.562 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.772e-05/0.1793, allocations: 38.56 kB / 0.597 GB, free: 2.516 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.703e-06/0.1793, allocations: 0 / 0.597 GB, free: 2.516 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.000621/0.1799, allocations: 169.6 kB / 0.5971 GB, free: 2.344 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.041e-05/0.18, allocations: 55.39 kB / 0.5972 GB, free: 2.277 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.86e-05/0.1801, allocations: 117.8 kB / 0.5973 GB, free: 2.152 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.369e-05/0.1801, allocations: 25.7 kB / 0.5973 GB, free: 2.121 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.406e-05/0.1801, allocations: 92.05 kB / 0.5974 GB, free: 2.027 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.296e-05/0.1802, allocations: 15.88 kB / 0.5974 GB, free: 2.012 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.23e-05/0.1802, allocations: 13.72 kB / 0.5974 GB, free: 1.992 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001058/0.1803, allocations: 314.8 kB / 0.5977 GB, free: 1.676 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001586/0.1805, allocations: 47.95 kB / 0.5978 GB, free: 1.629 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001599/0.1806, allocations: 43.97 kB / 0.5978 GB, free: 1.586 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003093/0.181, allocations: 108.6 kB / 0.5979 GB, free: 1.477 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.181, allocations: 0 / 0.5979 GB, free: 1.477 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003479/0.1813, allocations: 125.5 kB / 0.598 GB, free: 1.348 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.1814, allocations: 4 kB / 0.598 GB, free: 1.344 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.678e-06/0.1814, allocations: 4 kB / 0.598 GB, free: 1.34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.1814, allocations: 0 / 0.598 GB, free: 1.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001381/0.1815, allocations: 23.97 kB / 0.5981 GB, free: 1.316 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.1815, allocations: 0 / 0.5981 GB, free: 1.316 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.932e-05/0.1816, allocations: 23.92 kB / 0.5981 GB, free: 1.293 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.903e-05/0.1817, allocations: 4 kB / 0.5981 GB, free: 1.289 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.124e-05/0.1817, allocations: 109.8 kB / 0.5982 GB, free: 1.172 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.614e-05/0.1818, allocations: 4 kB / 0.5982 GB, free: 1.168 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004012/0.1822, allocations: 141.4 kB / 0.5983 GB, free: 1.023 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.1822, allocations: 0 / 0.5983 GB, free: 1.023 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.1822, allocations: 3.938 kB / 0.5983 GB, free: 1.02 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.1822, allocations: 3.938 kB / 0.5983 GB, free: 1.016 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001887/0.1824, allocations: 185.5 kB / 0.5985 GB, free: 0.7852 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.1824, allocations: 4 kB / 0.5985 GB, free: 0.7812 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001007/0.1825, allocations: 19.98 kB / 0.5985 GB, free: 0.7617 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.1825, allocations: 3.984 kB / 0.5985 GB, free: 0.7578 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.236e-06/0.1826, allocations: 0 / 0.5985 GB, free: 0.7578 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1826, allocations: 0 / 0.5985 GB, free: 0.7578 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1826, allocations: 0 / 0.5985 GB, free: 0.7578 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004098/0.183, allocations: 223.4 kB / 0.5988 GB, free: 0.5234 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.94e-05/0.183, allocations: 93 kB / 0.5988 GB, free: 424 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.639e-05/0.1831, allocations: 4.422 kB / 0.5988 GB, free: 420 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.1832, allocations: 11.98 kB / 0.5989 GB, free: 408 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.182e-05/0.1832, allocations: 11.98 kB / 0.5989 GB, free: 396 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.538e-06/0.1832, allocations: 3.938 kB / 0.5989 GB, free: 392 kB / 446.1 MB Notification: Performance of sorting global known variables: time 5.638e-05/0.1833, allocations: 87.28 kB / 0.599 GB, free: 304 kB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1833, allocations: 4 kB / 0.599 GB, free: 300 kB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002318/0.1835, allocations: 12 kB / 0.599 GB, free: 288 kB / 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 (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.0001345/0.1837, allocations: 99.23 kB / 0.5991 GB, free: 180 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003745/0.1841, allocations: 95.91 kB / 0.5992 GB, free: 84 kB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.1841, allocations: 4 kB / 0.5992 GB, free: 80 kB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001667/0.1843, allocations: 59.89 kB / 0.5992 GB, free: 20 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002648/0.1845, allocations: 0 / 0.5992 GB, free: 20 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003592/0.1849, allocations: 168.6 kB / 0.5994 GB, free: 15.82 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002473/0.1852, allocations: 0.6993 MB / 0.6001 GB, free: 15.1 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 4.641e-05/0.1852, allocations: 11.92 kB / 0.6001 GB, free: 15.09 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.498e-05/0.1852, allocations: 11.44 kB / 0.6001 GB, free: 15.08 MB / 462.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1852, allocations: 0 / 0.6001 GB, free: 15.08 MB / 462.1 MB Notification: Performance of Templates: time 0.002777/0.188, allocations: 0.6105 MB / 0.6007 GB, free: 14.47 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: