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.1702/0.171, allocations: 82.22 MB / 0.5941 GB, free: 5.562 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.003757/0.1748, allocations: 2.975 MB / 0.597 GB, free: 2.562 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 8.653e-05/0.175, allocations: 47.88 kB / 0.5971 GB, free: 2.516 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.909e-05/0.175, allocations: 0 / 0.5971 GB, free: 2.516 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001088/0.1751, allocations: 7.938 kB / 0.5971 GB, free: 2.508 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 8.053e-05/0.1752, allocations: 7.969 kB / 0.5971 GB, free: 2.5 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004827/0.1757, allocations: 159.1 kB / 0.5972 GB, free: 2.348 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.917e-05/0.1758, allocations: 59.81 kB / 0.5973 GB, free: 2.289 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.152e-05/0.1758, allocations: 8 kB / 0.5973 GB, free: 2.281 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.256e-05/0.1759, allocations: 15.92 kB / 0.5973 GB, free: 2.266 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.332e-05/0.176, allocations: 7.984 kB / 0.5973 GB, free: 2.258 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.247e-05/0.176, allocations: 0 / 0.5973 GB, free: 2.258 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003236/0.1763, allocations: 171.5 kB / 0.5975 GB, free: 2.09 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.847e-05/0.1764, allocations: 15.97 kB / 0.5975 GB, free: 2.074 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.731e-05/0.1764, allocations: 37.58 kB / 0.5975 GB, free: 2.031 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002587/0.1767, allocations: 132 kB / 0.5977 GB, free: 1.902 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.1767, allocations: 4 kB / 0.5977 GB, free: 1.898 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.1767, allocations: 0 / 0.5977 GB, free: 1.898 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.159e-06/0.1767, allocations: 4 kB / 0.5977 GB, free: 1.895 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.0004275/0.1772, allocations: 339.5 kB / 0.598 GB, free: 1.516 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/0.1772, allocations: 8.031 kB / 0.598 GB, free: 1.508 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.052e-05/0.1773, allocations: 8.828 kB / 0.598 GB, free: 1.5 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001231/0.1774, allocations: 164.4 kB / 0.5982 GB, free: 1.301 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.396e-05/0.1775, allocations: 26.27 kB / 0.5982 GB, free: 1.27 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.146e-05/0.1775, allocations: 384 / 0.5982 GB, free: 1.27 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001426/0.1776, allocations: 57.61 kB / 0.5982 GB, free: 1.207 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.1776, allocations: 0 / 0.5982 GB, free: 1.207 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.1777, allocations: 0 / 0.5982 GB, free: 1.207 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.95e-05/0.1777, allocations: 0 / 0.5982 GB, free: 1.207 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.898e-05/0.1777, allocations: 19.92 kB / 0.5983 GB, free: 1.188 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006417/0.1784, allocations: 0.5794 MB / 0.5988 GB, free: 496 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.444e-05/0.1784, allocations: 14.58 kB / 0.5988 GB, free: 472 kB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.759e-05/0.1785, allocations: 12.92 kB / 0.5989 GB, free: 456 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002084/0.1787, allocations: 348.4 kB / 0.5992 GB, free: 32 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.576e-05/0.1787, allocations: 30.56 kB / 0.5992 GB, free: 15.99 MB / 462.1 MB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.1787, allocations: 0 / 0.5992 GB, free: 15.99 MB / 462.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001343/0.1789, allocations: 37.64 kB / 0.5992 GB, free: 15.95 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.557e-05/0.1789, allocations: 51.41 kB / 0.5993 GB, free: 15.89 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.663e-05/0.179, allocations: 101.8 kB / 0.5994 GB, free: 15.78 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.285e-05/0.179, allocations: 29.83 kB / 0.5994 GB, free: 15.74 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.012e-05/0.1791, allocations: 88.05 kB / 0.5995 GB, free: 15.65 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.057e-06/0.1791, allocations: 0 / 0.5995 GB, free: 15.65 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.168e-05/0.1791, allocations: 9.719 kB / 0.5995 GB, free: 15.64 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000116/0.1792, allocations: 318.8 kB / 0.5998 GB, free: 15.32 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.462e-05/0.1792, allocations: 7.984 kB / 0.5998 GB, free: 15.31 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.918e-05/0.1793, allocations: 13.72 kB / 0.5998 GB, free: 15.29 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.421e-05/0.1793, allocations: 29.66 kB / 0.5999 GB, free: 15.25 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.1793, allocations: 3.938 kB / 0.5999 GB, free: 15.25 MB / 462.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.099e-05/0.1794, allocations: 53.53 kB / 0.5999 GB, free: 15.19 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.1794, allocations: 4 kB / 0.5999 GB, free: 15.19 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.1794, allocations: 0 / 0.5999 GB, free: 15.19 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.1794, allocations: 4 kB / 0.5999 GB, free: 15.18 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.566e-05/0.1795, allocations: 7.984 kB / 0.5999 GB, free: 15.18 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.1795, allocations: 0 / 0.5999 GB, free: 15.18 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.033e-05/0.1795, allocations: 8 kB / 0.5999 GB, free: 15.17 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.006e-05/0.1795, allocations: 4 kB / 0.5999 GB, free: 15.16 MB / 462.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.9e-05/0.1796, allocations: 118.6 kB / 0.6001 GB, free: 15.04 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.178e-05/0.1797, allocations: 0 / 0.6001 GB, free: 15.04 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001165/0.1798, allocations: 127.7 kB / 0.6002 GB, free: 14.91 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.444e-05/0.1799, allocations: 176.3 kB / 0.6004 GB, free: 14.73 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.293e-05/0.1799, allocations: 184.3 kB / 0.6005 GB, free: 14.54 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.875e-05/0.18, allocations: 180.2 kB / 0.6007 GB, free: 14.36 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002585/0.1803, allocations: 409.2 kB / 0.6011 GB, free: 13.9 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-05/0.1803, allocations: 104.9 kB / 0.6012 GB, free: 13.79 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.208e-05/0.1804, allocations: 101 kB / 0.6013 GB, free: 13.68 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.158e-05/0.1805, allocations: 180.2 kB / 0.6015 GB, free: 13.5 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.109e-05/0.1806, allocations: 192.2 kB / 0.6016 GB, free: 13.3 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.758e-05/0.1806, allocations: 176.4 kB / 0.6018 GB, free: 13.12 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.525e-05/0.1807, allocations: 180.2 kB / 0.602 GB, free: 12.94 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001561/0.1809, allocations: 315.8 kB / 0.6023 GB, free: 12.61 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.453e-05/0.1809, allocations: 190.3 kB / 0.6025 GB, free: 12.4 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.289e-05/0.181, allocations: 176.3 kB / 0.6026 GB, free: 12.22 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001376/0.1812, allocations: 108.9 kB / 0.6027 GB, free: 12.11 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000152/0.1813, allocations: 188.2 kB / 0.6029 GB, free: 11.91 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.875e-05/0.1814, allocations: 105 kB / 0.603 GB, free: 11.8 MB / 462.1 MB Notification: Performance of sorting global known variables: time 4.636e-05/0.1814, allocations: 87.2 kB / 0.6031 GB, free: 11.72 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.1814, allocations: 4 kB / 0.6031 GB, free: 11.71 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003254/0.1818, allocations: 36 kB / 0.6031 GB, free: 11.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 (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.0002864/0.1821, allocations: 234.3 kB / 0.6034 GB, free: 11.44 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 8.218e-05/0.1822, allocations: 11.98 kB / 0.6034 GB, free: 11.43 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.716e-06/0.1822, allocations: 0 / 0.6034 GB, free: 11.43 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 1.412e-06/0.1822, allocations: 0 / 0.6034 GB, free: 11.43 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005168/0.1827, allocations: 0.5224 MB / 0.6039 GB, free: 10.9 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003167/0.183, allocations: 191.9 kB / 0.6041 GB, free: 10.69 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002649/0.1833, allocations: 0.6731 MB / 0.6047 GB, free: 9.988 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 4.396e-05/0.1834, allocations: 11.5 kB / 0.6047 GB, free: 9.98 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.582e-05/0.1834, allocations: 7.438 kB / 0.6047 GB, free: 9.973 MB / 462.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1834, allocations: 0 / 0.6047 GB, free: 9.973 MB / 462.1 MB Notification: Performance of Templates: time 0.003377/0.1868, allocations: 1.147 MB / 0.6059 GB, free: 8.879 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: