Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.621/2.621, allocations: 285 MB / 292.5 MB, free: 10.56 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001533/0.001533, allocations: 176.9 kB / 360.7 MB, free: 7.254 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.98/1.98, allocations: 205.3 MB / 0.6192 GB, free: 12.13 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001033/0.001033, allocations: 93.48 kB / 0.7322 GB, free: 44.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.125e-05/2.123e-05, allocations: 0 / 0.8509 GB, free: 3.34 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8675/0.8675, allocations: 115.2 MB / 0.9634 GB, free: 78.7 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.207/2.075, allocations: 342 MB / 1.297 GB, free: 190.2 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002896/2.075, allocations: 81.81 kB / 1.298 GB, free: 190.2 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.03555/2.111, allocations: 7.668 MB / 1.305 GB, free: 189.4 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.194e-06/2.111, allocations: 0 / 1.305 GB, free: 189.4 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 8.616e-06/2.111, allocations: 1.188 kB / 1.305 GB, free: 189.4 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.0004337/2.111, allocations: 343.2 kB / 1.305 GB, free: 189.1 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.565e-05/2.111, allocations: 13 kB / 1.305 GB, free: 189.1 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.152e-05/2.111, allocations: 3.391 kB / 1.305 GB, free: 189.1 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001149/2.111, allocations: 164.4 kB / 1.306 GB, free: 188.9 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.481e-05/2.112, allocations: 30.45 kB / 1.306 GB, free: 188.8 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.214e-05/2.112, allocations: 1.5 kB / 1.306 GB, free: 188.8 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001017/2.112, allocations: 17.34 kB / 1.306 GB, free: 188.8 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001139/2.112, allocations: 36.66 kB / 1.306 GB, free: 188.8 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/2.112, allocations: 0 / 1.306 GB, free: 188.8 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.642e-05/2.112, allocations: 0 / 1.306 GB, free: 188.8 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.279e-05/2.112, allocations: 4.453 kB / 1.306 GB, free: 188.8 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007641/2.113, allocations: 0.584 MB / 1.306 GB, free: 188.2 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 3.991e-05/2.113, allocations: 15.61 kB / 1.306 GB, free: 188.2 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.104e-05/2.113, allocations: 9.797 kB / 1.306 GB, free: 188.1 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003483/2.113, allocations: 366.7 kB / 1.307 GB, free: 187.8 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.285e-05/2.113, allocations: 39.44 kB / 1.307 GB, free: 187.7 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=1): time 2.275e-06/2.113, allocations: 0.9375 kB / 1.307 GB, free: 187.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1): time 0.0003325/2.114, allocations: 38.72 kB / 1.307 GB, free: 187.7 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.481e-05/2.114, allocations: 52.59 kB / 1.307 GB, free: 187.6 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.533e-05/2.114, allocations: 98.73 kB / 1.307 GB, free: 187.5 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.558e-05/2.114, allocations: 25.7 kB / 1.307 GB, free: 187.5 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.135e-05/2.114, allocations: 85.17 kB / 1.307 GB, free: 187.4 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 8.035e-06/2.114, allocations: 2.344 kB / 1.307 GB, free: 187.4 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.498e-06/2.114, allocations: 4.031 kB / 1.307 GB, free: 187.4 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.106e-05/2.114, allocations: 323.6 kB / 1.307 GB, free: 187.1 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.088e-05/2.114, allocations: 5.781 kB / 1.307 GB, free: 187.1 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.161e-05/2.114, allocations: 12.84 kB / 1.307 GB, free: 187.1 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002925/2.114, allocations: 25.14 kB / 1.307 GB, free: 187.1 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/2.114, allocations: 0 / 1.307 GB, free: 187.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003713/2.115, allocations: 58.61 kB / 1.307 GB, free: 187 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.468e-05/2.115, allocations: 6.312 kB / 1.307 GB, free: 187 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/2.115, allocations: 0 / 1.307 GB, free: 187 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/2.115, allocations: 1 kB / 1.307 GB, free: 187 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.958e-05/2.115, allocations: 7.859 kB / 1.307 GB, free: 187 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/2.115, allocations: 1.062 kB / 1.307 GB, free: 187 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.867e-05/2.115, allocations: 12.53 kB / 1.307 GB, free: 187 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.74e-05/2.115, allocations: 2.062 kB / 1.307 GB, free: 187 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 7.354e-05/2.115, allocations: 110.3 kB / 1.307 GB, free: 186.9 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.175e-05/2.115, allocations: 5.188 kB / 1.307 GB, free: 186.9 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001366/2.115, allocations: 116.1 kB / 1.308 GB, free: 186.8 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.1e-05/2.115, allocations: 177.5 kB / 1.308 GB, free: 186.6 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.094e-05/2.115, allocations: 183.3 kB / 1.308 GB, free: 186.4 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.075e-05/2.115, allocations: 183.6 kB / 1.308 GB, free: 186.3 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000234/2.116, allocations: 384.4 kB / 1.308 GB, free: 185.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.008176/2.124, allocations: 113.5 kB / 1.309 GB, free: 185.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.429e-05/2.124, allocations: 105.5 kB / 1.309 GB, free: 185.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.953e-05/2.124, allocations: 177.3 kB / 1.309 GB, free: 185.4 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.479e-05/2.124, allocations: 184.8 kB / 1.309 GB, free: 185.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-05/2.124, allocations: 177.5 kB / 1.309 GB, free: 185.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-05/2.124, allocations: 185.5 kB / 1.309 GB, free: 184.9 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001208/2.124, allocations: 302.8 kB / 1.31 GB, free: 184.6 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 6.967e-05/2.124, allocations: 186.9 kB / 1.31 GB, free: 184.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.708e-05/2.124, allocations: 182.6 kB / 1.31 GB, free: 184.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002482/2.125, allocations: 111.9 kB / 1.31 GB, free: 184.1 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.209e-05/2.125, allocations: 177.7 kB / 1.31 GB, free: 183.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.627e-05/2.125, allocations: 104.9 kB / 1.31 GB, free: 183.8 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.259e-05/2.125, allocations: 83.97 kB / 1.31 GB, free: 183.7 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5.91e-07/2.125, allocations: 0 / 1.31 GB, free: 183.7 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0006526/2.126, allocations: 29.14 kB / 1.31 GB, free: 183.7 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.0003613/2.126, allocations: 234.5 kB / 1.311 GB, free: 183.5 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 9.36e-05/2.126, allocations: 5.594 kB / 1.311 GB, free: 183.5 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/2.126, allocations: 6.688 kB / 1.311 GB, free: 183.5 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.677e-06/2.126, allocations: 8.938 kB / 1.311 GB, free: 183.5 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003946/2.127, allocations: 0.5209 MB / 1.311 GB, free: 183 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000198/2.127, allocations: 124.5 kB / 1.311 GB, free: 182.9 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001572/2.127, allocations: 0.6799 MB / 1.312 GB, free: 182.2 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 7.617e-05/2.127, allocations: 10.42 kB / 1.312 GB, free: 182.2 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.328e-05/2.127, allocations: 8.906 kB / 1.312 GB, free: 182.2 MB / 0.8542 GB Notification: Performance of SimCode: time 9.02e-07/2.127, allocations: 0 / 1.312 GB, free: 182.2 MB / 0.8542 GB Notification: Performance of Templates: time 0.01411/2.141, allocations: 1.032 MB / 1.313 GB, free: 182 MB / 0.8542 GB make -j1 -f Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile (rm -f Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)