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.ReciprocatingWaterToWater_VariableSpeed.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.ReciprocatingWaterToWater_VariableSpeed,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_VariableSpeed",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.0138/0.0138, allocations: 88.61 kB / 15.04 MB, free: 6.062 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.001263/0.001262, allocations: 167.6 kB / 15.92 MB, free: 6.008 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.19/2.19, 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.455/2.455, allocations: 252.8 MB / 0.511 GB, free: 8.301 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006487/0.0006488, allocations: 10.16 kB / 0.6243 GB, free: 28.33 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2458/0.2465, allocations: 106.2 MB / 0.7281 GB, free: 10.16 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed): time 0.1097/0.3562, allocations: 58.56 MB / 0.7853 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0287/0.385, allocations: 12.44 MB / 0.7974 GB, free: 2.992 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003071/0.3881, allocations: 63.5 kB / 0.7975 GB, free: 2.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.004304/0.3925, allocations: 0.7851 MB / 0.7982 GB, free: 2.141 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0117/0.4042, allocations: 2.189 MB / 0.8004 GB, free: 15.95 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.009695/0.414, allocations: 1.905 MB / 0.8022 GB, free: 14.04 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.007737/0.4217, allocations: 2.653 MB / 0.8048 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003256/0.4251, allocations: 1.164 MB / 0.806 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004591/0.4297, allocations: 1.265 MB / 0.8072 GB, free: 8.922 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002573/0.4323, allocations: 0.8322 MB / 0.808 GB, free: 8.086 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0006396/0.433, allocations: 68 kB / 0.8081 GB, free: 8.02 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005633/0.4387, allocations: 1.268 MB / 0.8093 GB, free: 6.75 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0009654/0.4397, allocations: 310.8 kB / 0.8096 GB, free: 6.445 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001118/0.4409, allocations: 400.8 kB / 0.81 GB, free: 6.047 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.00644/0.4473, allocations: 2.486 MB / 0.8124 GB, free: 3.555 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.4474, allocations: 3.938 kB / 0.8124 GB, free: 3.551 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.615e-06/0.4474, allocations: 0 / 0.8124 GB, free: 3.551 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.313e-05/0.4475, allocations: 0 / 0.8124 GB, free: 3.551 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.006825/0.4543, allocations: 2.005 MB / 0.8144 GB, free: 1.473 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.293e-05/0.4544, allocations: 9.094 kB / 0.8144 GB, free: 1.465 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006555/0.4551, allocations: 181.4 kB / 0.8146 GB, free: 1.277 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009781/0.4649, allocations: 0.6925 MB / 0.8152 GB, free: 0.582 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00452/0.4695, allocations: 1.437 MB / 0.8166 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002583/0.4698, allocations: 128 kB / 0.8168 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005146/0.4703, allocations: 124 kB / 0.8169 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007483/0.4778, allocations: 1.629 MB / 0.8185 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.724e-05/0.4779, allocations: 4 kB / 0.8185 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002465/0.4782, allocations: 48 kB / 0.8185 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.841e-05/0.4783, allocations: 35.95 kB / 0.8185 GB, free: 13.03 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009727/0.488, allocations: 1.499 MB / 0.82 GB, free: 11.52 MB / 0.6511 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.01962/0.5077, allocations: 7.001 MB / 0.8268 GB, free: 4.18 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004739/0.5125, allocations: 0.7916 MB / 0.8276 GB, free: 3.379 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002183/0.5147, allocations: 1.274 MB / 0.8289 GB, free: 1.828 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004011/0.5188, allocations: 0.6479 MB / 0.8295 GB, free: 1.145 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=69): time 4.839e-06/0.5188, allocations: 4 kB / 0.8295 GB, free: 1.141 MB / 0.6511 GB Notification: Performance of matching and sorting (n=69): time 0.02061/0.5395, allocations: 2.151 MB / 0.8316 GB, free: 14.96 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002412/0.5398, allocations: 328.9 kB / 0.8319 GB, free: 14.57 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004146/0.5439, allocations: 1.418 MB / 0.8333 GB, free: 13.14 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0002917/0.5443, allocations: 45.7 kB / 0.8333 GB, free: 13.09 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.001146/0.5454, allocations: 0.6958 MB / 0.834 GB, free: 12.39 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005315/0.546, allocations: 240.6 kB / 0.8343 GB, free: 12.15 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001552/0.5462, allocations: 20 kB / 0.8343 GB, free: 12.13 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001948/0.5464, allocations: 345.9 kB / 0.8346 GB, free: 11.79 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004007/0.5504, allocations: 0.5211 MB / 0.8351 GB, free: 11.27 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004475/0.555, allocations: 0.8286 MB / 0.8359 GB, free: 10.31 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004212/0.5592, allocations: 0.61 MB / 0.8365 GB, free: 9.695 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.298e-05/0.5593, allocations: 4 kB / 0.8365 GB, free: 9.691 MB / 0.6667 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.01513/0.5745, allocations: 1.833 MB / 0.8383 GB, free: 7.84 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.001261/0.5758, allocations: 2.521 MB / 0.8408 GB, free: 5.16 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-05/0.5759, allocations: 8 kB / 0.8408 GB, free: 5.152 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002407/0.5783, allocations: 340.3 kB / 0.8411 GB, free: 4.82 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003079/0.5814, allocations: 279.5 kB / 0.8414 GB, free: 4.547 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002229/0.5837, allocations: 0.9096 MB / 0.8423 GB, free: 3.617 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004882/0.5886, allocations: 290.6 kB / 0.8425 GB, free: 3.332 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003699/0.5891, allocations: 59.94 kB / 0.8426 GB, free: 3.273 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.5891, allocations: 7.938 kB / 0.8426 GB, free: 3.266 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01453/0.6036, allocations: 1.684 MB / 0.8442 GB, free: 1.57 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.691e-05/0.6037, allocations: 4 kB / 0.8442 GB, free: 1.566 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002199/0.606, allocations: 348.9 kB / 0.8446 GB, free: 1.223 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003018/0.609, allocations: 275.5 kB / 0.8448 GB, free: 0.9531 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00212/0.6112, allocations: 0.911 MB / 0.8457 GB, free: 20 kB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.6036/1.215, allocations: 258.5 kB / 0.846 GB, free: 114.8 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003918/1.215, allocations: 56.78 kB / 0.846 GB, free: 114.8 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.heaPum.com.isOn,heaPum.com.isOn,$PRE.N.T_start,N.T_start,$PRE.N.count,N.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 96 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 17} Notification: Performance of prepare postOptimizeDAE: time 0.001506/1.217, allocations: 457.2 kB / 0.8465 GB, free: 114.6 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005941/1.217, allocations: 143.8 kB / 0.8466 GB, free: 114.6 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008491/1.226, allocations: 1.274 MB / 0.8479 GB, free: 114.6 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.618e-05/1.226, allocations: 12.84 kB / 0.8479 GB, free: 114.6 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.127e-05/1.226, allocations: 5.406 kB / 0.8479 GB, free: 114.6 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007078/1.233, allocations: 1.08 MB / 0.8489 GB, free: 114.4 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01393/1.247, allocations: 3.341 MB / 0.8522 GB, free: 113.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.95e-05/1.247, allocations: 3.125 kB / 0.8522 GB, free: 113.5 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002499/1.25, allocations: 168.3 kB / 0.8524 GB, free: 113.5 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002208/1.252, allocations: 338.4 kB / 0.8527 GB, free: 113.4 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002346/1.252, allocations: 32.92 kB / 0.8527 GB, free: 113.4 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001841/1.254, allocations: 0.8951 MB / 0.8536 GB, free: 112.8 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.175e-05/1.254, allocations: 6.016 kB / 0.8536 GB, free: 112.8 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01425/1.269, allocations: 2.249 MB / 0.8558 GB, free: 111.5 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002567/1.271, allocations: 397.3 kB / 0.8562 GB, free: 111.2 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00125/1.272, allocations: 22.97 kB / 0.8562 GB, free: 111.2 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005989/1.279, allocations: 161 kB / 0.8563 GB, free: 111.2 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005043/1.279, allocations: 72.03 kB / 0.8564 GB, free: 111.2 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000342/1.28, allocations: 35.83 kB / 0.8564 GB, free: 111.2 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.005096/1.285, allocations: 1.02 MB / 0.8574 GB, free: 110.8 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.453e-06/1.285, allocations: 0 / 0.8574 GB, free: 110.8 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.007159/1.292, allocations: 0.9484 MB / 0.8584 GB, free: 110.6 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * Number of discrete variables: 4 ($whenCondition1,heaPum.com.isOn,N.T_start,N.count) * Number of discrete states: 2 (N.count,heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 46 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.02195/1.314, allocations: 4.47 MB / 0.8627 GB, free: 107.7 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.02037/1.334, allocations: 2.003 MB / 0.8647 GB, free: 107.1 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.007e-05/1.334, allocations: 1.406 kB / 0.8647 GB, free: 107.1 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.006153/1.341, allocations: 0.5747 MB / 0.8652 GB, free: 106.9 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01146/1.352, allocations: 0.7885 MB / 0.866 GB, free: 106.7 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02193/1.374, allocations: 8.266 MB / 0.8741 GB, free: 100 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002259/1.376, allocations: 1.24 MB / 0.8753 GB, free: 99.28 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.00541/1.382, allocations: 378.1 kB / 0.8757 GB, free: 99.18 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002426/1.384, allocations: 0.5701 MB / 0.8762 GB, free: 98.76 MB / 0.6667 GB Notification: Performance of SimCode: time 2.726e-06/1.385, allocations: 0 / 0.8762 GB, free: 98.76 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1331/1.518, allocations: 49.88 MB / 0.9249 GB, free: 58.48 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003012/1.518, allocations: 285.1 kB / 0.9252 GB, free: 58.11 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.686/6.204, allocations: 7.438 kB / 0.9252 GB, free: 58.11 MB / 0.6667 GB