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.ScrollWaterToWater_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.ScrollWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.004299/0.004303, allocations: 233 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.001134/0.001135, allocations: 179.1 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.881/3.881, 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.375/4.375, allocations: 472.3 MB / 0.9024 GB, free: 9.227 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0005368/0.0005372, allocations: 8 kB / 1.008 GB, free: 138.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1755/0.1761, allocations: 98.74 MB / 1.105 GB, free: 42.13 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed): time 0.6436/0.8197, allocations: 63.74 MB / 1.167 GB, free: 49.87 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.02584/0.8456, allocations: 13.1 MB / 1.18 GB, free: 49.87 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003253/0.849, allocations: 67.19 kB / 1.18 GB, free: 49.87 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.004071/0.8531, allocations: 0.7302 MB / 1.18 GB, free: 49.83 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.01105/0.8642, allocations: 2.27 MB / 1.183 GB, free: 49.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.008472/0.8727, allocations: 1.767 MB / 1.184 GB, free: 49.15 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.00897/0.8817, allocations: 5.117 MB / 1.189 GB, free: 48.34 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002939/0.8847, allocations: 1.126 MB / 1.19 GB, free: 48.18 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004706/0.8894, allocations: 1.324 MB / 1.192 GB, free: 47.68 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003205/0.8927, allocations: 1.125 MB / 1.193 GB, free: 47.3 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0005518/0.8933, allocations: 67.12 kB / 1.193 GB, free: 47.3 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005589/0.8989, allocations: 1.17 MB / 1.194 GB, free: 47.03 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.001001/0.8999, allocations: 296.3 kB / 1.194 GB, free: 46.88 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.001199/0.9012, allocations: 396.2 kB / 1.195 GB, free: 46.66 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.00544/0.9066, allocations: 2.481 MB / 1.197 GB, free: 46.18 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/0.9067, allocations: 0 / 1.197 GB, free: 46.18 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.434e-06/0.9067, allocations: 3.5 kB / 1.197 GB, free: 46.18 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.618e-05/0.9068, allocations: 3.219 kB / 1.197 GB, free: 46.18 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.005448/0.9123, allocations: 1.922 MB / 1.199 GB, free: 44.95 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/0.9123, allocations: 11.14 kB / 1.199 GB, free: 44.95 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01038/0.9227, allocations: 0.7314 MB / 1.2 GB, free: 44.85 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004033/0.9268, allocations: 1.523 MB / 1.201 GB, free: 43.96 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001781/0.927, allocations: 129.3 kB / 1.201 GB, free: 43.88 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003146/0.9274, allocations: 121.6 kB / 1.201 GB, free: 43.84 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006437/0.9338, allocations: 1.621 MB / 1.203 GB, free: 43.13 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.036e-05/0.9339, allocations: 0 / 1.203 GB, free: 43.13 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002154/0.9342, allocations: 53.22 kB / 1.203 GB, free: 43.09 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.674e-05/0.9342, allocations: 41.19 kB / 1.203 GB, free: 43.09 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008565/0.9428, allocations: 1.483 MB / 1.205 GB, free: 42.62 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.01493/0.9578, allocations: 6.924 MB / 1.211 GB, free: 37.88 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003382/0.9612, allocations: 0.7081 MB / 1.212 GB, free: 37.62 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002511/0.9638, allocations: 478 kB / 1.213 GB, free: 37.47 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001683/0.9655, allocations: 1.279 MB / 1.214 GB, free: 36.05 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.093e-05/0.9656, allocations: 44.25 kB / 1.214 GB, free: 36 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=66): time 3.958e-06/0.9656, allocations: 0 / 1.214 GB, free: 36 MB / 0.6198 GB Notification: Performance of matching and sorting (n=66): time 0.03124/0.9969, allocations: 2.683 MB / 1.216 GB, free: 35.39 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.487e-05/0.997, allocations: 113 kB / 1.217 GB, free: 35.27 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002825/0.9998, allocations: 1.273 MB / 1.218 GB, free: 34.74 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0002524/1, allocations: 43.95 kB / 1.218 GB, free: 34.7 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007613/1.001, allocations: 0.7185 MB / 1.219 GB, free: 34.14 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003476/1.001, allocations: 232.9 kB / 1.219 GB, free: 33.96 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001109/1.001, allocations: 22.03 kB / 1.219 GB, free: 33.95 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001007/1.001, allocations: 344.8 kB / 1.219 GB, free: 33.62 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003029/1.005, allocations: 0.4886 MB / 1.22 GB, free: 33.48 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003258/1.008, allocations: 0.8226 MB / 1.22 GB, free: 32.95 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003079/1.011, allocations: 0.5537 MB / 1.221 GB, free: 32.77 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.208e-05/1.011, allocations: 2.938 kB / 1.221 GB, free: 32.77 MB / 0.6198 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.02195/1.033, allocations: 2.123 MB / 1.223 GB, free: 32.2 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002296/1.033, allocations: 337.7 kB / 1.223 GB, free: 31.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.871e-05/1.033, allocations: 7.25 kB / 1.223 GB, free: 31.79 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002771/1.036, allocations: 471.4 kB / 1.224 GB, free: 31.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002361/1.038, allocations: 247.4 kB / 1.224 GB, free: 31.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003178/1.042, allocations: 0.9983 MB / 1.225 GB, free: 30.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006504/1.048, allocations: 266.9 kB / 1.225 GB, free: 30.89 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004914/1.049, allocations: 49.89 kB / 1.225 GB, free: 30.89 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/1.049, allocations: 7.609 kB / 1.225 GB, free: 30.88 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02342/1.072, allocations: 1.972 MB / 1.227 GB, free: 30.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.199e-05/1.072, allocations: 13.19 kB / 1.227 GB, free: 30.4 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002806/1.075, allocations: 468.7 kB / 1.228 GB, free: 30.31 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002373/1.078, allocations: 250.3 kB / 1.228 GB, free: 30.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002593/1.08, allocations: 0.9914 MB / 1.229 GB, free: 29.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003736/1.084, allocations: 227.9 kB / 1.229 GB, free: 29.52 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003752/1.084, allocations: 54.73 kB / 1.229 GB, free: 29.51 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: 2 ($PRE.heaPum.com.isOn,heaPum.com.isOn) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (102): * Single equations (assignments): 101 * 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 {2 19} Notification: Performance of prepare postOptimizeDAE: time 0.001126/1.086, allocations: 462.8 kB / 1.23 GB, free: 29.16 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004733/1.086, allocations: 138.8 kB / 1.23 GB, free: 29.09 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009356/1.095, allocations: 1.335 MB / 1.231 GB, free: 28.62 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008635/1.104, allocations: 1.144 MB / 1.232 GB, free: 28.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.19e-05/1.104, allocations: 1.344 kB / 1.232 GB, free: 28.13 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001142/1.105, allocations: 362.5 kB / 1.232 GB, free: 27.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003366/1.106, allocations: 15.66 kB / 1.232 GB, free: 27.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002664/1.108, allocations: 141.1 kB / 1.233 GB, free: 27.75 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001966/1.109, allocations: 40.81 kB / 1.233 GB, free: 27.73 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01085/1.119, allocations: 1.41 MB / 1.234 GB, free: 27.06 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.008092/1.128, allocations: 1.671 MB / 1.236 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002436/1.13, allocations: 429.6 kB / 1.236 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.002162/1.132, allocations: 0.8818 MB / 1.237 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of Backend: time 8.81e-07/1.132, allocations: 1.656 kB / 1.237 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.01054/1.143, allocations: 2.085 MB / 1.239 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of SimCode: time 0.01004/1.153, allocations: 3.878 MB / 1.243 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of Templates: time 0.09756/1.251, allocations: 38.36 MB / 1.28 GB, free: 5.227 MB / 0.6355 GB