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.ReciprocatingWaterToWater_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.ReciprocatingWaterToWater_ScalingFactor,fileNamePrefix="Buildings_6_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.2/package.mo): time 0.01102/0.01103, allocations: 108.5 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.001254/0.001254, allocations: 181.3 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.003/2.003, allocations: 194.6 MB / 211.3 MB, free: 11.02 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.407/2.407, allocations: 236.1 MB / 492.6 MB, free: 11.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000501/0.0005011, allocations: 16 kB / 0.587 GB, free: 2.078 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7739/0.7744, allocations: 98.71 MB / 0.6834 GB, free: 16.75 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor): time 0.1869/0.9614, allocations: 108.1 MB / 0.789 GB, free: 2.047 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.06273/1.024, allocations: 21.45 MB / 0.81 GB, free: 12.57 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006644/1.031, allocations: 119.1 kB / 0.8101 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.007842/1.039, allocations: 1.453 MB / 0.8115 GB, free: 10.99 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.01999/1.059, allocations: 4.094 MB / 0.8155 GB, free: 6.883 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.01483/1.074, allocations: 2.898 MB / 0.8183 GB, free: 3.984 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.01428/1.088, allocations: 5.025 MB / 0.8232 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005725/1.094, allocations: 2.239 MB / 0.8254 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008461/1.102, allocations: 2.382 MB / 0.8277 GB, free: 10.29 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004626/1.107, allocations: 1.555 MB / 0.8293 GB, free: 8.723 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.001206/1.108, allocations: 132 kB / 0.8294 GB, free: 8.594 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008788/1.117, allocations: 1.845 MB / 0.8312 GB, free: 6.746 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.001639/1.119, allocations: 0.5485 MB / 0.8317 GB, free: 6.195 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.002018/1.121, allocations: 0.7266 MB / 0.8324 GB, free: 5.461 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.0108/1.132, allocations: 4.543 MB / 0.8369 GB, free: 0.9062 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/1.132, allocations: 0 / 0.8369 GB, free: 0.9062 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.835e-06/1.132, allocations: 0 / 0.8369 GB, free: 0.9062 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001568/1.132, allocations: 0 / 0.8369 GB, free: 0.9062 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: 575 * Number of variables: 575 Notification: Performance of Generate backend data structure: time 0.01106/1.143, allocations: 3.37 MB / 0.8402 GB, free: 13.43 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.874e-05/1.143, allocations: 12.03 kB / 0.8402 GB, free: 13.42 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001196/1.144, allocations: 328.6 kB / 0.8405 GB, free: 13.09 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01933/1.164, allocations: 1.362 MB / 0.8418 GB, free: 11.72 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008948/1.173, allocations: 2.709 MB / 0.8445 GB, free: 8.938 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004537/1.173, allocations: 251.9 kB / 0.8447 GB, free: 8.676 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001084/1.174, allocations: 236 kB / 0.8449 GB, free: 8.445 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01426/1.188, allocations: 3.079 MB / 0.8479 GB, free: 5.184 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001038/1.189, allocations: 11.86 kB / 0.848 GB, free: 5.172 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004835/1.189, allocations: 100 kB / 0.848 GB, free: 5.074 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001306/1.189, allocations: 67.98 kB / 0.8481 GB, free: 5.008 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01756/1.207, allocations: 2.764 MB / 0.8508 GB, free: 2.227 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.03489/1.242, allocations: 13.22 MB / 0.8637 GB, free: 4.383 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007379/1.249, allocations: 1.376 MB / 0.8651 GB, free: 3 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002849/1.252, allocations: 1.793 MB / 0.8668 GB, free: 0.8203 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006249/1.258, allocations: 1.091 MB / 0.8679 GB, free: 15.66 MB / 0.698 GB Notification: Performance of pre-optimization done (n=124): time 7.354e-06/1.258, allocations: 0 / 0.8679 GB, free: 15.66 MB / 0.698 GB Notification: Performance of matching and sorting (n=124): time 0.0398/1.298, allocations: 4.18 MB / 0.872 GB, free: 11.43 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003071/1.299, allocations: 0.5766 MB / 0.8725 GB, free: 10.72 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007071/1.306, allocations: 2.505 MB / 0.875 GB, free: 8.207 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0005087/1.306, allocations: 57.7 kB / 0.875 GB, free: 8.145 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001981/1.308, allocations: 1.374 MB / 0.8764 GB, free: 6.754 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008747/1.309, allocations: 441.8 kB / 0.8768 GB, free: 6.316 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002572/1.309, allocations: 36 kB / 0.8768 GB, free: 6.281 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002208/1.31, allocations: 369.9 kB / 0.8772 GB, free: 5.914 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006525/1.316, allocations: 0.9486 MB / 0.8781 GB, free: 4.965 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007356/1.324, allocations: 1.581 MB / 0.8796 GB, free: 3.113 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006798/1.331, allocations: 1.101 MB / 0.8807 GB, free: 2.008 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.39e-05/1.331, allocations: 4 kB / 0.8807 GB, free: 2.004 MB / 0.698 GB Notification: Performance of matching and sorting (n=233) (initialization): time 0.0206/1.351, allocations: 3.051 MB / 0.8837 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.002429/1.354, allocations: 5.937 MB / 0.8895 GB, free: 8.457 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-05/1.354, allocations: 16 kB / 0.8895 GB, free: 8.441 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004306/1.358, allocations: 0.6849 MB / 0.8902 GB, free: 7.758 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005235/1.363, allocations: 0.4992 MB / 0.8907 GB, free: 7.258 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004002/1.367, allocations: 1.814 MB / 0.8924 GB, free: 5.395 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008552/1.376, allocations: 0.5013 MB / 0.8929 GB, free: 4.891 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006368/1.377, allocations: 103.9 kB / 0.893 GB, free: 4.789 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/1.377, allocations: 4 kB / 0.893 GB, free: 4.785 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01897/1.396, allocations: 2.786 MB / 0.8958 GB, free: 1.984 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-05/1.396, allocations: 12 kB / 0.8958 GB, free: 1.973 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004014/1.4, allocations: 0.6906 MB / 0.8964 GB, free: 1.285 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005109/1.405, allocations: 0.4953 MB / 0.8969 GB, free: 0.7891 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003921/1.409, allocations: 1.806 MB / 0.8987 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007394/1.416, allocations: 449.9 kB / 0.8991 GB, free: 14.49 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004626/1.417, allocations: 108.2 kB / 0.8992 GB, free: 14.39 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 17,2 17} Notification: Performance of prepare postOptimizeDAE: time 0.002217/1.419, allocations: 0.7024 MB / 0.8999 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009575/1.42, allocations: 260.8 kB / 0.9002 GB, free: 13.42 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02379/1.444, allocations: 2.358 MB / 0.9025 GB, free: 11.04 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.133e-05/1.444, allocations: 23.97 kB / 0.9025 GB, free: 11.02 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.012e-05/1.444, allocations: 0 / 0.9025 GB, free: 11.02 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01823/1.462, allocations: 1.982 MB / 0.9044 GB, free: 8.973 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0249/1.487, allocations: 6.188 MB / 0.9105 GB, free: 2.598 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.923e-05/1.487, allocations: 12 kB / 0.9105 GB, free: 2.586 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003425/1.491, allocations: 288.3 kB / 0.9107 GB, free: 2.305 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004174/1.495, allocations: 0.6649 MB / 0.9114 GB, free: 1.637 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003886/1.496, allocations: 47.95 kB / 0.9114 GB, free: 1.59 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5894/2.085, allocations: 1.779 MB / 0.9132 GB, free: 204.2 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.985e-05/2.085, allocations: 13.84 kB / 0.9132 GB, free: 204.2 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02029/2.105, allocations: 4.234 MB / 0.9173 GB, free: 202.7 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00238/2.108, allocations: 0.6418 MB / 0.918 GB, free: 202.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008753/2.109, allocations: 41.11 kB / 0.918 GB, free: 202.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006041/2.115, allocations: 280.7 kB / 0.9183 GB, free: 202.4 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004569/2.115, allocations: 125.5 kB / 0.9184 GB, free: 202.4 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002758/2.116, allocations: 66.53 kB / 0.9184 GB, free: 202.4 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.005635/2.121, allocations: 1.716 MB / 0.9201 GB, free: 201.7 MB / 0.7292 GB Notification: Performance of sort global known variables: time 8.32e-07/2.121, allocations: 0 / 0.9201 GB, free: 201.7 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.009417/2.131, allocations: 1.732 MB / 0.9218 GB, free: 201.5 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 17,2 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.02379/2.154, allocations: 7.882 MB / 0.9295 GB, free: 196.1 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.02164/2.176, allocations: 3.583 MB / 0.933 GB, free: 195 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-05/2.176, allocations: 3.875 kB / 0.933 GB, free: 195 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.011/2.187, allocations: 1.06 MB / 0.934 GB, free: 194.6 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01174/2.199, allocations: 1.309 MB / 0.9353 GB, free: 194.4 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02876/2.228, allocations: 17.33 MB / 0.9522 GB, free: 180 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001833/2.23, allocations: 1.769 MB / 0.954 GB, free: 179.2 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.006156/2.236, allocations: 0.6997 MB / 0.9547 GB, free: 179 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002838/2.239, allocations: 1.149 MB / 0.9558 GB, free: 178.1 MB / 0.7292 GB Notification: Performance of SimCode: time 1.923e-06/2.239, allocations: 0 / 0.9558 GB, free: 178.1 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.254/2.493, allocations: 86.9 MB / 1.041 GB, free: 102.7 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003166/2.493, allocations: 281.2 kB / 1.041 GB, free: 102.3 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.915/9.409, allocations: 4 kB / 1.041 GB, free: 102.3 MB / 0.7292 GB