Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.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.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.005993/0.005999, allocations: 234.3 kB / 15.81 MB, free: 6.281 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.001821/0.001821, allocations: 182.8 kB / 16.69 MB, free: 5.449 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.816/3.816, allocations: 389.1 MB / 406.5 MB, free: 11.77 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.089/4.089, allocations: 472.3 MB / 0.9024 GB, free: 9.238 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004751/0.0004753, allocations: 15.98 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1668/0.1673, allocations: 98.73 MB / 1.105 GB, free: 42.08 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.004566/0.1719, allocations: 3.542 MB / 1.108 GB, free: 38.51 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002119/0.1722, allocations: 138.4 kB / 1.108 GB, free: 38.38 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.57e-05/0.1722, allocations: 0 / 1.108 GB, free: 38.38 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 9.789e-05/0.1724, allocations: 0 / 1.108 GB, free: 38.38 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.417e-05/0.1724, allocations: 11.92 kB / 1.108 GB, free: 38.37 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002992/0.1728, allocations: 55.73 kB / 1.108 GB, free: 38.31 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.065e-05/0.1728, allocations: 47.19 kB / 1.108 GB, free: 38.27 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.007e-05/0.1729, allocations: 8 kB / 1.108 GB, free: 38.26 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.885e-05/0.1729, allocations: 8 kB / 1.108 GB, free: 38.25 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.796e-05/0.173, allocations: 11.92 kB / 1.108 GB, free: 38.24 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.323e-05/0.173, allocations: 0 / 1.108 GB, free: 38.24 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001974/0.1733, allocations: 31.91 kB / 1.108 GB, free: 38.21 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.226e-05/0.1733, allocations: 3.984 kB / 1.108 GB, free: 38.21 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.538e-05/0.1733, allocations: 29.7 kB / 1.108 GB, free: 38.17 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.555e-05/0.1734, allocations: 31.31 kB / 1.108 GB, free: 38.14 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.1735, allocations: 0 / 1.108 GB, free: 38.14 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.463e-06/0.1735, allocations: 0 / 1.108 GB, free: 38.14 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.147e-06/0.1735, allocations: 0 / 1.108 GB, free: 38.14 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.0003314/0.1738, allocations: 331.5 kB / 1.109 GB, free: 37.77 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.1739, allocations: 11.97 kB / 1.109 GB, free: 37.76 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.67e-05/0.1739, allocations: 0 / 1.109 GB, free: 37.76 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.99e-05/0.174, allocations: 166.5 kB / 1.109 GB, free: 37.56 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.829e-05/0.1741, allocations: 37.64 kB / 1.109 GB, free: 37.52 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.054e-05/0.1741, allocations: 3.953 kB / 1.109 GB, free: 37.52 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001472/0.1743, allocations: 39.23 kB / 1.109 GB, free: 37.47 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.1743, allocations: 7.984 kB / 1.109 GB, free: 37.46 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.1743, allocations: 0 / 1.109 GB, free: 37.46 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.781e-05/0.1743, allocations: 0 / 1.109 GB, free: 37.46 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.381e-05/0.1744, allocations: 12 kB / 1.109 GB, free: 37.45 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004046/0.1748, allocations: 335.9 kB / 1.109 GB, free: 37.06 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 3.262e-05/0.1749, allocations: 18.52 kB / 1.109 GB, free: 37.03 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.69e-05/0.1749, allocations: 12.33 kB / 1.109 GB, free: 37.02 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.21e-05/0.175, allocations: 85.09 kB / 1.109 GB, free: 36.92 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.234e-05/0.175, allocations: 30.56 kB / 1.109 GB, free: 36.88 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 1.473e-06/0.175, allocations: 0 / 1.109 GB, free: 36.88 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.000147/0.1752, allocations: 39.81 kB / 1.109 GB, free: 36.84 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.807e-05/0.1752, allocations: 54.62 kB / 1.11 GB, free: 36.77 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.476e-05/0.1753, allocations: 101.8 kB / 1.11 GB, free: 36.66 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.165e-05/0.1753, allocations: 25.7 kB / 1.11 GB, free: 36.63 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.116e-05/0.1753, allocations: 92.05 kB / 1.11 GB, free: 36.54 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.635e-06/0.1754, allocations: 7.844 kB / 1.11 GB, free: 36.53 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.627e-06/0.1754, allocations: 0 / 1.11 GB, free: 36.53 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.415e-05/0.1754, allocations: 314.8 kB / 1.11 GB, free: 36.21 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.859e-05/0.1755, allocations: 6.375 kB / 1.11 GB, free: 36.21 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.642e-05/0.1755, allocations: 17.72 kB / 1.11 GB, free: 36.19 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.483e-05/0.1755, allocations: 4 kB / 1.11 GB, free: 36.18 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.1756, allocations: 7.109 kB / 1.11 GB, free: 36.18 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.889e-05/0.1757, allocations: 49.62 kB / 1.11 GB, free: 36.12 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.1757, allocations: 4 kB / 1.11 GB, free: 36.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.1757, allocations: 0 / 1.11 GB, free: 36.12 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.1757, allocations: 4 kB / 1.11 GB, free: 36.12 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.95e-05/0.1758, allocations: 7.984 kB / 1.11 GB, free: 36.11 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.1758, allocations: 0 / 1.11 GB, free: 36.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.671e-05/0.1758, allocations: 3.438 kB / 1.11 GB, free: 36.11 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.387e-05/0.1759, allocations: 4 kB / 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 5.793e-05/0.1759, allocations: 109.8 kB / 1.11 GB, free: 35.99 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.157e-05/0.176, allocations: 11.95 kB / 1.11 GB, free: 35.98 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001079/0.1761, allocations: 116.9 kB / 1.11 GB, free: 35.85 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.548e-05/0.1761, allocations: 181.1 kB / 1.111 GB, free: 35.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.116e-05/0.1762, allocations: 105 kB / 1.111 GB, free: 35.56 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.704e-05/0.1762, allocations: 188.9 kB / 1.111 GB, free: 35.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.122e-05/0.1763, allocations: 184.2 kB / 1.111 GB, free: 35.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001508/0.1764, allocations: 104.9 kB / 1.111 GB, free: 35.05 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.611e-05/0.1765, allocations: 180.2 kB / 1.111 GB, free: 34.87 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 5.183e-05/0.1765, allocations: 274.8 kB / 1.112 GB, free: 34.6 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001013/0.1767, allocations: 380 kB / 1.112 GB, free: 34.2 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.91e-05/0.1767, allocations: 104.9 kB / 1.112 GB, free: 34.09 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.494e-05/0.1768, allocations: 89.86 kB / 1.112 GB, free: 34.01 MB / 0.6042 GB Notification: Performance of Backend: time 8.01e-07/0.1768, allocations: 0 / 1.112 GB, free: 34.01 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004904/0.1773, allocations: 102 kB / 1.112 GB, free: 33.91 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0004554/0.1777, allocations: 0.9397 MB / 1.113 GB, free: 32.92 MB / 0.6042 GB Notification: Performance of Templates: time 0.003008/0.1808, allocations: 477.1 kB / 1.114 GB, free: 32.49 MB / 0.6042 GB