Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.806/1.806, allocations: 297.8 MB / 313.7 MB, free: 120 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009807/0.0009807, allocations: 178.8 kB / 384.6 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.492/1.492, allocations: 223.2 MB / 0.6626 GB, free: 4.258 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000947/0.000947, allocations: 93.12 kB / 0.7808 GB, free: 50.21 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004618/0.000462, allocations: 12 kB / 0.9088 GB, free: 2.84 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9359/0.9363, allocations: 120.3 MB / 1.026 GB, free: 55.92 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4046/1.341, allocations: 346.3 MB / 1.364 GB, free: 7.238 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002837/1.341, allocations: 85.22 kB / 1.365 GB, free: 7.156 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 0.5995/1.941, allocations: 9.176 MB / 1.373 GB, free: 256.3 MB / 0.9323 GB Notification: Performance of FrontEnd: time 3.356e-06/1.941, allocations: 0.5 kB / 1.373 GB, free: 256.3 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 6.602e-06/1.941, allocations: 4.625 kB / 1.373 GB, free: 256.3 MB / 0.9323 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.0003267/1.941, allocations: 350.1 kB / 1.374 GB, free: 255.9 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/1.941, allocations: 11.12 kB / 1.374 GB, free: 255.9 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.882e-05/1.941, allocations: 2.469 kB / 1.374 GB, free: 255.9 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.674e-05/1.942, allocations: 166 kB / 1.374 GB, free: 255.7 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.495e-05/1.942, allocations: 33.69 kB / 1.374 GB, free: 255.7 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.151e-05/1.942, allocations: 384 / 1.374 GB, free: 255.7 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001423/1.942, allocations: 44.28 kB / 1.374 GB, free: 255.7 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/1.942, allocations: 3.938 kB / 1.374 GB, free: 255.7 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/1.942, allocations: 4.344 kB / 1.374 GB, free: 255.7 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.899e-05/1.942, allocations: 2.484 kB / 1.374 GB, free: 255.7 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.184e-05/1.942, allocations: 11.05 kB / 1.374 GB, free: 255.7 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005774/1.942, allocations: 0.5881 MB / 1.375 GB, free: 255 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 3.889e-05/1.943, allocations: 20.11 kB / 1.375 GB, free: 255 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.878e-05/1.943, allocations: 9.234 kB / 1.375 GB, free: 255 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001922/1.943, allocations: 349.8 kB / 1.375 GB, free: 254.6 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.025e-05/1.943, allocations: 34.5 kB / 1.375 GB, free: 254.6 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/1.943, allocations: 1.219 kB / 1.375 GB, free: 254.6 MB / 0.9323 GB Notification: Performance of matching and sorting (n=1): time 0.0001392/1.943, allocations: 36.27 kB / 1.375 GB, free: 254.5 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.335e-05/1.943, allocations: 53.7 kB / 1.375 GB, free: 254.5 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.329e-05/1.943, allocations: 101.1 kB / 1.375 GB, free: 254.4 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 1.359e-05/1.943, allocations: 27.61 kB / 1.375 GB, free: 254.3 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 3.347e-05/1.943, allocations: 88.52 kB / 1.375 GB, free: 254.3 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 6.252e-06/1.943, allocations: 6.359 kB / 1.375 GB, free: 254.3 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.595e-06/1.943, allocations: 0 / 1.375 GB, free: 254.3 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 5.754e-05/1.943, allocations: 313.5 kB / 1.376 GB, free: 253.9 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.251e-05/1.943, allocations: 3.375 kB / 1.376 GB, free: 253.9 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.986e-05/1.943, allocations: 19.44 kB / 1.376 GB, free: 253.9 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.336e-05/1.943, allocations: 31.53 kB / 1.376 GB, free: 253.9 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/1.943, allocations: 0 / 1.376 GB, free: 253.9 MB / 0.9323 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.335e-05/1.943, allocations: 48.45 kB / 1.376 GB, free: 253.9 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/1.943, allocations: 9.375 kB / 1.376 GB, free: 253.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/1.943, allocations: 0 / 1.376 GB, free: 253.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/1.943, allocations: 4.938 kB / 1.376 GB, free: 253.9 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.491e-05/1.943, allocations: 2.312 kB / 1.376 GB, free: 253.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/1.943, allocations: 2.078 kB / 1.376 GB, free: 253.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.064e-05/1.944, allocations: 7 kB / 1.376 GB, free: 253.9 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.699e-06/1.944, allocations: 2.125 kB / 1.376 GB, free: 253.9 MB / 0.9323 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 5.58e-05/1.944, allocations: 116.4 kB / 1.376 GB, free: 253.8 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.385e-05/1.944, allocations: 1.938 kB / 1.376 GB, free: 253.8 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.672e-05/1.944, allocations: 122.4 kB / 1.376 GB, free: 253.6 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.178e-05/1.944, allocations: 180.8 kB / 1.376 GB, free: 253.5 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-05/1.944, allocations: 185.3 kB / 1.376 GB, free: 253.3 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.603e-05/1.944, allocations: 182.2 kB / 1.377 GB, free: 253.1 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001553/1.944, allocations: 412.2 kB / 1.377 GB, free: 252.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.19e-05/1.944, allocations: 104.9 kB / 1.377 GB, free: 252.5 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.981e-05/1.944, allocations: 102.8 kB / 1.377 GB, free: 252.4 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.559e-05/1.944, allocations: 181.5 kB / 1.377 GB, free: 252.3 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.324e-05/1.944, allocations: 184.4 kB / 1.377 GB, free: 252.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.927e-05/1.944, allocations: 178.3 kB / 1.378 GB, free: 251.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.948e-05/1.944, allocations: 179.5 kB / 1.378 GB, free: 251.7 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.773e-05/1.944, allocations: 312.3 kB / 1.378 GB, free: 251.4 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 4.553e-05/1.944, allocations: 191.8 kB / 1.378 GB, free: 251.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.691e-05/1.944, allocations: 181.2 kB / 1.378 GB, free: 251 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001069/1.945, allocations: 109.6 kB / 1.379 GB, free: 250.9 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.291e-05/1.945, allocations: 181.6 kB / 1.379 GB, free: 250.7 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.949e-05/1.945, allocations: 106 kB / 1.379 GB, free: 250.6 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 3.362e-05/1.945, allocations: 82.31 kB / 1.379 GB, free: 250.6 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.3e-07/1.945, allocations: 1.5 kB / 1.379 GB, free: 250.6 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.000297/1.945, allocations: 36.73 kB / 1.379 GB, free: 250.6 MB / 0.9323 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.0002376/1.945, allocations: 230.9 kB / 1.379 GB, free: 250.4 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 7.239e-05/1.945, allocations: 8 kB / 1.379 GB, free: 250.4 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/1.945, allocations: 1.812 kB / 1.379 GB, free: 250.4 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 2.795e-06/1.945, allocations: 3.938 kB / 1.379 GB, free: 250.4 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003482/1.946, allocations: 0.5361 MB / 1.38 GB, free: 249.9 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002591/1.946, allocations: 191.6 kB / 1.38 GB, free: 249.7 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001476/1.946, allocations: 0.6763 MB / 1.381 GB, free: 249 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 4.662e-05/1.946, allocations: 6.922 kB / 1.381 GB, free: 249 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.981e-05/1.946, allocations: 9.688 kB / 1.381 GB, free: 249 MB / 0.9323 GB Notification: Performance of SimCode: time 9.11e-07/1.946, allocations: 4 kB / 1.381 GB, free: 249 MB / 0.9323 GB Notification: Performance of Templates: time 0.00358/1.95, allocations: 1.144 MB / 1.382 GB, free: 248.8 MB / 0.9323 GB make -j1 -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile (rm -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)