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.01038/0.01039, allocations: 223 kB / 15.17 MB, free: 5.93 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.001073/0.001074, allocations: 181.8 kB / 16.06 MB, free: 5.828 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.358/3.358, allocations: 389.1 MB / 405.9 MB, free: 67.62 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.061/4.061, allocations: 472.3 MB / 0.9018 GB, free: 13.37 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005012/0.0005014, allocations: 16 kB / 1.008 GB, free: 0.8125 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4826/0.4831, allocations: 98.72 MB / 1.104 GB, free: 183.9 MB / 0.6823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed): time 0.0582/0.5414, allocations: 63.75 MB / 1.166 GB, free: 120.1 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.01804/0.5594, allocations: 13.09 MB / 1.179 GB, free: 107.1 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002525/0.562, allocations: 63.56 kB / 1.179 GB, free: 107.1 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.002416/0.5645, allocations: 0.73 MB / 1.18 GB, free: 106.4 MB / 0.6823 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.007304/0.5718, allocations: 2.266 MB / 1.182 GB, free: 104.1 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.006072/0.5779, allocations: 1.78 MB / 1.184 GB, free: 102.4 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.005623/0.5835, allocations: 5.108 MB / 1.189 GB, free: 97.27 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00174/0.5853, allocations: 1.128 MB / 1.19 GB, free: 96.18 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002406/0.5877, allocations: 1.326 MB / 1.191 GB, free: 94.86 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001443/0.5892, allocations: 1.12 MB / 1.192 GB, free: 93.73 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0002061/0.5894, allocations: 64 kB / 1.192 GB, free: 93.67 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003127/0.5926, allocations: 1.171 MB / 1.193 GB, free: 92.5 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0003521/0.5929, allocations: 302.6 kB / 1.194 GB, free: 92.2 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0005315/0.5935, allocations: 392.8 kB / 1.194 GB, free: 91.81 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.002951/0.5964, allocations: 2.479 MB / 1.197 GB, free: 89.33 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.028e-06/0.5965, allocations: 0 / 1.197 GB, free: 89.33 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.274e-06/0.5965, allocations: 0 / 1.197 GB, free: 89.33 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.046e-05/0.5965, allocations: 0 / 1.197 GB, free: 89.33 MB / 0.6823 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.003441/0.6, allocations: 1.932 MB / 1.198 GB, free: 87.34 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.6, allocations: 8.031 kB / 1.198 GB, free: 87.33 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005846/0.6059, allocations: 0.7329 MB / 1.199 GB, free: 86.62 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002928/0.6088, allocations: 1.525 MB / 1.201 GB, free: 85.04 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001405/0.609, allocations: 128 kB / 1.201 GB, free: 84.91 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002433/0.6093, allocations: 120 kB / 1.201 GB, free: 84.79 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004236/0.6135, allocations: 1.623 MB / 1.202 GB, free: 83.09 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.241e-05/0.6136, allocations: 1.375 kB / 1.202 GB, free: 83.09 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001709/0.6138, allocations: 56.98 kB / 1.203 GB, free: 83.04 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.722e-05/0.6138, allocations: 39.98 kB / 1.203 GB, free: 83 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005387/0.6192, allocations: 1.48 MB / 1.204 GB, free: 81.53 MB / 0.6823 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.01138/0.6306, allocations: 6.927 MB / 1.211 GB, free: 74.31 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00252/0.6332, allocations: 0.7056 MB / 1.211 GB, free: 73.61 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001616/0.6348, allocations: 485.9 kB / 1.212 GB, free: 73.14 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001149/0.636, allocations: 1.274 MB / 1.213 GB, free: 71.6 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.062e-05/0.6361, allocations: 44.44 kB / 1.213 GB, free: 71.54 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=66): time 3.809e-06/0.6361, allocations: 0 / 1.213 GB, free: 71.54 MB / 0.6823 GB Notification: Performance of matching and sorting (n=66): time 0.01786/0.6539, allocations: 2.684 MB / 1.216 GB, free: 68.92 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.448e-05/0.654, allocations: 109.7 kB / 1.216 GB, free: 68.79 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002135/0.6562, allocations: 1.267 MB / 1.217 GB, free: 67.51 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001377/0.6563, allocations: 45.7 kB / 1.217 GB, free: 67.46 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000561/0.6569, allocations: 0.718 MB / 1.218 GB, free: 66.73 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002253/0.6572, allocations: 234.5 kB / 1.218 GB, free: 66.5 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.805e-05/0.6573, allocations: 20 kB / 1.218 GB, free: 66.48 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.124e-05/0.6574, allocations: 349.9 kB / 1.219 GB, free: 66.13 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001891/0.6593, allocations: 0.4931 MB / 1.219 GB, free: 65.65 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002071/0.6613, allocations: 0.8223 MB / 1.22 GB, free: 64.71 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001943/0.6633, allocations: 0.5522 MB / 1.22 GB, free: 64.17 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.83e-06/0.6633, allocations: 8 kB / 1.22 GB, free: 64.16 MB / 0.6823 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.01244/0.6758, allocations: 2.124 MB / 1.222 GB, free: 62.03 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001527/0.676, allocations: 326.7 kB / 1.223 GB, free: 61.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.541e-05/0.676, allocations: 12 kB / 1.223 GB, free: 61.59 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002034/0.678, allocations: 480.8 kB / 1.223 GB, free: 61.13 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001452/0.6795, allocations: 243.6 kB / 1.223 GB, free: 60.89 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001811/0.6813, allocations: 1.002 MB / 1.224 GB, free: 59.86 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002453/0.6838, allocations: 266.6 kB / 1.225 GB, free: 59.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001382/0.684, allocations: 47.98 kB / 1.225 GB, free: 59.55 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.684, allocations: 4 kB / 1.225 GB, free: 59.55 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01211/0.6961, allocations: 1.976 MB / 1.227 GB, free: 57.57 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.069e-05/0.6962, allocations: 8 kB / 1.227 GB, free: 57.56 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00192/0.6981, allocations: 467.4 kB / 1.227 GB, free: 57.12 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001416/0.6995, allocations: 250 kB / 1.227 GB, free: 56.88 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00178/0.7013, allocations: 1.005 MB / 1.228 GB, free: 55.84 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002184/0.7035, allocations: 221.8 kB / 1.229 GB, free: 55.63 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000129/0.7037, allocations: 51.97 kB / 1.229 GB, free: 55.58 MB / 0.6823 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.0008158/0.7045, allocations: 464.7 kB / 1.229 GB, free: 55.11 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002538/0.7048, allocations: 138.3 kB / 1.229 GB, free: 54.98 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005769/0.7106, allocations: 1.324 MB / 1.23 GB, free: 53.64 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-05/0.7106, allocations: 4 kB / 1.23 GB, free: 53.64 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.7106, allocations: 0.75 kB / 1.23 GB, free: 53.64 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005201/0.7158, allocations: 1.15 MB / 1.232 GB, free: 52.45 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007502/0.7234, allocations: 3.036 MB / 1.235 GB, free: 49.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.295e-05/0.7234, allocations: 4 kB / 1.235 GB, free: 49.27 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009554/0.7244, allocations: 158.2 kB / 1.235 GB, free: 49.11 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00193/0.7263, allocations: 461.9 kB / 1.235 GB, free: 48.67 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.944e-05/0.7264, allocations: 27.98 kB / 1.235 GB, free: 48.64 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001762/0.7282, allocations: 0.9934 MB / 1.236 GB, free: 47.62 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.16e-06/0.7282, allocations: 11.98 kB / 1.236 GB, free: 47.61 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005829/0.7341, allocations: 1.963 MB / 1.238 GB, free: 45.55 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007805/0.7349, allocations: 367.1 kB / 1.238 GB, free: 45.17 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00024/0.7352, allocations: 23.95 kB / 1.238 GB, free: 45.14 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001747/0.7369, allocations: 151 kB / 1.239 GB, free: 45 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001338/0.7371, allocations: 72.19 kB / 1.239 GB, free: 44.93 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001007/0.7372, allocations: 48.98 kB / 1.239 GB, free: 44.88 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.00157/0.7388, allocations: 0.8736 MB / 1.24 GB, free: 44.01 MB / 0.6823 GB Notification: Performance of sort global known variables: time 7.23e-07/0.7388, allocations: 0 / 1.24 GB, free: 44.01 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002756/0.7415, allocations: 0.9201 MB / 1.24 GB, free: 43.09 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * Number of discrete variables: 1 (heaPum.com.isOn) * Number of discrete states: 1 (heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 Backend phase and start with SimCode phase: time 0.001248/0.7428, allocations: 0.5901 MB / 1.241 GB, free: 42.51 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.006235/0.7491, allocations: 1.815 MB / 1.243 GB, free: 40.7 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.091e-05/0.7491, allocations: 4 kB / 1.243 GB, free: 40.69 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001912/0.751, allocations: 0.5267 MB / 1.243 GB, free: 40.17 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003949/0.755, allocations: 0.7449 MB / 1.244 GB, free: 39.46 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005936/0.761, allocations: 3.217 MB / 1.247 GB, free: 36.15 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007663/0.7618, allocations: 1.234 MB / 1.248 GB, free: 34.88 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002303/0.7641, allocations: 369.2 kB / 1.249 GB, free: 34.54 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003508/0.7644, allocations: 107.4 kB / 1.249 GB, free: 34.43 MB / 0.6823 GB Notification: Performance of SimCode: time 1.561e-06/0.7645, allocations: 1.875 kB / 1.249 GB, free: 34.43 MB / 0.6823 GB Notification: Performance of Templates: time 0.06455/0.829, allocations: 34.48 MB / 1.283 GB, free: 0.5586 MB / 0.6823 GB