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_Dynamic.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_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009203/0.009203, allocations: 106.9 kB / 15.06 MB, free: 5.562 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.001126/0.001126, allocations: 186.8 kB / 15.95 MB, free: 5.523 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 1.819/1.819, allocations: 194.6 MB / 211.3 MB, free: 11.32 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.251/2.251, allocations: 236.2 MB / 492.6 MB, free: 11.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004687/0.000469, allocations: 12 kB / 0.5869 GB, free: 2.207 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5565/0.557, allocations: 98.71 MB / 0.6833 GB, free: 16.83 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic): time 0.1672/0.7243, allocations: 108.1 MB / 0.789 GB, free: 2.078 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.06787/0.7922, allocations: 21.38 MB / 0.8098 GB, free: 12.66 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004693/0.7969, allocations: 119.1 kB / 0.8099 GB, free: 12.54 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.005862/0.8028, allocations: 1.453 MB / 0.8114 GB, free: 11.08 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.01596/0.8188, allocations: 4.07 MB / 0.8153 GB, free: 6.996 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.01199/0.8308, allocations: 2.907 MB / 0.8182 GB, free: 4.09 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.01123/0.8421, allocations: 5.024 MB / 0.8231 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004655/0.8468, allocations: 2.223 MB / 0.8253 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006267/0.8531, allocations: 2.382 MB / 0.8276 GB, free: 10.41 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003399/0.8565, allocations: 1.555 MB / 0.8291 GB, free: 8.844 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0006727/0.8572, allocations: 124 kB / 0.8292 GB, free: 8.723 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006843/0.8641, allocations: 1.861 MB / 0.831 GB, free: 6.859 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.00121/0.8654, allocations: 0.5407 MB / 0.8316 GB, free: 6.316 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.001448/0.8668, allocations: 0.7304 MB / 0.8323 GB, free: 5.578 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.009513/0.8764, allocations: 4.547 MB / 0.8367 GB, free: 1.02 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.8764, allocations: 0 / 0.8367 GB, free: 1.02 MB / 0.6511 GB Notification: Performance of FrontEnd: time 7.972e-06/0.8764, allocations: 4 kB / 0.8367 GB, free: 1.016 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001052/0.8766, allocations: 0 / 0.8367 GB, free: 1.016 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 577 * Number of variables: 577 Notification: Performance of Generate backend data structure: time 0.0144/0.891, allocations: 3.378 MB / 0.84 GB, free: 13.54 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.23e-05/0.8911, allocations: 8.031 kB / 0.84 GB, free: 13.53 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02617/0.9173, allocations: 1.455 MB / 0.8415 GB, free: 12.07 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007097/0.9244, allocations: 2.721 MB / 0.8441 GB, free: 9.27 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004002/0.9248, allocations: 255.9 kB / 0.8444 GB, free: 9.004 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006058/0.9255, allocations: 232 kB / 0.8446 GB, free: 8.777 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01074/0.9362, allocations: 3.147 MB / 0.8476 GB, free: 5.441 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.365e-05/0.9363, allocations: 7.938 kB / 0.8477 GB, free: 5.434 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004285/0.9368, allocations: 100 kB / 0.8478 GB, free: 5.336 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000124/0.9369, allocations: 75.92 kB / 0.8478 GB, free: 5.262 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01288/0.9498, allocations: 2.866 MB / 0.8506 GB, free: 2.379 MB / 0.6667 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.02767/0.9775, allocations: 13.55 MB / 0.8639 GB, free: 4.184 MB / 0.6824 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005247/0.9828, allocations: 1.451 MB / 0.8653 GB, free: 2.723 MB / 0.6824 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002432/0.9853, allocations: 1.793 MB / 0.867 GB, free: 0.543 MB / 0.6824 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00425/0.9896, allocations: 1.108 MB / 0.8681 GB, free: 15.37 MB / 0.698 GB Notification: Performance of pre-optimization done (n=124): time 1.189e-05/0.9896, allocations: 0 / 0.8681 GB, free: 15.37 MB / 0.698 GB Notification: Performance of matching and sorting (n=128): time 0.1052/1.095, allocations: 11.7 MB / 0.8795 GB, free: 3.508 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003642/1.095, allocations: 0.5805 MB / 0.8801 GB, free: 2.793 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005589/1.101, allocations: 2.518 MB / 0.8826 GB, free: 272 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003598/1.101, allocations: 61.7 kB / 0.8826 GB, free: 204 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001813/1.103, allocations: 1.393 MB / 0.884 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007517/1.104, allocations: 449.7 kB / 0.8844 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002061/1.104, allocations: 40 kB / 0.8844 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002515/1.104, allocations: 373.9 kB / 0.8848 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004404/1.109, allocations: 0.9759 MB / 0.8858 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00527/1.114, allocations: 1.7 MB / 0.8874 GB, free: 10.94 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004749/1.119, allocations: 1.145 MB / 0.8885 GB, free: 9.789 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-05/1.119, allocations: 4 kB / 0.8885 GB, free: 9.785 MB / 0.7136 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.02684/1.146, allocations: 4.267 MB / 0.8927 GB, free: 5.492 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0042/1.15, allocations: 7.414 MB / 0.8999 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.966e-05/1.15, allocations: 20 kB / 0.9 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0054/1.156, allocations: 1.148 MB / 0.9011 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002997/1.159, allocations: 455.3 kB / 0.9015 GB, free: 11.79 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005671/1.164, allocations: 2.39 MB / 0.9039 GB, free: 9.348 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006045/1.17, allocations: 408.3 kB / 0.9042 GB, free: 8.949 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007528/1.171, allocations: 107.9 kB / 0.9043 GB, free: 8.844 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/1.171, allocations: 8 kB / 0.9044 GB, free: 8.836 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04498/1.216, allocations: 3.977 MB / 0.9082 GB, free: 4.844 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.378e-05/1.216, allocations: 16 kB / 0.9083 GB, free: 4.828 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005504/1.222, allocations: 1.145 MB / 0.9094 GB, free: 3.68 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00308/1.225, allocations: 451.3 kB / 0.9098 GB, free: 3.238 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005589/1.231, allocations: 2.388 MB / 0.9121 GB, free: 0.8008 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004907/1.236, allocations: 373.4 kB / 0.9125 GB, free: 448 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004269/1.236, allocations: 107.9 kB / 0.9126 GB, free: 340 kB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 79 * 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 (188): * Single equations (assignments): 185 * 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 {4 25,4 27} Notification: Performance of prepare postOptimizeDAE: time 0.4567/1.693, allocations: 0.7057 MB / 0.9133 GB, free: 204.1 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007848/1.693, allocations: 266.8 kB / 0.9135 GB, free: 204.1 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009929/1.703, allocations: 2.324 MB / 0.9158 GB, free: 203.9 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.446e-05/1.704, allocations: 15.72 kB / 0.9158 GB, free: 203.9 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.395e-05/1.704, allocations: 3.453 kB / 0.9158 GB, free: 203.9 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00835/1.712, allocations: 1.947 MB / 0.9177 GB, free: 203.1 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01854/1.73, allocations: 6.288 MB / 0.9239 GB, free: 200 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.214e-05/1.731, allocations: 7.844 kB / 0.9239 GB, free: 200 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001847/1.732, allocations: 252.8 kB / 0.9241 GB, free: 200 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004702/1.737, allocations: 0.9821 MB / 0.9251 GB, free: 199.8 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002814/1.737, allocations: 48.89 kB / 0.9251 GB, free: 199.8 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004382/1.742, allocations: 2.148 MB / 0.9272 GB, free: 198.3 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.555e-05/1.742, allocations: 13.91 kB / 0.9272 GB, free: 198.3 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01976/1.762, allocations: 4.857 MB / 0.932 GB, free: 195.7 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001834/1.764, allocations: 0.6298 MB / 0.9326 GB, free: 195.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007111/1.764, allocations: 39.09 kB / 0.9326 GB, free: 195.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003901/1.768, allocations: 280.7 kB / 0.9329 GB, free: 195.4 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003406/1.769, allocations: 126.9 kB / 0.933 GB, free: 195.4 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002349/1.769, allocations: 60.84 kB / 0.9331 GB, free: 195.4 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.003857/1.773, allocations: 1.726 MB / 0.9348 GB, free: 194.7 MB / 0.7292 GB Notification: Performance of sort global known variables: time 9.11e-07/1.773, allocations: 3.969 kB / 0.9348 GB, free: 194.7 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.00686/1.78, allocations: 1.535 MB / 0.9363 GB, free: 194.6 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 37 * Number of states: 2 (heaPum1.con.vol.dynBal.U,heaPum1.eva.vol.dynBal.U) * Number of discrete variables: 6 ($whenCondition1,heaPum.com.isOn,heaPum1.com.isOn,N.T_start,N.count,realToInteger.y) * Number of discrete states: 3 (N.count,heaPum1.com.isOn,heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 80 * 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: 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 19,4 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.002273/1.782, allocations: 0.8936 MB / 0.9371 GB, free: 194.4 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.01497/1.797, allocations: 3.764 MB / 0.9408 GB, free: 193.2 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.671e-05/1.797, allocations: 2.781 kB / 0.9408 GB, free: 193.2 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.00468/1.802, allocations: 1.102 MB / 0.9419 GB, free: 192.9 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007691/1.809, allocations: 1.31 MB / 0.9432 GB, free: 192.6 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01325/1.823, allocations: 5.842 MB / 0.9489 GB, free: 189 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001586/1.824, allocations: 1.77 MB / 0.9506 GB, free: 187.8 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.005021/1.829, allocations: 0.6684 MB / 0.9513 GB, free: 187.4 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008477/1.83, allocations: 208.4 kB / 0.9515 GB, free: 187.4 MB / 0.7292 GB Notification: Performance of SimCode: time 1.834e-06/1.83, allocations: 0 / 0.9515 GB, free: 187.4 MB / 0.7292 GB Notification: Performance of Templates: time 0.1295/1.96, allocations: 67.66 MB / 1.018 GB, free: 125.8 MB / 0.7292 GB