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.ReciprocatingWaterToWater_VariableSpeed.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.ReciprocatingWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.004347/0.004346, allocations: 234.6 kB / 15.8 MB, free: 6.285 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.001162/0.001163, allocations: 179.2 kB / 16.69 MB, free: 5.449 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.838/3.838, allocations: 389.1 MB / 406.5 MB, free: 11.84 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 4.254/4.254, allocations: 472.3 MB / 0.9024 GB, free: 9.223 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004959/0.0004961, allocations: 12 kB / 1.008 GB, free: 138.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2131/0.2137, allocations: 98.73 MB / 1.105 GB, free: 42.09 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed): time 0.6622/0.8759, allocations: 63.8 MB / 1.167 GB, free: 49.99 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.02618/0.9021, allocations: 13.21 MB / 1.18 GB, free: 49.99 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003299/0.9055, allocations: 65.38 kB / 1.18 GB, free: 49.99 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.003872/0.9094, allocations: 0.7336 MB / 1.181 GB, free: 49.93 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/Modelica 3.2.2/Fluid/Sources.mo:826:36-827:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Fluid/Sources.mo:824:36-825:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Fluid/Sources.mo:826:36-827:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Fluid/Sources.mo:824:36-825:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.01095/0.9204, allocations: 2.277 MB / 1.183 GB, free: 49.36 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.009016/0.9294, allocations: 1.794 MB / 1.185 GB, free: 49.25 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.01071/0.9402, allocations: 5.139 MB / 1.19 GB, free: 48.43 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002913/0.9431, allocations: 1.145 MB / 1.191 GB, free: 48.17 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004643/0.9478, allocations: 1.343 MB / 1.192 GB, free: 47.67 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003242/0.9511, allocations: 1.131 MB / 1.193 GB, free: 47.29 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0005386/0.9517, allocations: 66.97 kB / 1.193 GB, free: 47.29 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006345/0.9581, allocations: 1.174 MB / 1.194 GB, free: 47.01 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.001064/0.9592, allocations: 303.6 kB / 1.195 GB, free: 46.86 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.001036/0.9603, allocations: 401.3 kB / 1.195 GB, free: 46.64 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.005228/0.9655, allocations: 2.497 MB / 1.197 GB, free: 46.16 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.9656, allocations: 0 / 1.197 GB, free: 46.16 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.364e-06/0.9656, allocations: 0 / 1.197 GB, free: 46.16 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.426e-05/0.9657, allocations: 0 / 1.197 GB, free: 46.16 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: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.005767/0.9714, allocations: 1.995 MB / 1.199 GB, free: 44.88 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/0.9715, allocations: 10.62 kB / 1.199 GB, free: 44.88 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009421/0.9809, allocations: 0.6941 MB / 1.2 GB, free: 44.78 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003998/0.985, allocations: 1.515 MB / 1.202 GB, free: 43.9 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001697/0.9852, allocations: 131.7 kB / 1.202 GB, free: 43.82 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003384/0.9855, allocations: 120.9 kB / 1.202 GB, free: 43.79 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00628/0.9918, allocations: 1.63 MB / 1.203 GB, free: 43.07 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.135e-05/0.9919, allocations: 7 kB / 1.203 GB, free: 43.07 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002313/0.9922, allocations: 51.34 kB / 1.203 GB, free: 43.03 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.749e-05/0.9923, allocations: 39.19 kB / 1.203 GB, free: 43.03 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008267/1.001, allocations: 1.487 MB / 1.205 GB, free: 42.57 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.01451/1.015, allocations: 6.893 MB / 1.212 GB, free: 37.86 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003506/1.019, allocations: 0.7407 MB / 1.212 GB, free: 37.61 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002428/1.021, allocations: 482.1 kB / 1.213 GB, free: 37.46 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001675/1.023, allocations: 1.279 MB / 1.214 GB, free: 36.04 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002938/1.026, allocations: 0.6192 MB / 1.215 GB, free: 35.77 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=67): time 4.639e-06/1.026, allocations: 0 / 1.215 GB, free: 35.77 MB / 0.6198 GB Notification: Performance of matching and sorting (n=67): time 0.01863/1.044, allocations: 2.153 MB / 1.217 GB, free: 35.16 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001168/1.045, allocations: 372.3 kB / 1.217 GB, free: 34.71 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00298/1.048, allocations: 1.295 MB / 1.218 GB, free: 34.19 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.00026/1.048, allocations: 44.45 kB / 1.218 GB, free: 34.14 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007968/1.049, allocations: 0.7222 MB / 1.219 GB, free: 33.58 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003717/1.049, allocations: 239.1 kB / 1.219 GB, free: 33.4 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001139/1.049, allocations: 15.06 kB / 1.219 GB, free: 33.39 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.985e-05/1.049, allocations: 347.2 kB / 1.22 GB, free: 33.06 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003034/1.052, allocations: 0.5006 MB / 1.22 GB, free: 32.92 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003254/1.056, allocations: 0.8523 MB / 1.221 GB, free: 32.36 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002946/1.059, allocations: 0.5974 MB / 1.222 GB, free: 32.14 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.468e-06/1.059, allocations: 6.156 kB / 1.222 GB, free: 32.14 MB / 0.6198 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.01239/1.071, allocations: 1.796 MB / 1.223 GB, free: 31.56 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002223/1.071, allocations: 359 kB / 1.224 GB, free: 31.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.811e-05/1.071, allocations: 9.625 kB / 1.224 GB, free: 31.13 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002074/1.073, allocations: 349.1 kB / 1.224 GB, free: 31.06 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002467/1.076, allocations: 263.8 kB / 1.224 GB, free: 31.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001823/1.078, allocations: 0.9043 MB / 1.225 GB, free: 30.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004131/1.082, allocations: 276.6 kB / 1.225 GB, free: 30.28 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002902/1.082, allocations: 54.98 kB / 1.226 GB, free: 30.27 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/1.082, allocations: 3.938 kB / 1.226 GB, free: 30.27 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01252/1.095, allocations: 1.665 MB / 1.227 GB, free: 29.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.159e-05/1.095, allocations: 7.391 kB / 1.227 GB, free: 29.75 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0021/1.097, allocations: 352.3 kB / 1.228 GB, free: 29.68 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002521/1.1, allocations: 254.2 kB / 1.228 GB, free: 29.67 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001863/1.102, allocations: 0.9137 MB / 1.229 GB, free: 28.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003833/1.105, allocations: 238.4 kB / 1.229 GB, free: 28.92 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002856/1.106, allocations: 58.72 kB / 1.229 GB, free: 28.91 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.heaPum.com.isOn,heaPum.com.isOn,$PRE.N.T_start,N.T_start,$PRE.N.count,N.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (106): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 1 * 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 {2 17} Notification: Performance of prepare postOptimizeDAE: time 0.001138/1.107, allocations: 455 kB / 1.229 GB, free: 28.56 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004663/1.107, allocations: 144.8 kB / 1.23 GB, free: 28.49 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009128/1.117, allocations: 1.297 MB / 1.231 GB, free: 28.04 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008237/1.125, allocations: 1.102 MB / 1.232 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.885e-05/1.125, allocations: 1.875 kB / 1.232 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001167/1.126, allocations: 361.9 kB / 1.232 GB, free: 27.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004274/1.127, allocations: 19.28 kB / 1.232 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002876/1.129, allocations: 147.5 kB / 1.232 GB, free: 27.32 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002027/1.13, allocations: 65.08 kB / 1.232 GB, free: 27.31 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009217/1.139, allocations: 1.815 MB / 1.234 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.008442/1.147, allocations: 2.173 MB / 1.236 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00258/1.15, allocations: 460 kB / 1.237 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.002355/1.152, allocations: 0.8883 MB / 1.238 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of Backend: time 1.303e-06/1.152, allocations: 2.625 kB / 1.238 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.01158/1.164, allocations: 2.239 MB / 1.24 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of SimCode: time 0.009988/1.174, allocations: 3.92 MB / 1.244 GB, free: 20.67 MB / 0.6198 GB Notification: Performance of Templates: time 0.1052/1.279, allocations: 41.2 MB / 1.284 GB, free: 1.516 MB / 0.6355 GB