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.658/1.658, allocations: 288.4 MB / 304.3 MB, free: 8.152 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.0009537/0.0009538, allocations: 186.7 kB / 373 MB, free: 10.15 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.526/1.526, allocations: 205.4 MB / 0.6317 GB, free: 9.891 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.0009304/0.0009304, allocations: 96.69 kB / 0.745 GB, free: 5.801 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004151/0.0004151, allocations: 11.88 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2287/0.2291, allocations: 115.3 MB / 0.9807 GB, free: 27.42 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9038/1.133, allocations: 343 MB / 1.316 GB, free: 4.367 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002959/1.133, allocations: 82.58 kB / 1.316 GB, free: 4.32 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.01685/1.15, allocations: 7.74 MB / 1.323 GB, free: 14.08 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.304e-06/1.15, allocations: 0 / 1.323 GB, free: 14.08 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.961e-06/1.15, allocations: 0 / 1.323 GB, free: 14.08 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.0003719/1.151, allocations: 354.8 kB / 1.324 GB, free: 13.69 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/1.151, allocations: 11.97 kB / 1.324 GB, free: 13.68 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.012e-05/1.151, allocations: 5.562 kB / 1.324 GB, free: 13.67 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001222/1.151, allocations: 171.4 kB / 1.324 GB, free: 13.47 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.716e-05/1.151, allocations: 30.2 kB / 1.324 GB, free: 13.43 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.034e-05/1.151, allocations: 4.375 kB / 1.324 GB, free: 13.43 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001397/1.151, allocations: 49.91 kB / 1.324 GB, free: 13.38 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/1.151, allocations: 3.938 kB / 1.324 GB, free: 13.38 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/1.151, allocations: 0 / 1.324 GB, free: 13.38 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.609e-05/1.151, allocations: 0 / 1.324 GB, free: 13.38 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.232e-05/1.151, allocations: 11.98 kB / 1.324 GB, free: 13.36 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006402/1.152, allocations: 0.5959 MB / 1.324 GB, free: 12.66 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 3.659e-05/1.152, allocations: 18.58 kB / 1.324 GB, free: 12.63 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.737e-05/1.152, allocations: 8.859 kB / 1.325 GB, free: 12.62 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002428/1.152, allocations: 347.5 kB / 1.325 GB, free: 12.21 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.433e-05/1.152, allocations: 30.56 kB / 1.325 GB, free: 12.18 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=1): time 1.213e-06/1.152, allocations: 4 kB / 1.325 GB, free: 12.17 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1): time 0.0001465/1.152, allocations: 37.52 kB / 1.325 GB, free: 12.13 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.699e-05/1.152, allocations: 55.41 kB / 1.325 GB, free: 12.07 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.134e-05/1.153, allocations: 97.84 kB / 1.325 GB, free: 11.96 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.472e-05/1.153, allocations: 25.7 kB / 1.325 GB, free: 11.93 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.405e-05/1.153, allocations: 87.67 kB / 1.325 GB, free: 11.84 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.85e-06/1.153, allocations: 4 kB / 1.325 GB, free: 11.84 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.036e-06/1.153, allocations: 0 / 1.325 GB, free: 11.84 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001177/1.153, allocations: 319 kB / 1.325 GB, free: 11.52 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.423e-05/1.153, allocations: 7.75 kB / 1.325 GB, free: 11.52 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.047e-05/1.153, allocations: 13.72 kB / 1.325 GB, free: 11.5 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.602e-05/1.153, allocations: 24.78 kB / 1.326 GB, free: 11.47 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/1.153, allocations: 3.938 kB / 1.326 GB, free: 11.46 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.81e-05/1.153, allocations: 48.91 kB / 1.326 GB, free: 11.41 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/1.153, allocations: 13.78 kB / 1.326 GB, free: 11.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/1.153, allocations: 0 / 1.326 GB, free: 11.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/1.153, allocations: 0 / 1.326 GB, free: 11.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.732e-05/1.153, allocations: 11.92 kB / 1.326 GB, free: 11.39 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/1.153, allocations: 4 kB / 1.326 GB, free: 11.39 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.973e-05/1.153, allocations: 7.938 kB / 1.326 GB, free: 11.38 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.737e-06/1.153, allocations: 0 / 1.326 GB, free: 11.38 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 7.336e-05/1.153, allocations: 121.6 kB / 1.326 GB, free: 11.25 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.1e-05/1.153, allocations: 0 / 1.326 GB, free: 11.25 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000114/1.153, allocations: 121 kB / 1.326 GB, free: 11.13 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.836e-05/1.153, allocations: 180.2 kB / 1.326 GB, free: 10.95 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.666e-05/1.153, allocations: 176.3 kB / 1.326 GB, free: 10.77 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-05/1.154, allocations: 187.5 kB / 1.326 GB, free: 10.58 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002182/1.154, allocations: 401.2 kB / 1.327 GB, free: 10.13 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.28e-05/1.154, allocations: 112 kB / 1.327 GB, free: 10.02 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.499e-05/1.154, allocations: 108.9 kB / 1.327 GB, free: 9.902 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.621e-05/1.154, allocations: 180.2 kB / 1.327 GB, free: 9.719 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.829e-05/1.154, allocations: 180.2 kB / 1.327 GB, free: 9.535 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.207e-05/1.154, allocations: 180.3 kB / 1.327 GB, free: 9.352 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.375e-05/1.154, allocations: 184 kB / 1.328 GB, free: 9.168 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001344/1.154, allocations: 307.7 kB / 1.328 GB, free: 8.844 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 8.59e-05/1.154, allocations: 189.8 kB / 1.328 GB, free: 8.637 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.329e-05/1.154, allocations: 185.8 kB / 1.328 GB, free: 8.449 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000135/1.155, allocations: 109 kB / 1.328 GB, free: 8.336 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.138e-05/1.155, allocations: 184.5 kB / 1.329 GB, free: 8.148 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.033e-05/1.155, allocations: 101 kB / 1.329 GB, free: 8.043 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.475e-05/1.155, allocations: 87.02 kB / 1.329 GB, free: 7.961 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.3e-07/1.155, allocations: 4 kB / 1.329 GB, free: 7.957 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002798/1.155, allocations: 27.94 kB / 1.329 GB, free: 7.93 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.0002578/1.155, allocations: 244.8 kB / 1.329 GB, free: 7.688 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 6.476e-05/1.155, allocations: 11.94 kB / 1.329 GB, free: 7.676 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/1.155, allocations: 0 / 1.329 GB, free: 7.676 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.828e-06/1.155, allocations: 4.109 kB / 1.329 GB, free: 7.672 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000433/1.156, allocations: 0.5313 MB / 1.33 GB, free: 7.141 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002496/1.156, allocations: 188 kB / 1.33 GB, free: 6.934 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002474/1.156, allocations: 0.6731 MB / 1.33 GB, free: 6.234 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.982e-05/1.156, allocations: 11.98 kB / 1.33 GB, free: 6.223 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.713e-05/1.156, allocations: 7.438 kB / 1.33 GB, free: 6.219 MB / 0.8542 GB Notification: Performance of SimCode: time 2.4e-07/1.156, allocations: 0 / 1.33 GB, free: 6.219 MB / 0.8542 GB Notification: Performance of Templates: time 0.00321/1.16, allocations: 1.086 MB / 1.331 GB, free: 5.191 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)