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_ScalingFactor.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_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.004255/0.004255, allocations: 236.3 kB / 15.81 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.001162/0.001163, allocations: 182.6 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.964/3.964, allocations: 389.1 MB / 406.5 MB, free: 11.85 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.12/4.12, allocations: 472.3 MB / 0.9024 GB, free: 9.23 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0007519/0.0007522, allocations: 15.84 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1834/0.1842, allocations: 98.72 MB / 1.105 GB, free: 42.07 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor): time 0.7452/0.9294, allocations: 119.4 MB / 1.221 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.04174/0.9712, allocations: 22.93 MB / 1.244 GB, free: 7.516 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00592/0.9772, allocations: 122.6 kB / 1.244 GB, free: 7.465 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.006756/0.984, allocations: 1.353 MB / 1.245 GB, free: 6.754 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.02327/1.007, allocations: 4.259 MB / 1.249 GB, free: 4.332 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0144/1.022, allocations: 2.88 MB / 1.252 GB, free: 2.996 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.01817/1.04, allocations: 9.827 MB / 1.262 GB, free: 14.8 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006333/1.046, allocations: 2.214 MB / 1.264 GB, free: 13.8 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009053/1.055, allocations: 2.537 MB / 1.266 GB, free: 12.42 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006608/1.062, allocations: 2.157 MB / 1.268 GB, free: 11.17 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.001275/1.063, allocations: 132.8 kB / 1.268 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008864/1.072, allocations: 1.699 MB / 1.27 GB, free: 10.37 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.001971/1.074, allocations: 0.5624 MB / 1.271 GB, free: 9.938 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.002668/1.077, allocations: 0.7292 MB / 1.271 GB, free: 9.531 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0113/1.088, allocations: 4.577 MB / 1.276 GB, free: 6.352 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/1.088, allocations: 0.5625 kB / 1.276 GB, free: 6.352 MB / 0.6355 GB Notification: Performance of FrontEnd: time 4.789e-06/1.088, allocations: 3.984 kB / 1.276 GB, free: 6.348 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001961/1.089, allocations: 0.875 kB / 1.276 GB, free: 6.348 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: 575 * Number of variables: 575 Notification: Performance of Generate backend data structure: time 0.01236/1.101, allocations: 3.368 MB / 1.279 GB, free: 3.891 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.889e-05/1.101, allocations: 9 kB / 1.279 GB, free: 3.891 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02059/1.122, allocations: 1.363 MB / 1.281 GB, free: 3.367 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01043/1.132, allocations: 2.859 MB / 1.283 GB, free: 1.141 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005784/1.133, allocations: 247 kB / 1.284 GB, free: 0.9922 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001173/1.134, allocations: 240 kB / 1.284 GB, free: 0.9102 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02077/1.155, allocations: 3.095 MB / 1.287 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000126/1.155, allocations: 7.281 kB / 1.287 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007491/1.156, allocations: 102.4 kB / 1.287 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001573/1.156, allocations: 68.41 kB / 1.287 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02315/1.179, allocations: 2.758 MB / 1.29 GB, free: 12.92 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.03922/1.218, allocations: 13.14 MB / 1.302 GB, free: 15.23 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007096/1.226, allocations: 1.375 MB / 1.304 GB, free: 13.88 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005346/1.231, allocations: 0.8714 MB / 1.305 GB, free: 13.02 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002978/1.234, allocations: 1.789 MB / 1.306 GB, free: 10.84 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006022/1.24, allocations: 1.091 MB / 1.307 GB, free: 9.707 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=124): time 6.292e-06/1.24, allocations: 0 / 1.307 GB, free: 9.707 MB / 0.6667 GB Notification: Performance of matching and sorting (n=124): time 0.05222/1.292, allocations: 4.185 MB / 1.312 GB, free: 5.574 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003135/1.293, allocations: 0.5727 MB / 1.312 GB, free: 4.863 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006755/1.299, allocations: 2.4 MB / 1.314 GB, free: 2.457 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0004865/1.3, allocations: 57.7 kB / 1.315 GB, free: 2.395 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.002018/1.302, allocations: 1.378 MB / 1.316 GB, free: 1 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009102/1.303, allocations: 433.9 kB / 1.316 GB, free: 0.5703 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002752/1.303, allocations: 40.62 kB / 1.316 GB, free: 0.5312 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002331/1.304, allocations: 370.6 kB / 1.317 GB, free: 168 kB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006637/1.31, allocations: 0.9478 MB / 1.318 GB, free: 15.23 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007403/1.318, allocations: 1.584 MB / 1.319 GB, free: 13.41 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006921/1.325, allocations: 1.106 MB / 1.32 GB, free: 12.32 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.741e-05/1.325, allocations: 4 kB / 1.32 GB, free: 12.31 MB / 0.6823 GB Notification: Performance of matching and sorting (n=233) (initialization): time 0.02051/1.345, allocations: 3.055 MB / 1.323 GB, free: 9.234 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004854/1.346, allocations: 0.5388 MB / 1.324 GB, free: 8.492 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.903e-05/1.346, allocations: 12 kB / 1.324 GB, free: 8.48 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004267/1.35, allocations: 0.6899 MB / 1.324 GB, free: 7.793 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005186/1.355, allocations: 0.4914 MB / 1.325 GB, free: 7.301 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004016/1.359, allocations: 1.819 MB / 1.327 GB, free: 5.438 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008688/1.368, allocations: 0.5014 MB / 1.327 GB, free: 4.934 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006222/1.369, allocations: 103.9 kB / 1.327 GB, free: 4.832 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/1.369, allocations: 4 kB / 1.327 GB, free: 4.828 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01882/1.388, allocations: 2.779 MB / 1.33 GB, free: 2.039 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.053e-05/1.388, allocations: 20.03 kB / 1.33 GB, free: 2.02 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00399/1.392, allocations: 0.683 MB / 1.331 GB, free: 1.332 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00503/1.397, allocations: 495.2 kB / 1.331 GB, free: 0.8477 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003872/1.401, allocations: 1.806 MB / 1.333 GB, free: 14.99 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007643/1.408, allocations: 453.6 kB / 1.333 GB, free: 14.55 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005439/1.409, allocations: 99.94 kB / 1.333 GB, free: 14.45 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (196): * Single equations (assignments): 193 * 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 {2 17,2 17} Notification: Performance of prepare postOptimizeDAE: time 0.002218/1.411, allocations: 0.6997 MB / 1.334 GB, free: 13.74 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001017/1.412, allocations: 264.8 kB / 1.334 GB, free: 13.48 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02503/1.437, allocations: 2.356 MB / 1.337 GB, free: 11.1 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02522/1.463, allocations: 1.982 MB / 1.339 GB, free: 9.062 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.6e-05/1.463, allocations: 7.938 kB / 1.339 GB, free: 9.055 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003438/1.466, allocations: 0.6027 MB / 1.339 GB, free: 8.43 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001657/1.468, allocations: 28 kB / 1.339 GB, free: 8.402 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009254/1.477, allocations: 275.5 kB / 1.34 GB, free: 8.133 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005699/1.478, allocations: 88.86 kB / 1.34 GB, free: 8.047 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02908/1.507, allocations: 3.022 MB / 1.343 GB, free: 5.004 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.02359/1.531, allocations: 3.576 MB / 1.346 GB, free: 1.41 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005233/1.536, allocations: 0.8161 MB / 1.347 GB, free: 0.5938 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.005384/1.541, allocations: 1.635 MB / 1.348 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of Backend: time 1.242e-06/1.541, allocations: 0 / 1.348 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.02296/1.564, allocations: 3.86 MB / 1.352 GB, free: 11.08 MB / 0.7136 GB Notification: Performance of SimCode: time 0.02052/1.585, allocations: 6.939 MB / 1.359 GB, free: 4.105 MB / 0.7136 GB Notification: Performance of Templates: time 0.2157/1.801, allocations: 78.06 MB / 1.435 GB, free: 6.996 MB / 0.7917 GB