Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") [/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.1761/0.1781, allocations: 80.83 MB / 0.6706 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.004786/0.1829, allocations: 3.274 MB / 0.6738 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0001123/0.183, allocations: 51.84 kB / 0.6739 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.037e-05/0.1831, allocations: 3.938 kB / 0.6739 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001254/0.1832, allocations: 0 / 0.6739 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 8.357e-05/0.1833, allocations: 15.92 kB / 0.6739 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005925/0.1839, allocations: 179.2 kB / 0.6741 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 9.5e-05/0.184, allocations: 35.84 kB / 0.6741 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.783e-05/0.1841, allocations: 0 / 0.6741 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.44e-05/0.1841, allocations: 11.98 kB / 0.6741 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 8.098e-05/0.1842, allocations: 11.94 kB / 0.6741 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.495e-05/0.1842, allocations: 3.984 kB / 0.6741 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003728/0.1846, allocations: 175.6 kB / 0.6743 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 5.525e-05/0.1847, allocations: 7.984 kB / 0.6743 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.043e-05/0.1847, allocations: 11.94 kB / 0.6743 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002854/0.185, allocations: 127.8 kB / 0.6744 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.185, allocations: 0 / 0.6744 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.354e-06/0.185, allocations: 3.938 kB / 0.6744 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.185, allocations: 0 / 0.6744 GB, free: 14.08 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005262/0.1856, allocations: 343.5 kB / 0.6748 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/0.1856, allocations: 8.031 kB / 0.6748 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.932e-05/0.1857, allocations: 8.938 kB / 0.6748 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001386/0.1858, allocations: 164.3 kB / 0.6749 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.032e-05/0.1859, allocations: 34.25 kB / 0.675 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.654e-05/0.1859, allocations: 4.375 kB / 0.675 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001519/0.1861, allocations: 45.56 kB / 0.675 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.1861, allocations: 4 kB / 0.675 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.1861, allocations: 0 / 0.675 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.296e-05/0.1861, allocations: 0 / 0.675 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.483e-05/0.1862, allocations: 23.98 kB / 0.675 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007447/0.187, allocations: 0.5832 MB / 0.6756 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 4.001e-05/0.187, allocations: 22.58 kB / 0.6756 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.516e-05/0.187, allocations: 4.859 kB / 0.6756 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002145/0.1873, allocations: 336.5 kB / 0.676 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.743e-05/0.1873, allocations: 34.56 kB / 0.676 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 1.222e-06/0.1873, allocations: 4 kB / 0.676 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.000148/0.1874, allocations: 45.61 kB / 0.676 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.019e-05/0.1875, allocations: 51.41 kB / 0.6761 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.482e-05/0.1876, allocations: 93.86 kB / 0.6762 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.515e-05/0.1876, allocations: 29.7 kB / 0.6762 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.178e-05/0.1876, allocations: 92.03 kB / 0.6763 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.121e-06/0.1876, allocations: 7.875 kB / 0.6763 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.935e-05/0.1877, allocations: 17.84 kB / 0.6763 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.1878, allocations: 318.8 kB / 0.6766 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.81e-05/0.1878, allocations: 7.984 kB / 0.6766 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.094e-05/0.1878, allocations: 13.72 kB / 0.6766 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.473e-05/0.1879, allocations: 21.66 kB / 0.6767 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.1879, allocations: 0 / 0.6767 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.297e-05/0.188, allocations: 53.69 kB / 0.6767 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.188, allocations: 4 kB / 0.6767 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.188, allocations: 0 / 0.6767 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.188, allocations: 0 / 0.6767 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.2e-05/0.1881, allocations: 8 kB / 0.6767 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.746e-06/0.1881, allocations: 7.922 kB / 0.6767 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.837e-05/0.1881, allocations: 3.906 kB / 0.6767 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.084e-05/0.1881, allocations: 4 kB / 0.6767 GB, free: 11.33 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 7.311e-05/0.1882, allocations: 113.8 kB / 0.6768 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.573e-05/0.1882, allocations: 0 / 0.6768 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001128/0.1884, allocations: 121 kB / 0.677 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.226e-05/0.1884, allocations: 184.2 kB / 0.6771 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.614e-05/0.1885, allocations: 180.3 kB / 0.6773 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.613e-05/0.1885, allocations: 176.3 kB / 0.6775 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002156/0.1888, allocations: 417.2 kB / 0.6779 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.089e-05/0.1888, allocations: 105 kB / 0.678 GB, free: 9.953 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.553e-05/0.1889, allocations: 104.9 kB / 0.6781 GB, free: 9.844 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.287e-05/0.1889, allocations: 176.3 kB / 0.6782 GB, free: 9.664 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.898e-05/0.189, allocations: 184.2 kB / 0.6784 GB, free: 9.477 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.551e-05/0.189, allocations: 192.1 kB / 0.6786 GB, free: 9.281 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-05/0.1891, allocations: 176.3 kB / 0.6788 GB, free: 9.102 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001424/0.1893, allocations: 303.7 kB / 0.6791 GB, free: 8.781 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.295e-05/0.1893, allocations: 190 kB / 0.6792 GB, free: 8.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.18e-05/0.1894, allocations: 180.3 kB / 0.6794 GB, free: 8.387 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001298/0.1896, allocations: 109 kB / 0.6795 GB, free: 8.273 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.109e-05/0.1896, allocations: 192.2 kB / 0.6797 GB, free: 8.078 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.37e-05/0.1897, allocations: 101 kB / 0.6798 GB, free: 7.973 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.96e-05/0.1897, allocations: 83.28 kB / 0.6799 GB, free: 7.891 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.764e-06/0.1897, allocations: 0 / 0.6799 GB, free: 7.891 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002909/0.19, allocations: 43.86 kB / 0.6799 GB, free: 7.848 MB / 0.5137 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 (0): * Single equations (assignments): 0 * 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.0003073/0.1904, allocations: 241.5 kB / 0.6801 GB, free: 7.602 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 9.111e-05/0.1905, allocations: 11.94 kB / 0.6802 GB, free: 7.59 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/0.1905, allocations: 4.125 kB / 0.6802 GB, free: 7.586 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.292e-06/0.1905, allocations: 0 / 0.6802 GB, free: 7.586 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005659/0.191, allocations: 460.3 kB / 0.6806 GB, free: 7.133 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002834/0.1913, allocations: 177.9 kB / 0.6808 GB, free: 6.934 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000234/0.1916, allocations: 0.6844 MB / 0.6814 GB, free: 6.223 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.083e-05/0.1916, allocations: 8 kB / 0.6814 GB, free: 6.215 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.818e-05/0.1917, allocations: 11.44 kB / 0.6815 GB, free: 6.203 MB / 0.5137 GB Notification: Performance of SimCode: time 4.41e-07/0.1917, allocations: 0 / 0.6815 GB, free: 6.203 MB / 0.5137 GB Notification: Performance of Templates: time 0.003714/0.1954, allocations: 1.155 MB / 0.6826 GB, free: 5.102 MB / 0.5137 GB make -j1 -f Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile (rm -f Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)