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_reverseFlow.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_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01037/0.01037, allocations: 222.2 kB / 15.17 MB, free: 6 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.001108/0.001108, allocations: 181.7 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.525/3.525, allocations: 389.1 MB / 405.9 MB, free: 13.32 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.086/4.086, allocations: 472.3 MB / 0.9018 GB, free: 3.676 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005478/0.000548, allocations: 15.98 kB / 1.008 GB, free: 10.3 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5579/0.5585, allocations: 98.71 MB / 1.104 GB, free: 212.8 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.05971/0.6183, allocations: 55.95 MB / 1.159 GB, free: 173.6 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.01693/0.6352, allocations: 10.94 MB / 1.169 GB, free: 165.8 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002344/0.6376, allocations: 53.56 kB / 1.169 GB, free: 165.8 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.002162/0.6398, allocations: 0.582 MB / 1.17 GB, free: 165.5 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.007007/0.6469, allocations: 1.96 MB / 1.172 GB, free: 164.4 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.004236/0.6511, allocations: 1.154 MB / 1.173 GB, free: 163.7 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.004835/0.656, allocations: 3.508 MB / 1.176 GB, free: 161.6 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001429/0.6574, allocations: 0.8096 MB / 1.177 GB, free: 161.2 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002106/0.6596, allocations: 1.019 MB / 1.178 GB, free: 160.6 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001281/0.6609, allocations: 0.8226 MB / 1.179 GB, free: 160.1 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.00017/0.661, allocations: 43.16 kB / 1.179 GB, free: 160.1 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002578/0.6636, allocations: 0.9138 MB / 1.18 GB, free: 159.6 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0002277/0.6639, allocations: 197.3 kB / 1.18 GB, free: 159.5 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0003682/0.6643, allocations: 286.1 kB / 1.18 GB, free: 159.3 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.002045/0.6663, allocations: 1.593 MB / 1.182 GB, free: 158.2 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.832e-06/0.6663, allocations: 0 / 1.182 GB, free: 158.2 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.961e-06/0.6664, allocations: 0 / 1.182 GB, free: 158.2 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.769e-05/0.6664, allocations: 6.312 kB / 1.182 GB, free: 158.2 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.002766/0.6692, allocations: 1.484 MB / 1.183 GB, free: 156.9 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.6692, allocations: 10.19 kB / 1.183 GB, free: 156.9 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002697/0.6719, allocations: 0.5145 MB / 1.184 GB, free: 156.4 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002323/0.6743, allocations: 1.119 MB / 1.185 GB, free: 155.2 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003737/0.6747, allocations: 133 kB / 1.185 GB, free: 155.1 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001394/0.6748, allocations: 80 kB / 1.185 GB, free: 155 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002382/0.6772, allocations: 1.03 MB / 1.186 GB, free: 154 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.302e-05/0.6773, allocations: 0.9688 kB / 1.186 GB, free: 154 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001022/0.6774, allocations: 32 kB / 1.186 GB, free: 153.9 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.703e-05/0.6774, allocations: 20 kB / 1.186 GB, free: 153.9 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002986/0.6804, allocations: 1.001 MB / 1.187 GB, free: 153 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.006398/0.6868, allocations: 4.68 MB / 1.192 GB, free: 148 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004569/0.6914, allocations: 1.121 MB / 1.193 GB, free: 146.9 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001212/0.6926, allocations: 411.2 kB / 1.193 GB, free: 146.5 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000842/0.6935, allocations: 1.029 MB / 1.194 GB, free: 145.2 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.152e-05/0.6935, allocations: 40.03 kB / 1.194 GB, free: 145.2 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=49): time 3.362e-06/0.6936, allocations: 0 / 1.194 GB, free: 145.2 MB / 0.7292 GB Notification: Performance of matching and sorting (n=49): time 0.01046/0.704, allocations: 2.448 MB / 1.197 GB, free: 142.7 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.444e-05/0.7041, allocations: 59.84 kB / 1.197 GB, free: 142.7 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001386/0.7055, allocations: 0.94 MB / 1.198 GB, free: 141.7 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.292e-05/0.7056, allocations: 37.7 kB / 1.198 GB, free: 141.7 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003725/0.706, allocations: 0.5312 MB / 1.198 GB, free: 141.1 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001463/0.7061, allocations: 165.2 kB / 1.198 GB, free: 141 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.935e-05/0.7062, allocations: 12 kB / 1.198 GB, free: 141 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.756e-05/0.7063, allocations: 330 kB / 1.199 GB, free: 140.6 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00118/0.7075, allocations: 368.9 kB / 1.199 GB, free: 140.3 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001293/0.7088, allocations: 0.5356 MB / 1.2 GB, free: 139.7 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001195/0.71, allocations: 389.9 kB / 1.2 GB, free: 139.3 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.872e-06/0.71, allocations: 4 kB / 1.2 GB, free: 139.3 MB / 0.7292 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.003329/0.7133, allocations: 1.103 MB / 1.201 GB, free: 138.2 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 6.861e-05/0.7134, allocations: 168.5 kB / 1.201 GB, free: 138 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.62e-06/0.7135, allocations: 4 kB / 1.201 GB, free: 138 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001467/0.7149, allocations: 327.9 kB / 1.202 GB, free: 137.7 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007631/0.7157, allocations: 139.8 kB / 1.202 GB, free: 137.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001588/0.7173, allocations: 0.9472 MB / 1.203 GB, free: 136.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001368/0.7187, allocations: 167.4 kB / 1.203 GB, free: 136.4 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.781e-05/0.7188, allocations: 39.97 kB / 1.203 GB, free: 136.4 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.304e-06/0.7188, allocations: 4 kB / 1.203 GB, free: 136.4 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003063/0.7219, allocations: 0.9744 MB / 1.204 GB, free: 135.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.8e-06/0.7219, allocations: 4 kB / 1.204 GB, free: 135.4 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001279/0.7232, allocations: 323.4 kB / 1.204 GB, free: 135.1 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007508/0.724, allocations: 143.8 kB / 1.204 GB, free: 134.9 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001535/0.7256, allocations: 0.9378 MB / 1.205 GB, free: 134 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00139/0.727, allocations: 163.5 kB / 1.205 GB, free: 133.8 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.787e-05/0.7271, allocations: 27.98 kB / 1.205 GB, free: 133.8 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (54): * Single equations (assignments): 53 * 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.0005815/0.7277, allocations: 353 kB / 1.206 GB, free: 133.4 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002103/0.7279, allocations: 114.5 kB / 1.206 GB, free: 133.3 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005004/0.7329, allocations: 1.399 MB / 1.207 GB, free: 131.9 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-05/0.733, allocations: 7.375 kB / 1.207 GB, free: 131.9 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.708e-06/0.733, allocations: 0 / 1.207 GB, free: 131.9 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.468e-06/0.733, allocations: 3.984 kB / 1.207 GB, free: 131.9 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007346/0.7403, allocations: 2.421 MB / 1.21 GB, free: 129.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.9e-06/0.7404, allocations: 4 kB / 1.21 GB, free: 129.4 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007428/0.7411, allocations: 111.9 kB / 1.21 GB, free: 129.3 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001384/0.7426, allocations: 321.2 kB / 1.21 GB, free: 129 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.383e-05/0.7426, allocations: 23.94 kB / 1.21 GB, free: 129 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001784/0.7444, allocations: 0.9621 MB / 1.211 GB, free: 128 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.35e-06/0.7445, allocations: 0 / 1.211 GB, free: 128 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004713/0.7492, allocations: 1.407 MB / 1.212 GB, free: 126.5 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006034/0.7498, allocations: 283.4 kB / 1.213 GB, free: 126.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001699/0.75, allocations: 16 kB / 1.213 GB, free: 126.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00112/0.7511, allocations: 123.8 kB / 1.213 GB, free: 126.1 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.09e-05/0.7512, allocations: 32.39 kB / 1.213 GB, free: 126.1 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.18e-05/0.7513, allocations: 19.97 kB / 1.213 GB, free: 126.1 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001013/0.7523, allocations: 0.6601 MB / 1.213 GB, free: 125.4 MB / 0.7292 GB Notification: Performance of sort global known variables: time 8.92e-07/0.7524, allocations: 4 kB / 1.213 GB, free: 125.4 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001638/0.754, allocations: 0.5534 MB / 1.214 GB, free: 124.8 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (38): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.000727/0.7548, allocations: 361.7 kB / 1.214 GB, free: 124.5 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.004241/0.759, allocations: 1.353 MB / 1.216 GB, free: 123.1 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.236e-06/0.7591, allocations: 0 / 1.216 GB, free: 123.1 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001484/0.7606, allocations: 464.7 kB / 1.216 GB, free: 122.7 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002979/0.7636, allocations: 0.5096 MB / 1.217 GB, free: 122.2 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004228/0.7678, allocations: 2.285 MB / 1.219 GB, free: 119.9 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005499/0.7684, allocations: 1.089 MB / 1.22 GB, free: 118.8 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001379/0.7698, allocations: 230.3 kB / 1.22 GB, free: 118.6 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002862/0.7701, allocations: 83.34 kB / 1.22 GB, free: 118.5 MB / 0.7292 GB Notification: Performance of SimCode: time 1.673e-06/0.7701, allocations: 0 / 1.22 GB, free: 118.5 MB / 0.7292 GB Notification: Performance of Templates: time 0.04604/0.8162, allocations: 23.04 MB / 1.243 GB, free: 96.35 MB / 0.7292 GB