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_LimitedCapacity.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_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01031/0.01031, allocations: 222.4 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.001067/0.001067, allocations: 175.7 kB / 16.06 MB, free: 5.832 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.569/3.569, allocations: 389.1 MB / 405.9 MB, free: 14.21 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 3.853/3.853, allocations: 472.3 MB / 0.9018 GB, free: 132 kB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000504/0.0005043, allocations: 16 kB / 1.008 GB, free: 4.219 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.536/0.5365, allocations: 98.7 MB / 1.104 GB, free: 206.3 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.05853/0.5951, allocations: 55.95 MB / 1.159 GB, free: 163.4 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.01507/0.6102, allocations: 10.93 MB / 1.169 GB, free: 152.5 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002012/0.6122, allocations: 51.62 kB / 1.169 GB, free: 152.5 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.001698/0.614, allocations: 0.5827 MB / 1.17 GB, free: 151.9 MB / 0.7136 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.006384/0.6204, allocations: 1.966 MB / 1.172 GB, free: 149.9 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.004103/0.6245, allocations: 1.155 MB / 1.173 GB, free: 148.8 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.004155/0.6286, allocations: 3.488 MB / 1.176 GB, free: 145.3 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001249/0.6299, allocations: 0.8092 MB / 1.177 GB, free: 144.6 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001884/0.6318, allocations: 1.01 MB / 1.178 GB, free: 143.5 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009954/0.6329, allocations: 0.8127 MB / 1.179 GB, free: 142.7 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0001327/0.633, allocations: 42.25 kB / 1.179 GB, free: 142.7 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002183/0.6352, allocations: 0.9391 MB / 1.18 GB, free: 141.8 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001942/0.6354, allocations: 199 kB / 1.18 GB, free: 141.6 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0002834/0.6357, allocations: 281 kB / 1.18 GB, free: 141.3 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.001741/0.6375, allocations: 1.591 MB / 1.182 GB, free: 139.7 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.673e-06/0.6375, allocations: 3.188 kB / 1.182 GB, free: 139.7 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.966e-06/0.6375, allocations: 0 / 1.182 GB, free: 139.7 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.501e-05/0.6375, allocations: 0 / 1.182 GB, free: 139.7 MB / 0.7136 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.002642/0.6402, allocations: 1.494 MB / 1.183 GB, free: 138.1 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.6402, allocations: 15.97 kB / 1.183 GB, free: 138.1 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001833/0.6421, allocations: 383.5 kB / 1.184 GB, free: 137.8 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002256/0.6443, allocations: 1.097 MB / 1.185 GB, free: 136.6 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003871/0.6448, allocations: 131.9 kB / 1.185 GB, free: 136.5 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00013/0.6449, allocations: 80.75 kB / 1.185 GB, free: 136.4 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002149/0.6471, allocations: 0.9596 MB / 1.186 GB, free: 135.4 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.517e-05/0.6471, allocations: 3.938 kB / 1.186 GB, free: 135.4 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.661e-05/0.6472, allocations: 32 kB / 1.186 GB, free: 135.4 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.732e-05/0.6472, allocations: 20.97 kB / 1.186 GB, free: 135.4 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002537/0.6498, allocations: 0.8562 MB / 1.187 GB, free: 134.5 MB / 0.7136 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.006455/0.6563, allocations: 4.515 MB / 1.191 GB, free: 129.7 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002013/0.6583, allocations: 0.6164 MB / 1.192 GB, free: 129.1 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000735/0.6591, allocations: 277 kB / 1.192 GB, free: 128.9 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001226/0.6603, allocations: 1.404 MB / 1.194 GB, free: 127.2 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.924e-05/0.6603, allocations: 34.56 kB / 1.194 GB, free: 127.1 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=43): time 3.512e-06/0.6604, allocations: 1.938 kB / 1.194 GB, free: 127.1 MB / 0.7136 GB Notification: Performance of matching and sorting (n=43): time 0.008908/0.6693, allocations: 1.901 MB / 1.195 GB, free: 125.3 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.304e-05/0.6693, allocations: 63.3 kB / 1.195 GB, free: 125.2 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001754/0.6711, allocations: 1.064 MB / 1.197 GB, free: 124.1 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.294e-05/0.6712, allocations: 37.7 kB / 1.197 GB, free: 124.1 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003921/0.6716, allocations: 0.5429 MB / 1.197 GB, free: 123.5 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001245/0.6718, allocations: 145.8 kB / 1.197 GB, free: 123.4 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.308e-05/0.6718, allocations: 12.53 kB / 1.197 GB, free: 123.4 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.481e-05/0.6719, allocations: 330.6 kB / 1.198 GB, free: 123.1 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009541/0.6729, allocations: 289.4 kB / 1.198 GB, free: 122.8 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001097/0.674, allocations: 0.4927 MB / 1.198 GB, free: 122.2 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001042/0.675, allocations: 324.2 kB / 1.199 GB, free: 121.9 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.263e-06/0.6751, allocations: 4 kB / 1.199 GB, free: 121.9 MB / 0.7136 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003082/0.6781, allocations: 0.9844 MB / 1.2 GB, free: 120.9 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.692e-05/0.6783, allocations: 204.8 kB / 1.2 GB, free: 120.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/0.6783, allocations: 4 kB / 1.2 GB, free: 120.7 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001525/0.6798, allocations: 327.9 kB / 1.2 GB, free: 120.4 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006085/0.6804, allocations: 121.6 kB / 1.2 GB, free: 120.3 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001638/0.6821, allocations: 0.944 MB / 1.201 GB, free: 119.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001468/0.6836, allocations: 178 kB / 1.201 GB, free: 119.2 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.84e-05/0.6837, allocations: 27.98 kB / 1.201 GB, free: 119.1 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.001e-05/0.6837, allocations: 4 kB / 1.201 GB, free: 119.1 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002647/0.6864, allocations: 0.8622 MB / 1.202 GB, free: 118.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.475e-06/0.6864, allocations: 4 kB / 1.202 GB, free: 118.3 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001324/0.6877, allocations: 324.9 kB / 1.203 GB, free: 118 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005779/0.6883, allocations: 122.8 kB / 1.203 GB, free: 117.8 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001586/0.6899, allocations: 0.9309 MB / 1.204 GB, free: 116.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001316/0.6913, allocations: 163.3 kB / 1.204 GB, free: 116.7 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.175e-05/0.6914, allocations: 35.41 kB / 1.204 GB, free: 116.7 MB / 0.7136 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.0005547/0.6919, allocations: 349 kB / 1.204 GB, free: 116.3 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001821/0.6921, allocations: 112.3 kB / 1.204 GB, free: 116.2 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004011/0.6962, allocations: 1.128 MB / 1.205 GB, free: 115.1 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.628e-05/0.6962, allocations: 7.953 kB / 1.205 GB, free: 115.1 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.393e-06/0.6962, allocations: 0 / 1.205 GB, free: 115.1 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.051e-05/0.6962, allocations: 7.984 kB / 1.205 GB, free: 115.1 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005622/0.7019, allocations: 2.103 MB / 1.207 GB, free: 112.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.288e-06/0.7019, allocations: 0 / 1.207 GB, free: 112.9 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002786/0.7022, allocations: 67.84 kB / 1.207 GB, free: 112.8 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001242/0.7035, allocations: 318.8 kB / 1.208 GB, free: 112.5 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.52e-05/0.7035, allocations: 15.98 kB / 1.208 GB, free: 112.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001683/0.7052, allocations: 0.9581 MB / 1.209 GB, free: 111.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.918e-06/0.7052, allocations: 7.969 kB / 1.209 GB, free: 111.5 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003863/0.7091, allocations: 1.161 MB / 1.21 GB, free: 110.3 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005466/0.7097, allocations: 275.4 kB / 1.21 GB, free: 110 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001657/0.7099, allocations: 19.98 kB / 1.21 GB, free: 110 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001014/0.7109, allocations: 91.73 kB / 1.21 GB, free: 109.9 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.891e-05/0.711, allocations: 39.91 kB / 1.21 GB, free: 109.9 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.174e-05/0.7111, allocations: 16 kB / 1.21 GB, free: 109.9 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001301/0.7124, allocations: 0.7473 MB / 1.211 GB, free: 109.1 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7.8e-07/0.7124, allocations: 0 / 1.211 GB, free: 109.1 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.00165/0.7141, allocations: 0.5652 MB / 1.211 GB, free: 108.6 MB / 0.7136 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 (33): * Single equations (assignments): 28 * 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.0007354/0.7148, allocations: 389.3 kB / 1.212 GB, free: 108.2 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.00331/0.7181, allocations: 1.077 MB / 1.213 GB, free: 107.1 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.736e-06/0.7182, allocations: 0 / 1.213 GB, free: 107.1 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0009655/0.7192, allocations: 322.9 kB / 1.213 GB, free: 106.8 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002831/0.722, allocations: 0.5245 MB / 1.214 GB, free: 106.3 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003728/0.7258, allocations: 2.188 MB / 1.216 GB, free: 104.1 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005423/0.7263, allocations: 1.089 MB / 1.217 GB, free: 103 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001306/0.7276, allocations: 218.9 kB / 1.217 GB, free: 102.8 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002242/0.7279, allocations: 79.42 kB / 1.217 GB, free: 102.7 MB / 0.7136 GB Notification: Performance of SimCode: time 1.793e-06/0.7279, allocations: 3.938 kB / 1.217 GB, free: 102.7 MB / 0.7136 GB Notification: Performance of Templates: time 0.04778/0.7757, allocations: 23.71 MB / 1.24 GB, free: 79.9 MB / 0.7136 GB