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_Dynamic.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_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009759/0.009759, allocations: 107.9 kB / 15.06 MB, free: 5.562 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.001322/0.001322, allocations: 174 kB / 15.94 MB, free: 5.527 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 1.844/1.844, allocations: 194.6 MB / 211.3 MB, free: 11.07 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.272/2.272, allocations: 236.2 MB / 492.6 MB, free: 11.35 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007786/0.0007789, allocations: 8 kB / 0.5869 GB, free: 2.199 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5786/0.5794, allocations: 98.71 MB / 0.6833 GB, free: 16.65 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic): time 0.1514/0.7308, allocations: 108.1 MB / 0.7889 GB, free: 2.082 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.04644/0.7773, allocations: 21.45 MB / 0.8099 GB, free: 12.6 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0049/0.7822, allocations: 115.2 kB / 0.81 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.005924/0.7882, allocations: 1.457 MB / 0.8114 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.01559/0.8038, allocations: 4.078 MB / 0.8154 GB, free: 6.93 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.01195/0.8158, allocations: 2.906 MB / 0.8182 GB, free: 4.023 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.01109/0.8269, allocations: 5.047 MB / 0.8231 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00468/0.8316, allocations: 2.243 MB / 0.8253 GB, free: 12.69 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006493/0.8382, allocations: 2.402 MB / 0.8277 GB, free: 10.28 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00356/0.8418, allocations: 1.571 MB / 0.8292 GB, free: 8.699 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0007597/0.8426, allocations: 128 kB / 0.8293 GB, free: 8.574 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006859/0.8494, allocations: 1.857 MB / 0.8311 GB, free: 6.715 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.001204/0.8507, allocations: 0.5446 MB / 0.8317 GB, free: 6.168 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.001442/0.8522, allocations: 0.7343 MB / 0.8324 GB, free: 5.426 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.008902/0.8611, allocations: 4.559 MB / 0.8368 GB, free: 0.8555 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.8611, allocations: 0 / 0.8368 GB, free: 0.8555 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.129e-06/0.8611, allocations: 4 kB / 0.8368 GB, free: 0.8516 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 8.968e-05/0.8612, allocations: 0 / 0.8368 GB, free: 0.8516 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: 581 * Number of variables: 581 Notification: Performance of Generate backend data structure: time 0.008314/0.8696, allocations: 3.398 MB / 0.8402 GB, free: 13.35 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.8696, allocations: 8.031 kB / 0.8402 GB, free: 13.34 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01174/0.8814, allocations: 1.362 MB / 0.8415 GB, free: 11.98 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006801/0.8882, allocations: 2.717 MB / 0.8442 GB, free: 9.184 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003564/0.8886, allocations: 255.9 kB / 0.8444 GB, free: 8.918 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006095/0.8892, allocations: 232 kB / 0.8446 GB, free: 8.691 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01027/0.8995, allocations: 3.117 MB / 0.8477 GB, free: 5.387 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.423e-05/0.8996, allocations: 7.938 kB / 0.8477 GB, free: 5.379 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003836/0.9, allocations: 96 kB / 0.8478 GB, free: 5.285 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001091/0.9001, allocations: 71.98 kB / 0.8478 GB, free: 5.215 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01228/0.9124, allocations: 2.799 MB / 0.8506 GB, free: 2.398 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.02753/0.94, allocations: 13.51 MB / 0.8638 GB, free: 4.238 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004859/0.9449, allocations: 1.353 MB / 0.8651 GB, free: 2.879 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002412/0.9474, allocations: 1.789 MB / 0.8668 GB, free: 0.7031 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003978/0.9514, allocations: 1.057 MB / 0.8679 GB, free: 15.57 MB / 0.698 GB Notification: Performance of pre-optimization done (n=124): time 5.984e-06/0.9514, allocations: 3.938 kB / 0.8679 GB, free: 15.57 MB / 0.698 GB Notification: Performance of matching and sorting (n=128): time 0.03813/0.9896, allocations: 10.2 MB / 0.8778 GB, free: 5.191 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003802/0.99, allocations: 0.6307 MB / 0.8784 GB, free: 4.414 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005674/0.9957, allocations: 2.527 MB / 0.8809 GB, free: 1.867 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003327/0.996, allocations: 57.7 kB / 0.881 GB, free: 1.805 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001788/0.9978, allocations: 1.405 MB / 0.8823 GB, free: 392 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007301/0.9986, allocations: 453.7 kB / 0.8828 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000194/0.9988, allocations: 40 kB / 0.8828 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002452/0.9991, allocations: 381.9 kB / 0.8832 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003997/1.003, allocations: 0.9135 MB / 0.8841 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004868/1.008, allocations: 1.642 MB / 0.8857 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004456/1.012, allocations: 1.097 MB / 0.8867 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.071e-05/1.013, allocations: 4 kB / 0.8867 GB, free: 11.53 MB / 0.7136 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.01279/1.025, allocations: 3.106 MB / 0.8898 GB, free: 8.402 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.00392/1.029, allocations: 7.428 MB / 0.897 GB, free: 312 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.702e-05/1.029, allocations: 20 kB / 0.897 GB, free: 292 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004252/1.034, allocations: 0.8994 MB / 0.8979 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002985/1.037, allocations: 467.3 kB / 0.8984 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004402/1.041, allocations: 2.205 MB / 0.9005 GB, free: 12.67 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005098/1.046, allocations: 388.3 kB / 0.9009 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003458/1.047, allocations: 111.9 kB / 0.901 GB, free: 12.18 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/1.047, allocations: 4 kB / 0.901 GB, free: 12.18 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01152/1.058, allocations: 2.829 MB / 0.9038 GB, free: 9.336 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.494e-05/1.058, allocations: 16 kB / 0.9038 GB, free: 9.32 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004039/1.062, allocations: 0.8997 MB / 0.9047 GB, free: 8.422 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002879/1.065, allocations: 459.3 kB / 0.9051 GB, free: 7.973 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004348/1.07, allocations: 2.205 MB / 0.9073 GB, free: 5.719 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004705/1.074, allocations: 357.7 kB / 0.9076 GB, free: 5.371 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004287/1.075, allocations: 99.95 kB / 0.9077 GB, free: 5.273 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 79 * 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 (192): * Single equations (assignments): 189 * 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 {4 23,4 25} Notification: Performance of prepare postOptimizeDAE: time 0.001988/1.077, allocations: 0.7191 MB / 0.9084 GB, free: 4.543 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008002/1.078, allocations: 272.7 kB / 0.9086 GB, free: 4.273 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01048/1.088, allocations: 2.253 MB / 0.9109 GB, free: 1.996 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.801e-05/1.088, allocations: 12 kB / 0.9109 GB, free: 1.984 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.344e-05/1.088, allocations: 4 kB / 0.9109 GB, free: 1.98 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008915/1.097, allocations: 1.9 MB / 0.9127 GB, free: 24 kB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.499/1.596, allocations: 6.25 MB / 0.9188 GB, free: 202.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.499e-05/1.596, allocations: 7.594 kB / 0.9188 GB, free: 202.1 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001942/1.598, allocations: 262 kB / 0.9191 GB, free: 202.1 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003707/1.602, allocations: 0.756 MB / 0.9198 GB, free: 201.9 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002618/1.602, allocations: 41.02 kB / 0.9199 GB, free: 201.9 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003343/1.606, allocations: 1.959 MB / 0.9218 GB, free: 200.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.759e-05/1.606, allocations: 15.62 kB / 0.9218 GB, free: 200.5 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01351/1.619, allocations: 4.231 MB / 0.9259 GB, free: 198 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001894/1.621, allocations: 0.6172 MB / 0.9265 GB, free: 197.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005581/1.622, allocations: 50.52 kB / 0.9266 GB, free: 197.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003713/1.625, allocations: 266.9 kB / 0.9268 GB, free: 197.6 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003566/1.626, allocations: 123.4 kB / 0.9269 GB, free: 197.6 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002264/1.626, allocations: 65.81 kB / 0.927 GB, free: 197.6 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.004099/1.63, allocations: 1.728 MB / 0.9287 GB, free: 196.9 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.009e-06/1.63, allocations: 0 / 0.9287 GB, free: 196.9 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.00638/1.637, allocations: 1.535 MB / 0.9302 GB, free: 196.8 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 39 * Number of states: 2 (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 (90): * Single equations (assignments): 84 * 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,4 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.002314/1.639, allocations: 0.8957 MB / 0.9311 GB, free: 196.6 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.01383/1.653, allocations: 3.619 MB / 0.9346 GB, free: 195.5 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.676e-05/1.653, allocations: 2.719 kB / 0.9346 GB, free: 195.5 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.004354/1.657, allocations: 1.058 MB / 0.9356 GB, free: 195.1 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007481/1.665, allocations: 1.325 MB / 0.9369 GB, free: 194.9 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01501/1.68, allocations: 6.031 MB / 0.9428 GB, free: 191.6 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001724/1.682, allocations: 1.772 MB / 0.9446 GB, free: 190.8 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.005135/1.687, allocations: 0.6684 MB / 0.9452 GB, free: 190.6 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009377/1.688, allocations: 206.9 kB / 0.9454 GB, free: 190.6 MB / 0.7292 GB Notification: Performance of SimCode: time 2.393e-06/1.688, allocations: 0 / 0.9454 GB, free: 190.6 MB / 0.7292 GB Notification: Performance of Templates: time 0.1292/1.817, allocations: 65.72 MB / 1.01 GB, free: 134 MB / 0.7292 GB