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.4-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.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-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.4-maint.8.1.x/package.mo): time 1.548/1.548, allocations: 289.9 MB / 297.4 MB, free: 6.387 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.0009218/0.000922, allocations: 176.8 kB / 366.7 MB, free: 1.68 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.375/1.375, allocations: 205.2 MB / 0.626 GB, free: 7.207 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.0008073/0.0008073, allocations: 87.39 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.591e-05/1.591e-05, allocations: 0 / 0.8597 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5633/0.5633, allocations: 116.3 MB / 0.9732 GB, free: 76.37 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7546/1.318, allocations: 341.7 MB / 1.307 GB, free: 250.4 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000223/1.318, allocations: 75.95 kB / 1.307 GB, free: 250.3 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.01411/1.332, allocations: 7.652 MB / 1.314 GB, free: 242.7 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.114e-06/1.332, allocations: 0 / 1.314 GB, free: 242.7 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.262e-06/1.333, allocations: 0 / 1.314 GB, free: 242.7 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.0002396/1.333, allocations: 350.4 kB / 1.315 GB, free: 242.3 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/1.333, allocations: 8.031 kB / 1.315 GB, free: 242.3 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.08e-05/1.333, allocations: 8 kB / 1.315 GB, free: 242.3 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.843e-05/1.333, allocations: 163 kB / 1.315 GB, free: 242.1 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.837e-05/1.333, allocations: 25.7 kB / 1.315 GB, free: 242.1 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.124e-05/1.333, allocations: 4 kB / 1.315 GB, free: 242.1 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.999e-05/1.333, allocations: 15.92 kB / 1.315 GB, free: 242.1 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.447e-05/1.333, allocations: 37.69 kB / 1.315 GB, free: 242 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/1.333, allocations: 0 / 1.315 GB, free: 242 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/1.333, allocations: 2.625 kB / 1.315 GB, free: 242 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.571e-05/1.333, allocations: 4 kB / 1.315 GB, free: 242 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004628/1.334, allocations: 0.5838 MB / 1.316 GB, free: 241.3 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 2.915e-05/1.334, allocations: 18.58 kB / 1.316 GB, free: 241.3 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.285e-05/1.334, allocations: 4.859 kB / 1.316 GB, free: 241.3 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001586/1.334, allocations: 360.5 kB / 1.316 GB, free: 240.9 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.029e-05/1.334, allocations: 38.5 kB / 1.316 GB, free: 240.8 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/1.334, allocations: 0 / 1.316 GB, free: 240.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1): time 0.000199/1.334, allocations: 45.69 kB / 1.316 GB, free: 240.8 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.613e-05/1.334, allocations: 51.41 kB / 1.316 GB, free: 240.7 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.59e-05/1.334, allocations: 90.69 kB / 1.316 GB, free: 240.6 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 9.127e-06/1.334, allocations: 25.7 kB / 1.316 GB, free: 240.6 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 2.799e-05/1.334, allocations: 88.05 kB / 1.316 GB, free: 240.5 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.992e-06/1.334, allocations: 7.984 kB / 1.316 GB, free: 240.5 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.745e-06/1.334, allocations: 3.938 kB / 1.316 GB, free: 240.5 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 4.752e-05/1.334, allocations: 318.8 kB / 1.317 GB, free: 240.2 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.277e-06/1.334, allocations: 0 / 1.317 GB, free: 240.2 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.493e-05/1.334, allocations: 17.91 kB / 1.317 GB, free: 240.1 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001189/1.335, allocations: 19.98 kB / 1.317 GB, free: 240.1 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/1.335, allocations: 0 / 1.317 GB, free: 240.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001475/1.335, allocations: 61.67 kB / 1.317 GB, free: 240.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.086e-05/1.335, allocations: 8 kB / 1.317 GB, free: 240.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/1.335, allocations: 4 kB / 1.317 GB, free: 240 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/1.335, allocations: 96 / 1.317 GB, free: 240 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.293e-05/1.335, allocations: 11.97 kB / 1.317 GB, free: 240 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/1.335, allocations: 0 / 1.317 GB, free: 240 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.719e-05/1.335, allocations: 7.906 kB / 1.317 GB, free: 240 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-06/1.335, allocations: 0 / 1.317 GB, free: 240 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.626e-05/1.335, allocations: 114.2 kB / 1.317 GB, free: 239.9 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.334e-05/1.335, allocations: 4 kB / 1.317 GB, free: 239.9 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.132e-05/1.335, allocations: 123.1 kB / 1.317 GB, free: 239.8 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.243e-05/1.335, allocations: 180.3 kB / 1.317 GB, free: 239.6 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.502e-05/1.335, allocations: 180.2 kB / 1.317 GB, free: 239.4 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.47e-05/1.335, allocations: 176.3 kB / 1.318 GB, free: 239.2 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001125/1.335, allocations: 385.8 kB / 1.318 GB, free: 238.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.619e-05/1.335, allocations: 112.9 kB / 1.318 GB, free: 238.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.3e-05/1.335, allocations: 104.9 kB / 1.318 GB, free: 238.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.31e-05/1.335, allocations: 180.2 kB / 1.318 GB, free: 238.4 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.611e-05/1.335, allocations: 184.2 kB / 1.318 GB, free: 238.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-05/1.335, allocations: 180.2 kB / 1.319 GB, free: 238 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.378e-05/1.335, allocations: 180.3 kB / 1.319 GB, free: 237.8 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.324e-05/1.335, allocations: 307.8 kB / 1.319 GB, free: 237.5 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.441e-05/1.335, allocations: 182.1 kB / 1.319 GB, free: 237.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.698e-05/1.336, allocations: 186.1 kB / 1.319 GB, free: 237.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/1.336, allocations: 113 kB / 1.32 GB, free: 237 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.908e-05/1.336, allocations: 176.3 kB / 1.32 GB, free: 236.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.436e-05/1.336, allocations: 104.9 kB / 1.32 GB, free: 236.7 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 2.435e-05/1.336, allocations: 83.28 kB / 1.32 GB, free: 236.6 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.4e-07/1.336, allocations: 4 kB / 1.32 GB, free: 236.6 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002304/1.336, allocations: 27.98 kB / 1.32 GB, free: 236.6 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.0001827/1.336, allocations: 239.3 kB / 1.32 GB, free: 236.4 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 5.981e-05/1.336, allocations: 8 kB / 1.32 GB, free: 236.4 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/1.336, allocations: 0 / 1.32 GB, free: 236.4 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.383e-06/1.336, allocations: 4.062 kB / 1.32 GB, free: 236.4 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002189/1.336, allocations: 0.5243 MB / 1.321 GB, free: 235.8 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001399/1.337, allocations: 127.3 kB / 1.321 GB, free: 235.7 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001112/1.337, allocations: 0.6768 MB / 1.321 GB, free: 235 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.967e-05/1.337, allocations: 9.688 kB / 1.321 GB, free: 235 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.201e-05/1.337, allocations: 7.438 kB / 1.321 GB, free: 235 MB / 0.8542 GB Notification: Performance of SimCode: time 2.61e-07/1.337, allocations: 0 / 1.321 GB, free: 235 MB / 0.8542 GB Notification: Performance of Templates: time 0.002624/1.339, allocations: 1.028 MB / 1.322 GB, free: 234 MB / 0.8542 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)