Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.694/1.694, allocations: 288.3 MB / 303.2 MB, free: 8.203 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.001194/0.001194, allocations: 174.1 kB / 371.8 MB, free: 10.27 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.897/1.897, allocations: 205.4 MB / 0.6306 GB, free: 9.984 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00102/0.00102, allocations: 94.84 kB / 0.7439 GB, free: 5.91 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004732/0.0004737, allocations: 10.62 kB / 0.8668 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2901/0.2906, allocations: 115.3 MB / 0.9794 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.063/1.354, allocations: 342.9 MB / 1.314 GB, free: 4.77 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003552/1.354, allocations: 83.69 kB / 1.314 GB, free: 4.719 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.01909/1.373, allocations: 7.744 MB / 1.322 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.022e-06/1.374, allocations: 0 / 1.322 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.403e-06/1.374, allocations: 0 / 1.322 GB, free: 14.48 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.000432/1.374, allocations: 350.8 kB / 1.322 GB, free: 14.1 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.886e-05/1.374, allocations: 16.02 kB / 1.322 GB, free: 14.08 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.647e-05/1.374, allocations: 4.562 kB / 1.322 GB, free: 14.08 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001457/1.374, allocations: 171 kB / 1.322 GB, free: 13.87 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.958e-05/1.374, allocations: 29.69 kB / 1.323 GB, free: 13.84 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.187e-06/1.374, allocations: 0 / 1.323 GB, free: 13.84 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001454/1.374, allocations: 49.17 kB / 1.323 GB, free: 13.79 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.437e-06/1.375, allocations: 0 / 1.323 GB, free: 13.79 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/1.375, allocations: 4 kB / 1.323 GB, free: 13.78 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.037e-05/1.375, allocations: 4 kB / 1.323 GB, free: 13.78 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.7e-05/1.375, allocations: 11.98 kB / 1.323 GB, free: 13.77 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008051/1.375, allocations: 0.5838 MB / 1.323 GB, free: 13.07 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 4.807e-05/1.375, allocations: 18.52 kB / 1.323 GB, free: 13.05 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003373/1.376, allocations: 351.5 kB / 1.323 GB, free: 12.64 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.417e-05/1.376, allocations: 34.55 kB / 1.324 GB, free: 12.59 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=1): time 1.694e-06/1.376, allocations: 4 kB / 1.324 GB, free: 12.59 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1): time 0.0001992/1.376, allocations: 37.2 kB / 1.324 GB, free: 12.55 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.467e-05/1.376, allocations: 51.41 kB / 1.324 GB, free: 12.49 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001051/1.376, allocations: 92.98 kB / 1.324 GB, free: 12.39 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.775e-05/1.376, allocations: 25.7 kB / 1.324 GB, free: 12.36 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 8.078e-05/1.376, allocations: 91.23 kB / 1.324 GB, free: 12.27 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 7.474e-06/1.376, allocations: 0 / 1.324 GB, free: 12.27 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.198e-06/1.376, allocations: 0 / 1.324 GB, free: 12.27 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001809/1.377, allocations: 324.6 kB / 1.324 GB, free: 11.95 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.002e-05/1.377, allocations: 11 kB / 1.324 GB, free: 11.94 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.101e-05/1.377, allocations: 13.72 kB / 1.324 GB, free: 11.92 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.802e-05/1.377, allocations: 6.75 kB / 1.324 GB, free: 11.91 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/1.377, allocations: 0 / 1.324 GB, free: 11.91 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001178/1.377, allocations: 52.16 kB / 1.324 GB, free: 11.86 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.457e-05/1.377, allocations: 7.938 kB / 1.324 GB, free: 11.85 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/1.377, allocations: 8.062 kB / 1.324 GB, free: 11.84 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.497e-05/1.377, allocations: 0 / 1.324 GB, free: 11.84 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.696e-05/1.377, allocations: 7.984 kB / 1.324 GB, free: 11.84 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/1.377, allocations: 3.984 kB / 1.324 GB, free: 11.83 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.785e-05/1.377, allocations: 3.938 kB / 1.324 GB, free: 11.83 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.675e-05/1.377, allocations: 4 kB / 1.324 GB, free: 11.82 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 () * 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 0.0001272/1.377, allocations: 114.5 kB / 1.324 GB, free: 11.71 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.799e-05/1.377, allocations: 4 kB / 1.324 GB, free: 11.7 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001739/1.377, allocations: 124.9 kB / 1.324 GB, free: 11.57 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.857e-05/1.378, allocations: 176.3 kB / 1.325 GB, free: 11.39 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001046/1.378, allocations: 179.5 kB / 1.325 GB, free: 11.21 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001087/1.378, allocations: 180.2 kB / 1.325 GB, free: 11.03 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003555/1.378, allocations: 408.8 kB / 1.325 GB, free: 10.58 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.714e-05/1.378, allocations: 112.9 kB / 1.325 GB, free: 10.46 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.551e-05/1.378, allocations: 108.9 kB / 1.326 GB, free: 10.35 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.658e-05/1.378, allocations: 180.2 kB / 1.326 GB, free: 10.16 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001127/1.379, allocations: 180.2 kB / 1.326 GB, free: 9.98 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001044/1.379, allocations: 176.3 kB / 1.326 GB, free: 9.801 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001028/1.379, allocations: 187 kB / 1.326 GB, free: 9.613 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002073/1.379, allocations: 310.5 kB / 1.327 GB, free: 9.289 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001147/1.379, allocations: 185.9 kB / 1.327 GB, free: 9.082 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001137/1.379, allocations: 181.5 kB / 1.327 GB, free: 8.902 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00016/1.379, allocations: 112.9 kB / 1.327 GB, free: 8.785 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.724e-05/1.379, allocations: 184.3 kB / 1.327 GB, free: 8.598 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.398e-05/1.38, allocations: 105 kB / 1.327 GB, free: 8.488 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.781e-05/1.38, allocations: 86.52 kB / 1.327 GB, free: 8.406 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.51e-07/1.38, allocations: 3.938 kB / 1.327 GB, free: 8.402 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000374/1.38, allocations: 31.94 kB / 1.327 GB, free: 8.371 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 () * 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.0003515/1.38, allocations: 229.4 kB / 1.328 GB, free: 8.141 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 9.345e-05/1.38, allocations: 7.938 kB / 1.328 GB, free: 8.133 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/1.38, allocations: 0 / 1.328 GB, free: 8.133 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.716e-06/1.381, allocations: 0 / 1.328 GB, free: 8.133 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000439/1.381, allocations: 0.5336 MB / 1.328 GB, free: 7.598 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003711/1.381, allocations: 192.3 kB / 1.328 GB, free: 7.383 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003775/1.382, allocations: 0.677 MB / 1.329 GB, free: 6.68 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 6.322e-05/1.382, allocations: 10.95 kB / 1.329 GB, free: 6.672 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.8e-05/1.382, allocations: 7.438 kB / 1.329 GB, free: 6.668 MB / 0.8542 GB Notification: Performance of SimCode: time 2.21e-07/1.382, allocations: 0 / 1.329 GB, free: 6.668 MB / 0.8542 GB Notification: Performance of Templates: time 0.004329/1.386, allocations: 1.07 MB / 1.33 GB, free: 5.656 MB / 0.8542 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile (rm -f Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)