Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.005905/0.005911, allocations: 237.7 kB / 15.8 MB, free: 6.316 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001763/0.001763, allocations: 179.1 kB / 16.68 MB, free: 5.473 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 3.938/3.938, allocations: 389.1 MB / 406.5 MB, free: 11.84 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.083/4.083, allocations: 472.3 MB / 0.9024 GB, free: 9.234 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.000471/0.0004712, allocations: 12 kB / 1.008 GB, free: 138.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1692/0.1697, allocations: 98.72 MB / 1.105 GB, free: 42.09 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.005089/0.1748, allocations: 2.536 MB / 1.107 GB, free: 39.54 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006378/0.1755, allocations: 371.1 kB / 1.107 GB, free: 39.17 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.729e-05/0.1756, allocations: 3.281 kB / 1.107 GB, free: 39.17 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001012/0.1757, allocations: 0 / 1.107 GB, free: 39.17 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.497e-05/0.1758, allocations: 11.91 kB / 1.107 GB, free: 39.16 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006371/0.1764, allocations: 135.4 kB / 1.108 GB, free: 39.03 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.978e-05/0.1766, allocations: 35.89 kB / 1.108 GB, free: 38.99 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.585e-05/0.1766, allocations: 7.5 kB / 1.108 GB, free: 38.99 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.57e-05/0.1767, allocations: 15.92 kB / 1.108 GB, free: 38.97 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.023e-05/0.1768, allocations: 11.98 kB / 1.108 GB, free: 38.96 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.585e-05/0.1768, allocations: 0 / 1.108 GB, free: 38.96 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004103/0.1772, allocations: 91.67 kB / 1.108 GB, free: 38.87 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.518e-05/0.1773, allocations: 0 / 1.108 GB, free: 38.87 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.617e-05/0.1773, allocations: 33.64 kB / 1.108 GB, free: 38.83 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002266/0.1775, allocations: 60.14 kB / 1.108 GB, free: 38.77 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.1776, allocations: 2.594 kB / 1.108 GB, free: 38.77 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.064e-06/0.1776, allocations: 0 / 1.108 GB, free: 38.77 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.1776, allocations: 0 / 1.108 GB, free: 38.77 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.0003999/0.178, allocations: 335.4 kB / 1.108 GB, free: 38.4 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.026e-05/0.1781, allocations: 12.03 kB / 1.108 GB, free: 38.39 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.599e-05/0.1781, allocations: 3.906 kB / 1.108 GB, free: 38.38 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.756e-05/0.1782, allocations: 166.3 kB / 1.108 GB, free: 38.18 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.46e-05/0.1783, allocations: 37.69 kB / 1.108 GB, free: 38.14 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.523e-05/0.1784, allocations: 4.469 kB / 1.108 GB, free: 38.14 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001792/0.1786, allocations: 41.69 kB / 1.108 GB, free: 38.09 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.1786, allocations: 0.9844 kB / 1.108 GB, free: 38.09 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.464e-05/0.1786, allocations: 0 / 1.108 GB, free: 38.09 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.359e-05/0.1786, allocations: 6.125 kB / 1.108 GB, free: 38.09 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.761e-05/0.1787, allocations: 19.92 kB / 1.108 GB, free: 38.07 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007044/0.1794, allocations: 0.5755 MB / 1.109 GB, free: 37.37 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.085e-05/0.1795, allocations: 25.73 kB / 1.109 GB, free: 37.34 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.948e-05/0.1795, allocations: 8.797 kB / 1.109 GB, free: 37.32 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002691/0.1798, allocations: 341.8 kB / 1.109 GB, free: 36.92 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.574e-05/0.1799, allocations: 34.56 kB / 1.109 GB, free: 36.88 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 2.374e-06/0.1799, allocations: 0 / 1.109 GB, free: 36.88 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0001841/0.1801, allocations: 40.75 kB / 1.109 GB, free: 36.83 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.234e-05/0.1801, allocations: 51.41 kB / 1.109 GB, free: 36.77 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.885e-05/0.1802, allocations: 101.9 kB / 1.11 GB, free: 36.66 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.437e-05/0.1802, allocations: 25.7 kB / 1.11 GB, free: 36.63 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.612e-05/0.1803, allocations: 88.03 kB / 1.11 GB, free: 36.54 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.606e-06/0.1803, allocations: 4 kB / 1.11 GB, free: 36.54 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.939e-06/0.1803, allocations: 0 / 1.11 GB, free: 36.54 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.22e-05/0.1804, allocations: 315.7 kB / 1.11 GB, free: 36.22 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.23e-05/0.1804, allocations: 3 kB / 1.11 GB, free: 36.22 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.386e-05/0.1805, allocations: 17.7 kB / 1.11 GB, free: 36.2 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.33e-05/0.1805, allocations: 8 kB / 1.11 GB, free: 36.19 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.1805, allocations: 3.953 kB / 1.11 GB, free: 36.18 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001273/0.1807, allocations: 56.97 kB / 1.11 GB, free: 36.12 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.1807, allocations: 8 kB / 1.11 GB, free: 36.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.1807, allocations: 0 / 1.11 GB, free: 36.12 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.1807, allocations: 1.734 kB / 1.11 GB, free: 36.12 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.082e-05/0.1808, allocations: 4 kB / 1.11 GB, free: 36.11 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.974e-06/0.1809, allocations: 3.984 kB / 1.11 GB, free: 36.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.093e-05/0.1809, allocations: 4 kB / 1.11 GB, free: 36.11 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.448e-05/0.1809, allocations: 0 / 1.11 GB, free: 36.11 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.004e-05/0.181, allocations: 114.9 kB / 1.11 GB, free: 35.98 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.962e-05/0.1811, allocations: 7.938 kB / 1.11 GB, free: 35.98 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001287/0.1812, allocations: 122.8 kB / 1.11 GB, free: 35.85 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.729e-05/0.1813, allocations: 180.2 kB / 1.11 GB, free: 35.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.282e-05/0.1813, allocations: 101 kB / 1.111 GB, free: 35.56 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.932e-05/0.1814, allocations: 186.1 kB / 1.111 GB, free: 35.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.095e-05/0.1815, allocations: 184.2 kB / 1.111 GB, free: 35.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00022/0.1817, allocations: 107.9 kB / 1.111 GB, free: 35.05 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.288e-05/0.1818, allocations: 184.2 kB / 1.111 GB, free: 34.87 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 5.167e-05/0.1818, allocations: 263.4 kB / 1.111 GB, free: 34.6 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001296/0.182, allocations: 386.5 kB / 1.112 GB, free: 34.2 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.022e-05/0.182, allocations: 101 kB / 1.112 GB, free: 34.1 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.799e-05/0.1821, allocations: 84.55 kB / 1.112 GB, free: 34.02 MB / 0.6042 GB Notification: Performance of Backend: time 8.21e-07/0.1821, allocations: 0 / 1.112 GB, free: 34.02 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0008228/0.1829, allocations: 145.5 kB / 1.112 GB, free: 33.87 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0005234/0.1835, allocations: 0.9391 MB / 1.113 GB, free: 32.89 MB / 0.6042 GB Notification: Performance of Templates: time 0.005948/0.1894, allocations: 1.055 MB / 1.114 GB, free: 31.98 MB / 0.6042 GB