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_ScalingFactor.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_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009457/0.009463, allocations: 107.6 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.001118/0.001118, allocations: 186.3 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.973/1.973, allocations: 194.6 MB / 211.3 MB, free: 11.06 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.395/2.395, allocations: 236.2 MB / 492.6 MB, free: 11.38 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004776/0.0004779, allocations: 12 kB / 0.5869 GB, free: 2.176 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5417/0.5422, allocations: 98.71 MB / 0.6833 GB, free: 16.6 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor): time 0.1568/0.6991, allocations: 108.2 MB / 0.789 GB, free: 1.871 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.04058/0.7397, allocations: 21.38 MB / 0.8098 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005042/0.7448, allocations: 115.2 kB / 0.81 GB, free: 12.34 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.005791/0.7506, allocations: 1.461 MB / 0.8114 GB, free: 10.87 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.01546/0.7661, allocations: 4.066 MB / 0.8154 GB, free: 6.793 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.01157/0.7777, allocations: 2.925 MB / 0.8182 GB, free: 3.871 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.01119/0.7889, allocations: 5.051 MB / 0.8231 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00501/0.7939, allocations: 2.223 MB / 0.8253 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006614/0.8006, allocations: 2.398 MB / 0.8277 GB, free: 10.14 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003612/0.8042, allocations: 1.559 MB / 0.8292 GB, free: 8.578 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0008711/0.8052, allocations: 128 kB / 0.8293 GB, free: 8.453 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006904/0.8121, allocations: 1.869 MB / 0.8311 GB, free: 6.582 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.001254/0.8134, allocations: 0.5368 MB / 0.8317 GB, free: 6.043 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.001502/0.8149, allocations: 0.7305 MB / 0.8324 GB, free: 5.305 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.008844/0.8238, allocations: 4.563 MB / 0.8368 GB, free: 0.7305 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 5.819e-06/0.8238, allocations: 4 kB / 0.8368 GB, free: 0.7266 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.637e-06/0.8238, allocations: 4 kB / 0.8368 GB, free: 0.7227 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 9.549e-05/0.8239, allocations: 0 / 0.8368 GB, free: 0.7227 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: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.0083/0.8322, allocations: 3.382 MB / 0.8401 GB, free: 13.24 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.8323, allocations: 8.031 kB / 0.8401 GB, free: 13.23 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01271/0.845, allocations: 1.451 MB / 0.8416 GB, free: 11.77 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007058/0.8521, allocations: 2.729 MB / 0.8442 GB, free: 8.969 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003626/0.8525, allocations: 251.9 kB / 0.8445 GB, free: 8.707 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006157/0.8532, allocations: 236 kB / 0.8447 GB, free: 8.477 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01088/0.8641, allocations: 3.146 MB / 0.8478 GB, free: 5.148 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.529e-05/0.8642, allocations: 7.938 kB / 0.8478 GB, free: 5.141 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004243/0.8646, allocations: 100 kB / 0.8479 GB, free: 5.043 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001152/0.8647, allocations: 79.92 kB / 0.8479 GB, free: 4.965 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01291/0.8777, allocations: 2.874 MB / 0.8507 GB, free: 2.074 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.02837/0.9061, allocations: 13.38 MB / 0.8638 GB, free: 4.07 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005584/0.9117, allocations: 1.484 MB / 0.8653 GB, free: 2.574 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002422/0.9142, allocations: 1.786 MB / 0.867 GB, free: 412 kB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004724/0.9189, allocations: 1.154 MB / 0.8681 GB, free: 15.19 MB / 0.698 GB Notification: Performance of pre-optimization done (n=128): time 5.654e-06/0.919, allocations: 8 kB / 0.8681 GB, free: 15.18 MB / 0.698 GB Notification: Performance of matching and sorting (n=128): time 0.04891/0.9679, allocations: 6.357 MB / 0.8743 GB, free: 8.766 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003701/0.9683, allocations: 0.5805 MB / 0.8749 GB, free: 8.051 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006216/0.9745, allocations: 2.497 MB / 0.8773 GB, free: 5.543 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0004649/0.9751, allocations: 61.7 kB / 0.8774 GB, free: 5.477 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001861/0.9769, allocations: 1.37 MB / 0.8787 GB, free: 4.09 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001086/0.9781, allocations: 453.5 kB / 0.8792 GB, free: 3.641 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003296/0.9784, allocations: 40 kB / 0.8792 GB, free: 3.602 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002652/0.9787, allocations: 377.9 kB / 0.8796 GB, free: 3.227 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004963/0.9837, allocations: 1.003 MB / 0.8806 GB, free: 2.223 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00584/0.9896, allocations: 1.64 MB / 0.8822 GB, free: 320 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005035/0.9946, allocations: 1.162 MB / 0.8833 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.209e-05/0.9947, allocations: 4 kB / 0.8833 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of matching and sorting (n=237) (initialization): time 0.02563/1.02, allocations: 4.144 MB / 0.8873 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.003115/1.023, allocations: 5.93 MB / 0.8931 GB, free: 4.516 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.359e-05/1.024, allocations: 16 kB / 0.8931 GB, free: 4.5 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004442/1.028, allocations: 0.9186 MB / 0.894 GB, free: 3.578 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003359/1.031, allocations: 0.504 MB / 0.8945 GB, free: 3.074 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004454/1.036, allocations: 1.993 MB / 0.8965 GB, free: 1.031 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005673/1.042, allocations: 0.5181 MB / 0.897 GB, free: 0.5117 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004608/1.042, allocations: 103.9 kB / 0.8971 GB, free: 420 kB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/1.042, allocations: 4 kB / 0.8971 GB, free: 416 kB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02465/1.067, allocations: 3.867 MB / 0.9009 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.341e-05/1.067, allocations: 16 kB / 0.9009 GB, free: 12.5 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00438/1.071, allocations: 0.9213 MB / 0.9018 GB, free: 11.58 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003306/1.075, allocations: 0.4914 MB / 0.9023 GB, free: 11.09 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004456/1.079, allocations: 1.992 MB / 0.9042 GB, free: 9.051 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005335/1.085, allocations: 472.2 kB / 0.9047 GB, free: 8.59 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005128/1.085, allocations: 103.9 kB / 0.9048 GB, free: 8.488 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (196): * Single equations (assignments): 193 * 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 {2 19,2 19} Notification: Performance of prepare postOptimizeDAE: time 0.002156/1.087, allocations: 0.6997 MB / 0.9054 GB, free: 7.777 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008365/1.088, allocations: 260.8 kB / 0.9057 GB, free: 7.52 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01206/1.1, allocations: 2.424 MB / 0.9081 GB, free: 5.066 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.594e-05/1.1, allocations: 12 kB / 0.9081 GB, free: 5.055 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-05/1.1, allocations: 4 kB / 0.9081 GB, free: 5.051 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01043/1.111, allocations: 2.025 MB / 0.9101 GB, free: 2.969 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4765/1.587, allocations: 6.48 MB / 0.9164 GB, free: 204.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.651e-05/1.587, allocations: 13.48 kB / 0.9164 GB, free: 204.2 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002228/1.59, allocations: 284.3 kB / 0.9167 GB, free: 204.2 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004418/1.594, allocations: 0.8975 MB / 0.9175 GB, free: 204 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000329/1.594, allocations: 54.34 kB / 0.9176 GB, free: 204 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004065/1.598, allocations: 1.988 MB / 0.9195 GB, free: 202.6 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.855e-05/1.599, allocations: 17.97 kB / 0.9196 GB, free: 202.6 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0158/1.614, allocations: 4.462 MB / 0.9239 GB, free: 200.1 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00195/1.616, allocations: 0.6489 MB / 0.9245 GB, free: 199.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008309/1.617, allocations: 41.44 kB / 0.9246 GB, free: 199.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004327/1.622, allocations: 300.2 kB / 0.9249 GB, free: 199.7 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004059/1.622, allocations: 121.4 kB / 0.925 GB, free: 199.7 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000264/1.622, allocations: 69.14 kB / 0.925 GB, free: 199.7 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.004412/1.627, allocations: 1.72 MB / 0.9267 GB, free: 199 MB / 0.7292 GB Notification: Performance of sort global known variables: time 8.32e-07/1.627, allocations: 2.219 kB / 0.9267 GB, free: 199 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.006771/1.634, allocations: 1.748 MB / 0.9284 GB, free: 198.8 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 39 * Number of states: 4 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U,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 (94): * Single equations (assignments): 88 * 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,2 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.002462/1.636, allocations: 0.9083 MB / 0.9293 GB, free: 198.7 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.01566/1.652, allocations: 3.736 MB / 0.933 GB, free: 197.5 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.632e-05/1.652, allocations: 3.688 kB / 0.933 GB, free: 197.5 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.005185/1.657, allocations: 1.131 MB / 0.9341 GB, free: 197.1 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007676/1.665, allocations: 1.313 MB / 0.9354 GB, free: 196.9 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0146/1.679, allocations: 5.994 MB / 0.9412 GB, free: 193.5 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001773/1.681, allocations: 1.77 MB / 0.9429 GB, free: 192.6 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.005081/1.686, allocations: 0.6906 MB / 0.9436 GB, free: 192.4 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009876/1.687, allocations: 221 kB / 0.9438 GB, free: 192.4 MB / 0.7292 GB Notification: Performance of SimCode: time 1.722e-06/1.687, allocations: 4 kB / 0.9438 GB, free: 192.4 MB / 0.7292 GB Notification: Performance of Templates: time 0.1276/1.815, allocations: 66.13 MB / 1.008 GB, free: 135.8 MB / 0.7292 GB