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: translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.008864/0.008868, allocations: 108 kB / 15.06 MB, free: 6.043 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.001098/0.001098, allocations: 182.9 kB / 15.95 MB, free: 5.957 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.011/2.011, 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.149/2.149, allocations: 236.2 MB / 492.6 MB, free: 11.38 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004617/0.000462, allocations: 16 kB / 0.5869 GB, free: 2.191 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5349/0.5354, allocations: 98.7 MB / 0.6833 GB, free: 16.77 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor): time 0.1963/0.7318, allocations: 108.1 MB / 0.7889 GB, free: 2.066 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.04279/0.7746, allocations: 21.45 MB / 0.8099 GB, free: 12.58 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004955/0.7796, allocations: 119.1 kB / 0.81 GB, free: 12.46 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.005855/0.7855, allocations: 1.465 MB / 0.8114 GB, free: 10.99 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.01575/0.8013, allocations: 4.082 MB / 0.8154 GB, free: 6.898 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.01211/0.8134, allocations: 2.91 MB / 0.8182 GB, free: 3.992 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.01134/0.8248, allocations: 5.024 MB / 0.8231 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005254/0.8301, allocations: 2.227 MB / 0.8253 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007227/0.8373, allocations: 2.39 MB / 0.8277 GB, free: 10.3 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003614/0.841, allocations: 1.555 MB / 0.8292 GB, free: 8.734 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0007409/0.8418, allocations: 128 kB / 0.8293 GB, free: 8.609 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006845/0.8486, allocations: 1.857 MB / 0.8311 GB, free: 6.75 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.00123/0.8499, allocations: 0.5446 MB / 0.8316 GB, free: 6.203 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.001505/0.8514, allocations: 0.7227 MB / 0.8323 GB, free: 5.473 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.008966/0.8604, allocations: 4.543 MB / 0.8368 GB, free: 0.918 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.8605, allocations: 0 / 0.8368 GB, free: 0.918 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.194e-06/0.8605, allocations: 0 / 0.8368 GB, free: 0.918 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 9.405e-05/0.8606, allocations: 0 / 0.8368 GB, free: 0.918 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.008355/0.869, allocations: 3.382 MB / 0.8401 GB, free: 13.43 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.869, allocations: 12.03 kB / 0.8401 GB, free: 13.42 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01172/0.8807, allocations: 1.366 MB / 0.8414 GB, free: 12.05 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006781/0.8876, allocations: 2.701 MB / 0.8441 GB, free: 9.273 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003574/0.888, allocations: 251.9 kB / 0.8443 GB, free: 9.012 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006138/0.8886, allocations: 243.9 kB / 0.8445 GB, free: 8.773 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01008/0.8987, allocations: 3.075 MB / 0.8475 GB, free: 5.516 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.144e-05/0.8988, allocations: 3.938 kB / 0.8476 GB, free: 5.512 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003824/0.8992, allocations: 100 kB / 0.8476 GB, free: 5.414 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001063/0.8993, allocations: 71.98 kB / 0.8477 GB, free: 5.344 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01191/0.9112, allocations: 2.756 MB / 0.8504 GB, free: 2.57 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.02654/0.9378, allocations: 13.21 MB / 0.8633 GB, free: 4.73 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005383/0.9432, allocations: 1.377 MB / 0.8647 GB, free: 3.344 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002429/0.9457, allocations: 1.789 MB / 0.8664 GB, free: 1.168 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004339/0.9501, allocations: 1.084 MB / 0.8675 GB, free: 20 kB / 0.6823 GB Notification: Performance of pre-optimization done (n=124): time 5.617e-06/0.9501, allocations: 7.938 kB / 0.8675 GB, free: 12 kB / 0.6823 GB Notification: Performance of matching and sorting (n=124): time 0.02552/0.9757, allocations: 4.18 MB / 0.8716 GB, free: 11.78 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003569/0.9761, allocations: 0.5843 MB / 0.8721 GB, free: 11.06 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005755/0.9818, allocations: 2.505 MB / 0.8746 GB, free: 8.547 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003377/0.9822, allocations: 57.7 kB / 0.8746 GB, free: 8.484 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001786/0.984, allocations: 1.37 MB / 0.876 GB, free: 7.098 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007456/0.9848, allocations: 433.8 kB / 0.8764 GB, free: 6.668 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002149/0.985, allocations: 40 kB / 0.8764 GB, free: 6.629 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002441/0.9853, allocations: 377.9 kB / 0.8768 GB, free: 6.254 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004445/0.9897, allocations: 0.9408 MB / 0.8777 GB, free: 5.312 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005349/0.9951, allocations: 1.581 MB / 0.8792 GB, free: 3.461 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004797/1, allocations: 1.101 MB / 0.8803 GB, free: 2.355 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.847e-05/1, allocations: 4 kB / 0.8803 GB, free: 2.352 MB / 0.698 GB Notification: Performance of matching and sorting (n=233) (initialization): time 0.01438/1.014, allocations: 3.052 MB / 0.8833 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.003217/1.018, allocations: 5.94 MB / 0.8891 GB, free: 8.797 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.986e-05/1.018, allocations: 16 kB / 0.8891 GB, free: 8.781 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003494/1.021, allocations: 0.6871 MB / 0.8898 GB, free: 8.098 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00345/1.025, allocations: 0.4993 MB / 0.8903 GB, free: 7.598 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00344/1.028, allocations: 1.812 MB / 0.892 GB, free: 5.738 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005499/1.034, allocations: 0.5092 MB / 0.8925 GB, free: 5.227 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004492/1.034, allocations: 103.9 kB / 0.8926 GB, free: 5.125 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/1.034, allocations: 4 kB / 0.8926 GB, free: 5.121 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01287/1.047, allocations: 2.782 MB / 0.8954 GB, free: 2.324 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.651e-05/1.047, allocations: 12 kB / 0.8954 GB, free: 2.312 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003371/1.051, allocations: 0.6938 MB / 0.896 GB, free: 1.621 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003345/1.054, allocations: 0.4914 MB / 0.8965 GB, free: 1.129 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003402/1.057, allocations: 1.806 MB / 0.8983 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005012/1.062, allocations: 453.9 kB / 0.8987 GB, free: 14.83 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004544/1.063, allocations: 107.9 kB / 0.8988 GB, free: 14.72 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.00204/1.065, allocations: 0.6985 MB / 0.8995 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008294/1.066, allocations: 260.8 kB / 0.8998 GB, free: 13.76 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01233/1.078, allocations: 2.36 MB / 0.9021 GB, free: 11.38 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.159e-05/1.078, allocations: 16 kB / 0.9021 GB, free: 11.36 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.273e-05/1.078, allocations: 0 / 0.9021 GB, free: 11.36 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01085/1.089, allocations: 1.986 MB / 0.904 GB, free: 9.316 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01859/1.108, allocations: 6.189 MB / 0.9101 GB, free: 2.941 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.273e-05/1.108, allocations: 16.16 kB / 0.9101 GB, free: 2.926 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002123/1.11, allocations: 283.5 kB / 0.9103 GB, free: 2.648 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003339/1.113, allocations: 0.6651 MB / 0.911 GB, free: 1.98 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002801/1.114, allocations: 51.95 kB / 0.911 GB, free: 1.93 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003312/1.117, allocations: 1.783 MB / 0.9128 GB, free: 100 kB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.702e-05/1.117, allocations: 12.06 kB / 0.9128 GB, free: 88 kB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4648/1.582, allocations: 4.234 MB / 0.9169 GB, free: 203.4 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001849/1.584, allocations: 0.6393 MB / 0.9176 GB, free: 203.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006016/1.584, allocations: 37.11 kB / 0.9176 GB, free: 203.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00404/1.589, allocations: 278.7 kB / 0.9179 GB, free: 203.1 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003712/1.589, allocations: 122.4 kB / 0.918 GB, free: 203.1 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002409/1.589, allocations: 65.47 kB / 0.918 GB, free: 203 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.004295/1.593, allocations: 1.716 MB / 0.9197 GB, free: 202.4 MB / 0.7292 GB Notification: Performance of sort global known variables: time 9.84e-07/1.594, allocations: 0 / 0.9197 GB, free: 202.4 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.006867/1.6, allocations: 1.738 MB / 0.9214 GB, free: 202.2 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.002327/1.603, allocations: 0.9082 MB / 0.9223 GB, free: 202 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.01412/1.617, allocations: 3.589 MB / 0.9258 GB, free: 200.9 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.505e-05/1.617, allocations: 1.469 kB / 0.9258 GB, free: 200.9 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.004536/1.621, allocations: 1.061 MB / 0.9268 GB, free: 200.5 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007491/1.629, allocations: 1.305 MB / 0.9281 GB, free: 200.3 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01539/1.644, allocations: 6.141 MB / 0.9341 GB, free: 197 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001761/1.646, allocations: 1.767 MB / 0.9358 GB, free: 196.2 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.005078/1.651, allocations: 0.6903 MB / 0.9365 GB, free: 196 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000994/1.652, allocations: 223.7 kB / 0.9367 GB, free: 196 MB / 0.7292 GB Notification: Performance of SimCode: time 1.845e-06/1.652, allocations: 0 / 0.9367 GB, free: 196 MB / 0.7292 GB Notification: Performance of Templates: time 0.1413/1.794, allocations: 63.66 MB / 0.9989 GB, free: 146.3 MB / 0.7292 GB