Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.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.Fluid.HeatPumps.Validation.Carnot_y_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01112/0.01112, allocations: 221.5 kB / 15.17 MB, free: 5.996 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.00107/0.001069, allocations: 177.5 kB / 16.06 MB, free: 5.867 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.441/3.441, allocations: 389.1 MB / 405.9 MB, free: 13.34 MB / 346.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.9018 GB, free: 3.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005341/0.0005344, allocations: 12 kB / 1.008 GB, free: 10.3 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6152/0.6158, allocations: 98.72 MB / 1.104 GB, free: 212.8 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.07375/0.6896, allocations: 68.72 MB / 1.171 GB, free: 164.6 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.02068/0.7103, allocations: 13.81 MB / 1.185 GB, free: 154.3 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002605/0.713, allocations: 55.16 kB / 1.185 GB, free: 154.3 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.002185/0.7152, allocations: 0.685 MB / 1.185 GB, free: 153.7 MB / 0.7292 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:25:17-26:47:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:23:17-24:49:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:25:17-26:47:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:23:17-24:49:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:25:17-26:47:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:23:17-24:49:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:25:17-26:47:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:23:17-24:49:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.00898/0.7242, allocations: 2.444 MB / 1.188 GB, free: 151.7 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.005382/0.7296, allocations: 1.324 MB / 1.189 GB, free: 150.9 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.006107/0.7357, allocations: 4.862 MB / 1.194 GB, free: 146.5 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001661/0.7374, allocations: 1.02 MB / 1.195 GB, free: 145.5 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002474/0.7399, allocations: 1.252 MB / 1.196 GB, free: 144.3 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001406/0.7413, allocations: 1.096 MB / 1.197 GB, free: 143.2 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0001892/0.7415, allocations: 56 kB / 1.197 GB, free: 143.1 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00253/0.7441, allocations: 0.7637 MB / 1.198 GB, free: 142.3 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0002808/0.7444, allocations: 258.7 kB / 1.198 GB, free: 142.1 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0004038/0.7448, allocations: 358.3 kB / 1.198 GB, free: 141.7 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.002198/0.747, allocations: 2.022 MB / 1.2 GB, free: 139.7 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.617e-06/0.747, allocations: 0 / 1.2 GB, free: 139.7 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.183e-06/0.7471, allocations: 0.6875 kB / 1.2 GB, free: 139.7 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.866e-05/0.7471, allocations: 0 / 1.2 GB, free: 139.7 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.003354/0.7505, allocations: 1.788 MB / 1.202 GB, free: 137.9 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.7505, allocations: 8.031 kB / 1.202 GB, free: 137.9 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008461/0.7514, allocations: 248.2 kB / 1.202 GB, free: 137.6 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002767/0.7541, allocations: 1.446 MB / 1.204 GB, free: 136.1 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.248e-05/0.7542, allocations: 78.88 kB / 1.204 GB, free: 136 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001665/0.7544, allocations: 100 kB / 1.204 GB, free: 135.9 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002252/0.7567, allocations: 1.102 MB / 1.205 GB, free: 134.8 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.311e-05/0.7567, allocations: 0 / 1.205 GB, free: 134.8 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001084/0.7569, allocations: 36 kB / 1.205 GB, free: 134.8 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.061e-05/0.7569, allocations: 32.67 kB / 1.205 GB, free: 134.7 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002253/0.7592, allocations: 0.9291 MB / 1.206 GB, free: 133.8 MB / 0.7292 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006739/0.7659, allocations: 4.877 MB / 1.211 GB, free: 128.7 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001708/0.7677, allocations: 0.6295 MB / 1.211 GB, free: 128.1 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000818/0.7685, allocations: 338.5 kB / 1.212 GB, free: 127.8 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000516/0.7691, allocations: 0.8409 MB / 1.213 GB, free: 126.7 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.509e-05/0.7691, allocations: 36.28 kB / 1.213 GB, free: 126.7 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=58): time 4.097e-06/0.7691, allocations: 3.938 kB / 1.213 GB, free: 126.7 MB / 0.7292 GB Notification: Performance of matching and sorting (n=58): time 0.008334/0.7775, allocations: 1.943 MB / 1.215 GB, free: 124.7 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.875e-05/0.7775, allocations: 55.97 kB / 1.215 GB, free: 124.7 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001871/0.7794, allocations: 1.218 MB / 1.216 GB, free: 123.4 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001109/0.7795, allocations: 37.7 kB / 1.216 GB, free: 123.4 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004708/0.78, allocations: 0.622 MB / 1.216 GB, free: 122.8 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.000187/0.7802, allocations: 205 kB / 1.217 GB, free: 122.6 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.466e-05/0.7803, allocations: 11.94 kB / 1.217 GB, free: 122.6 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.091e-05/0.7804, allocations: 334 kB / 1.217 GB, free: 122.2 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007912/0.7812, allocations: 297.8 kB / 1.217 GB, free: 121.9 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009299/0.7821, allocations: 0.4959 MB / 1.218 GB, free: 121.4 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008509/0.783, allocations: 366.9 kB / 1.218 GB, free: 121 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.975e-06/0.783, allocations: 0 / 1.218 GB, free: 121 MB / 0.7292 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005067/0.7881, allocations: 1.382 MB / 1.219 GB, free: 119.6 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 8.436e-05/0.7882, allocations: 197.5 kB / 1.22 GB, free: 119.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/0.7882, allocations: 4 kB / 1.22 GB, free: 119.4 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007794/0.789, allocations: 160.7 kB / 1.22 GB, free: 119.2 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007073/0.7897, allocations: 155.8 kB / 1.22 GB, free: 119.1 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008831/0.7906, allocations: 0.7279 MB / 1.221 GB, free: 118.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001422/0.7921, allocations: 175 kB / 1.221 GB, free: 118.1 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.125e-05/0.7922, allocations: 28 kB / 1.221 GB, free: 118.1 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.385e-06/0.7922, allocations: 4 kB / 1.221 GB, free: 118.1 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004748/0.797, allocations: 1.249 MB / 1.222 GB, free: 116.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.808e-06/0.797, allocations: 4 kB / 1.222 GB, free: 116.8 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007104/0.7977, allocations: 161 kB / 1.222 GB, free: 116.7 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006829/0.7984, allocations: 151.8 kB / 1.222 GB, free: 116.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008622/0.7993, allocations: 0.7341 MB / 1.223 GB, free: 115.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001397/0.8007, allocations: 155.2 kB / 1.223 GB, free: 115.6 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.713e-05/0.8008, allocations: 35.98 kB / 1.223 GB, free: 115.6 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (77): * Single equations (assignments): 76 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 11} Notification: Performance of prepare postOptimizeDAE: time 0.0006908/0.8015, allocations: 416.9 kB / 1.224 GB, free: 115.2 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002132/0.8017, allocations: 142.3 kB / 1.224 GB, free: 115 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004982/0.8067, allocations: 1.375 MB / 1.225 GB, free: 113.7 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-05/0.8068, allocations: 11.83 kB / 1.225 GB, free: 113.7 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/0.8068, allocations: 8 kB / 1.225 GB, free: 113.6 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004465/0.8113, allocations: 1.205 MB / 1.226 GB, free: 112.4 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004352/0.8157, allocations: 2.209 MB / 1.228 GB, free: 110.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-06/0.8157, allocations: 4 kB / 1.228 GB, free: 110.1 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005828/0.8163, allocations: 124.1 kB / 1.229 GB, free: 110 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006758/0.817, allocations: 152.7 kB / 1.229 GB, free: 109.8 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.395e-05/0.8171, allocations: 19.98 kB / 1.229 GB, free: 109.8 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008312/0.8179, allocations: 0.7132 MB / 1.229 GB, free: 109.1 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/0.8179, allocations: 4 kB / 1.229 GB, free: 109.1 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00571/0.8236, allocations: 1.768 MB / 1.231 GB, free: 107.2 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007584/0.8244, allocations: 323 kB / 1.231 GB, free: 106.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002095/0.8247, allocations: 15.98 kB / 1.231 GB, free: 106.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001064/0.8257, allocations: 95.89 kB / 1.232 GB, free: 106.8 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001158/0.8259, allocations: 40.38 kB / 1.232 GB, free: 106.8 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.798e-05/0.826, allocations: 23.98 kB / 1.232 GB, free: 106.7 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001379/0.8274, allocations: 0.8664 MB / 1.232 GB, free: 105.9 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.104e-06/0.8274, allocations: 0 / 1.232 GB, free: 105.9 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001983/0.8294, allocations: 0.7018 MB / 1.233 GB, free: 105.2 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * 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 (51): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008071/0.8302, allocations: 448.3 kB / 1.234 GB, free: 104.7 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.002886/0.8331, allocations: 1.137 MB / 1.235 GB, free: 103.6 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.718e-06/0.8331, allocations: 4 kB / 1.235 GB, free: 103.6 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001063/0.8342, allocations: 395 kB / 1.235 GB, free: 103.2 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004039/0.8383, allocations: 0.7654 MB / 1.236 GB, free: 102.5 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004267/0.8425, allocations: 2.729 MB / 1.238 GB, free: 99.72 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006939/0.8433, allocations: 1.195 MB / 1.24 GB, free: 98.5 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001604/0.8449, allocations: 297.3 kB / 1.24 GB, free: 98.24 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002882/0.8452, allocations: 103.4 kB / 1.24 GB, free: 98.14 MB / 0.7292 GB Notification: Performance of SimCode: time 1.597e-06/0.8452, allocations: 3.938 kB / 1.24 GB, free: 98.13 MB / 0.7292 GB Notification: Performance of Templates: time 0.05863/0.9038, allocations: 29.27 MB / 1.269 GB, free: 69.96 MB / 0.7292 GB