Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.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.Calibration.ScrollWaterToWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.004415/0.00442, allocations: 233.7 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.001221/0.001221, allocations: 181.8 kB / 16.69 MB, free: 5.445 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.589/3.589, allocations: 389.1 MB / 406.5 MB, free: 6.898 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.769/4.769, allocations: 472.3 MB / 0.9023 GB, free: 10.79 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004979/0.0004982, allocations: 8 kB / 1.008 GB, free: 6.777 MB / 0.6511 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2318/0.2323, allocations: 98.7 MB / 1.105 GB, free: 3.906 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater): time 0.7783/1.011, allocations: 115.2 MB / 1.217 GB, free: 202.6 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.02808/1.039, allocations: 13.96 MB / 1.231 GB, free: 192.7 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003826/1.043, allocations: 69.22 kB / 1.231 GB, free: 192.6 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.004461/1.047, allocations: 0.7574 MB / 1.232 GB, free: 192.2 MB / 0.7917 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/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/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. Notification: Performance of NFTyping.typeBindings: time 0.01124/1.058, allocations: 2.303 MB / 1.234 GB, free: 190.9 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.009245/1.068, allocations: 1.834 MB / 1.236 GB, free: 190.1 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0106/1.078, allocations: 5.2 MB / 1.241 GB, free: 187.8 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003394/1.082, allocations: 1.194 MB / 1.242 GB, free: 187.4 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004876/1.087, allocations: 1.366 MB / 1.243 GB, free: 186.9 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003772/1.091, allocations: 1.18 MB / 1.244 GB, free: 186.4 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0005975/1.091, allocations: 69.97 kB / 1.244 GB, free: 186.4 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005992/1.097, allocations: 1.23 MB / 1.246 GB, free: 186 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.001039/1.098, allocations: 335.2 kB / 1.246 GB, free: 185.8 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.001274/1.1, allocations: 412.4 kB / 1.246 GB, free: 185.6 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.006349/1.106, allocations: 2.614 MB / 1.249 GB, free: 185 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 7.845e-06/1.106, allocations: 4 kB / 1.249 GB, free: 185 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.264e-06/1.106, allocations: 4.969 kB / 1.249 GB, free: 185 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 8.419e-05/1.106, allocations: 0 / 1.249 GB, free: 185 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 311 * Number of variables: 311 Notification: Performance of Generate backend data structure: time 0.006423/1.113, allocations: 2.106 MB / 1.251 GB, free: 183.6 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 5.421e-05/1.113, allocations: 12.53 kB / 1.251 GB, free: 183.5 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01057/1.123, allocations: 0.749 MB / 1.252 GB, free: 183.4 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004717/1.128, allocations: 1.613 MB / 1.253 GB, free: 182.5 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001923/1.128, allocations: 135.1 kB / 1.253 GB, free: 182.4 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003235/1.129, allocations: 126.1 kB / 1.253 GB, free: 182.3 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006542/1.135, allocations: 1.718 MB / 1.255 GB, free: 181.4 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.175e-05/1.135, allocations: 5.344 kB / 1.255 GB, free: 181.4 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002256/1.135, allocations: 49.78 kB / 1.255 GB, free: 181.4 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.022e-05/1.135, allocations: 37.78 kB / 1.255 GB, free: 181.3 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008329/1.144, allocations: 1.525 MB / 1.257 GB, free: 180.6 MB / 0.7917 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.01471/1.159, allocations: 7.527 MB / 1.264 GB, free: 174 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007345/1.166, allocations: 1.183 MB / 1.265 GB, free: 173.5 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003453/1.169, allocations: 0.5919 MB / 1.266 GB, free: 173.2 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001587/1.171, allocations: 1.276 MB / 1.267 GB, free: 171.7 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003733/1.175, allocations: 0.6804 MB / 1.268 GB, free: 171.3 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=78): time 4.638e-06/1.175, allocations: 0 / 1.268 GB, free: 171.3 MB / 0.7917 GB Notification: Performance of matching and sorting (n=78): time 0.03268/1.207, allocations: 3.166 MB / 1.271 GB, free: 169.7 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.269e-05/1.208, allocations: 147.1 kB / 1.271 GB, free: 169.6 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002208/1.21, allocations: 1.254 MB / 1.272 GB, free: 168.9 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0001807/1.21, allocations: 48.61 kB / 1.272 GB, free: 168.8 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006664/1.211, allocations: 0.7371 MB / 1.273 GB, free: 168.2 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003142/1.211, allocations: 275.6 kB / 1.273 GB, free: 167.9 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001106/1.211, allocations: 18.5 kB / 1.273 GB, free: 167.9 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 9.149e-05/1.211, allocations: 345.2 kB / 1.274 GB, free: 167.6 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003515/1.215, allocations: 0.5375 MB / 1.274 GB, free: 167.3 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003682/1.218, allocations: 0.8316 MB / 1.275 GB, free: 166.7 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003579/1.222, allocations: 0.6221 MB / 1.275 GB, free: 166.4 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.947e-06/1.222, allocations: 3.812 kB / 1.275 GB, free: 166.4 MB / 0.7917 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.009006/1.231, allocations: 1.756 MB / 1.277 GB, free: 165.4 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001651/1.231, allocations: 313.8 kB / 1.277 GB, free: 165.1 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.551e-05/1.231, allocations: 6.781 kB / 1.277 GB, free: 165.1 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003/1.234, allocations: 0.5482 MB / 1.278 GB, free: 164.8 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002516/1.237, allocations: 263.6 kB / 1.278 GB, free: 164.6 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002853/1.24, allocations: 1.167 MB / 1.279 GB, free: 163.4 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003701/1.243, allocations: 246.7 kB / 1.28 GB, free: 163.1 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001833/1.244, allocations: 63.94 kB / 1.28 GB, free: 163.1 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/1.244, allocations: 8 kB / 1.28 GB, free: 163.1 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008287/1.252, allocations: 1.592 MB / 1.281 GB, free: 161.5 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/1.252, allocations: 8 kB / 1.281 GB, free: 161.4 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002812/1.255, allocations: 0.5521 MB / 1.282 GB, free: 160.9 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002443/1.257, allocations: 255.6 kB / 1.282 GB, free: 160.7 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002795/1.26, allocations: 1.17 MB / 1.283 GB, free: 159.5 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003573/1.264, allocations: 226.9 kB / 1.283 GB, free: 159.2 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000172/1.264, allocations: 65.73 kB / 1.283 GB, free: 159.2 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.calDat.nextTimeEvent,calDat.nextTimeEvent,$PRE.calDat.nextTimeEventScaled,calDat.nextTimeEventScaled,$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 (94): * Single equations (assignments): 92 * 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 {4 25} Notification: Performance of prepare postOptimizeDAE: time 0.001136/1.265, allocations: 468.8 kB / 1.284 GB, free: 158.7 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003162/1.265, allocations: 154.2 kB / 1.284 GB, free: 158.6 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008641/1.274, allocations: 1.559 MB / 1.286 GB, free: 157 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007725/1.282, allocations: 1.395 MB / 1.287 GB, free: 155.6 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.904e-06/1.282, allocations: 5.875 kB / 1.287 GB, free: 155.6 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001173/1.283, allocations: 386.9 kB / 1.287 GB, free: 155.2 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003388/1.283, allocations: 20 kB / 1.287 GB, free: 155.1 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003069/1.286, allocations: 168.8 kB / 1.288 GB, free: 155 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001359/1.286, allocations: 44.58 kB / 1.288 GB, free: 154.9 MB / 0.7917 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01348/1.3, allocations: 1.792 MB / 1.289 GB, free: 153.1 MB / 0.7917 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01101/1.311, allocations: 2.081 MB / 1.291 GB, free: 151 MB / 0.7917 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003348/1.314, allocations: 0.5399 MB / 1.292 GB, free: 150.5 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.00166/1.316, allocations: 0.8476 MB / 1.293 GB, free: 149.6 MB / 0.7917 GB Notification: Performance of Backend: time 6.52e-07/1.316, allocations: 4 kB / 1.293 GB, free: 149.6 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.01279/1.329, allocations: 2.823 MB / 1.295 GB, free: 147.1 MB / 0.7917 GB Notification: Performance of SimCode: time 0.009067/1.338, allocations: 4.057 MB / 1.299 GB, free: 143.1 MB / 0.7917 GB Notification: Performance of Templates: time 0.09313/1.431, allocations: 41.54 MB / 1.34 GB, free: 102.9 MB / 0.7917 GB