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: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor,fileNamePrefix="Buildings_6_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.2/package.mo): time 0.01216/0.01215, allocations: 106.4 kB / 15.06 MB, free: 6.031 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.001406/0.001406, allocations: 180.5 kB / 15.95 MB, free: 5.957 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 2.061/2.061, allocations: 194.6 MB / 211.3 MB, free: 11.08 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.529/2.529, allocations: 236.1 MB / 492.6 MB, free: 11.33 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006869/0.0006871, allocations: 12 kB / 0.587 GB, free: 2.07 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8414/0.8421, allocations: 98.72 MB / 0.6834 GB, free: 16.81 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor): time 0.2231/1.065, allocations: 108.2 MB / 0.7891 GB, free: 1.973 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.05323/1.119, allocations: 21.38 MB / 0.8099 GB, free: 12.56 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006798/1.125, allocations: 123.1 kB / 0.8101 GB, free: 12.44 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.008273/1.134, allocations: 1.457 MB / 0.8115 GB, free: 10.97 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0212/1.155, allocations: 4.078 MB / 0.8155 GB, free: 6.883 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.01595/1.171, allocations: 2.9 MB / 0.8183 GB, free: 3.984 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.01549/1.187, allocations: 5.059 MB / 0.8232 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007049/1.194, allocations: 2.243 MB / 0.8254 GB, free: 12.63 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009242/1.203, allocations: 2.39 MB / 0.8278 GB, free: 10.24 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004913/1.208, allocations: 1.559 MB / 0.8293 GB, free: 8.672 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.001464/1.209, allocations: 128 kB / 0.8294 GB, free: 8.547 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009373/1.219, allocations: 1.861 MB / 0.8312 GB, free: 6.684 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0019/1.221, allocations: 0.5485 MB / 0.8318 GB, free: 6.133 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.002328/1.223, allocations: 0.7266 MB / 0.8325 GB, free: 5.398 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.01143/1.235, allocations: 4.563 MB / 0.8369 GB, free: 0.8242 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/1.235, allocations: 4 kB / 0.8369 GB, free: 0.8203 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.687e-06/1.235, allocations: 0 / 0.8369 GB, free: 0.8203 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001989/1.235, allocations: 0 / 0.8369 GB, free: 0.8203 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.01193/1.247, allocations: 3.382 MB / 0.8402 GB, free: 13.34 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.585e-05/1.247, allocations: 8.031 kB / 0.8402 GB, free: 13.33 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001313/1.248, allocations: 324.7 kB / 0.8405 GB, free: 13 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02229/1.271, allocations: 1.451 MB / 0.842 GB, free: 11.54 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009543/1.28, allocations: 2.732 MB / 0.8446 GB, free: 8.734 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005512/1.281, allocations: 251.9 kB / 0.8449 GB, free: 8.473 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001111/1.282, allocations: 236 kB / 0.8451 GB, free: 8.242 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0166/1.299, allocations: 3.146 MB / 0.8482 GB, free: 4.914 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001324/1.299, allocations: 11.94 kB / 0.8482 GB, free: 4.902 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008438/1.3, allocations: 96 kB / 0.8483 GB, free: 4.809 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001472/1.3, allocations: 68 kB / 0.8483 GB, free: 4.742 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02015/1.32, allocations: 2.878 MB / 0.8511 GB, free: 1.848 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.03839/1.359, allocations: 13.39 MB / 0.8642 GB, free: 3.832 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008351/1.367, allocations: 1.476 MB / 0.8657 GB, free: 2.344 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002987/1.37, allocations: 1.789 MB / 0.8674 GB, free: 172 kB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007258/1.377, allocations: 1.166 MB / 0.8685 GB, free: 14.94 MB / 0.698 GB Notification: Performance of pre-optimization done (n=128): time 9.669e-06/1.377, allocations: 0 / 0.8685 GB, free: 14.94 MB / 0.698 GB Notification: Performance of matching and sorting (n=128): time 0.08624/1.464, allocations: 6.349 MB / 0.8747 GB, free: 8.535 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003302/1.464, allocations: 0.5766 MB / 0.8753 GB, free: 7.824 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007722/1.472, allocations: 2.497 MB / 0.8777 GB, free: 5.316 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0005444/1.472, allocations: 61.7 kB / 0.8778 GB, free: 5.25 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.002368/1.475, allocations: 1.378 MB / 0.8792 GB, free: 3.855 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001078/1.476, allocations: 453.6 kB / 0.8796 GB, free: 3.406 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000349/1.476, allocations: 40 kB / 0.8796 GB, free: 3.367 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002676/1.477, allocations: 373.9 kB / 0.88 GB, free: 2.996 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007561/1.484, allocations: 1.003 MB / 0.881 GB, free: 1.992 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008594/1.493, allocations: 1.64 MB / 0.8826 GB, free: 84 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007975/1.501, allocations: 1.148 MB / 0.8837 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.407e-05/1.501, allocations: 11.88 kB / 0.8837 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of matching and sorting (n=237) (initialization): time 0.04465/1.546, allocations: 4.143 MB / 0.8877 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.002832/1.548, allocations: 5.944 MB / 0.8935 GB, free: 4.277 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.183e-05/1.549, allocations: 12 kB / 0.8936 GB, free: 4.266 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006321/1.555, allocations: 0.9209 MB / 0.8945 GB, free: 3.344 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005391/1.56, allocations: 0.4953 MB / 0.8949 GB, free: 2.848 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006143/1.567, allocations: 1.992 MB / 0.8969 GB, free: 0.8086 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00926/1.576, allocations: 0.5223 MB / 0.8974 GB, free: 292 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007103/1.577, allocations: 103.9 kB / 0.8975 GB, free: 188 kB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/1.577, allocations: 8 kB / 0.8975 GB, free: 180 kB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04309/1.62, allocations: 3.859 MB / 0.9013 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.219e-05/1.62, allocations: 16 kB / 0.9013 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006186/1.626, allocations: 0.9242 MB / 0.9022 GB, free: 11.36 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00538/1.632, allocations: 499.2 kB / 0.9027 GB, free: 10.87 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00628/1.638, allocations: 2.001 MB / 0.9046 GB, free: 8.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008283/1.646, allocations: 463.1 kB / 0.9051 GB, free: 8.367 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007004/1.647, allocations: 103.9 kB / 0.9052 GB, free: 8.266 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.002759/1.65, allocations: 0.6997 MB / 0.9058 GB, free: 7.555 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001175/1.651, allocations: 264.8 kB / 0.9061 GB, free: 7.293 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01928/1.67, allocations: 2.409 MB / 0.9084 GB, free: 4.855 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.77e-05/1.67, allocations: 12.19 kB / 0.9085 GB, free: 4.844 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.531e-05/1.67, allocations: 7.984 kB / 0.9085 GB, free: 4.836 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01685/1.687, allocations: 2.029 MB / 0.9104 GB, free: 2.75 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6298/2.317, allocations: 6.479 MB / 0.9168 GB, free: 204.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.871e-05/2.317, allocations: 11.3 kB / 0.9168 GB, free: 204.3 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003614/2.321, allocations: 287.5 kB / 0.9171 GB, free: 204.3 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00629/2.327, allocations: 0.9043 MB / 0.9179 GB, free: 204.1 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004475/2.328, allocations: 46.8 kB / 0.918 GB, free: 204.1 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005925/2.334, allocations: 1.991 MB / 0.9199 GB, free: 202.7 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.175e-05/2.334, allocations: 14.94 kB / 0.9199 GB, free: 202.7 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02393/2.358, allocations: 4.462 MB / 0.9243 GB, free: 200.2 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002608/2.36, allocations: 0.6559 MB / 0.9249 GB, free: 199.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001264/2.362, allocations: 45.09 kB / 0.925 GB, free: 199.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007043/2.369, allocations: 299.7 kB / 0.9253 GB, free: 199.9 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005849/2.369, allocations: 126.1 kB / 0.9254 GB, free: 199.8 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003403/2.37, allocations: 67.69 kB / 0.9255 GB, free: 199.8 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.006122/2.376, allocations: 1.722 MB / 0.9271 GB, free: 199.1 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7.81e-07/2.376, allocations: 0 / 0.9271 GB, free: 199.1 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.00995/2.386, allocations: 1.747 MB / 0.9288 GB, free: 198.9 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.02654/2.413, allocations: 8.061 MB / 0.9367 GB, free: 193.5 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.02328/2.436, allocations: 3.735 MB / 0.9404 GB, free: 192.4 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.28e-05/2.436, allocations: 2.219 kB / 0.9404 GB, free: 192.4 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.007392/2.443, allocations: 1.126 MB / 0.9415 GB, free: 192 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0116/2.455, allocations: 1.323 MB / 0.9428 GB, free: 191.8 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02771/2.483, allocations: 17.18 MB / 0.9595 GB, free: 177.2 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002985/2.486, allocations: 1.778 MB / 0.9613 GB, free: 176.4 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.006698/2.493, allocations: 0.6995 MB / 0.962 GB, free: 176.1 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002998/2.496, allocations: 1.137 MB / 0.9631 GB, free: 175.2 MB / 0.7292 GB Notification: Performance of SimCode: time 1.613e-06/2.496, allocations: 0 / 0.9631 GB, free: 175.2 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2321/2.728, allocations: 89.45 MB / 1.05 GB, free: 92.51 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002433/2.728, allocations: 277 kB / 1.051 GB, free: 92.15 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.013/9.741, allocations: 0 / 1.051 GB, free: 92.15 MB / 0.7292 GB