Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_y.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.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_y") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01055/0.01055, allocations: 220.3 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.001098/0.001098, allocations: 175.6 kB / 16.06 MB, free: 5.871 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.264/3.264, allocations: 389.1 MB / 405.9 MB, free: 68.53 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.118/4.118, allocations: 472.3 MB / 0.9018 GB, free: 13.31 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005208/0.000521, allocations: 12 kB / 1.008 GB, free: 0.7656 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4856/0.4862, allocations: 98.73 MB / 1.104 GB, free: 183.8 MB / 0.6823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_y): time 0.06195/0.5482, allocations: 68.67 MB / 1.171 GB, free: 115.1 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.01764/0.5659, allocations: 13.81 MB / 1.185 GB, free: 101.4 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002112/0.568, allocations: 55.62 kB / 1.185 GB, free: 101.4 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.001917/0.5699, allocations: 0.6861 MB / 1.185 GB, free: 100.7 MB / 0.6823 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.007547/0.5775, allocations: 2.439 MB / 1.188 GB, free: 98.24 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.00487/0.5824, allocations: 1.334 MB / 1.189 GB, free: 96.97 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.005673/0.5881, allocations: 4.879 MB / 1.194 GB, free: 92.08 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001596/0.5897, allocations: 1.018 MB / 1.195 GB, free: 91.11 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002119/0.5919, allocations: 1.243 MB / 1.196 GB, free: 89.86 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001234/0.5931, allocations: 1.082 MB / 1.197 GB, free: 88.78 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001615/0.5933, allocations: 57.69 kB / 1.197 GB, free: 88.72 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00217/0.5955, allocations: 0.752 MB / 1.198 GB, free: 87.97 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.000251/0.5958, allocations: 254.7 kB / 1.198 GB, free: 87.72 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0003255/0.5961, allocations: 359 kB / 1.198 GB, free: 87.36 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.001997/0.5981, allocations: 2.02 MB / 1.2 GB, free: 85.34 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.787e-06/0.5981, allocations: 0 / 1.2 GB, free: 85.34 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.929e-06/0.5981, allocations: 0 / 1.2 GB, free: 85.34 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.454e-05/0.5982, allocations: 2.062 kB / 1.2 GB, free: 85.34 MB / 0.6823 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.003195/0.6014, allocations: 1.781 MB / 1.202 GB, free: 83.5 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.6014, allocations: 12.03 kB / 1.202 GB, free: 83.49 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008206/0.6023, allocations: 243.9 kB / 1.202 GB, free: 83.25 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002647/0.6049, allocations: 1.442 MB / 1.204 GB, free: 81.76 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.252e-05/0.605, allocations: 78.81 kB / 1.204 GB, free: 81.68 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001684/0.6052, allocations: 101.6 kB / 1.204 GB, free: 81.59 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002188/0.6074, allocations: 1.101 MB / 1.205 GB, free: 80.46 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.235e-05/0.6074, allocations: 0 / 1.205 GB, free: 80.46 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001112/0.6076, allocations: 40 kB / 1.205 GB, free: 80.42 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.591e-05/0.6076, allocations: 24 kB / 1.205 GB, free: 80.39 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002218/0.6098, allocations: 0.9293 MB / 1.206 GB, free: 79.48 MB / 0.6823 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.006208/0.6161, allocations: 4.863 MB / 1.211 GB, free: 74.36 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001618/0.6177, allocations: 0.629 MB / 1.211 GB, free: 73.74 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007985/0.6185, allocations: 339.1 kB / 1.212 GB, free: 73.41 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005215/0.6191, allocations: 0.8257 MB / 1.212 GB, free: 72.41 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.268e-05/0.6191, allocations: 39.06 kB / 1.213 GB, free: 72.36 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=57): time 4.026e-06/0.6191, allocations: 2.344 kB / 1.213 GB, free: 72.36 MB / 0.6823 GB Notification: Performance of matching and sorting (n=57): time 0.008011/0.6272, allocations: 1.854 MB / 1.214 GB, free: 70.54 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.637e-05/0.6272, allocations: 55.97 kB / 1.214 GB, free: 70.47 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001862/0.6291, allocations: 1.212 MB / 1.216 GB, free: 69.24 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001017/0.6292, allocations: 37.7 kB / 1.216 GB, free: 69.2 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004815/0.6297, allocations: 0.6267 MB / 1.216 GB, free: 68.57 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001867/0.6299, allocations: 201.1 kB / 1.216 GB, free: 68.37 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.555e-05/0.63, allocations: 13.41 kB / 1.216 GB, free: 68.36 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.272e-05/0.6301, allocations: 334 kB / 1.217 GB, free: 68.02 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007811/0.6309, allocations: 298.5 kB / 1.217 GB, free: 67.73 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009338/0.6318, allocations: 0.5019 MB / 1.218 GB, free: 67.16 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00086/0.6327, allocations: 355.8 kB / 1.218 GB, free: 66.83 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.238e-06/0.6327, allocations: 4 kB / 1.218 GB, free: 66.82 MB / 0.6823 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005146/0.6379, allocations: 1.386 MB / 1.219 GB, free: 65.46 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.989e-05/0.638, allocations: 201.3 kB / 1.219 GB, free: 65.22 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/0.638, allocations: 4 kB / 1.219 GB, free: 65.22 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006765/0.6387, allocations: 147.6 kB / 1.22 GB, free: 65.08 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007332/0.6395, allocations: 165.5 kB / 1.22 GB, free: 64.92 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008734/0.6403, allocations: 0.7127 MB / 1.22 GB, free: 64.19 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001458/0.6418, allocations: 170.5 kB / 1.221 GB, free: 64.03 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.09e-05/0.6419, allocations: 40.3 kB / 1.221 GB, free: 63.99 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.003e-05/0.642, allocations: 4 kB / 1.221 GB, free: 63.99 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004788/0.6468, allocations: 1.24 MB / 1.222 GB, free: 62.78 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/0.6468, allocations: 9.391 kB / 1.222 GB, free: 62.77 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006113/0.6474, allocations: 146.7 kB / 1.222 GB, free: 62.63 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006902/0.6481, allocations: 155.7 kB / 1.222 GB, free: 62.48 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008342/0.649, allocations: 0.7142 MB / 1.223 GB, free: 61.75 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001383/0.6504, allocations: 159.2 kB / 1.223 GB, free: 61.59 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.237e-05/0.6505, allocations: 34.14 kB / 1.223 GB, free: 61.56 MB / 0.6823 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 (78): * Single equations (assignments): 77 * 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 10} Notification: Performance of prepare postOptimizeDAE: time 0.000699/0.6512, allocations: 420.9 kB / 1.223 GB, free: 61.14 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002247/0.6514, allocations: 138.3 kB / 1.224 GB, free: 61 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004985/0.6564, allocations: 1.356 MB / 1.225 GB, free: 59.64 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.192e-05/0.6565, allocations: 4 kB / 1.225 GB, free: 59.64 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.292e-06/0.6565, allocations: 4 kB / 1.225 GB, free: 59.63 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004498/0.661, allocations: 1.196 MB / 1.226 GB, free: 58.4 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007008/0.6681, allocations: 2.595 MB / 1.229 GB, free: 55.71 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.225e-05/0.6681, allocations: 5.078 kB / 1.229 GB, free: 55.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005961/0.6687, allocations: 115.9 kB / 1.229 GB, free: 55.59 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005828/0.6693, allocations: 146.5 kB / 1.229 GB, free: 55.45 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.546e-05/0.6694, allocations: 19.89 kB / 1.229 GB, free: 55.43 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005109/0.6745, allocations: 2.464 MB / 1.231 GB, free: 52.82 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.917e-06/0.6746, allocations: 7.938 kB / 1.231 GB, free: 52.81 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005748/0.6803, allocations: 1.775 MB / 1.233 GB, free: 50.98 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006979/0.6811, allocations: 315.1 kB / 1.233 GB, free: 50.66 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002043/0.6813, allocations: 12.88 kB / 1.233 GB, free: 50.64 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001054/0.6823, allocations: 93.67 kB / 1.233 GB, free: 50.55 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001277/0.6825, allocations: 60.25 kB / 1.233 GB, free: 50.49 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.577e-05/0.6826, allocations: 23.98 kB / 1.233 GB, free: 50.47 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001388/0.684, allocations: 0.8702 MB / 1.234 GB, free: 49.6 MB / 0.6823 GB Notification: Performance of sort global known variables: time 8.78e-07/0.684, allocations: 0 / 1.234 GB, free: 49.6 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002046/0.686, allocations: 0.7018 MB / 1.235 GB, free: 48.89 MB / 0.6823 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 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007972/0.6869, allocations: 426 kB / 1.235 GB, free: 48.49 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0029/0.6898, allocations: 1.141 MB / 1.237 GB, free: 47.35 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.944e-06/0.6898, allocations: 3.938 kB / 1.237 GB, free: 47.35 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001613/0.6914, allocations: 0.5759 MB / 1.237 GB, free: 46.76 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004102/0.6955, allocations: 0.7561 MB / 1.238 GB, free: 46.03 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004316/0.6999, allocations: 2.724 MB / 1.24 GB, free: 43.25 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006997/0.7006, allocations: 1.2 MB / 1.242 GB, free: 42.03 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.00162/0.7023, allocations: 293.6 kB / 1.242 GB, free: 41.77 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002879/0.7026, allocations: 107.3 kB / 1.242 GB, free: 41.66 MB / 0.6823 GB Notification: Performance of SimCode: time 1.584e-06/0.7026, allocations: 0 / 1.242 GB, free: 41.66 MB / 0.6823 GB Notification: Performance of Templates: time 0.08717/0.7897, allocations: 29.39 MB / 1.271 GB, free: 12.89 MB / 0.6823 GB