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.1746/0.1752, allocations: 82.22 MB / 0.5934 GB, free: 6.008 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.003463/0.1788, allocations: 2.452 MB / 0.5958 GB, free: 3.535 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000411/0.1792, allocations: 327.3 kB / 0.5961 GB, free: 3.215 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.495e-05/0.1792, allocations: 0 / 0.5961 GB, free: 3.215 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001052/0.1794, allocations: 0 / 0.5961 GB, free: 3.215 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.398e-05/0.1794, allocations: 11.98 kB / 0.5961 GB, free: 3.203 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004026/0.1798, allocations: 142.3 kB / 0.5962 GB, free: 3.066 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.02e-05/0.1799, allocations: 19.92 kB / 0.5962 GB, free: 3.047 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.055e-05/0.1799, allocations: 3.984 kB / 0.5962 GB, free: 3.043 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.968e-05/0.18, allocations: 7.984 kB / 0.5963 GB, free: 3.035 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.411e-05/0.1801, allocations: 4 kB / 0.5963 GB, free: 3.031 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.392e-05/0.1801, allocations: 4 kB / 0.5963 GB, free: 3.027 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002564/0.1803, allocations: 107.8 kB / 0.5964 GB, free: 2.922 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.381e-05/0.1804, allocations: 11.92 kB / 0.5964 GB, free: 2.91 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.314e-05/0.1804, allocations: 25.7 kB / 0.5964 GB, free: 2.879 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001551/0.1806, allocations: 56.17 kB / 0.5965 GB, free: 2.824 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.1806, allocations: 0 / 0.5965 GB, free: 2.824 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1806, allocations: 0 / 0.5965 GB, free: 2.824 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.198e-06/0.1806, allocations: 4 kB / 0.5965 GB, free: 2.82 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005056/0.1811, allocations: 339.4 kB / 0.5968 GB, free: 2.441 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.1811, allocations: 8.031 kB / 0.5968 GB, free: 2.434 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.587e-05/0.1812, allocations: 7.844 kB / 0.5968 GB, free: 2.426 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001231/0.1813, allocations: 171 kB / 0.597 GB, free: 2.219 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.167e-05/0.1814, allocations: 29.7 kB / 0.597 GB, free: 2.184 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.218e-06/0.1814, allocations: 0 / 0.597 GB, free: 2.184 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001265/0.1815, allocations: 41.69 kB / 0.597 GB, free: 2.137 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.1816, allocations: 8 kB / 0.597 GB, free: 2.129 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.1816, allocations: 0 / 0.597 GB, free: 2.129 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.846e-05/0.1816, allocations: 3.938 kB / 0.597 GB, free: 2.125 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.336e-05/0.1816, allocations: 11.98 kB / 0.597 GB, free: 2.113 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006497/0.1823, allocations: 0.5755 MB / 0.5976 GB, free: 1.414 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.614e-05/0.1824, allocations: 26.52 kB / 0.5976 GB, free: 1.379 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000215/0.1826, allocations: 332.5 kB / 0.598 GB, free: 0.9805 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.346e-05/0.1826, allocations: 30.56 kB / 0.598 GB, free: 0.9414 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 9.11e-07/0.1826, allocations: 0 / 0.598 GB, free: 0.9414 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.000144/0.1828, allocations: 41.72 kB / 0.598 GB, free: 0.8945 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.306e-05/0.1828, allocations: 55.44 kB / 0.5981 GB, free: 0.8281 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.824e-05/0.1829, allocations: 101.8 kB / 0.5982 GB, free: 0.7188 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.67e-05/0.1829, allocations: 25.7 kB / 0.5982 GB, free: 0.6875 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.434e-05/0.183, allocations: 88.05 kB / 0.5983 GB, free: 0.5977 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.914e-06/0.183, allocations: 3.984 kB / 0.5983 GB, free: 0.5938 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.542e-06/0.183, allocations: 4 kB / 0.5983 GB, free: 0.5898 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000116/0.1831, allocations: 314.8 kB / 0.5986 GB, free: 280 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.164e-05/0.1831, allocations: 4 kB / 0.5986 GB, free: 276 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.799e-05/0.1832, allocations: 17.72 kB / 0.5986 GB, free: 252 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.324e-05/0.1832, allocations: 15.92 kB / 0.5986 GB, free: 236 kB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.163e-06/0.1832, allocations: 0 / 0.5986 GB, free: 236 kB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.856e-05/0.1833, allocations: 45.61 kB / 0.5987 GB, free: 184 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.1833, allocations: 4 kB / 0.5987 GB, free: 180 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.1833, allocations: 3.984 kB / 0.5987 GB, free: 176 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.1833, allocations: 4 kB / 0.5987 GB, free: 172 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.273e-05/0.1834, allocations: 8.062 kB / 0.5987 GB, free: 164 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.1834, allocations: 3.938 kB / 0.5987 GB, free: 160 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.86e-05/0.1834, allocations: 3.938 kB / 0.5987 GB, free: 156 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.698e-06/0.1834, allocations: 4 kB / 0.5987 GB, free: 152 kB / 446.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.303e-05/0.1835, allocations: 109.8 kB / 0.5988 GB, free: 32 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.186e-05/0.1835, allocations: 4 kB / 0.5988 GB, free: 28 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001302/0.1837, allocations: 117 kB / 0.5989 GB, free: 15.9 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.278e-05/0.1838, allocations: 188.2 kB / 0.5991 GB, free: 15.71 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.595e-05/0.1838, allocations: 176.3 kB / 0.5993 GB, free: 15.53 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.747e-05/0.1839, allocations: 176.3 kB / 0.5994 GB, free: 15.35 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002541/0.1842, allocations: 413.1 kB / 0.5998 GB, free: 14.89 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.698e-05/0.1842, allocations: 101 kB / 0.5999 GB, free: 14.79 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.508e-05/0.1843, allocations: 116.8 kB / 0.6 GB, free: 14.66 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.409e-05/0.1844, allocations: 180.3 kB / 0.6002 GB, free: 14.48 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.767e-05/0.1845, allocations: 176.3 kB / 0.6004 GB, free: 14.3 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.88e-05/0.1845, allocations: 184.2 kB / 0.6005 GB, free: 14.11 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.353e-05/0.1846, allocations: 184.2 kB / 0.6007 GB, free: 13.93 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001427/0.1848, allocations: 311.7 kB / 0.601 GB, free: 13.6 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.5e-05/0.1849, allocations: 193.9 kB / 0.6012 GB, free: 13.38 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.965e-05/0.185, allocations: 180.2 kB / 0.6014 GB, free: 13.2 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001178/0.1851, allocations: 105.2 kB / 0.6015 GB, free: 13.09 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.731e-05/0.1852, allocations: 180.2 kB / 0.6017 GB, free: 12.91 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.447e-05/0.1852, allocations: 105 kB / 0.6018 GB, free: 12.8 MB / 462.1 MB Notification: Performance of sorting global known variables: time 4.451e-05/0.1853, allocations: 87.27 kB / 0.6018 GB, free: 12.71 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1853, allocations: 0 / 0.6018 GB, free: 12.71 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002712/0.1856, allocations: 28 kB / 0.6019 GB, free: 12.68 MB / 462.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 (0): * Single equations (assignments): 0 * 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.0002944/0.1859, allocations: 241.4 kB / 0.6021 GB, free: 12.44 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 7.078e-05/0.1859, allocations: 11.94 kB / 0.6021 GB, free: 12.43 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.186, allocations: 0 / 0.6021 GB, free: 12.43 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 1.112e-06/0.186, allocations: 0 / 0.6021 GB, free: 12.43 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003901/0.1864, allocations: 0.5351 MB / 0.6026 GB, free: 11.89 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002718/0.1866, allocations: 179.9 kB / 0.6028 GB, free: 11.69 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003036/0.1869, allocations: 0.6809 MB / 0.6035 GB, free: 10.98 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 4.15e-05/0.187, allocations: 4 kB / 0.6035 GB, free: 10.98 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.75e-05/0.187, allocations: 15.38 kB / 0.6035 GB, free: 10.96 MB / 462.1 MB Notification: Performance of SimCode: time 2e-07/0.187, allocations: 0 / 0.6035 GB, free: 10.96 MB / 462.1 MB Notification: Performance of Templates: time 0.003437/0.1905, allocations: 1.069 MB / 0.6045 GB, free: 9.941 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: