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.0104/0.0104, allocations: 222.2 kB / 15.17 MB, free: 6 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.001073, allocations: 181.7 kB / 16.06 MB, free: 5.867 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.211/3.211, allocations: 389.1 MB / 405.9 MB, free: 68.52 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.135/4.135, allocations: 472.3 MB / 0.9018 GB, free: 13.35 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005063/0.0005064, allocations: 16 kB / 1.008 GB, free: 0.8008 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4848/0.4853, allocations: 98.72 MB / 1.104 GB, free: 183.7 MB / 0.6823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater): time 0.1125/0.5978, allocations: 115.2 MB / 1.217 GB, free: 68.57 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.02013/0.618, allocations: 13.95 MB / 1.23 GB, free: 54.72 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00248/0.6205, allocations: 67.56 kB / 1.23 GB, free: 54.66 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.002308/0.6228, allocations: 0.7592 MB / 1.231 GB, free: 53.89 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/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.007431/0.6303, allocations: 2.314 MB / 1.233 GB, free: 51.6 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.006457/0.6368, allocations: 1.821 MB / 1.235 GB, free: 49.83 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.005933/0.6427, allocations: 5.193 MB / 1.24 GB, free: 44.63 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00182/0.6446, allocations: 1.206 MB / 1.241 GB, free: 43.48 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002316/0.6469, allocations: 1.374 MB / 1.243 GB, free: 42.1 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001421/0.6484, allocations: 1.173 MB / 1.244 GB, free: 40.93 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0002052/0.6486, allocations: 72 kB / 1.244 GB, free: 40.86 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003209/0.6518, allocations: 1.235 MB / 1.245 GB, free: 39.62 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0003623/0.6522, allocations: 326.5 kB / 1.245 GB, free: 39.3 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0005162/0.6527, allocations: 420.8 kB / 1.246 GB, free: 38.88 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.003052/0.6558, allocations: 2.608 MB / 1.248 GB, free: 36.27 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.024e-06/0.6558, allocations: 2.062 kB / 1.248 GB, free: 36.27 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.191e-06/0.6558, allocations: 3.938 kB / 1.248 GB, free: 36.27 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.032e-05/0.6559, allocations: 0 / 1.248 GB, free: 36.27 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: 311 * Number of variables: 311 Notification: Performance of Generate backend data structure: time 0.003652/0.6595, allocations: 2.114 MB / 1.25 GB, free: 34.07 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.6596, allocations: 8.031 kB / 1.25 GB, free: 34.07 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005951/0.6655, allocations: 0.7494 MB / 1.251 GB, free: 33.34 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003271/0.6688, allocations: 1.619 MB / 1.253 GB, free: 31.67 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001445/0.669, allocations: 134 kB / 1.253 GB, free: 31.53 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000225/0.6693, allocations: 132.8 kB / 1.253 GB, free: 31.4 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004373/0.6736, allocations: 1.706 MB / 1.255 GB, free: 29.61 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.605e-05/0.6737, allocations: 9.156 kB / 1.255 GB, free: 29.6 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001854/0.6739, allocations: 52 kB / 1.255 GB, free: 29.55 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-05/0.674, allocations: 37.03 kB / 1.255 GB, free: 29.52 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005483/0.6795, allocations: 1.522 MB / 1.256 GB, free: 28 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.0117/0.6912, allocations: 7.52 MB / 1.263 GB, free: 20.13 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004765/0.696, allocations: 1.19 MB / 1.265 GB, free: 18.96 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002322/0.6983, allocations: 0.5849 MB / 1.265 GB, free: 18.39 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0012/0.6996, allocations: 1.284 MB / 1.266 GB, free: 16.83 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002499/0.7021, allocations: 0.67 MB / 1.267 GB, free: 16.16 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=78): time 4.203e-06/0.7021, allocations: 0 / 1.267 GB, free: 16.16 MB / 0.6823 GB Notification: Performance of matching and sorting (n=78): time 0.0196/0.7217, allocations: 3.174 MB / 1.27 GB, free: 12.96 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.852e-05/0.7218, allocations: 139 kB / 1.27 GB, free: 12.8 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001933/0.7237, allocations: 1.257 MB / 1.272 GB, free: 11.52 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001567/0.7239, allocations: 45.7 kB / 1.272 GB, free: 11.47 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005952/0.7245, allocations: 0.7346 MB / 1.272 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002652/0.7248, allocations: 272.2 kB / 1.273 GB, free: 10.46 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.041e-05/0.7249, allocations: 20 kB / 1.273 GB, free: 10.44 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.138e-05/0.725, allocations: 353.9 kB / 1.273 GB, free: 10.09 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002414/0.7274, allocations: 0.5367 MB / 1.273 GB, free: 9.551 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002496/0.73, allocations: 0.8349 MB / 1.274 GB, free: 8.602 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002398/0.7324, allocations: 0.6214 MB / 1.275 GB, free: 7.977 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.537e-06/0.7324, allocations: 4 kB / 1.275 GB, free: 7.973 MB / 0.6823 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.006149/0.7386, allocations: 1.748 MB / 1.277 GB, free: 6.207 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001463/0.7387, allocations: 316.3 kB / 1.277 GB, free: 5.801 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.335e-05/0.7388, allocations: 8 kB / 1.277 GB, free: 5.793 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002324/0.7411, allocations: 0.5588 MB / 1.277 GB, free: 5.25 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001591/0.7427, allocations: 263.5 kB / 1.278 GB, free: 4.992 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002487/0.7452, allocations: 1.173 MB / 1.279 GB, free: 3.793 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002682/0.7479, allocations: 238.8 kB / 1.279 GB, free: 3.559 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001623/0.7481, allocations: 55.95 kB / 1.279 GB, free: 3.504 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.108e-05/0.7481, allocations: 4 kB / 1.279 GB, free: 3.5 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006008/0.7541, allocations: 1.607 MB / 1.281 GB, free: 1.883 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.405e-05/0.7542, allocations: 14.03 kB / 1.281 GB, free: 1.871 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002246/0.7564, allocations: 0.5474 MB / 1.281 GB, free: 1.336 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001563/0.758, allocations: 255.6 kB / 1.282 GB, free: 1.086 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4469/1.205, allocations: 1.166 MB / 1.283 GB, free: 171.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002407/1.207, allocations: 229.5 kB / 1.283 GB, free: 171.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001635/1.208, allocations: 55.56 kB / 1.283 GB, free: 171.1 MB / 0.6823 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.0009845/1.209, allocations: 474.5 kB / 1.283 GB, free: 170.9 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003218/1.209, allocations: 148.9 kB / 1.284 GB, free: 170.9 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006791/1.216, allocations: 1.562 MB / 1.285 GB, free: 170.8 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.73e-05/1.216, allocations: 7.719 kB / 1.285 GB, free: 170.8 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.024e-06/1.216, allocations: 2.344 kB / 1.285 GB, free: 170.8 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006366/1.222, allocations: 1.394 MB / 1.286 GB, free: 170.2 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0101/1.232, allocations: 3.581 MB / 1.29 GB, free: 168.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.366e-06/1.232, allocations: 1 kB / 1.29 GB, free: 168.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001462/1.234, allocations: 178.2 kB / 1.29 GB, free: 168.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00265/1.237, allocations: 0.5446 MB / 1.291 GB, free: 168.3 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001279/1.237, allocations: 34.12 kB / 1.291 GB, free: 168.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002597/1.239, allocations: 1.165 MB / 1.292 GB, free: 167.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.339e-06/1.239, allocations: 4.719 kB / 1.292 GB, free: 167.5 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007042/1.246, allocations: 1.573 MB / 1.293 GB, free: 166.9 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009417/1.247, allocations: 392.3 kB / 1.294 GB, free: 166.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002921/1.248, allocations: 19.56 kB / 1.294 GB, free: 166.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002365/1.25, allocations: 160.1 kB / 1.294 GB, free: 166.6 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001497/1.25, allocations: 52.52 kB / 1.294 GB, free: 166.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001831/1.25, allocations: 53.98 kB / 1.294 GB, free: 166.6 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001554/1.252, allocations: 0.8512 MB / 1.295 GB, free: 166.3 MB / 0.6823 GB Notification: Performance of sort global known variables: time 9.97e-07/1.252, allocations: 0 / 1.295 GB, free: 166.3 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003216/1.255, allocations: 1.014 MB / 1.296 GB, free: 166.1 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,calDat.nextTimeEvent,calDat.nextTimeEventScaled,heaPum.com.isOn) * Number of discrete states: 3 (calDat.nextTimeEvent,heaPum.com.isOn,calDat.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * 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 Backend phase and start with SimCode phase: time 0.002922/1.258, allocations: 0.9513 MB / 1.297 GB, free: 166 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.008698/1.267, allocations: 2.224 MB / 1.299 GB, free: 165.1 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.067e-06/1.267, allocations: 1.031 kB / 1.299 GB, free: 165.1 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.003264/1.27, allocations: 0.6257 MB / 1.3 GB, free: 164.8 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004637/1.275, allocations: 0.747 MB / 1.3 GB, free: 164.5 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007801/1.283, allocations: 3.202 MB / 1.303 GB, free: 162.5 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009965/1.284, allocations: 1.29 MB / 1.305 GB, free: 161.5 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002474/1.286, allocations: 365.6 kB / 1.305 GB, free: 161.4 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004389/1.287, allocations: 137.3 kB / 1.305 GB, free: 161.4 MB / 0.6823 GB Notification: Performance of SimCode: time 1.626e-06/1.287, allocations: 0 / 1.305 GB, free: 161.4 MB / 0.6823 GB Notification: Performance of Templates: time 0.071/1.358, allocations: 37.35 MB / 1.342 GB, free: 125.2 MB / 0.6823 GB