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_etaCar.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_etaCar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01072/0.01073, allocations: 220.3 kB / 15.17 MB, free: 6.012 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.001092/0.001092, allocations: 176.2 kB / 16.06 MB, free: 5.875 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.365/3.365, allocations: 389.1 MB / 405.9 MB, free: 67.55 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.07/4.07, allocations: 472.3 MB / 0.9018 GB, free: 13.27 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 0.000485/0.0004852, allocations: 12 kB / 1.008 GB, free: 0.7188 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4789/0.4794, allocations: 98.72 MB / 1.104 GB, free: 183.7 MB / 0.6823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.06116/0.5406, allocations: 68.71 MB / 1.171 GB, free: 115.1 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.0172/0.5579, allocations: 13.81 MB / 1.185 GB, free: 101.3 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001814/0.5597, allocations: 59.56 kB / 1.185 GB, free: 101.3 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.001915/0.5616, allocations: 0.6866 MB / 1.185 GB, free: 100.6 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.007245/0.5689, allocations: 2.44 MB / 1.188 GB, free: 98.16 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.004554/0.5735, allocations: 1.321 MB / 1.189 GB, free: 96.9 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.004935/0.5784, allocations: 4.873 MB / 1.194 GB, free: 92.02 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001356/0.5798, allocations: 1.008 MB / 1.195 GB, free: 91.05 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001933/0.5818, allocations: 1.25 MB / 1.196 GB, free: 89.8 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001209/0.583, allocations: 1.087 MB / 1.197 GB, free: 88.71 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001572/0.5832, allocations: 62.78 kB / 1.197 GB, free: 88.66 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002149/0.5853, allocations: 0.7442 MB / 1.198 GB, free: 87.91 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002461/0.5856, allocations: 254.7 kB / 1.198 GB, free: 87.66 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0003041/0.5859, allocations: 366.5 kB / 1.198 GB, free: 87.3 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.001936/0.5879, allocations: 2.003 MB / 1.2 GB, free: 85.29 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.922e-06/0.5879, allocations: 3.938 kB / 1.2 GB, free: 85.29 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.842e-06/0.5879, allocations: 1.625 kB / 1.2 GB, free: 85.29 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.362e-05/0.5879, allocations: 0 / 1.2 GB, free: 85.29 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.003102/0.591, allocations: 1.784 MB / 1.202 GB, free: 83.45 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.5911, allocations: 8.031 kB / 1.202 GB, free: 83.44 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008099/0.5919, allocations: 243.9 kB / 1.202 GB, free: 83.2 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002517/0.5944, allocations: 1.431 MB / 1.204 GB, free: 81.71 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.186e-05/0.5945, allocations: 75.06 kB / 1.204 GB, free: 81.64 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001682/0.5947, allocations: 104 kB / 1.204 GB, free: 81.54 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002174/0.5969, allocations: 1.093 MB / 1.205 GB, free: 80.42 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.283e-05/0.5969, allocations: 3.938 kB / 1.205 GB, free: 80.42 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001077/0.597, allocations: 44 kB / 1.205 GB, free: 80.38 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.721e-05/0.5971, allocations: 31.92 kB / 1.205 GB, free: 80.34 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002227/0.5993, allocations: 0.9261 MB / 1.206 GB, free: 79.43 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.005816/0.6052, allocations: 4.862 MB / 1.211 GB, free: 74.31 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001599/0.6068, allocations: 0.6273 MB / 1.211 GB, free: 73.7 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000788/0.6076, allocations: 334.7 kB / 1.212 GB, free: 73.38 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004914/0.6081, allocations: 0.8309 MB / 1.212 GB, free: 72.36 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.673e-05/0.6081, allocations: 39.11 kB / 1.213 GB, free: 72.31 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=57): time 3.305e-06/0.6082, allocations: 4.969 kB / 1.213 GB, free: 72.31 MB / 0.6823 GB Notification: Performance of matching and sorting (n=57): time 0.007672/0.6158, allocations: 1.855 MB / 1.214 GB, free: 70.49 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.333e-05/0.6159, allocations: 59.97 kB / 1.214 GB, free: 70.42 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001708/0.6176, allocations: 1.207 MB / 1.216 GB, free: 69.2 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.491e-05/0.6177, allocations: 38.95 kB / 1.216 GB, free: 69.15 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000476/0.6182, allocations: 0.618 MB / 1.216 GB, free: 68.53 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001599/0.6183, allocations: 197.1 kB / 1.216 GB, free: 68.33 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.678e-05/0.6184, allocations: 17.22 kB / 1.216 GB, free: 68.32 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.816e-05/0.6185, allocations: 334 kB / 1.217 GB, free: 67.98 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007711/0.6193, allocations: 290.2 kB / 1.217 GB, free: 67.7 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009148/0.6202, allocations: 0.5017 MB / 1.217 GB, free: 67.13 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008591/0.6211, allocations: 360.8 kB / 1.218 GB, free: 66.79 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.976e-06/0.6211, allocations: 0 / 1.218 GB, free: 66.79 MB / 0.6823 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00495/0.6261, allocations: 1.397 MB / 1.219 GB, free: 65.42 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.12e-05/0.6262, allocations: 195.5 kB / 1.219 GB, free: 65.19 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/0.6262, allocations: 11.75 kB / 1.219 GB, free: 65.18 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006435/0.6268, allocations: 141.9 kB / 1.22 GB, free: 65.04 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006803/0.6275, allocations: 164.5 kB / 1.22 GB, free: 64.88 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008388/0.6284, allocations: 0.718 MB / 1.22 GB, free: 64.14 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001292/0.6297, allocations: 171.8 kB / 1.221 GB, free: 63.98 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.27e-05/0.6298, allocations: 32.5 kB / 1.221 GB, free: 63.95 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.308e-06/0.6298, allocations: 4 kB / 1.221 GB, free: 63.95 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004759/0.6346, allocations: 1.242 MB / 1.222 GB, free: 62.74 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/0.6346, allocations: 5 kB / 1.222 GB, free: 62.74 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005641/0.6352, allocations: 151 kB / 1.222 GB, free: 62.59 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006547/0.6359, allocations: 155.8 kB / 1.222 GB, free: 62.44 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008059/0.6367, allocations: 0.7162 MB / 1.223 GB, free: 61.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001394/0.6381, allocations: 159.2 kB / 1.223 GB, free: 61.54 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.222e-05/0.6382, allocations: 31.98 kB / 1.223 GB, free: 61.51 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.0006536/0.6389, allocations: 416.9 kB / 1.223 GB, free: 61.09 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002103/0.6391, allocations: 134.4 kB / 1.224 GB, free: 60.96 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004893/0.644, allocations: 1.364 MB / 1.225 GB, free: 59.59 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.41e-05/0.644, allocations: 8 kB / 1.225 GB, free: 59.59 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.92e-06/0.6441, allocations: 0.75 kB / 1.225 GB, free: 59.59 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004391/0.6485, allocations: 1.193 MB / 1.226 GB, free: 58.36 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007069/0.6556, allocations: 2.591 MB / 1.229 GB, free: 55.67 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.369e-06/0.6556, allocations: 0 / 1.229 GB, free: 55.67 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005806/0.6562, allocations: 121.5 kB / 1.229 GB, free: 55.55 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005779/0.6568, allocations: 137.9 kB / 1.229 GB, free: 55.41 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.333e-05/0.6568, allocations: 19.98 kB / 1.229 GB, free: 55.39 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005035/0.6619, allocations: 2.471 MB / 1.231 GB, free: 52.78 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.508e-06/0.6619, allocations: 4 kB / 1.231 GB, free: 52.77 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005642/0.6676, allocations: 1.775 MB / 1.233 GB, free: 50.95 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005845/0.6682, allocations: 323.1 kB / 1.233 GB, free: 50.61 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002007/0.6684, allocations: 16.11 kB / 1.233 GB, free: 50.59 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001046/0.6695, allocations: 97.78 kB / 1.233 GB, free: 50.5 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000117/0.6696, allocations: 48.38 kB / 1.233 GB, free: 50.45 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.881e-05/0.6697, allocations: 27.94 kB / 1.233 GB, free: 50.43 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001366/0.671, allocations: 0.8625 MB / 1.234 GB, free: 49.56 MB / 0.6823 GB Notification: Performance of sort global known variables: time 6.77e-07/0.6711, allocations: 0 / 1.234 GB, free: 49.56 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001994/0.6731, allocations: 0.7096 MB / 1.235 GB, free: 48.85 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.0007565/0.6738, allocations: 430.4 kB / 1.235 GB, free: 48.45 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0028/0.6767, allocations: 1.145 MB / 1.237 GB, free: 47.3 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.896e-06/0.6767, allocations: 0 / 1.237 GB, free: 47.3 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001565/0.6783, allocations: 0.5719 MB / 1.237 GB, free: 46.71 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003762/0.682, allocations: 0.7584 MB / 1.238 GB, free: 45.98 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003971/0.686, allocations: 2.723 MB / 1.24 GB, free: 43.21 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006796/0.6867, allocations: 1.203 MB / 1.242 GB, free: 41.98 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001455/0.6882, allocations: 290.8 kB / 1.242 GB, free: 41.71 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002772/0.6885, allocations: 103.4 kB / 1.242 GB, free: 41.61 MB / 0.6823 GB Notification: Performance of SimCode: time 1.49e-06/0.6885, allocations: 0 / 1.242 GB, free: 41.61 MB / 0.6823 GB Notification: Performance of Templates: time 0.05657/0.7451, allocations: 29.41 MB / 1.271 GB, free: 12.8 MB / 0.6823 GB