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.6813/0.6813, allocations: 132.3 MB / 144.9 MB, free: 10.55 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.0009317/0.0009318, allocations: 175.5 kB / 176.9 MB, free: 2.305 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.205/1.205, allocations: 170.5 MB / 379.3 MB, free: 11.89 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.00158/0.00158, allocations: 115.2 kB / 450 MB, free: 5.848 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.4507/0.4508, allocations: 73.38 MB / 0.6736 GB, free: 47.89 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6475/1.098, allocations: 306.6 MB / 0.973 GB, free: 91.85 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002722/1.099, allocations: 80.89 kB / 0.973 GB, free: 91.8 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 0.014/1.113, allocations: 7.634 MB / 0.9805 GB, free: 85.71 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.613e-06/1.113, allocations: 0 / 0.9805 GB, free: 85.71 MB / 0.573 GB Notification: Performance of Transformations before backend: time 6.542e-06/1.113, allocations: 0 / 0.9805 GB, free: 85.71 MB / 0.573 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.0002242/1.113, allocations: 337.1 kB / 0.9808 GB, free: 85.34 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/1.113, allocations: 12.03 kB / 0.9808 GB, free: 85.33 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.468e-05/1.113, allocations: 0 / 0.9808 GB, free: 85.33 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.326e-05/1.113, allocations: 165.8 kB / 0.981 GB, free: 85.13 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.651e-05/1.113, allocations: 29.69 kB / 0.981 GB, free: 85.1 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.037e-05/1.113, allocations: 11.98 kB / 0.981 GB, free: 85.09 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.912e-05/1.113, allocations: 40 kB / 0.9811 GB, free: 85.04 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/1.113, allocations: 1.406 kB / 0.9811 GB, free: 85.04 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/1.113, allocations: 7.547 kB / 0.9811 GB, free: 85.04 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.545e-05/1.113, allocations: 0 / 0.9811 GB, free: 85.04 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.838e-05/1.113, allocations: 15.8 kB / 0.9811 GB, free: 85.03 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004762/1.114, allocations: 0.6004 MB / 0.9817 GB, free: 84.32 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 3.271e-05/1.114, allocations: 26.53 kB / 0.9817 GB, free: 84.29 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.463e-05/1.114, allocations: 6.047 kB / 0.9817 GB, free: 84.28 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001588/1.114, allocations: 363.7 kB / 0.982 GB, free: 83.86 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.503e-05/1.114, allocations: 34.56 kB / 0.9821 GB, free: 83.81 MB / 0.573 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/1.114, allocations: 0 / 0.9821 GB, free: 83.81 MB / 0.573 GB Notification: Performance of matching and sorting (n=1): time 0.0001101/1.114, allocations: 37.39 kB / 0.9821 GB, free: 83.77 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.162e-05/1.114, allocations: 55.44 kB / 0.9822 GB, free: 83.71 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.269e-05/1.114, allocations: 92.98 kB / 0.9823 GB, free: 83.61 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 9.177e-06/1.114, allocations: 25.7 kB / 0.9823 GB, free: 83.58 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 2.779e-05/1.114, allocations: 90.8 kB / 0.9824 GB, free: 83.49 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 5.55e-06/1.114, allocations: 4.469 kB / 0.9824 GB, free: 83.48 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.745e-06/1.114, allocations: 0 / 0.9824 GB, free: 83.48 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 4.544e-05/1.114, allocations: 310.8 kB / 0.9827 GB, free: 83.17 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.17e-05/1.115, allocations: 7.75 kB / 0.9827 GB, free: 83.17 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.663e-05/1.115, allocations: 21.7 kB / 0.9827 GB, free: 83.14 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.724e-05/1.115, allocations: 4 kB / 0.9827 GB, free: 83.14 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/1.115, allocations: 1.406 kB / 0.9827 GB, free: 83.14 MB / 0.573 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.542e-05/1.115, allocations: 52.7 kB / 0.9828 GB, free: 83.08 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/1.115, allocations: 4 kB / 0.9828 GB, free: 83.08 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/1.115, allocations: 4 kB / 0.9828 GB, free: 83.07 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.046e-05/1.115, allocations: 0 / 0.9828 GB, free: 83.07 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.331e-05/1.115, allocations: 4 kB / 0.9828 GB, free: 83.07 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/1.115, allocations: 4.062 kB / 0.9828 GB, free: 83.07 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.526e-05/1.115, allocations: 0 / 0.9828 GB, free: 83.07 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.686e-06/1.115, allocations: 4 kB / 0.9828 GB, free: 83.06 MB / 0.573 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 () * 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 4.123e-05/1.115, allocations: 104.8 kB / 0.9829 GB, free: 82.96 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.292e-05/1.115, allocations: 7.953 kB / 0.9829 GB, free: 82.95 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.769e-05/1.115, allocations: 116.9 kB / 0.983 GB, free: 82.83 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.728e-05/1.115, allocations: 186.8 kB / 0.9832 GB, free: 82.64 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.669e-05/1.115, allocations: 184 kB / 0.9833 GB, free: 82.46 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.363e-05/1.115, allocations: 180.2 kB / 0.9835 GB, free: 82.27 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001198/1.115, allocations: 406.9 kB / 0.9839 GB, free: 81.82 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.511e-05/1.115, allocations: 108.9 kB / 0.984 GB, free: 81.71 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.605e-05/1.115, allocations: 104.8 kB / 0.9841 GB, free: 81.6 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.428e-05/1.115, allocations: 188.3 kB / 0.9843 GB, free: 81.41 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.672e-05/1.115, allocations: 184.2 kB / 0.9845 GB, free: 81.22 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.909e-05/1.115, allocations: 180.2 kB / 0.9846 GB, free: 81.04 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.528e-05/1.115, allocations: 180.2 kB / 0.9848 GB, free: 80.86 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.458e-05/1.115, allocations: 307.9 kB / 0.9851 GB, free: 80.54 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 3.432e-05/1.115, allocations: 186.1 kB / 0.9853 GB, free: 80.33 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.675e-05/1.115, allocations: 183.8 kB / 0.9855 GB, free: 80.14 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.114e-05/1.116, allocations: 112.9 kB / 0.9856 GB, free: 80.03 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.018e-05/1.116, allocations: 177.6 kB / 0.9857 GB, free: 79.85 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.676e-05/1.116, allocations: 104.9 kB / 0.9858 GB, free: 79.74 MB / 0.573 GB Notification: Performance of sorting global known variables: time 2.796e-05/1.116, allocations: 91.14 kB / 0.9859 GB, free: 79.65 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.2e-07/1.116, allocations: 0 / 0.9859 GB, free: 79.65 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0002184/1.116, allocations: 31.94 kB / 0.9859 GB, free: 79.62 MB / 0.573 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 () * 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.0001936/1.116, allocations: 233.1 kB / 0.9862 GB, free: 79.39 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 6.173e-05/1.116, allocations: 11.75 kB / 0.9862 GB, free: 79.38 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/1.116, allocations: 0 / 0.9862 GB, free: 79.38 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 1.332e-06/1.116, allocations: 2.625 kB / 0.9862 GB, free: 79.38 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002047/1.116, allocations: 0.5264 MB / 0.9867 GB, free: 78.85 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001367/1.117, allocations: 120.8 kB / 0.9868 GB, free: 78.71 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001091/1.117, allocations: 0.677 MB / 0.9875 GB, free: 78.01 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 3.834e-05/1.117, allocations: 5.547 kB / 0.9875 GB, free: 78 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.478e-05/1.117, allocations: 11.44 kB / 0.9875 GB, free: 77.99 MB / 0.573 GB Notification: Performance of SimCode: time 2.91e-07/1.117, allocations: 3.938 kB / 0.9875 GB, free: 77.99 MB / 0.573 GB Notification: Performance of Templates: time 0.002883/1.12, allocations: 1.107 MB / 0.9886 GB, free: 76.98 MB / 0.573 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)