Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.382/1.382, allocations: 251.5 MB / 267.4 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00112/0.001119, allocations: 178.2 kB / 326.5 MB, free: 2.695 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.483/1.483, allocations: 205 MB / 0.5766 GB, free: 20.97 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008011/0.0008011, allocations: 92.02 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003445/0.0003444, allocations: 10.22 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1716/0.1719, allocations: 105.4 MB / 0.8967 GB, free: 68.2 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.003197/0.1752, allocations: 3.021 MB / 0.8997 GB, free: 65.15 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 7.47e-05/0.1753, allocations: 51.86 kB / 0.8997 GB, free: 65.1 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.567e-05/0.1753, allocations: 0 / 0.8997 GB, free: 65.1 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 9.268e-05/0.1754, allocations: 3.938 kB / 0.8997 GB, free: 65.1 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.519e-05/0.1755, allocations: 11.97 kB / 0.8998 GB, free: 65.09 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004642/0.176, allocations: 163.4 kB / 0.8999 GB, free: 64.93 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001032/0.1761, allocations: 55.77 kB / 0.9 GB, free: 64.87 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.192e-05/0.1761, allocations: 8 kB / 0.9 GB, free: 64.86 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.009e-05/0.1762, allocations: 15.97 kB / 0.9 GB, free: 64.85 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.677e-05/0.1763, allocations: 4 kB / 0.9 GB, free: 64.84 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.668e-05/0.1763, allocations: 4 kB / 0.9 GB, free: 64.84 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004356/0.1768, allocations: 171.5 kB / 0.9002 GB, free: 64.67 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.784e-05/0.1768, allocations: 11.92 kB / 0.9002 GB, free: 64.66 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.183e-05/0.1769, allocations: 8 kB / 0.9002 GB, free: 64.65 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002484/0.1771, allocations: 96.09 kB / 0.9003 GB, free: 64.56 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.1771, allocations: 0 / 0.9003 GB, free: 64.56 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.964e-06/0.1771, allocations: 0 / 0.9003 GB, free: 64.56 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.112e-06/0.1772, allocations: 0 / 0.9003 GB, free: 64.56 MB / 0.6042 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.0004318/0.1776, allocations: 343.4 kB / 0.9006 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.1776, allocations: 12.03 kB / 0.9006 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.09e-05/0.1777, allocations: 0.9375 kB / 0.9006 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001118/0.1778, allocations: 172.3 kB / 0.9008 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.492e-05/0.1779, allocations: 34.2 kB / 0.9008 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.083e-05/0.1779, allocations: 384 / 0.9008 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001455/0.1781, allocations: 45.61 kB / 0.9008 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.1781, allocations: 0 / 0.9008 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.454e-05/0.1781, allocations: 4 kB / 0.9009 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.183e-05/0.1781, allocations: 0 / 0.9009 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.826e-05/0.1782, allocations: 15.98 kB / 0.9009 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006917/0.1789, allocations: 0.5794 MB / 0.9014 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.075e-05/0.1789, allocations: 26.52 kB / 0.9015 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.662e-05/0.179, allocations: 4.859 kB / 0.9015 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002058/0.1792, allocations: 340.5 kB / 0.9018 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.246e-05/0.1792, allocations: 30.56 kB / 0.9018 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 1.453e-06/0.1792, allocations: 0 / 0.9018 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0001742/0.1794, allocations: 49.59 kB / 0.9019 GB, free: 62.6 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.004e-05/0.1794, allocations: 55.34 kB / 0.9019 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.153e-05/0.1795, allocations: 97.86 kB / 0.902 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.218e-06/0.1795, allocations: 25.7 kB / 0.902 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.315e-05/0.1796, allocations: 99.95 kB / 0.9021 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.46e-06/0.1796, allocations: 0 / 0.9021 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.131e-05/0.1796, allocations: 9.719 kB / 0.9021 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.205e-05/0.1797, allocations: 322.7 kB / 0.9024 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.275e-05/0.1797, allocations: 8.125 kB / 0.9025 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.082e-05/0.1797, allocations: 17.7 kB / 0.9025 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.936e-05/0.1797, allocations: 21.72 kB / 0.9025 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1798, allocations: 0 / 0.9025 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.305e-05/0.1798, allocations: 49.62 kB / 0.9025 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.1799, allocations: 4 kB / 0.9025 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.1799, allocations: 4.062 kB / 0.9025 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.1799, allocations: 4 kB / 0.9026 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.678e-05/0.1799, allocations: 8 kB / 0.9026 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.1799, allocations: 0 / 0.9026 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.98e-05/0.18, allocations: 0 / 0.9026 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/0.18, allocations: 4 kB / 0.9026 GB, free: 61.82 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.538e-05/0.1801, allocations: 117.7 kB / 0.9027 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.856e-05/0.1801, allocations: 8.188 kB / 0.9027 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.857e-05/0.1802, allocations: 117.7 kB / 0.9028 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-05/0.1802, allocations: 196.2 kB / 0.903 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.404e-05/0.1803, allocations: 176.3 kB / 0.9032 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.488e-05/0.1803, allocations: 176.3 kB / 0.9033 GB, free: 61 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001434/0.1804, allocations: 413.1 kB / 0.9037 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.385e-05/0.1805, allocations: 105 kB / 0.9038 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.617e-05/0.1805, allocations: 104.9 kB / 0.9039 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.438e-05/0.1805, allocations: 184.2 kB / 0.9041 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.668e-05/0.1805, allocations: 180.3 kB / 0.9043 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.747e-05/0.1806, allocations: 184.2 kB / 0.9044 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.714e-05/0.1806, allocations: 176.3 kB / 0.9046 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.371e-05/0.1807, allocations: 311.7 kB / 0.9049 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.132e-05/0.1807, allocations: 186.1 kB / 0.9051 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.801e-05/0.1808, allocations: 180.2 kB / 0.9053 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001241/0.1809, allocations: 105 kB / 0.9054 GB, free: 58.76 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.114e-05/0.1809, allocations: 188.2 kB / 0.9055 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.617e-05/0.181, allocations: 109 kB / 0.9056 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.921e-05/0.181, allocations: 83.28 kB / 0.9057 GB, free: 58.37 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.181, allocations: 0 / 0.9057 GB, free: 58.37 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002903/0.1813, allocations: 35.92 kB / 0.9057 GB, free: 58.34 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002291/0.1815, allocations: 244.6 kB / 0.906 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 6.393e-05/0.1816, allocations: 11.94 kB / 0.906 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.1816, allocations: 0 / 0.906 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.713e-06/0.1816, allocations: 0 / 0.906 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003463/0.182, allocations: 0.5303 MB / 0.9065 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002208/0.1822, allocations: 205.4 kB / 0.9067 GB, free: 57.31 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001025/0.1823, allocations: 0.6731 MB / 0.9074 GB, free: 56.61 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.01e-05/0.1823, allocations: 15.44 kB / 0.9074 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of SimCode: time 1.222e-06/0.1823, allocations: 0 / 0.9074 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of Templates: time 0.002256/0.1846, allocations: 1.161 MB / 0.9085 GB, free: 55.45 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile (rm -f Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)