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_Dynamic.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_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.007263/0.007268, allocations: 238.1 kB / 15.8 MB, free: 6.281 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.002002/0.002001, allocations: 182.7 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 4.058/4.058, allocations: 389.1 MB / 406.5 MB, free: 11.86 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.236/4.236, allocations: 472.3 MB / 0.9024 GB, free: 9.215 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004847/0.0004849, allocations: 8 kB / 1.008 GB, free: 138.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1985/0.1991, allocations: 98.72 MB / 1.105 GB, free: 42.07 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic): time 0.8064/1.006, allocations: 119.4 MB / 1.221 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.04376/1.049, allocations: 22.94 MB / 1.244 GB, free: 7.363 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005966/1.055, allocations: 127.1 kB / 1.244 GB, free: 7.309 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.007023/1.062, allocations: 1.344 MB / 1.245 GB, free: 6.602 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. [/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.01903/1.082, allocations: 4.253 MB / 1.249 GB, free: 4.191 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.01391/1.095, allocations: 2.886 MB / 1.252 GB, free: 2.855 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.018/1.114, allocations: 9.816 MB / 1.262 GB, free: 14.66 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006056/1.12, allocations: 2.217 MB / 1.264 GB, free: 13.63 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00902/1.129, allocations: 2.545 MB / 1.266 GB, free: 12.25 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006547/1.135, allocations: 2.173 MB / 1.268 GB, free: 10.99 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.001246/1.137, allocations: 130.2 kB / 1.268 GB, free: 10.99 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008669/1.145, allocations: 1.703 MB / 1.27 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.002027/1.147, allocations: 0.563 MB / 1.271 GB, free: 9.762 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.002732/1.15, allocations: 0.7267 MB / 1.271 GB, free: 9.359 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.01106/1.161, allocations: 4.602 MB / 1.276 GB, free: 6.164 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/1.161, allocations: 0 / 1.276 GB, free: 6.164 MB / 0.6355 GB Notification: Performance of FrontEnd: time 5.21e-06/1.161, allocations: 0 / 1.276 GB, free: 6.164 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001788/1.162, allocations: 4.875 kB / 1.276 GB, free: 6.16 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 581 * Number of variables: 581 Notification: Performance of Generate backend data structure: time 0.01195/1.173, allocations: 3.392 MB / 1.279 GB, free: 3.688 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.946e-05/1.174, allocations: 10.38 kB / 1.279 GB, free: 3.688 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01968/1.193, allocations: 1.37 MB / 1.281 GB, free: 3.156 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00983/1.203, allocations: 2.844 MB / 1.283 GB, free: 0.9453 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004779/1.204, allocations: 259.7 kB / 1.284 GB, free: 0.7852 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00099/1.205, allocations: 230.2 kB / 1.284 GB, free: 0.7148 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01357/1.218, allocations: 3.132 MB / 1.287 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.25e-05/1.218, allocations: 7.281 kB / 1.287 GB, free: 14.67 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005294/1.219, allocations: 106.9 kB / 1.287 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001143/1.219, allocations: 67.23 kB / 1.287 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.017/1.236, allocations: 2.805 MB / 1.29 GB, free: 12.65 MB / 0.6511 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.03376/1.27, allocations: 13.44 MB / 1.303 GB, free: 14.63 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006412/1.276, allocations: 1.328 MB / 1.304 GB, free: 13.32 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004771/1.281, allocations: 0.8333 MB / 1.305 GB, free: 12.5 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002944/1.284, allocations: 1.79 MB / 1.307 GB, free: 10.34 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005567/1.29, allocations: 1.065 MB / 1.308 GB, free: 9.219 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=124): time 6.052e-06/1.29, allocations: 0 / 1.308 GB, free: 9.219 MB / 0.6667 GB Notification: Performance of matching and sorting (n=130): time 0.05852/1.348, allocations: 10.26 MB / 1.318 GB, free: 14.91 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003719/1.349, allocations: 0.6321 MB / 1.318 GB, free: 14.12 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006073/1.355, allocations: 2.425 MB / 1.321 GB, free: 11.68 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.000487/1.355, allocations: 57.7 kB / 1.321 GB, free: 11.62 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001897/1.357, allocations: 1.399 MB / 1.322 GB, free: 10.21 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000812/1.358, allocations: 453.5 kB / 1.323 GB, free: 9.758 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002265/1.358, allocations: 36 kB / 1.323 GB, free: 9.723 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002667/1.359, allocations: 382.5 kB / 1.323 GB, free: 9.344 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005563/1.364, allocations: 0.9241 MB / 1.324 GB, free: 8.434 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006456/1.371, allocations: 1.666 MB / 1.326 GB, free: 6.465 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006314/1.377, allocations: 1.097 MB / 1.327 GB, free: 5.367 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.189e-05/1.377, allocations: 4 kB / 1.327 GB, free: 5.363 MB / 0.6823 GB Notification: Performance of matching and sorting (n=249) (initialization): time 0.02233/1.4, allocations: 3.378 MB / 1.33 GB, free: 1.965 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006416/1.4, allocations: 0.6343 MB / 1.331 GB, free: 1.078 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.63e-05/1.4, allocations: 16 kB / 1.331 GB, free: 1.062 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004982/1.405, allocations: 0.9071 MB / 1.331 GB, free: 160 kB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004563/1.41, allocations: 471.3 kB / 1.332 GB, free: 15.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005176/1.415, allocations: 2.197 MB / 1.334 GB, free: 13.45 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007715/1.423, allocations: 384 kB / 1.334 GB, free: 13.07 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004877/1.423, allocations: 104 kB / 1.335 GB, free: 12.97 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/1.423, allocations: 7.75 kB / 1.335 GB, free: 12.97 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02077/1.444, allocations: 3.09 MB / 1.338 GB, free: 9.867 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.176e-05/1.444, allocations: 20 kB / 1.338 GB, free: 9.848 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004862/1.449, allocations: 0.9024 MB / 1.338 GB, free: 8.945 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004449/1.454, allocations: 459.3 kB / 1.339 GB, free: 8.496 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005242/1.459, allocations: 2.202 MB / 1.341 GB, free: 6.242 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007092/1.466, allocations: 351.3 kB / 1.341 GB, free: 5.898 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006262/1.467, allocations: 104 kB / 1.341 GB, free: 5.797 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 79 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$PRE.heaPum.com.isOn,heaPum.com.isOn,$PRE.heaPum1.com.isOn,heaPum1.com.isOn,$PRE.N.T_start,N.T_start,$PRE.N.count,N.count,realToInteger.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (194): * Single equations (assignments): 191 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {4 23,4 25} Notification: Performance of prepare postOptimizeDAE: time 0.002295/1.469, allocations: 0.7121 MB / 1.342 GB, free: 5.074 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001094/1.47, allocations: 276.7 kB / 1.342 GB, free: 4.801 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02072/1.491, allocations: 2.312 MB / 1.345 GB, free: 2.461 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01377/1.505, allocations: 1.947 MB / 1.347 GB, free: 468 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.61e-05/1.505, allocations: 4 kB / 1.347 GB, free: 464 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002586/1.507, allocations: 0.5912 MB / 1.347 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001263/1.509, allocations: 39.95 kB / 1.347 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005936/1.515, allocations: 255.5 kB / 1.347 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004399/1.515, allocations: 104.8 kB / 1.348 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01868/1.534, allocations: 3.208 MB / 1.351 GB, free: 12.22 MB / 0.7136 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01635/1.55, allocations: 3.674 MB / 1.354 GB, free: 8.527 MB / 0.7136 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004833/1.555, allocations: 0.808 MB / 1.355 GB, free: 7.719 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.004748/1.56, allocations: 1.652 MB / 1.357 GB, free: 6.062 MB / 0.7136 GB Notification: Performance of Backend: time 1.172e-06/1.56, allocations: 0 / 1.357 GB, free: 6.062 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.02171/1.582, allocations: 3.934 MB / 1.361 GB, free: 2.121 MB / 0.7136 GB Notification: Performance of SimCode: time 0.02223/1.604, allocations: 6.956 MB / 1.367 GB, free: 11.13 MB / 0.7292 GB Notification: Performance of Templates: time 0.2236/1.828, allocations: 80.57 MB / 1.446 GB, free: 11.5 MB / 0.8073 GB