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_TCon_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_TCon_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01035/0.01035, allocations: 221.9 kB / 15.17 MB, free: 5.93 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.001101/0.001101, allocations: 176 kB / 16.06 MB, free: 5.828 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.547/3.547, allocations: 389.1 MB / 405.9 MB, free: 11.8 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 3.79/3.79, allocations: 472.3 MB / 0.9018 GB, free: 9.215 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0005471/0.0005473, allocations: 13 kB / 1.008 GB, free: 138.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1263/0.1269, allocations: 98.73 MB / 1.104 GB, free: 42.19 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.0911/0.2181, allocations: 55.94 MB / 1.159 GB, free: 2.262 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.468/0.6861, allocations: 10.92 MB / 1.169 GB, free: 47.84 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001893/0.688, allocations: 55 kB / 1.169 GB, free: 47.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001972/0.69, allocations: 0.5768 MB / 1.17 GB, free: 47.84 MB / 0.6198 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.007388/0.6974, allocations: 1.974 MB / 1.172 GB, free: 47.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.00475/0.7022, allocations: 1.144 MB / 1.173 GB, free: 47.84 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.005559/0.7078, allocations: 3.494 MB / 1.176 GB, free: 47.29 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001632/0.7095, allocations: 0.8015 MB / 1.177 GB, free: 47.2 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002353/0.7118, allocations: 1.012 MB / 1.178 GB, free: 46.93 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001344/0.7132, allocations: 0.8205 MB / 1.179 GB, free: 46.74 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001754/0.7134, allocations: 43.22 kB / 1.179 GB, free: 46.74 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002789/0.7162, allocations: 0.9285 MB / 1.18 GB, free: 46.68 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002506/0.7165, allocations: 194 kB / 1.18 GB, free: 46.62 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0004145/0.7169, allocations: 283.9 kB / 1.18 GB, free: 46.55 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.002321/0.7193, allocations: 1.602 MB / 1.182 GB, free: 46.43 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.236e-06/0.7193, allocations: 3.094 kB / 1.182 GB, free: 46.43 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.012e-06/0.7193, allocations: 0 / 1.182 GB, free: 46.43 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.008e-05/0.7193, allocations: 3.5 kB / 1.182 GB, free: 46.43 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.002926/0.7223, allocations: 1.492 MB / 1.183 GB, free: 45.55 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.7223, allocations: 9.344 kB / 1.183 GB, free: 45.55 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002441/0.7248, allocations: 472.6 kB / 1.184 GB, free: 45.48 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002665/0.7274, allocations: 1.107 MB / 1.185 GB, free: 45.12 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004275/0.7279, allocations: 137.6 kB / 1.185 GB, free: 45.12 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001653/0.7281, allocations: 80.8 kB / 1.185 GB, free: 45.12 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002525/0.7306, allocations: 0.996 MB / 1.186 GB, free: 44.98 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.508e-05/0.7307, allocations: 1.094 kB / 1.186 GB, free: 44.98 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001066/0.7308, allocations: 30.78 kB / 1.186 GB, free: 44.98 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.41e-05/0.7308, allocations: 19.09 kB / 1.186 GB, free: 44.98 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002982/0.7338, allocations: 0.925 MB / 1.187 GB, free: 44.96 MB / 0.6198 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.007477/0.7413, allocations: 4.616 MB / 1.192 GB, free: 42.6 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003952/0.7453, allocations: 0.9376 MB / 1.193 GB, free: 42.57 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009297/0.7462, allocations: 310 kB / 1.193 GB, free: 42.56 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005504/0.7468, allocations: 0.9087 MB / 1.194 GB, free: 41.53 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.203e-05/0.7469, allocations: 37.03 kB / 1.194 GB, free: 41.49 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=44): time 3.36e-06/0.7469, allocations: 0 / 1.194 GB, free: 41.49 MB / 0.6198 GB Notification: Performance of matching and sorting (n=44): time 0.00869/0.7556, allocations: 1.977 MB / 1.196 GB, free: 41.29 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.654e-05/0.7556, allocations: 58.19 kB / 1.196 GB, free: 41.22 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001818/0.7575, allocations: 1.062 MB / 1.197 GB, free: 41.07 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.321e-05/0.7576, allocations: 35.52 kB / 1.197 GB, free: 41.04 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004128/0.758, allocations: 0.539 MB / 1.197 GB, free: 40.84 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001322/0.7581, allocations: 154.5 kB / 1.197 GB, free: 40.75 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.904e-05/0.7582, allocations: 12.66 kB / 1.197 GB, free: 40.75 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.473e-05/0.7583, allocations: 325.8 kB / 1.198 GB, free: 40.45 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001083/0.7594, allocations: 331.4 kB / 1.198 GB, free: 40.45 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001222/0.7606, allocations: 0.5264 MB / 1.199 GB, free: 40.24 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001132/0.7617, allocations: 361.6 kB / 1.199 GB, free: 40.23 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.05e-06/0.7618, allocations: 4 kB / 1.199 GB, free: 40.23 MB / 0.6198 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003339/0.7651, allocations: 1.067 MB / 1.2 GB, free: 40.1 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.392e-05/0.7652, allocations: 191.8 kB / 1.2 GB, free: 39.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/0.7653, allocations: 2.844 kB / 1.2 GB, free: 39.89 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001528/0.7668, allocations: 328.2 kB / 1.2 GB, free: 39.89 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000677/0.7675, allocations: 137 kB / 1.201 GB, free: 39.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001641/0.7691, allocations: 0.9512 MB / 1.202 GB, free: 39.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001646/0.7708, allocations: 191 kB / 1.202 GB, free: 39.3 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000105/0.7709, allocations: 33.17 kB / 1.202 GB, free: 39.3 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.771, allocations: 6.969 kB / 1.202 GB, free: 39.3 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003349/0.7743, allocations: 0.9287 MB / 1.203 GB, free: 39.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.198e-06/0.7744, allocations: 4.906 kB / 1.203 GB, free: 39.27 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001562/0.7759, allocations: 320.6 kB / 1.203 GB, free: 39.26 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007914/0.7767, allocations: 135.8 kB / 1.203 GB, free: 39.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001832/0.7786, allocations: 0.9411 MB / 1.204 GB, free: 38.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001717/0.7803, allocations: 170.3 kB / 1.204 GB, free: 38.66 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000102/0.7804, allocations: 30.84 kB / 1.204 GB, free: 38.65 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (55): * Single equations (assignments): 54 * 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 14} Notification: Performance of prepare postOptimizeDAE: time 0.0006351/0.7811, allocations: 344.8 kB / 1.205 GB, free: 38.38 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002095/0.7813, allocations: 115.7 kB / 1.205 GB, free: 38.32 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005006/0.7863, allocations: 1.224 MB / 1.206 GB, free: 37.96 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.658e-05/0.7864, allocations: 8.453 kB / 1.206 GB, free: 37.96 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.32e-06/0.7864, allocations: 0 / 1.206 GB, free: 37.96 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.02e-05/0.7864, allocations: 6.906 kB / 1.206 GB, free: 37.96 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006746/0.7932, allocations: 2.227 MB / 1.208 GB, free: 37.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.025e-05/0.7932, allocations: 5.719 kB / 1.208 GB, free: 37.03 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004227/0.7937, allocations: 73.44 kB / 1.208 GB, free: 37.02 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001439/0.7951, allocations: 320.9 kB / 1.208 GB, free: 36.96 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.629e-05/0.7952, allocations: 13.09 kB / 1.208 GB, free: 36.95 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001879/0.7971, allocations: 0.97 MB / 1.209 GB, free: 36.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.308e-06/0.7971, allocations: 0.5312 kB / 1.209 GB, free: 36.29 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004856/0.802, allocations: 1.24 MB / 1.211 GB, free: 35.84 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006727/0.8027, allocations: 282.4 kB / 1.211 GB, free: 35.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002097/0.8029, allocations: 19.69 kB / 1.211 GB, free: 35.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001286/0.8042, allocations: 107.4 kB / 1.211 GB, free: 35.6 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001134/0.8043, allocations: 37.23 kB / 1.211 GB, free: 35.59 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.064e-05/0.8044, allocations: 19.89 kB / 1.211 GB, free: 35.59 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001436/0.8059, allocations: 0.7452 MB / 1.212 GB, free: 35.28 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.05e-07/0.8059, allocations: 0 / 1.212 GB, free: 35.28 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.00186/0.8078, allocations: 0.5618 MB / 1.212 GB, free: 35.16 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (34): * Single equations (assignments): 29 * 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 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007965/0.8086, allocations: 362 kB / 1.213 GB, free: 35.04 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.003832/0.8124, allocations: 1.197 MB / 1.214 GB, free: 34.73 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.745e-06/0.8124, allocations: 0 / 1.214 GB, free: 34.73 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001133/0.8136, allocations: 373.7 kB / 1.214 GB, free: 34.64 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003098/0.8167, allocations: 0.5255 MB / 1.215 GB, free: 34.52 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006035/0.8228, allocations: 2.467 MB / 1.217 GB, free: 33.32 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006559/0.8235, allocations: 1.095 MB / 1.218 GB, free: 32.59 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001458/0.8249, allocations: 222.4 kB / 1.218 GB, free: 32.54 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002535/0.8252, allocations: 81.2 kB / 1.218 GB, free: 32.53 MB / 0.6198 GB Notification: Performance of SimCode: time 2.36e-06/0.8252, allocations: 0 / 1.218 GB, free: 32.53 MB / 0.6198 GB Notification: Performance of Templates: time 0.05645/0.8817, allocations: 23.69 MB / 1.242 GB, free: 23.07 MB / 0.6198 GB