Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.271/1.271, allocations: 252 MB / 267.9 MB, free: 10.93 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009787/0.0009788, allocations: 180.7 kB / 327.5 MB, free: 2.18 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.419/1.419, allocations: 205.4 MB / 0.5785 GB, free: 20.57 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009393/0.0009394, allocations: 80.45 kB / 0.6831 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003691/0.0003691, allocations: 12.19 kB / 0.7974 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1881/0.1885, allocations: 106.3 MB / 0.9012 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.691/0.8795, allocations: 336.7 MB / 1.23 GB, free: 2.121 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002613/0.8799, allocations: 77.95 kB / 1.23 GB, free: 2.078 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.0162/0.8961, allocations: 7.756 MB / 1.238 GB, free: 11.85 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.894e-06/0.8961, allocations: 0 / 1.238 GB, free: 11.85 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.374e-06/0.8961, allocations: 4 kB / 1.238 GB, free: 11.85 MB / 0.7448 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.0003504/0.8965, allocations: 347 kB / 1.238 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.8965, allocations: 12.03 kB / 1.238 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.696e-05/0.8966, allocations: 0.9375 kB / 1.238 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.681e-05/0.8967, allocations: 164.4 kB / 1.238 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.118e-05/0.8968, allocations: 30.27 kB / 1.238 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.885e-06/0.8968, allocations: 4.375 kB / 1.238 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001322/0.8969, allocations: 49.98 kB / 1.238 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.228e-06/0.8969, allocations: 3.938 kB / 1.238 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.8969, allocations: 0 / 1.238 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.982e-05/0.897, allocations: 3.984 kB / 1.238 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.356e-05/0.897, allocations: 15.92 kB / 1.238 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006541/0.8977, allocations: 0.582 MB / 1.239 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 3.628e-05/0.8977, allocations: 22.52 kB / 1.239 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.586e-05/0.8978, allocations: 4.859 kB / 1.239 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002286/0.898, allocations: 344 kB / 1.239 GB, free: 10 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.706e-05/0.898, allocations: 38.38 kB / 1.239 GB, free: 9.961 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 1.613e-06/0.898, allocations: 0 / 1.239 GB, free: 9.961 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 0.0001545/0.8982, allocations: 41.59 kB / 1.239 GB, free: 9.914 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.355e-05/0.8982, allocations: 55.53 kB / 1.239 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.145e-05/0.8983, allocations: 97.55 kB / 1.239 GB, free: 9.746 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.452e-05/0.8984, allocations: 25.7 kB / 1.239 GB, free: 9.715 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.704e-05/0.8984, allocations: 88.12 kB / 1.24 GB, free: 9.625 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 8.657e-06/0.8984, allocations: 7.844 kB / 1.24 GB, free: 9.617 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.015e-06/0.8984, allocations: 3.812 kB / 1.24 GB, free: 9.617 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.8985, allocations: 310.8 kB / 1.24 GB, free: 9.305 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.324e-05/0.8986, allocations: 4 kB / 1.24 GB, free: 9.301 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.668e-05/0.8986, allocations: 25.64 kB / 1.24 GB, free: 9.27 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.419e-05/0.8986, allocations: 20.78 kB / 1.24 GB, free: 9.246 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.8986, allocations: 4 kB / 1.24 GB, free: 9.242 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.404e-05/0.8987, allocations: 49.25 kB / 1.24 GB, free: 9.191 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.8988, allocations: 4 kB / 1.24 GB, free: 9.188 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.8988, allocations: 0 / 1.24 GB, free: 9.188 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.8988, allocations: 0 / 1.24 GB, free: 9.188 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.705e-05/0.8988, allocations: 16 kB / 1.24 GB, free: 9.172 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.8989, allocations: 0 / 1.24 GB, free: 9.172 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.145e-05/0.8989, allocations: 4 kB / 1.24 GB, free: 9.168 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.174e-05/0.8989, allocations: 4 kB / 1.24 GB, free: 9.164 MB / 0.7448 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 7.468e-05/0.899, allocations: 117.5 kB / 1.24 GB, free: 9.043 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.52e-05/0.899, allocations: 3.906 kB / 1.24 GB, free: 9.039 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001214/0.8991, allocations: 119.3 kB / 1.24 GB, free: 8.914 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.001e-05/0.8992, allocations: 187.7 kB / 1.24 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.734e-05/0.8993, allocations: 188.2 kB / 1.241 GB, free: 8.535 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.637e-05/0.8993, allocations: 176.3 kB / 1.241 GB, free: 8.355 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002046/0.8996, allocations: 408.8 kB / 1.241 GB, free: 7.902 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-05/0.8996, allocations: 104.9 kB / 1.241 GB, free: 7.793 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.697e-05/0.8997, allocations: 105 kB / 1.241 GB, free: 7.684 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.213e-05/0.8997, allocations: 184.2 kB / 1.241 GB, free: 7.496 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.509e-05/0.8998, allocations: 180.3 kB / 1.242 GB, free: 7.312 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.073e-05/0.8999, allocations: 184.1 kB / 1.242 GB, free: 7.129 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.96e-05/0.8999, allocations: 180.2 kB / 1.242 GB, free: 6.945 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001324/0.9001, allocations: 307.7 kB / 1.242 GB, free: 6.621 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.306e-05/0.9001, allocations: 189.8 kB / 1.242 GB, free: 6.414 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.923e-05/0.9002, allocations: 176.3 kB / 1.243 GB, free: 6.234 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000115/0.9003, allocations: 108.9 kB / 1.243 GB, free: 6.121 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.734e-05/0.9004, allocations: 184.2 kB / 1.243 GB, free: 5.934 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.814e-05/0.9004, allocations: 116.5 kB / 1.243 GB, free: 5.816 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.847e-05/0.9005, allocations: 79.28 kB / 1.243 GB, free: 5.738 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9005, allocations: 0 / 1.243 GB, free: 5.738 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002682/0.9007, allocations: 39.3 kB / 1.243 GB, free: 5.703 MB / 0.7448 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.0002368/0.901, allocations: 222.8 kB / 1.243 GB, free: 5.473 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 6.585e-05/0.9011, allocations: 8 kB / 1.243 GB, free: 5.465 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.9011, allocations: 0 / 1.243 GB, free: 5.465 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.607e-06/0.9011, allocations: 0 / 1.243 GB, free: 5.465 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003794/0.9015, allocations: 0.5399 MB / 1.244 GB, free: 4.926 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002622/0.9017, allocations: 192.1 kB / 1.244 GB, free: 4.711 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002756/0.902, allocations: 0.6809 MB / 1.245 GB, free: 4.004 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.025e-05/0.9021, allocations: 5.828 kB / 1.245 GB, free: 4 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.926e-05/0.9021, allocations: 11.44 kB / 1.245 GB, free: 3.988 MB / 0.7448 GB Notification: Performance of SimCode: time 2.4e-07/0.9021, allocations: 4 kB / 1.245 GB, free: 3.984 MB / 0.7448 GB Notification: Performance of Templates: time 0.003257/0.9054, allocations: 1.088 MB / 1.246 GB, free: 2.949 MB / 0.7448 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile (rm -f Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)