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_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.ScrollWaterToWater_VariableSpeed,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_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.01443/0.01444, allocations: 92.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.001892/0.001892, allocations: 173.5 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.207/2.207, allocations: 205.5 MB / 222.2 MB, free: 13.57 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.442/2.442, allocations: 252.8 MB / 0.511 GB, free: 8.32 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005052/0.0005054, allocations: 11.78 kB / 0.6243 GB, free: 21.12 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.261/0.2615, allocations: 106.2 MB / 0.7281 GB, free: 8.125 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed): time 0.1085/0.3701, allocations: 58.53 MB / 0.7852 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.02791/0.3981, allocations: 12.33 MB / 0.7972 GB, free: 1.098 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003038/0.4012, allocations: 59.56 kB / 0.7973 GB, free: 1.039 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.004266/0.4055, allocations: 0.7889 MB / 0.7981 GB, free: 252 kB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.01387/0.4194, allocations: 2.173 MB / 0.8002 GB, free: 14.07 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0142/0.4337, allocations: 1.889 MB / 0.802 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.01044/0.4441, allocations: 2.631 MB / 0.8046 GB, free: 9.543 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004694/0.4489, allocations: 1.16 MB / 0.8057 GB, free: 8.352 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006487/0.4555, allocations: 1.253 MB / 0.807 GB, free: 7.094 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003404/0.4589, allocations: 0.8205 MB / 0.8078 GB, free: 6.27 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0008309/0.4598, allocations: 68 kB / 0.8078 GB, free: 6.203 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008416/0.4683, allocations: 1.256 MB / 0.8091 GB, free: 4.945 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.001443/0.4698, allocations: 302.8 kB / 0.8094 GB, free: 4.648 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.00187/0.4718, allocations: 400.8 kB / 0.8097 GB, free: 4.25 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.009385/0.4812, allocations: 2.482 MB / 0.8122 GB, free: 1.762 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.4813, allocations: 0 / 0.8122 GB, free: 1.762 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.246e-06/0.4813, allocations: 0 / 0.8122 GB, free: 1.762 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.982e-05/0.4815, allocations: 0 / 0.8122 GB, free: 1.762 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.009267/0.4907, allocations: 1.928 MB / 0.814 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.846e-05/0.4908, allocations: 12.03 kB / 0.8141 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008157/0.4917, allocations: 177.4 kB / 0.8142 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01617/0.5079, allocations: 0.7276 MB / 0.8149 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006154/0.5141, allocations: 1.437 MB / 0.8163 GB, free: 13.35 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002355/0.5144, allocations: 128 kB / 0.8165 GB, free: 13.21 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004143/0.5148, allocations: 127.9 kB / 0.8166 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007358/0.5222, allocations: 1.625 MB / 0.8182 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.894e-05/0.5223, allocations: 4 kB / 0.8182 GB, free: 11.37 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00024/0.5226, allocations: 48 kB / 0.8182 GB, free: 11.32 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.555e-05/0.5227, allocations: 43.89 kB / 0.8183 GB, free: 11.28 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009441/0.5321, allocations: 1.484 MB / 0.8197 GB, free: 9.789 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.01836/0.5505, allocations: 7.046 MB / 0.8266 GB, free: 2.402 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004237/0.5548, allocations: 0.7396 MB / 0.8273 GB, free: 1.652 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001983/0.5569, allocations: 1.274 MB / 0.8286 GB, free: 104 kB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.35e-05/0.557, allocations: 47.12 kB / 0.8286 GB, free: 48 kB / 0.6511 GB Notification: Performance of pre-optimization done (n=68): time 3.727e-06/0.557, allocations: 0 / 0.8286 GB, free: 48 kB / 0.6511 GB Notification: Performance of matching and sorting (n=68): time 0.6443/1.201, allocations: 3.091 MB / 0.8316 GB, free: 99.89 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.334e-05/1.201, allocations: 119.5 kB / 0.8317 GB, free: 99.77 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003772/1.205, allocations: 1.398 MB / 0.8331 GB, free: 99.52 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0002863/1.206, allocations: 44.23 kB / 0.8331 GB, free: 99.47 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008032/1.206, allocations: 0.689 MB / 0.8338 GB, free: 99.04 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003774/1.207, allocations: 244.4 kB / 0.834 GB, free: 98.87 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001159/1.207, allocations: 18 kB / 0.8341 GB, free: 98.86 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001034/1.207, allocations: 342.3 kB / 0.8344 GB, free: 98.54 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003856/1.211, allocations: 0.513 MB / 0.8349 GB, free: 98.39 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004189/1.215, allocations: 0.7934 MB / 0.8357 GB, free: 97.93 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004008/1.219, allocations: 0.5583 MB / 0.8362 GB, free: 97.74 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.564e-05/1.219, allocations: 1.719 kB / 0.8362 GB, free: 97.74 MB / 0.6511 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.02435/1.244, allocations: 2.158 MB / 0.8383 GB, free: 97.18 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005791/1.244, allocations: 2.478 MB / 0.8407 GB, free: 94.57 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.218e-05/1.244, allocations: 8.25 kB / 0.8407 GB, free: 94.57 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003056/1.247, allocations: 480.1 kB / 0.8412 GB, free: 94.46 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002868/1.25, allocations: 261.2 kB / 0.8415 GB, free: 94.44 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002832/1.253, allocations: 0.9918 MB / 0.8424 GB, free: 93.72 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004743/1.258, allocations: 284.4 kB / 0.8427 GB, free: 93.63 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003329/1.258, allocations: 58.55 kB / 0.8427 GB, free: 93.62 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/1.258, allocations: 6.891 kB / 0.8428 GB, free: 93.62 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02339/1.282, allocations: 2.005 MB / 0.8447 GB, free: 93.09 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.829e-05/1.282, allocations: 6.719 kB / 0.8447 GB, free: 93.09 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002806/1.285, allocations: 470.9 kB / 0.8452 GB, free: 92.98 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002846/1.288, allocations: 268.1 kB / 0.8454 GB, free: 92.96 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002741/1.29, allocations: 0.9936 MB / 0.8464 GB, free: 92.24 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004285/1.295, allocations: 248.2 kB / 0.8466 GB, free: 92.16 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002981/1.295, allocations: 55.12 kB / 0.8467 GB, free: 92.16 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.heaPum.com.isOn,heaPum.com.isOn) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * 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 19} Notification: Performance of prepare postOptimizeDAE: time 0.00118/1.296, allocations: 460.2 kB / 0.8471 GB, free: 91.8 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005008/1.297, allocations: 143.5 kB / 0.8473 GB, free: 91.73 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008977/1.306, allocations: 1.332 MB / 0.8486 GB, free: 91.24 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.093e-05/1.306, allocations: 7.281 kB / 0.8486 GB, free: 91.24 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/1.306, allocations: 4 kB / 0.8486 GB, free: 91.24 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008051/1.314, allocations: 1.145 MB / 0.8497 GB, free: 90.76 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01399/1.328, allocations: 3.074 MB / 0.8527 GB, free: 89.29 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.26e-05/1.328, allocations: 3.562 kB / 0.8527 GB, free: 89.29 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001921/1.33, allocations: 155.6 kB / 0.8528 GB, free: 89.28 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002767/1.333, allocations: 469 kB / 0.8533 GB, free: 89.17 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000241/1.333, allocations: 30 kB / 0.8533 GB, free: 89.16 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002598/1.336, allocations: 0.987 MB / 0.8543 GB, free: 88.44 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-05/1.336, allocations: 12.42 kB / 0.8543 GB, free: 88.44 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01149/1.347, allocations: 2.251 MB / 0.8565 GB, free: 87.06 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001297/1.349, allocations: 402.2 kB / 0.8569 GB, free: 86.78 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005215/1.349, allocations: 20.78 kB / 0.8569 GB, free: 86.77 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003569/1.353, allocations: 156.9 kB / 0.857 GB, free: 86.74 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002388/1.353, allocations: 63.98 kB / 0.8571 GB, free: 86.72 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001853/1.353, allocations: 47.8 kB / 0.8572 GB, free: 86.71 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.002759/1.356, allocations: 1.002 MB / 0.8581 GB, free: 86.3 MB / 0.6511 GB Notification: Performance of sort global known variables: time 6.51e-07/1.356, allocations: 0 / 0.8581 GB, free: 86.3 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.00453/1.36, allocations: 0.9355 MB / 0.859 GB, free: 86.16 MB / 0.6511 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: 1 (heaPum.com.isOn) * Number of discrete states: 1 (heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.01373/1.374, allocations: 4.46 MB / 0.8634 GB, free: 82.87 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.01217/1.386, allocations: 1.858 MB / 0.8652 GB, free: 82.01 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.65e-05/1.387, allocations: 6.125 kB / 0.8652 GB, free: 82.01 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.003671/1.39, allocations: 0.5296 MB / 0.8657 GB, free: 81.76 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006702/1.397, allocations: 0.7718 MB / 0.8665 GB, free: 81.39 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01366/1.411, allocations: 8.234 MB / 0.8745 GB, free: 74.3 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009125/1.412, allocations: 1.234 MB / 0.8757 GB, free: 73.34 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.003062/1.415, allocations: 373.7 kB / 0.8761 GB, free: 73.16 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001519/1.416, allocations: 0.5762 MB / 0.8767 GB, free: 72.67 MB / 0.6511 GB Notification: Performance of SimCode: time 1.472e-06/1.416, allocations: 4 kB / 0.8767 GB, free: 72.66 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1819/1.598, allocations: 49.8 MB / 0.9253 GB, free: 26.24 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003498/1.599, allocations: 280.3 kB / 0.9256 GB, free: 25.88 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.03/6.629, allocations: 4.062 kB / 0.9256 GB, free: 25.88 MB / 0.6511 GB