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.9119/0.9119, allocations: 132.4 MB / 139.9 MB, free: 2.812 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001119/0.001119, allocations: 181.4 kB / 171.8 MB, free: 4.945 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.457/1.457, allocations: 170.6 MB / 374.2 MB, free: 160 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001598/0.001598, allocations: 114.6 kB / 444.8 MB, free: 14.17 MB / 314.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.1448/0.1449, allocations: 73.42 MB / 0.6666 GB, free: 15.65 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.128/1.273, allocations: 305.9 MB / 0.9653 GB, free: 150.7 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002463/1.274, allocations: 84.19 kB / 0.9654 GB, free: 150.7 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.01583/1.29, allocations: 7.596 MB / 0.9728 GB, free: 144.7 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.563e-06/1.29, allocations: 0 / 0.9728 GB, free: 144.7 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 7.103e-06/1.29, allocations: 4 kB / 0.9728 GB, free: 144.7 MB / 0.5886 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.0002644/1.29, allocations: 335.2 kB / 0.9731 GB, free: 144.3 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/1.29, allocations: 12.03 kB / 0.9731 GB, free: 144.3 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.902e-05/1.29, allocations: 0 / 0.9731 GB, free: 144.3 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.168e-05/1.29, allocations: 167 kB / 0.9733 GB, free: 144.1 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.245e-05/1.29, allocations: 29.7 kB / 0.9733 GB, free: 144 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.965e-06/1.29, allocations: 0 / 0.9733 GB, free: 144 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.974e-05/1.29, allocations: 12.77 kB / 0.9733 GB, free: 144 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.032e-05/1.29, allocations: 41.38 kB / 0.9734 GB, free: 144 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/1.29, allocations: 7.984 kB / 0.9734 GB, free: 144 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/1.29, allocations: 0 / 0.9734 GB, free: 144 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.722e-05/1.29, allocations: 3.984 kB / 0.9734 GB, free: 144 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004924/1.291, allocations: 0.5741 MB / 0.974 GB, free: 143.3 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 3.247e-05/1.291, allocations: 22.47 kB / 0.974 GB, free: 143.3 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.546e-05/1.291, allocations: 8.953 kB / 0.974 GB, free: 143.3 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001659/1.291, allocations: 367.6 kB / 0.9743 GB, free: 142.8 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.594e-05/1.291, allocations: 30.56 kB / 0.9744 GB, free: 142.8 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 1.142e-06/1.291, allocations: 1.125 kB / 0.9744 GB, free: 142.8 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 0.0002111/1.291, allocations: 45.25 kB / 0.9744 GB, free: 142.8 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.77e-05/1.291, allocations: 51.41 kB / 0.9745 GB, free: 142.7 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.186e-05/1.291, allocations: 94.67 kB / 0.9746 GB, free: 142.6 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.004e-05/1.291, allocations: 29.73 kB / 0.9746 GB, free: 142.6 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.881e-05/1.292, allocations: 87.98 kB / 0.9747 GB, free: 142.5 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 6.573e-06/1.292, allocations: 3.906 kB / 0.9747 GB, free: 142.5 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.745e-06/1.292, allocations: 3.938 kB / 0.9747 GB, free: 142.5 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 4.558e-05/1.292, allocations: 314.8 kB / 0.975 GB, free: 142.1 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.09e-05/1.292, allocations: 0 / 0.975 GB, free: 142.1 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.744e-05/1.292, allocations: 24.89 kB / 0.975 GB, free: 142.1 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001304/1.292, allocations: 19.98 kB / 0.975 GB, free: 142.1 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/1.292, allocations: 7.938 kB / 0.975 GB, free: 142.1 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001603/1.292, allocations: 61.11 kB / 0.9751 GB, free: 142 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/1.292, allocations: 7.953 kB / 0.9751 GB, free: 142 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/1.292, allocations: 0 / 0.9751 GB, free: 142 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/1.292, allocations: 4 kB / 0.9751 GB, free: 142 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.678e-05/1.292, allocations: 7.938 kB / 0.9751 GB, free: 142 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/1.292, allocations: 0 / 0.9751 GB, free: 142 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.663e-05/1.292, allocations: 0 / 0.9751 GB, free: 142 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.044e-05/1.292, allocations: 8.062 kB / 0.9751 GB, free: 142 MB / 0.5886 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 5.19e-05/1.292, allocations: 105 kB / 0.9752 GB, free: 141.9 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.307e-05/1.292, allocations: 3.984 kB / 0.9752 GB, free: 141.9 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001044/1.292, allocations: 121.1 kB / 0.9753 GB, free: 141.8 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.26e-05/1.292, allocations: 180.2 kB / 0.9755 GB, free: 141.6 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.579e-05/1.292, allocations: 180.3 kB / 0.9757 GB, free: 141.4 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.222e-05/1.292, allocations: 184.2 kB / 0.9758 GB, free: 141.2 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001342/1.293, allocations: 381 kB / 0.9762 GB, free: 140.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.3e-05/1.293, allocations: 113 kB / 0.9763 GB, free: 140.7 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.925e-05/1.293, allocations: 101 kB / 0.9764 GB, free: 140.6 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.519e-05/1.293, allocations: 180.2 kB / 0.9766 GB, free: 140.4 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.921e-05/1.293, allocations: 180.3 kB / 0.9768 GB, free: 140.2 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.231e-05/1.293, allocations: 180.3 kB / 0.9769 GB, free: 140 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.413e-05/1.293, allocations: 184.2 kB / 0.9771 GB, free: 139.8 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.834e-05/1.293, allocations: 307.2 kB / 0.9774 GB, free: 139.5 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.576e-05/1.293, allocations: 189.5 kB / 0.9776 GB, free: 139.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.158e-05/1.293, allocations: 184.2 kB / 0.9778 GB, free: 139.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.178e-05/1.293, allocations: 101 kB / 0.9779 GB, free: 139 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.244e-05/1.293, allocations: 184.2 kB / 0.978 GB, free: 138.8 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.895e-05/1.293, allocations: 102.2 kB / 0.9781 GB, free: 138.7 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.54e-05/1.293, allocations: 87.05 kB / 0.9782 GB, free: 138.6 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.21e-07/1.293, allocations: 4 kB / 0.9782 GB, free: 138.6 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002484/1.293, allocations: 35.94 kB / 0.9782 GB, free: 138.6 MB / 0.5886 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.0002009/1.294, allocations: 229.6 kB / 0.9785 GB, free: 138.4 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 6.401e-05/1.294, allocations: 15.38 kB / 0.9785 GB, free: 138.4 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/1.294, allocations: 0 / 0.9785 GB, free: 138.4 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 1.102e-06/1.294, allocations: 3.938 kB / 0.9785 GB, free: 138.4 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002573/1.294, allocations: 0.5224 MB / 0.979 GB, free: 137.8 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001521/1.294, allocations: 126.3 kB / 0.9791 GB, free: 137.7 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001179/1.294, allocations: 0.6768 MB / 0.9798 GB, free: 137 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 4.071e-05/1.294, allocations: 4 kB / 0.9798 GB, free: 137 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.504e-05/1.294, allocations: 15.38 kB / 0.9798 GB, free: 137 MB / 0.5886 GB Notification: Performance of SimCode: time 2.31e-07/1.294, allocations: 0 / 0.9798 GB, free: 137 MB / 0.5886 GB Notification: Performance of Templates: time 0.002965/1.297, allocations: 1.021 MB / 0.9808 GB, free: 136 MB / 0.5886 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)