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/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.7699/0.7699, allocations: 133.7 MB / 148.6 MB, free: 13.68 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001589/0.001589, allocations: 175 kB / 180.9 MB, free: 15.1 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.83/1.83, allocations: 170.7 MB / 383.7 MB, free: 16.13 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001712/0.001712, allocations: 118.2 kB / 454.6 MB, free: 9.711 MB / 346.7 MB [/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.1905/0.191, allocations: 73.41 MB / 0.6812 GB, free: 5.562 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.263/1.454, allocations: 306.6 MB / 0.9806 GB, free: 184.5 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003603/1.455, allocations: 81.28 kB / 0.9807 GB, free: 184.5 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.01773/1.472, allocations: 7.673 MB / 0.9882 GB, free: 183.6 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.146e-06/1.472, allocations: 0 / 0.9882 GB, free: 183.6 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.211e-06/1.472, allocations: 1.25 kB / 0.9882 GB, free: 183.6 MB / 0.6042 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.0003551/1.473, allocations: 347.6 kB / 0.9885 GB, free: 183.2 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.209e-05/1.473, allocations: 10.03 kB / 0.9885 GB, free: 183.2 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.208e-05/1.473, allocations: 6.031 kB / 0.9885 GB, free: 183.2 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001063/1.473, allocations: 166.5 kB / 0.9887 GB, free: 183 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.833e-05/1.473, allocations: 31.59 kB / 0.9887 GB, free: 183 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.088e-05/1.473, allocations: 5.516 kB / 0.9887 GB, free: 183 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001429/1.473, allocations: 44.39 kB / 0.9888 GB, free: 183 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/1.473, allocations: 0 / 0.9888 GB, free: 183 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/1.473, allocations: 0 / 0.9888 GB, free: 183 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.805e-05/1.473, allocations: 1.375 kB / 0.9888 GB, free: 183 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.112e-05/1.473, allocations: 21.33 kB / 0.9888 GB, free: 183 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006088/1.474, allocations: 0.5785 MB / 0.9894 GB, free: 182.3 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.199e-05/1.474, allocations: 23.69 kB / 0.9894 GB, free: 182.3 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002214/1.474, allocations: 346.9 kB / 0.9897 GB, free: 181.9 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/1.474, allocations: 32 kB / 0.9897 GB, free: 181.9 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/1.474, allocations: 0 / 0.9897 GB, free: 181.9 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0001743/1.475, allocations: 43.06 kB / 0.9898 GB, free: 181.8 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.566e-05/1.475, allocations: 52.75 kB / 0.9898 GB, free: 181.8 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.227e-05/1.475, allocations: 99.75 kB / 0.9899 GB, free: 181.7 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.385e-05/1.475, allocations: 31.14 kB / 0.99 GB, free: 181.6 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.791e-05/1.475, allocations: 81.2 kB / 0.99 GB, free: 181.6 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.807e-06/1.475, allocations: 7.781 kB / 0.9901 GB, free: 181.6 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.176e-06/1.475, allocations: 0 / 0.9901 GB, free: 181.6 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.141e-05/1.475, allocations: 313.6 kB / 0.9903 GB, free: 181.2 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.706e-05/1.475, allocations: 9.953 kB / 0.9904 GB, free: 181.2 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.365e-05/1.475, allocations: 16.16 kB / 0.9904 GB, free: 181.2 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.118e-05/1.475, allocations: 4 kB / 0.9904 GB, free: 181.2 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/1.475, allocations: 0 / 0.9904 GB, free: 181.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.74e-05/1.475, allocations: 54.17 kB / 0.9904 GB, free: 181.2 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/1.475, allocations: 5.25 kB / 0.9904 GB, free: 181.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/1.475, allocations: 0 / 0.9904 GB, free: 181.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/1.475, allocations: 5.438 kB / 0.9904 GB, free: 181.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.297e-05/1.475, allocations: 7.688 kB / 0.9904 GB, free: 181.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/1.475, allocations: 2.25 kB / 0.9904 GB, free: 181.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.026e-05/1.475, allocations: 3.938 kB / 0.9905 GB, free: 181.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.318e-05/1.475, allocations: 5.312 kB / 0.9905 GB, free: 181.2 MB / 0.6042 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.507e-05/1.475, allocations: 108.5 kB / 0.9906 GB, free: 181.1 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.447e-05/1.475, allocations: 9.266 kB / 0.9906 GB, free: 181.1 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001147/1.475, allocations: 126.5 kB / 0.9907 GB, free: 180.9 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.222e-05/1.475, allocations: 177.6 kB / 0.9909 GB, free: 180.8 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.452e-05/1.475, allocations: 180.2 kB / 0.991 GB, free: 180.6 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.241e-05/1.476, allocations: 177.6 kB / 0.9912 GB, free: 180.4 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001628/1.476, allocations: 406.6 kB / 0.9916 GB, free: 180 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.248e-05/1.476, allocations: 110.6 kB / 0.9917 GB, free: 179.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.95e-05/1.476, allocations: 106.4 kB / 0.9918 GB, free: 179.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.212e-05/1.476, allocations: 180.2 kB / 0.992 GB, free: 179.6 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.631e-05/1.476, allocations: 185.1 kB / 0.9921 GB, free: 179.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.37e-05/1.476, allocations: 181.6 kB / 0.9923 GB, free: 179.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.319e-05/1.476, allocations: 181.1 kB / 0.9925 GB, free: 179 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.995e-05/1.476, allocations: 306.8 kB / 0.9928 GB, free: 178.7 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.08e-05/1.476, allocations: 183.2 kB / 0.993 GB, free: 178.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.361e-05/1.476, allocations: 181.5 kB / 0.9931 GB, free: 178.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/1.476, allocations: 118 kB / 0.9932 GB, free: 178.2 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.451e-05/1.476, allocations: 184.2 kB / 0.9934 GB, free: 178 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.848e-05/1.476, allocations: 106.4 kB / 0.9935 GB, free: 177.9 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.056e-05/1.476, allocations: 86.59 kB / 0.9936 GB, free: 177.8 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/1.476, allocations: 0 / 0.9936 GB, free: 177.8 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002897/1.477, allocations: 34.38 kB / 0.9936 GB, free: 177.8 MB / 0.6042 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 (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.0002858/1.477, allocations: 234.1 kB / 0.9939 GB, free: 177.6 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 7.811e-05/1.477, allocations: 17.83 kB / 0.9939 GB, free: 177.6 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/1.477, allocations: 0 / 0.9939 GB, free: 177.6 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.343e-06/1.477, allocations: 0 / 0.9939 GB, free: 177.6 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002685/1.477, allocations: 0.5212 MB / 0.9944 GB, free: 177.1 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000242/1.478, allocations: 181.1 kB / 0.9946 GB, free: 176.9 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001768/1.478, allocations: 0.6767 MB / 0.9952 GB, free: 176.2 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 5.162e-05/1.478, allocations: 14.08 kB / 0.9952 GB, free: 176.2 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.056e-05/1.478, allocations: 8.75 kB / 0.9952 GB, free: 176.2 MB / 0.6042 GB Notification: Performance of SimCode: time 2.3e-07/1.478, allocations: 0 / 0.9952 GB, free: 176.2 MB / 0.6042 GB Notification: Performance of Templates: time 0.003953/1.482, allocations: 1.075 MB / 0.9963 GB, free: 176.1 MB / 0.6042 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)