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: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Dynamic",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.01223/0.01224, allocations: 107.2 kB / 15.06 MB, free: 5.555 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.001403/0.001403, allocations: 185.4 kB / 15.95 MB, free: 5.52 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.126/2.126, allocations: 194.6 MB / 211.3 MB, free: 11.25 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.555/2.555, allocations: 236.1 MB / 492.6 MB, free: 11.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007035/0.0007038, allocations: 12 kB / 0.587 GB, free: 2.102 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7381/0.7388, allocations: 98.72 MB / 0.6834 GB, free: 16.69 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic): time 0.2132/0.9521, allocations: 108.1 MB / 0.789 GB, free: 2.004 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.05035/1.003, allocations: 21.38 MB / 0.8099 GB, free: 12.58 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00625/1.009, allocations: 123.1 kB / 0.81 GB, free: 12.46 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.007964/1.017, allocations: 1.45 MB / 0.8115 GB, free: 11 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.02628/1.043, allocations: 4.074 MB / 0.8154 GB, free: 6.918 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0235/1.067, allocations: 2.907 MB / 0.8183 GB, free: 4.012 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.02025/1.087, allocations: 5.032 MB / 0.8232 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007954/1.095, allocations: 2.223 MB / 0.8254 GB, free: 12.71 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008981/1.104, allocations: 2.386 MB / 0.8277 GB, free: 10.32 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004592/1.109, allocations: 1.555 MB / 0.8292 GB, free: 8.754 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.001162/1.11, allocations: 124 kB / 0.8293 GB, free: 8.633 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008932/1.119, allocations: 1.865 MB / 0.8311 GB, free: 6.766 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.001647/1.121, allocations: 0.5368 MB / 0.8317 GB, free: 6.227 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.001867/1.123, allocations: 0.7227 MB / 0.8324 GB, free: 5.496 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.01102/1.134, allocations: 4.551 MB / 0.8368 GB, free: 0.9336 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/1.134, allocations: 4 kB / 0.8368 GB, free: 0.9297 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.517e-06/1.134, allocations: 4 kB / 0.8368 GB, free: 0.9258 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001446/1.134, allocations: 0 / 0.8368 GB, free: 0.9258 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.0116/1.145, allocations: 3.374 MB / 0.8401 GB, free: 13.45 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.664e-05/1.146, allocations: 8.031 kB / 0.8401 GB, free: 13.44 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001291/1.147, allocations: 320.7 kB / 0.8404 GB, free: 13.12 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02119/1.168, allocations: 1.451 MB / 0.8419 GB, free: 11.66 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008649/1.177, allocations: 2.725 MB / 0.8445 GB, free: 8.859 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004383/1.177, allocations: 251.9 kB / 0.8448 GB, free: 8.598 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009022/1.178, allocations: 236 kB / 0.845 GB, free: 8.367 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01451/1.193, allocations: 3.149 MB / 0.8481 GB, free: 5.031 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.244e-05/1.193, allocations: 7.938 kB / 0.8481 GB, free: 5.023 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004997/1.193, allocations: 100 kB / 0.8482 GB, free: 4.926 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001359/1.193, allocations: 71.92 kB / 0.8482 GB, free: 4.855 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01842/1.212, allocations: 2.87 MB / 0.851 GB, free: 1.969 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.03553/1.247, allocations: 13.56 MB / 0.8643 GB, free: 3.766 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007389/1.255, allocations: 1.443 MB / 0.8657 GB, free: 2.312 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002973/1.258, allocations: 1.789 MB / 0.8674 GB, free: 140 kB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006407/1.264, allocations: 1.107 MB / 0.8685 GB, free: 14.96 MB / 0.698 GB Notification: Performance of pre-optimization done (n=124): time 6.512e-06/1.264, allocations: 0 / 0.8685 GB, free: 14.96 MB / 0.698 GB Notification: Performance of matching and sorting (n=128): time 0.1004/1.365, allocations: 11.7 MB / 0.8799 GB, free: 3.102 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000357/1.365, allocations: 0.5805 MB / 0.8805 GB, free: 2.387 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006799/1.372, allocations: 2.518 MB / 0.883 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0005158/1.373, allocations: 57.7 kB / 0.883 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.002004/1.375, allocations: 1.401 MB / 0.8844 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009216/1.376, allocations: 449.7 kB / 0.8848 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002792/1.376, allocations: 40 kB / 0.8849 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002733/1.376, allocations: 385.8 kB / 0.8852 GB, free: 13.51 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006433/1.383, allocations: 0.9681 MB / 0.8862 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007328/1.39, allocations: 1.704 MB / 0.8878 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0069/1.397, allocations: 1.14 MB / 0.8889 GB, free: 9.375 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.326e-05/1.397, allocations: 4 kB / 0.8889 GB, free: 9.371 MB / 0.7136 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.0437/1.441, allocations: 4.26 MB / 0.8931 GB, free: 5.086 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.003746/1.445, allocations: 7.43 MB / 0.9004 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.451e-05/1.445, allocations: 23.89 kB / 0.9004 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006907/1.452, allocations: 1.135 MB / 0.9015 GB, free: 11.82 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004546/1.456, allocations: 459.2 kB / 0.9019 GB, free: 11.37 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007234/1.463, allocations: 2.385 MB / 0.9043 GB, free: 8.938 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007971/1.471, allocations: 403.3 kB / 0.9046 GB, free: 8.543 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004641/1.472, allocations: 104 kB / 0.9047 GB, free: 8.441 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/1.472, allocations: 4 kB / 0.9048 GB, free: 8.438 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04132/1.513, allocations: 3.988 MB / 0.9086 GB, free: 4.434 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.207e-05/1.513, allocations: 23.98 kB / 0.9087 GB, free: 4.41 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006586/1.52, allocations: 1.13 MB / 0.9098 GB, free: 3.273 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004391/1.524, allocations: 451.3 kB / 0.9102 GB, free: 2.832 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007028/1.532, allocations: 2.392 MB / 0.9125 GB, free: 400 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007102/1.539, allocations: 376.5 kB / 0.9129 GB, free: 24 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.6068/2.146, allocations: 95.16 kB / 0.913 GB, free: 204.1 MB / 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.002925/2.148, allocations: 0.7078 MB / 0.9137 GB, free: 203.9 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001128/2.15, allocations: 265 kB / 0.9139 GB, free: 203.9 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01532/2.165, allocations: 2.333 MB / 0.9162 GB, free: 203.6 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.604e-05/2.165, allocations: 19.52 kB / 0.9162 GB, free: 203.6 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.228e-05/2.165, allocations: 5.031 kB / 0.9162 GB, free: 203.6 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01297/2.178, allocations: 1.945 MB / 0.9181 GB, free: 202.8 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02773/2.206, allocations: 6.287 MB / 0.9243 GB, free: 199.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.933e-05/2.206, allocations: 9.328 kB / 0.9243 GB, free: 199.7 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003002/2.209, allocations: 248.5 kB / 0.9245 GB, free: 199.7 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006612/2.216, allocations: 0.983 MB / 0.9255 GB, free: 199.5 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004606/2.216, allocations: 41.25 kB / 0.9255 GB, free: 199.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006443/2.223, allocations: 2.16 MB / 0.9276 GB, free: 198 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.912e-05/2.223, allocations: 20.12 kB / 0.9276 GB, free: 198 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03264/2.255, allocations: 4.853 MB / 0.9324 GB, free: 195.5 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002524/2.258, allocations: 0.6265 MB / 0.933 GB, free: 195.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001254/2.259, allocations: 41.52 kB / 0.933 GB, free: 195.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00641/2.266, allocations: 278.5 kB / 0.9333 GB, free: 195.1 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005568/2.266, allocations: 122.7 kB / 0.9334 GB, free: 195.1 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003408/2.267, allocations: 61.2 kB / 0.9335 GB, free: 195.1 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.005865/2.273, allocations: 1.726 MB / 0.9352 GB, free: 194.4 MB / 0.7292 GB Notification: Performance of sort global known variables: time 8.72e-07/2.273, allocations: 3.531 kB / 0.9352 GB, free: 194.4 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.009906/2.283, allocations: 1.534 MB / 0.9367 GB, free: 194.3 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.036/2.319, allocations: 8.339 MB / 0.9448 GB, free: 189.1 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.02179/2.341, allocations: 3.767 MB / 0.9485 GB, free: 187.8 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-05/2.341, allocations: 7.094 kB / 0.9485 GB, free: 187.8 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0068/2.347, allocations: 1.096 MB / 0.9496 GB, free: 187.4 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01159/2.359, allocations: 1.315 MB / 0.9508 GB, free: 186.9 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02565/2.385, allocations: 19.56 MB / 0.9699 GB, free: 169.2 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00219/2.387, allocations: 1.774 MB / 0.9717 GB, free: 168 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.006377/2.393, allocations: 0.6643 MB / 0.9723 GB, free: 167.7 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002867/2.396, allocations: 1.134 MB / 0.9734 GB, free: 166.7 MB / 0.7292 GB Notification: Performance of SimCode: time 1.293e-06/2.396, allocations: 3.938 kB / 0.9734 GB, free: 166.7 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2233/2.62, allocations: 91.18 MB / 1.062 GB, free: 79.24 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002925/2.62, allocations: 270.3 kB / 1.063 GB, free: 78.88 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.074/9.695, allocations: 4 kB / 1.063 GB, free: 78.88 MB / 0.7292 GB