Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.605/1.605, allocations: 285.6 MB / 293.1 MB, free: 10.22 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001174/0.001173, allocations: 176.8 kB / 361.4 MB, free: 6.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.49/1.49, allocations: 205.2 MB / 0.62 GB, free: 11.67 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008782/0.0008782, allocations: 89.89 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.549e-05/1.552e-05, allocations: 4 kB / 0.8517 GB, free: 2.75 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7416/0.7416, allocations: 115.3 MB / 0.9644 GB, free: 78.87 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.001/1.743, allocations: 342.2 MB / 1.299 GB, free: 257.7 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002353/1.743, allocations: 77.41 kB / 1.299 GB, free: 257.6 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.01584/1.759, allocations: 7.669 MB / 1.306 GB, free: 252.5 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.413e-06/1.759, allocations: 0 / 1.306 GB, free: 252.5 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.211e-06/1.759, allocations: 0 / 1.306 GB, free: 252.5 MB / 0.8542 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.0002808/1.759, allocations: 343.1 kB / 1.306 GB, free: 252.1 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/1.76, allocations: 8.031 kB / 1.306 GB, free: 252.1 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.754e-05/1.76, allocations: 4.969 kB / 1.306 GB, free: 252.1 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.149e-05/1.76, allocations: 175 kB / 1.307 GB, free: 251.9 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.87e-05/1.76, allocations: 25.7 kB / 1.307 GB, free: 251.8 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.245e-06/1.76, allocations: 0 / 1.307 GB, free: 251.8 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.337e-05/1.76, allocations: 11.98 kB / 1.307 GB, free: 251.8 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.439e-05/1.76, allocations: 37.7 kB / 1.307 GB, free: 251.8 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.385e-06/1.76, allocations: 4 kB / 1.307 GB, free: 251.8 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/1.76, allocations: 0 / 1.307 GB, free: 251.8 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.791e-05/1.76, allocations: 3.984 kB / 1.307 GB, free: 251.8 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005239/1.76, allocations: 0.5798 MB / 1.307 GB, free: 251.1 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 3.097e-05/1.761, allocations: 18.58 kB / 1.307 GB, free: 251 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.489e-05/1.761, allocations: 4.859 kB / 1.307 GB, free: 251 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001653/1.761, allocations: 364.5 kB / 1.308 GB, free: 250.6 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.535e-05/1.761, allocations: 38.55 kB / 1.308 GB, free: 250.6 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=1): time 1.142e-06/1.761, allocations: 0 / 1.308 GB, free: 250.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1): time 0.0002124/1.761, allocations: 33.7 kB / 1.308 GB, free: 250.5 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.273e-05/1.761, allocations: 55.41 kB / 1.308 GB, free: 250.5 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.906e-05/1.761, allocations: 102.6 kB / 1.308 GB, free: 250.4 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 8.646e-06/1.761, allocations: 25.7 kB / 1.308 GB, free: 250.3 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.101e-05/1.761, allocations: 92.83 kB / 1.308 GB, free: 250.2 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.308e-06/1.761, allocations: 3.938 kB / 1.308 GB, free: 250.2 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.706e-06/1.761, allocations: 0 / 1.308 GB, free: 250.2 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.629e-05/1.761, allocations: 314.8 kB / 1.308 GB, free: 249.9 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.154e-05/1.761, allocations: 7.984 kB / 1.308 GB, free: 249.9 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.551e-05/1.761, allocations: 13.72 kB / 1.308 GB, free: 249.9 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001267/1.761, allocations: 23.98 kB / 1.308 GB, free: 249.9 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/1.761, allocations: 0 / 1.308 GB, free: 249.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001556/1.762, allocations: 67.3 kB / 1.308 GB, free: 249.8 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/1.762, allocations: 4 kB / 1.308 GB, free: 249.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/1.762, allocations: 0 / 1.308 GB, free: 249.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/1.762, allocations: 0 / 1.308 GB, free: 249.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.558e-05/1.762, allocations: 9.062 kB / 1.308 GB, free: 249.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.257e-06/1.762, allocations: 2.656 kB / 1.308 GB, free: 249.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.73e-05/1.762, allocations: 7.844 kB / 1.308 GB, free: 249.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.048e-05/1.762, allocations: 7.984 kB / 1.308 GB, free: 249.8 MB / 0.8542 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.651e-05/1.762, allocations: 112.8 kB / 1.309 GB, free: 249.6 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.128e-05/1.762, allocations: 0 / 1.309 GB, free: 249.6 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.74e-05/1.762, allocations: 116.4 kB / 1.309 GB, free: 249.5 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-05/1.762, allocations: 180.5 kB / 1.309 GB, free: 249.3 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.73e-05/1.762, allocations: 180.2 kB / 1.309 GB, free: 249.2 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.597e-05/1.762, allocations: 192.2 kB / 1.309 GB, free: 249 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001126/1.762, allocations: 384.8 kB / 1.31 GB, free: 248.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-05/1.762, allocations: 109 kB / 1.31 GB, free: 248.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.338e-05/1.762, allocations: 104.9 kB / 1.31 GB, free: 248.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.216e-05/1.762, allocations: 180.2 kB / 1.31 GB, free: 248.1 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.938e-05/1.762, allocations: 186.9 kB / 1.31 GB, free: 247.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.526e-05/1.762, allocations: 184.2 kB / 1.31 GB, free: 247.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-05/1.762, allocations: 180.2 kB / 1.31 GB, free: 247.6 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.491e-05/1.762, allocations: 295.8 kB / 1.311 GB, free: 247.3 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.485e-05/1.762, allocations: 190 kB / 1.311 GB, free: 247.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.889e-05/1.762, allocations: 188.2 kB / 1.311 GB, free: 246.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.891e-05/1.763, allocations: 105 kB / 1.311 GB, free: 246.8 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.913e-05/1.763, allocations: 184.2 kB / 1.311 GB, free: 246.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.5e-05/1.763, allocations: 101 kB / 1.311 GB, free: 246.5 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 2.384e-05/1.763, allocations: 83.28 kB / 1.312 GB, free: 246.4 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6.51e-07/1.763, allocations: 0 / 1.312 GB, free: 246.4 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002475/1.763, allocations: 39.92 kB / 1.312 GB, free: 246.3 MB / 0.8542 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.0001996/1.763, allocations: 223.3 kB / 1.312 GB, free: 246.1 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 6.281e-05/1.763, allocations: 19.92 kB / 1.312 GB, free: 246.1 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/1.763, allocations: 0 / 1.312 GB, free: 246.1 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 9.92e-07/1.763, allocations: 0 / 1.312 GB, free: 246.1 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002316/1.763, allocations: 0.5213 MB / 1.312 GB, free: 245.6 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001535/1.764, allocations: 127.4 kB / 1.312 GB, free: 245.4 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000118/1.764, allocations: 0.6806 MB / 1.313 GB, free: 244.7 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.312e-05/1.764, allocations: 7.984 kB / 1.313 GB, free: 244.7 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.398e-05/1.764, allocations: 11.44 kB / 1.313 GB, free: 244.7 MB / 0.8542 GB Notification: Performance of SimCode: time 2.5e-07/1.764, allocations: 0 / 1.313 GB, free: 244.7 MB / 0.8542 GB Notification: Performance of Templates: time 0.002851/1.767, allocations: 1.026 MB / 1.314 GB, free: 243.8 MB / 0.8542 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile (rm -f Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)