Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_ScalingFactor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo): time 0.01046/0.01046, allocations: 88 kB / 15.04 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001184/0.001184, allocations: 173.6 kB / 15.92 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.066/2.066, allocations: 205.5 MB / 222.2 MB, free: 13.71 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.415/2.415, allocations: 252.8 MB / 0.511 GB, free: 8.332 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008313/0.0008314, allocations: 14.91 kB / 0.6243 GB, free: 28.23 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2367/0.2376, allocations: 106.2 MB / 0.7281 GB, free: 10.12 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor): time 0.1979/0.4356, allocations: 109.4 MB / 0.8349 GB, free: 12.47 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.6837/1.119, allocations: 21.44 MB / 0.8558 GB, free: 38.98 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005606/1.125, allocations: 108.6 kB / 0.8559 GB, free: 38.98 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.007543/1.133, allocations: 1.461 MB / 0.8574 GB, free: 38.97 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.01985/1.153, allocations: 4.074 MB / 0.8613 GB, free: 38.92 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.01487/1.167, allocations: 3.095 MB / 0.8644 GB, free: 38.82 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.01423/1.182, allocations: 5.063 MB / 0.8693 GB, free: 38.8 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006304/1.188, allocations: 2.251 MB / 0.8715 GB, free: 38.52 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009615/1.198, allocations: 2.424 MB / 0.8739 GB, free: 38.52 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005873/1.204, allocations: 1.566 MB / 0.8754 GB, free: 38.51 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.001774/1.205, allocations: 130 kB / 0.8755 GB, free: 38.51 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01184/1.217, allocations: 1.86 MB / 0.8773 GB, free: 38.5 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.002046/1.219, allocations: 0.5639 MB / 0.8779 GB, free: 38.5 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.002844/1.222, allocations: 0.7274 MB / 0.8786 GB, free: 38.47 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.01157/1.234, allocations: 4.613 MB / 0.8831 GB, free: 38.16 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/1.234, allocations: 0 / 0.8831 GB, free: 38.16 MB / 0.6667 GB Notification: Performance of FrontEnd: time 3.206e-06/1.234, allocations: 0.9688 kB / 0.8831 GB, free: 38.16 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001809/1.234, allocations: 0 / 0.8831 GB, free: 38.16 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 581 * Number of variables: 581 Notification: Performance of Generate backend data structure: time 0.01212/1.246, allocations: 3.399 MB / 0.8864 GB, free: 36.36 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.296e-05/1.246, allocations: 8.25 kB / 0.8864 GB, free: 36.36 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001416/1.248, allocations: 326.1 kB / 0.8867 GB, free: 36.31 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02167/1.27, allocations: 1.455 MB / 0.8882 GB, free: 36.08 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009527/1.279, allocations: 2.688 MB / 0.8908 GB, free: 35.18 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005554/1.28, allocations: 263.1 kB / 0.891 GB, free: 35.1 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001237/1.281, allocations: 236.5 kB / 0.8913 GB, free: 35.1 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01537/1.296, allocations: 3.18 MB / 0.8944 GB, free: 33.97 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001043/1.297, allocations: 6.531 kB / 0.8944 GB, free: 33.97 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005571/1.297, allocations: 98.41 kB / 0.8945 GB, free: 33.97 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001383/1.297, allocations: 75.33 kB / 0.8945 GB, free: 33.96 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01922/1.317, allocations: 2.881 MB / 0.8974 GB, free: 33.41 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.03532/1.352, allocations: 13.51 MB / 0.9105 GB, free: 25.25 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008402/1.36, allocations: 1.527 MB / 0.912 GB, free: 24.99 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002369/1.363, allocations: 1.786 MB / 0.9138 GB, free: 22.96 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007397/1.37, allocations: 1.209 MB / 0.915 GB, free: 22.46 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=130): time 7.143e-06/1.37, allocations: 2.875 kB / 0.915 GB, free: 22.46 MB / 0.6667 GB Notification: Performance of matching and sorting (n=130): time 0.07795/1.448, allocations: 5.978 MB / 0.9208 GB, free: 20.3 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002274/1.449, allocations: 0.5729 MB / 0.9214 GB, free: 19.62 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007496/1.456, allocations: 2.59 MB / 0.9239 GB, free: 18.97 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0006136/1.457, allocations: 67.23 kB / 0.924 GB, free: 18.93 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.001861/1.459, allocations: 1.341 MB / 0.9253 GB, free: 18.34 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009433/1.46, allocations: 457.5 kB / 0.9257 GB, free: 18.02 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000318/1.46, allocations: 35 kB / 0.9257 GB, free: 18.02 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001675/1.46, allocations: 373.5 kB / 0.9261 GB, free: 17.69 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007567/1.468, allocations: 1.021 MB / 0.9271 GB, free: 17.48 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008323/1.476, allocations: 1.603 MB / 0.9286 GB, free: 16.61 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008038/1.484, allocations: 1.155 MB / 0.9298 GB, free: 16.39 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.754e-05/1.484, allocations: 5.438 kB / 0.9298 GB, free: 16.39 MB / 0.6667 GB Notification: Performance of matching and sorting (n=227) (initialization): time 0.04239/1.527, allocations: 4.145 MB / 0.9338 GB, free: 13.51 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.001227/1.528, allocations: 5.023 MB / 0.9387 GB, free: 8.152 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.702e-05/1.528, allocations: 15.98 kB / 0.9388 GB, free: 8.137 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005674/1.534, allocations: 0.9056 MB / 0.9396 GB, free: 7.383 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005466/1.539, allocations: 0.5123 MB / 0.9401 GB, free: 6.906 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005421/1.545, allocations: 1.99 MB / 0.9421 GB, free: 5.23 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009864/1.555, allocations: 0.5439 MB / 0.9426 GB, free: 4.719 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007229/1.555, allocations: 104.9 kB / 0.9427 GB, free: 4.633 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/1.556, allocations: 6.625 kB / 0.9427 GB, free: 4.629 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04103/1.597, allocations: 3.854 MB / 0.9465 GB, free: 1.637 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.249e-05/1.597, allocations: 12 kB / 0.9465 GB, free: 1.625 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005559/1.602, allocations: 0.9246 MB / 0.9474 GB, free: 0.8555 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005415/1.608, allocations: 0.5038 MB / 0.9479 GB, free: 400 kB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005675/1.613, allocations: 1.992 MB / 0.9498 GB, free: 14.58 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008737/1.622, allocations: 481.7 kB / 0.9503 GB, free: 14.11 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000657/1.623, allocations: 103.9 kB / 0.9504 GB, free: 14 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (186): * Single equations (assignments): 183 * 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.002609/1.626, allocations: 0.702 MB / 0.9511 GB, free: 13.32 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001223/1.627, allocations: 272.8 kB / 0.9513 GB, free: 13.05 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02248/1.649, allocations: 2.578 MB / 0.9539 GB, free: 10.47 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.576e-05/1.649, allocations: 12 kB / 0.9539 GB, free: 10.46 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.938e-05/1.649, allocations: 4 kB / 0.9539 GB, free: 10.46 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02014/1.67, allocations: 2.192 MB / 0.956 GB, free: 8.234 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05224/1.722, allocations: 7.575 MB / 0.9634 GB, free: 0.582 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.429e-05/1.722, allocations: 8 kB / 0.9634 GB, free: 0.5742 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003703/1.726, allocations: 302 kB / 0.9637 GB, free: 300 kB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005725/1.731, allocations: 0.9017 MB / 0.9646 GB, free: 15.39 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003999/1.732, allocations: 50.95 kB / 0.9646 GB, free: 15.34 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005572/1.738, allocations: 1.979 MB / 0.9666 GB, free: 13.32 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.008e-05/1.738, allocations: 14.58 kB / 0.9666 GB, free: 13.31 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0238/1.761, allocations: 4.445 MB / 0.9709 GB, free: 8.449 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002981/1.764, allocations: 0.6729 MB / 0.9716 GB, free: 7.754 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001439/1.766, allocations: 47.94 kB / 0.9716 GB, free: 7.707 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007545/1.774, allocations: 295.5 kB / 0.9719 GB, free: 7.418 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005881/1.774, allocations: 118 kB / 0.972 GB, free: 7.309 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003906/1.775, allocations: 71.92 kB / 0.9721 GB, free: 7.238 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.006317/1.781, allocations: 1.813 MB / 0.9739 GB, free: 5.426 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.212e-06/1.781, allocations: 4 kB / 0.9739 GB, free: 5.422 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.01056/1.792, allocations: 1.75 MB / 0.9756 GB, free: 3.668 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * 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 (88): * Single equations (assignments): 82 * 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.02874/1.82, allocations: 7.596 MB / 0.983 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.02501/1.845, allocations: 3.763 MB / 0.9867 GB, free: 8.285 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.741e-05/1.845, allocations: 4 kB / 0.9867 GB, free: 8.281 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0077/1.853, allocations: 1.102 MB / 0.9877 GB, free: 7.211 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01271/1.866, allocations: 1.383 MB / 0.9891 GB, free: 5.836 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03139/1.897, allocations: 15.67 MB / 1.004 GB, free: 5.652 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002382/1.9, allocations: 1.772 MB / 1.006 GB, free: 3.855 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.006391/1.906, allocations: 0.6853 MB / 1.007 GB, free: 3.168 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003335/1.91, allocations: 1.155 MB / 1.008 GB, free: 2.008 MB / 0.7292 GB Notification: Performance of SimCode: time 1.733e-06/1.91, allocations: 0 / 1.008 GB, free: 2.008 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2797/2.189, allocations: 91.8 MB / 1.098 GB, free: 7.152 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003588/2.19, allocations: 280.7 kB / 1.098 GB, free: 6.793 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.232/9.422, allocations: 4.062 kB / 1.098 GB, free: 6.789 MB / 0.823 GB