Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.62/1.62, allocations: 293 MB / 309 MB, free: 4.836 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.0009576/0.0009576, allocations: 182.1 kB / 378.7 MB, free: 1.043 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.534/1.534, allocations: 205.4 MB / 0.6383 GB, free: 8.25 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.0008508/0.0008505, allocations: 89.7 kB / 0.7527 GB, free: 62.83 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003975/0.0003975, allocations: 12 kB / 0.8768 GB, free: 10.44 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2836/0.284, allocations: 116.4 MB / 0.9904 GB, free: 5.898 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9182/1.202, allocations: 344 MB / 1.326 GB, free: 13.27 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003272/1.203, allocations: 84.47 kB / 1.326 GB, free: 13.18 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 0.01802/1.221, allocations: 7.746 MB / 1.334 GB, free: 5.527 MB / 0.9011 GB Notification: Performance of FrontEnd: time 4.629e-06/1.221, allocations: 4 kB / 1.334 GB, free: 5.523 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 1.132e-05/1.221, allocations: 0 / 1.334 GB, free: 5.523 MB / 0.9011 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.0005292/1.221, allocations: 360.2 kB / 1.334 GB, free: 5.121 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 6.221e-05/1.221, allocations: 8.031 kB / 1.334 GB, free: 5.113 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.184e-05/1.221, allocations: 1.562 kB / 1.334 GB, free: 5.113 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001925/1.222, allocations: 168.3 kB / 1.335 GB, free: 4.91 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.36e-05/1.222, allocations: 26.89 kB / 1.335 GB, free: 4.879 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.143e-05/1.222, allocations: 384 / 1.335 GB, free: 4.879 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001867/1.222, allocations: 54.17 kB / 1.335 GB, free: 4.82 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.722e-05/1.222, allocations: 7.938 kB / 1.335 GB, free: 4.812 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.542e-05/1.222, allocations: 0 / 1.335 GB, free: 4.812 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.327e-05/1.222, allocations: 0 / 1.335 GB, free: 4.812 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.873e-05/1.222, allocations: 11.98 kB / 1.335 GB, free: 4.801 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009042/1.223, allocations: 0.5833 MB / 1.335 GB, free: 4.094 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 6.59e-05/1.223, allocations: 20.08 kB / 1.335 GB, free: 4.066 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.335e-05/1.223, allocations: 13.73 kB / 1.335 GB, free: 4.051 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003353/1.224, allocations: 344.4 kB / 1.336 GB, free: 3.641 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.977e-05/1.224, allocations: 34.56 kB / 1.336 GB, free: 3.598 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=1): time 1.543e-06/1.224, allocations: 0 / 1.336 GB, free: 3.598 MB / 0.9011 GB Notification: Performance of matching and sorting (n=1): time 0.0002201/1.224, allocations: 33.7 kB / 1.336 GB, free: 3.559 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.331e-05/1.224, allocations: 51.41 kB / 1.336 GB, free: 3.496 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001298/1.224, allocations: 105.8 kB / 1.336 GB, free: 3.383 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.946e-05/1.224, allocations: 29.83 kB / 1.336 GB, free: 3.348 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 7.139e-05/1.224, allocations: 84.05 kB / 1.336 GB, free: 3.262 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 1.003e-05/1.224, allocations: 0 / 1.336 GB, free: 3.262 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.983e-06/1.224, allocations: 7.938 kB / 1.336 GB, free: 3.254 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001447/1.224, allocations: 310.8 kB / 1.336 GB, free: 2.941 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.984e-05/1.224, allocations: 7.984 kB / 1.336 GB, free: 2.934 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.922e-05/1.224, allocations: 17.66 kB / 1.336 GB, free: 2.91 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.673e-05/1.224, allocations: 29.72 kB / 1.336 GB, free: 2.875 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/1.224, allocations: 0 / 1.336 GB, free: 2.875 MB / 0.9011 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000101/1.225, allocations: 53.53 kB / 1.336 GB, free: 2.816 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.498e-05/1.225, allocations: 10.03 kB / 1.336 GB, free: 2.809 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/1.225, allocations: 0.625 kB / 1.336 GB, free: 2.809 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.083e-05/1.225, allocations: 2.625 kB / 1.336 GB, free: 2.809 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.005e-05/1.225, allocations: 7.984 kB / 1.336 GB, free: 2.801 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/1.225, allocations: 0 / 1.336 GB, free: 2.801 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.828e-05/1.225, allocations: 16.5 kB / 1.336 GB, free: 2.785 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.233e-05/1.225, allocations: 0 / 1.336 GB, free: 2.785 MB / 0.9011 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 0.000108/1.225, allocations: 117.8 kB / 1.336 GB, free: 2.66 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.127e-05/1.225, allocations: 0 / 1.336 GB, free: 2.66 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001484/1.225, allocations: 124.9 kB / 1.337 GB, free: 2.531 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.641e-05/1.225, allocations: 176.8 kB / 1.337 GB, free: 2.352 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.204e-05/1.225, allocations: 184.8 kB / 1.337 GB, free: 2.164 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.148e-05/1.225, allocations: 176.3 kB / 1.337 GB, free: 1.984 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003399/1.226, allocations: 413.1 kB / 1.337 GB, free: 1.523 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.156e-05/1.226, allocations: 101 kB / 1.338 GB, free: 1.418 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.427e-05/1.226, allocations: 105.5 kB / 1.338 GB, free: 1.309 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001113/1.226, allocations: 185 kB / 1.338 GB, free: 1.121 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001076/1.226, allocations: 180.3 kB / 1.338 GB, free: 0.9375 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001069/1.226, allocations: 180.2 kB / 1.338 GB, free: 0.7539 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.575e-05/1.226, allocations: 185.1 kB / 1.338 GB, free: 0.5664 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000215/1.227, allocations: 307.7 kB / 1.339 GB, free: 248 kB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001048/1.227, allocations: 190 kB / 1.339 GB, free: 32 kB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001137/1.227, allocations: 184.2 kB / 1.339 GB, free: 15.84 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001431/1.227, allocations: 109 kB / 1.339 GB, free: 15.73 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.796e-05/1.227, allocations: 180.3 kB / 1.339 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.347e-05/1.227, allocations: 106 kB / 1.339 GB, free: 15.44 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 6.868e-05/1.227, allocations: 91.89 kB / 1.339 GB, free: 15.35 MB / 0.9167 GB Notification: Performance of sort global known variables: time 2e-07/1.227, allocations: 0 / 1.339 GB, free: 15.35 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0003583/1.228, allocations: 31.94 kB / 1.34 GB, free: 15.32 MB / 0.9167 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.0003777/1.228, allocations: 242.6 kB / 1.34 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 9.587e-05/1.228, allocations: 4 kB / 1.34 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/1.228, allocations: 4.844 kB / 1.34 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 5.641e-06/1.228, allocations: 3.938 kB / 1.34 GB, free: 15.06 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000505/1.229, allocations: 0.5268 MB / 1.34 GB, free: 14.53 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000372/1.229, allocations: 189.3 kB / 1.34 GB, free: 14.32 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003161/1.229, allocations: 0.6731 MB / 1.341 GB, free: 13.62 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 5.199e-05/1.229, allocations: 7.984 kB / 1.341 GB, free: 13.61 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.408e-05/1.229, allocations: 7.438 kB / 1.341 GB, free: 13.61 MB / 0.9167 GB Notification: Performance of SimCode: time 2.11e-07/1.229, allocations: 4.844 kB / 1.341 GB, free: 13.6 MB / 0.9167 GB Notification: Performance of Templates: time 0.004306/1.234, allocations: 1.087 MB / 1.342 GB, free: 12.59 MB / 0.9167 GB make -j1 -f Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile (rm -f Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)