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.346/1.346, allocations: 252 MB / 268 MB, free: 10.87 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.001016/0.001016, allocations: 170.1 kB / 327.6 MB, free: 2.109 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.665/1.665, allocations: 205.4 MB / 0.5786 GB, free: 20.18 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.0007606/0.0007608, allocations: 80.92 kB / 0.6832 GB, free: 12.79 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002978/0.0002979, allocations: 9.062 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.176/0.1763, allocations: 106.3 MB / 0.9015 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.003038/0.1794, allocations: 2.996 MB / 0.9044 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 6.915e-05/0.1795, allocations: 55.78 kB / 0.9044 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.388e-05/0.1795, allocations: 4 kB / 0.9044 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 8.797e-05/0.1796, allocations: 0 / 0.9044 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.653e-05/0.1797, allocations: 11.92 kB / 0.9044 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004075/0.1801, allocations: 169.9 kB / 0.9046 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.306e-05/0.1802, allocations: 51.89 kB / 0.9047 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.489e-05/0.1803, allocations: 0 / 0.9047 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.851e-05/0.1803, allocations: 19.91 kB / 0.9047 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.527e-05/0.1804, allocations: 15.94 kB / 0.9047 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.077e-05/0.1804, allocations: 0 / 0.9047 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002801/0.1807, allocations: 175.5 kB / 0.9049 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.126e-05/0.1807, allocations: 7.922 kB / 0.9049 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.034e-05/0.1808, allocations: 33.7 kB / 0.9049 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000158/0.1809, allocations: 87.81 kB / 0.905 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.1809, allocations: 0 / 0.905 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.382e-06/0.1809, allocations: 0 / 0.905 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.396e-06/0.181, allocations: 0 / 0.905 GB, free: 59.91 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.0003151/0.1813, allocations: 347.7 kB / 0.9053 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.1813, allocations: 11.97 kB / 0.9053 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.108e-05/0.1814, allocations: 4.938 kB / 0.9053 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.85e-05/0.1814, allocations: 160.4 kB / 0.9055 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.921e-05/0.1815, allocations: 30.27 kB / 0.9055 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.192e-05/0.1815, allocations: 384 / 0.9055 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001222/0.1816, allocations: 57.59 kB / 0.9056 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/0.1817, allocations: 0 / 0.9056 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.1817, allocations: 0 / 0.9056 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.795e-05/0.1817, allocations: 0 / 0.9056 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.055e-05/0.1817, allocations: 15.92 kB / 0.9056 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004878/0.1822, allocations: 0.5911 MB / 0.9062 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 3.11e-05/0.1823, allocations: 14.58 kB / 0.9062 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.333e-05/0.1823, allocations: 8.922 kB / 0.9062 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001474/0.1825, allocations: 344.4 kB / 0.9065 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.793e-05/0.1825, allocations: 30.56 kB / 0.9065 GB, free: 58 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/0.1825, allocations: 7.938 kB / 0.9065 GB, free: 57.99 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0001294/0.1826, allocations: 45.53 kB / 0.9066 GB, free: 57.94 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.008e-05/0.1827, allocations: 51.41 kB / 0.9066 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.492e-05/0.1827, allocations: 97.86 kB / 0.9067 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.686e-06/0.1827, allocations: 29.7 kB / 0.9068 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.809e-05/0.1828, allocations: 88.03 kB / 0.9068 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.629e-06/0.1828, allocations: 4 kB / 0.9068 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.905e-06/0.1828, allocations: 0 / 0.9068 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.317e-05/0.1828, allocations: 318.9 kB / 0.9072 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.216e-05/0.1829, allocations: 4 kB / 0.9072 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.046e-05/0.1829, allocations: 21.7 kB / 0.9072 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.708e-05/0.1829, allocations: 21.66 kB / 0.9072 GB, free: 57.26 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-06/0.1829, allocations: 0 / 0.9072 GB, free: 57.26 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.047e-05/0.183, allocations: 49.69 kB / 0.9072 GB, free: 57.21 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.183, allocations: 10.5 kB / 0.9073 GB, free: 57.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.487e-06/0.183, allocations: 0 / 0.9073 GB, free: 57.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.036e-05/0.183, allocations: 4 kB / 0.9073 GB, free: 57.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.916e-05/0.1831, allocations: 4 kB / 0.9073 GB, free: 57.19 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.1831, allocations: 0 / 0.9073 GB, free: 57.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.717e-05/0.1831, allocations: 0 / 0.9073 GB, free: 57.19 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.197e-06/0.1831, allocations: 4 kB / 0.9073 GB, free: 57.19 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 4.667e-05/0.1832, allocations: 117.8 kB / 0.9074 GB, free: 57.06 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.326e-05/0.1832, allocations: 7.906 kB / 0.9074 GB, free: 57.05 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.663e-05/0.1833, allocations: 120.9 kB / 0.9075 GB, free: 56.93 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.42e-05/0.1833, allocations: 180.3 kB / 0.9077 GB, free: 56.74 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.269e-05/0.1834, allocations: 180.2 kB / 0.9078 GB, free: 56.56 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.236e-05/0.1834, allocations: 184.2 kB / 0.908 GB, free: 56.37 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001243/0.1835, allocations: 413.1 kB / 0.9084 GB, free: 55.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-05/0.1835, allocations: 104.9 kB / 0.9085 GB, free: 55.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.528e-05/0.1836, allocations: 105 kB / 0.9086 GB, free: 55.69 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.58e-05/0.1836, allocations: 180.3 kB / 0.9088 GB, free: 55.51 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.531e-05/0.1836, allocations: 180.2 kB / 0.909 GB, free: 55.32 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.155e-05/0.1836, allocations: 180.2 kB / 0.9091 GB, free: 55.14 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.341e-05/0.1837, allocations: 188.2 kB / 0.9093 GB, free: 54.95 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.17e-05/0.1837, allocations: 307.8 kB / 0.9096 GB, free: 54.62 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.663e-05/0.1838, allocations: 186 kB / 0.9098 GB, free: 54.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.188e-05/0.1838, allocations: 180.2 kB / 0.91 GB, free: 54.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001186/0.1839, allocations: 121.2 kB / 0.9101 GB, free: 54.11 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.629e-05/0.184, allocations: 180.5 kB / 0.9102 GB, free: 53.93 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.411e-05/0.184, allocations: 105 kB / 0.9103 GB, free: 53.82 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.749e-05/0.184, allocations: 79.28 kB / 0.9104 GB, free: 53.74 MB / 0.6042 GB Notification: Performance of sort global known variables: time 9.22e-07/0.184, allocations: 0 / 0.9104 GB, free: 53.74 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002614/0.1843, allocations: 43.86 kB / 0.9105 GB, free: 53.7 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.0002088/0.1845, allocations: 247.4 kB / 0.9107 GB, free: 53.44 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 5.935e-05/0.1846, allocations: 8 kB / 0.9107 GB, free: 53.43 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1846, allocations: 0 / 0.9107 GB, free: 53.43 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.213e-06/0.1846, allocations: 4.125 kB / 0.9107 GB, free: 53.43 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003079/0.1849, allocations: 0.5224 MB / 0.9112 GB, free: 52.9 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002009/0.1851, allocations: 221.5 kB / 0.9114 GB, free: 52.65 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001002/0.1852, allocations: 0.6809 MB / 0.9121 GB, free: 51.95 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.74e-05/0.1853, allocations: 7.438 kB / 0.9121 GB, free: 51.94 MB / 0.6042 GB Notification: Performance of SimCode: time 2.1e-07/0.1853, allocations: 0 / 0.9121 GB, free: 51.94 MB / 0.6042 GB Notification: Performance of Templates: time 0.002257/0.1875, allocations: 1.161 MB / 0.9132 GB, free: 50.79 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)