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_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.ReciprocatingWaterToWater_ScalingFactor,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_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.002401/0.002407, allocations: 91.67 kB / 15.04 MB, free: 0 / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.0019/0.001901, allocations: 171.9 kB / 15.92 MB, free: 5.988 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.188/2.188, 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.497/2.497, allocations: 252.8 MB / 0.511 GB, free: 8.34 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004891/0.0004892, allocations: 14.88 kB / 0.6243 GB, free: 28.49 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2222/0.2227, allocations: 106.2 MB / 0.7281 GB, free: 10.16 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor): time 0.1987/0.4215, allocations: 109.3 MB / 0.8348 GB, free: 12.55 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.6782/1.1, allocations: 21.52 MB / 0.8559 GB, free: 39.14 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005563/1.105, allocations: 111.2 kB / 0.856 GB, free: 39.14 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.007327/1.113, allocations: 1.455 MB / 0.8574 GB, free: 39.13 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.01958/1.132, allocations: 4.084 MB / 0.8614 GB, free: 39.08 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.01465/1.147, allocations: 3.095 MB / 0.8644 GB, free: 38.97 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.01395/1.161, allocations: 5.041 MB / 0.8693 GB, free: 38.96 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006236/1.167, allocations: 2.249 MB / 0.8715 GB, free: 38.68 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009601/1.177, allocations: 2.417 MB / 0.8739 GB, free: 38.68 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005424/1.183, allocations: 1.559 MB / 0.8754 GB, free: 38.67 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.001693/1.184, allocations: 128.7 kB / 0.8755 GB, free: 38.67 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01138/1.196, allocations: 1.859 MB / 0.8773 GB, free: 38.66 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.001983/1.198, allocations: 0.5595 MB / 0.8779 GB, free: 38.66 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.00295/1.201, allocations: 0.7256 MB / 0.8786 GB, free: 38.63 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.01188/1.213, allocations: 4.589 MB / 0.8831 GB, free: 38.32 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/1.213, allocations: 0 / 0.8831 GB, free: 38.32 MB / 0.6667 GB Notification: Performance of FrontEnd: time 3.858e-06/1.213, allocations: 5.031 kB / 0.8831 GB, free: 38.31 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0002085/1.213, allocations: 2.734 kB / 0.8831 GB, free: 38.31 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: 577 * Number of variables: 577 Notification: Performance of Generate backend data structure: time 0.01299/1.226, allocations: 3.378 MB / 0.8864 GB, free: 36.53 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.564e-05/1.226, allocations: 10.69 kB / 0.8864 GB, free: 36.53 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001491/1.228, allocations: 323.7 kB / 0.8867 GB, free: 36.48 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0199/1.247, allocations: 1.361 MB / 0.888 GB, free: 36.26 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009586/1.257, allocations: 2.68 MB / 0.8906 GB, free: 35.45 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004541/1.258, allocations: 248.9 kB / 0.8909 GB, free: 35.38 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001202/1.259, allocations: 240.3 kB / 0.8911 GB, free: 35.37 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01706/1.276, allocations: 3.105 MB / 0.8941 GB, free: 34.27 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002075/1.276, allocations: 10.03 kB / 0.8942 GB, free: 34.26 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001299/1.278, allocations: 98.12 kB / 0.8942 GB, free: 34.26 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002231/1.278, allocations: 73.14 kB / 0.8943 GB, free: 34.26 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02625/1.304, allocations: 2.771 MB / 0.897 GB, free: 33.72 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.0475/1.352, allocations: 13.34 MB / 0.91 GB, free: 25.62 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0113/1.363, allocations: 1.425 MB / 0.9114 GB, free: 25.37 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002472/1.366, allocations: 1.788 MB / 0.9132 GB, free: 23.34 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006684/1.372, allocations: 1.134 MB / 0.9143 GB, free: 22.88 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=126): time 5.861e-06/1.372, allocations: 0 / 0.9143 GB, free: 22.88 MB / 0.6667 GB Notification: Performance of matching and sorting (n=126): time 0.04154/1.414, allocations: 4.244 MB / 0.9184 GB, free: 21.43 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002546/1.414, allocations: 0.5799 MB / 0.919 GB, free: 20.74 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01089/1.425, allocations: 2.577 MB / 0.9215 GB, free: 20.1 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0006588/1.426, allocations: 59.95 kB / 0.9216 GB, free: 20.07 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.002333/1.428, allocations: 1.347 MB / 0.9229 GB, free: 19.46 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008733/1.429, allocations: 440.5 kB / 0.9233 GB, free: 19.15 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002784/1.429, allocations: 40.62 kB / 0.9233 GB, free: 19.15 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001443/1.43, allocations: 375.1 kB / 0.9237 GB, free: 18.82 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008859/1.438, allocations: 0.9616 MB / 0.9246 GB, free: 18.62 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01034/1.449, allocations: 1.548 MB / 0.9262 GB, free: 17.76 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009452/1.458, allocations: 1.102 MB / 0.9272 GB, free: 17.55 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.154e-05/1.458, allocations: 3.125 kB / 0.9272 GB, free: 17.55 MB / 0.6667 GB Notification: Performance of matching and sorting (n=223) (initialization): time 0.02989/1.488, allocations: 3.114 MB / 0.9303 GB, free: 16.78 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.001356/1.49, allocations: 5.022 MB / 0.9352 GB, free: 11.46 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-05/1.49, allocations: 13.7 kB / 0.9352 GB, free: 11.45 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005644/1.495, allocations: 0.6866 MB / 0.9359 GB, free: 11.09 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007066/1.503, allocations: 0.5091 MB / 0.9364 GB, free: 10.62 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00466/1.507, allocations: 1.789 MB / 0.9381 GB, free: 9.082 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01012/1.517, allocations: 0.522 MB / 0.9386 GB, free: 8.59 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005606/1.518, allocations: 104.5 kB / 0.9387 GB, free: 8.504 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/1.518, allocations: 4 kB / 0.9387 GB, free: 8.5 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02076/1.539, allocations: 2.838 MB / 0.9415 GB, free: 6.492 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.814e-05/1.539, allocations: 8 kB / 0.9415 GB, free: 6.484 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00379/1.543, allocations: 0.6826 MB / 0.9422 GB, free: 5.918 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005366/1.548, allocations: 0.5054 MB / 0.9427 GB, free: 5.449 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003479/1.552, allocations: 1.802 MB / 0.9444 GB, free: 3.906 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008038/1.56, allocations: 467 kB / 0.9449 GB, free: 3.484 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005302/1.56, allocations: 106.9 kB / 0.945 GB, free: 3.395 MB / 0.6667 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 17,2 17} Notification: Performance of prepare postOptimizeDAE: time 0.002174/1.563, allocations: 0.6908 MB / 0.9456 GB, free: 2.984 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009855/1.564, allocations: 268.8 kB / 0.9459 GB, free: 2.719 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02021/1.584, allocations: 2.584 MB / 0.9484 GB, free: 160 kB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.053e-05/1.584, allocations: 15.98 kB / 0.9484 GB, free: 144 kB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.374e-05/1.584, allocations: 4.188 kB / 0.9484 GB, free: 140 kB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01994/1.604, allocations: 2.197 MB / 0.9506 GB, free: 13.92 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02975/1.634, allocations: 6.498 MB / 0.9569 GB, free: 7.344 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.318e-05/1.634, allocations: 12.12 kB / 0.9569 GB, free: 7.332 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003728/1.637, allocations: 288.6 kB / 0.9572 GB, free: 7.059 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004074/1.642, allocations: 0.67 MB / 0.9579 GB, free: 6.391 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003588/1.642, allocations: 55.94 kB / 0.9579 GB, free: 6.336 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003922/1.646, allocations: 1.788 MB / 0.9597 GB, free: 4.504 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.867e-05/1.646, allocations: 10.72 kB / 0.9597 GB, free: 4.496 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02333/1.669, allocations: 4.286 MB / 0.9639 GB, free: 15.82 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002897/1.672, allocations: 0.669 MB / 0.9645 GB, free: 15.13 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001246/1.674, allocations: 35.98 kB / 0.9646 GB, free: 15.09 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006973/1.681, allocations: 284.4 kB / 0.9648 GB, free: 14.82 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004793/1.681, allocations: 113.7 kB / 0.9649 GB, free: 14.71 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003194/1.681, allocations: 75.92 kB / 0.965 GB, free: 14.64 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.005875/1.687, allocations: 1.809 MB / 0.9668 GB, free: 12.83 MB / 0.698 GB Notification: Performance of sort global known variables: time 6.91e-07/1.687, allocations: 3.938 kB / 0.9668 GB, free: 12.82 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.009881/1.697, allocations: 1.739 MB / 0.9685 GB, free: 11.08 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 17,2 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.02969/1.727, allocations: 7.479 MB / 0.9758 GB, free: 3.508 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.02323/1.75, allocations: 3.588 MB / 0.9793 GB, free: 0 / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.286e-05/1.75, allocations: 0 / 0.9793 GB, free: 0 / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.007138/1.757, allocations: 1.05 MB / 0.9803 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01253/1.77, allocations: 1.379 MB / 0.9817 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03371/1.804, allocations: 15.83 MB / 0.9971 GB, free: 13.28 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002219/1.806, allocations: 1.769 MB / 0.9988 GB, free: 11.48 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.006043/1.812, allocations: 0.6871 MB / 0.9995 GB, free: 10.79 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003324/1.815, allocations: 1.147 MB / 1.001 GB, free: 9.645 MB / 0.7292 GB Notification: Performance of SimCode: time 1.683e-06/1.816, allocations: 0 / 1.001 GB, free: 9.645 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3252/2.141, allocations: 89.23 MB / 1.088 GB, free: 1.402 MB / 0.8073 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00043/2.141, allocations: 293.3 kB / 1.088 GB, free: 1.035 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.99/9.132, allocations: 0 / 1.088 GB, free: 1.035 MB / 0.8073 GB