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.686/1.686, allocations: 292.6 MB / 307.5 MB, free: 5.191 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.001001/0.001001, allocations: 192 kB / 377.1 MB, free: 1.531 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.698/1.698, allocations: 205.4 MB / 0.6367 GB, free: 8.637 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.0008717/0.0008721, allocations: 92.52 kB / 0.751 GB, free: 62.91 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003619/0.000362, allocations: 8 kB / 0.8748 GB, free: 11.21 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3012/0.3015, allocations: 116.3 MB / 0.9884 GB, free: 6.762 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.063/1.365, allocations: 342.5 MB / 1.323 GB, free: 15.84 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003513/1.365, allocations: 77.56 kB / 1.323 GB, free: 15.76 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 0.01753/1.383, allocations: 7.727 MB / 1.33 GB, free: 8.125 MB / 0.9011 GB Notification: Performance of FrontEnd: time 4.919e-06/1.383, allocations: 0 / 1.33 GB, free: 8.125 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 7.424e-06/1.383, allocations: 3.938 kB / 1.33 GB, free: 8.121 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.0003893/1.383, allocations: 355.3 kB / 1.331 GB, free: 7.727 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/1.383, allocations: 16.02 kB / 1.331 GB, free: 7.711 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.141e-05/1.383, allocations: 4.719 kB / 1.331 GB, free: 7.707 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001291/1.383, allocations: 161.8 kB / 1.331 GB, free: 7.512 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.975e-05/1.384, allocations: 29.7 kB / 1.331 GB, free: 7.477 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.338e-05/1.384, allocations: 0.75 kB / 1.331 GB, free: 7.477 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001485/1.384, allocations: 49.11 kB / 1.331 GB, free: 7.426 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/1.384, allocations: 0 / 1.331 GB, free: 7.426 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/1.384, allocations: 4 kB / 1.331 GB, free: 7.422 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.005e-05/1.384, allocations: 4 kB / 1.331 GB, free: 7.418 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.377e-05/1.384, allocations: 11.94 kB / 1.331 GB, free: 7.406 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006656/1.385, allocations: 0.5882 MB / 1.332 GB, free: 6.695 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 3.385e-05/1.385, allocations: 16.98 kB / 1.332 GB, free: 6.672 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002442/1.385, allocations: 344.5 kB / 1.332 GB, free: 6.262 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.909e-05/1.385, allocations: 38.55 kB / 1.332 GB, free: 6.215 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=1): time 1.573e-06/1.385, allocations: 0 / 1.332 GB, free: 6.215 MB / 0.9011 GB Notification: Performance of matching and sorting (n=1): time 0.0001512/1.385, allocations: 43.52 kB / 1.332 GB, free: 6.168 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.8e-05/1.385, allocations: 51.41 kB / 1.332 GB, free: 6.105 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.079e-05/1.385, allocations: 92.98 kB / 1.332 GB, free: 6.008 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.498e-05/1.385, allocations: 25.7 kB / 1.332 GB, free: 5.977 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 5.713e-05/1.385, allocations: 88.05 kB / 1.332 GB, free: 5.887 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 5.801e-06/1.385, allocations: 4.125 kB / 1.332 GB, free: 5.883 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.725e-06/1.385, allocations: 4 kB / 1.332 GB, free: 5.879 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001133/1.385, allocations: 316.5 kB / 1.333 GB, free: 5.562 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.361e-05/1.385, allocations: 4.656 kB / 1.333 GB, free: 5.559 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.521e-05/1.385, allocations: 21.7 kB / 1.333 GB, free: 5.531 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.788e-05/1.385, allocations: 4 kB / 1.333 GB, free: 5.527 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/1.385, allocations: 0 / 1.333 GB, free: 5.527 MB / 0.9011 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.507e-05/1.386, allocations: 54.62 kB / 1.333 GB, free: 5.469 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/1.386, allocations: 4.781 kB / 1.333 GB, free: 5.465 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/1.386, allocations: 0 / 1.333 GB, free: 5.465 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/1.386, allocations: 4.75 kB / 1.333 GB, free: 5.461 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.677e-05/1.386, allocations: 7.938 kB / 1.333 GB, free: 5.453 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/1.386, allocations: 0 / 1.333 GB, free: 5.453 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.327e-05/1.386, allocations: 7.844 kB / 1.333 GB, free: 5.445 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.213e-05/1.386, allocations: 4 kB / 1.333 GB, free: 5.441 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 7.64e-05/1.386, allocations: 113.8 kB / 1.333 GB, free: 5.32 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.525e-05/1.386, allocations: 8.062 kB / 1.333 GB, free: 5.312 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001222/1.386, allocations: 118.9 kB / 1.333 GB, free: 5.191 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-05/1.386, allocations: 180.9 kB / 1.333 GB, free: 5.008 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.934e-05/1.386, allocations: 184.7 kB / 1.333 GB, free: 4.82 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.319e-05/1.386, allocations: 176.3 kB / 1.333 GB, free: 4.641 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002262/1.386, allocations: 417.1 kB / 1.334 GB, free: 4.176 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.675e-05/1.386, allocations: 105.5 kB / 1.334 GB, free: 4.066 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.066e-05/1.386, allocations: 103.9 kB / 1.334 GB, free: 3.961 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.935e-05/1.387, allocations: 188.2 kB / 1.334 GB, free: 3.77 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.689e-05/1.387, allocations: 177.5 kB / 1.334 GB, free: 3.59 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.729e-05/1.387, allocations: 184.2 kB / 1.335 GB, free: 3.402 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.955e-05/1.387, allocations: 180.3 kB / 1.335 GB, free: 3.219 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001355/1.387, allocations: 307.7 kB / 1.335 GB, free: 2.895 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 8.36e-05/1.387, allocations: 186.1 kB / 1.335 GB, free: 2.688 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.286e-05/1.387, allocations: 181.4 kB / 1.335 GB, free: 2.504 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001227/1.387, allocations: 113 kB / 1.335 GB, free: 2.387 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.291e-05/1.387, allocations: 184.2 kB / 1.336 GB, free: 2.199 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.84e-05/1.387, allocations: 105.8 kB / 1.336 GB, free: 2.09 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 4.229e-05/1.387, allocations: 79.28 kB / 1.336 GB, free: 2.012 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.8e-07/1.387, allocations: 0 / 1.336 GB, free: 2.012 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0002769/1.388, allocations: 35.98 kB / 1.336 GB, free: 1.977 MB / 0.9011 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.0002671/1.388, allocations: 228.9 kB / 1.336 GB, free: 1.746 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 6.867e-05/1.388, allocations: 11.94 kB / 1.336 GB, free: 1.734 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/1.388, allocations: 128 / 1.336 GB, free: 1.734 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 3.046e-06/1.388, allocations: 4 kB / 1.336 GB, free: 1.73 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003561/1.388, allocations: 0.5276 MB / 1.337 GB, free: 1.199 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002582/1.389, allocations: 189.5 kB / 1.337 GB, free: 0.9883 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002485/1.389, allocations: 0.6809 MB / 1.337 GB, free: 288 kB / 0.9011 GB Notification: Performance of simCode: alias equations: time 4.106e-05/1.389, allocations: 4.844 kB / 1.337 GB, free: 284 kB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.264e-05/1.389, allocations: 19.42 kB / 1.337 GB, free: 264 kB / 0.9011 GB Notification: Performance of SimCode: time 2.1e-07/1.389, allocations: 0.6562 kB / 1.337 GB, free: 264 kB / 0.9011 GB Notification: Performance of Templates: time 0.003426/1.392, allocations: 1.077 MB / 1.339 GB, free: 15.26 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)