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_VariableSpeed.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_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01524/0.01525, allocations: 108.5 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.001852/0.001852, allocations: 180.2 kB / 15.95 MB, free: 5.523 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.828/1.828, allocations: 194.6 MB / 211.3 MB, free: 11.32 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.16/2.16, allocations: 236.1 MB / 492.6 MB, free: 11.37 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000462/0.0004624, allocations: 12 kB / 0.5869 GB, free: 2.215 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5291/0.5296, allocations: 98.7 MB / 0.6833 GB, free: 16.77 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed): time 0.07605/0.6057, allocations: 57.9 MB / 0.7399 GB, free: 4.438 MB / 0.5574 GB Notification: Performance of NFInst.instExpressions: time 0.02281/0.6286, allocations: 12.4 MB / 0.752 GB, free: 8.016 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002606/0.6312, allocations: 59.56 kB / 0.752 GB, free: 7.957 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.002783/0.634, allocations: 0.7889 MB / 0.7528 GB, free: 7.164 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.008027/0.6421, allocations: 2.189 MB / 0.755 GB, free: 4.969 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.007099/0.6492, allocations: 1.784 MB / 0.7567 GB, free: 3.184 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.005809/0.655, allocations: 2.679 MB / 0.7593 GB, free: 0.5 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002366/0.6574, allocations: 1.153 MB / 0.7604 GB, free: 15.32 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003249/0.6607, allocations: 1.257 MB / 0.7617 GB, free: 14.06 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002394/0.6631, allocations: 0.8322 MB / 0.7625 GB, free: 13.22 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.0005261/0.6637, allocations: 68 kB / 0.7625 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006424/0.6701, allocations: 1.26 MB / 0.7638 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0009295/0.6711, allocations: 302.7 kB / 0.7641 GB, free: 11.6 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.001135/0.6723, allocations: 396.8 kB / 0.7644 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.005517/0.6778, allocations: 2.478 MB / 0.7669 GB, free: 8.719 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.6779, allocations: 0 / 0.7669 GB, free: 8.719 MB / 0.5886 GB Notification: Performance of FrontEnd: time 3.143e-06/0.6779, allocations: 0 / 0.7669 GB, free: 8.719 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.069e-05/0.6779, allocations: 0 / 0.7669 GB, free: 8.719 MB / 0.5886 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.004753/0.6827, allocations: 1.997 MB / 0.7688 GB, free: 6.648 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.6828, allocations: 8.031 kB / 0.7688 GB, free: 6.641 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005808/0.6886, allocations: 0.6964 MB / 0.7695 GB, free: 5.941 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003473/0.6921, allocations: 1.46 MB / 0.7709 GB, free: 4.426 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001912/0.6923, allocations: 128 kB / 0.771 GB, free: 4.293 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002834/0.6926, allocations: 124 kB / 0.7712 GB, free: 4.172 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004984/0.6976, allocations: 1.613 MB / 0.7727 GB, free: 2.469 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.161e-05/0.6977, allocations: 3.984 kB / 0.7727 GB, free: 2.465 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001899/0.6979, allocations: 56 kB / 0.7728 GB, free: 2.41 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.644e-05/0.698, allocations: 39.94 kB / 0.7728 GB, free: 2.371 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006064/0.7041, allocations: 1.48 MB / 0.7743 GB, free: 0.8828 MB / 0.5886 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.01387/0.718, allocations: 6.924 MB / 0.781 GB, free: 9.617 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002749/0.7207, allocations: 0.7564 MB / 0.7818 GB, free: 8.852 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001685/0.7225, allocations: 1.282 MB / 0.783 GB, free: 7.293 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002133/0.7246, allocations: 0.6222 MB / 0.7836 GB, free: 6.625 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=67): time 7.52e-06/0.7246, allocations: 7.922 kB / 0.7836 GB, free: 6.617 MB / 0.6042 GB Notification: Performance of matching and sorting (n=67): time 0.01234/0.737, allocations: 2.148 MB / 0.7857 GB, free: 4.449 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002244/0.7372, allocations: 372.3 kB / 0.7861 GB, free: 3.996 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002765/0.74, allocations: 1.349 MB / 0.7874 GB, free: 2.633 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001768/0.7402, allocations: 45.7 kB / 0.7875 GB, free: 2.582 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000852/0.7411, allocations: 0.7221 MB / 0.7882 GB, free: 1.852 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003216/0.7414, allocations: 244.6 kB / 0.7884 GB, free: 1.609 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.093e-05/0.7415, allocations: 20 kB / 0.7884 GB, free: 1.59 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001897/0.7417, allocations: 341.9 kB / 0.7887 GB, free: 1.25 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002138/0.7439, allocations: 0.5055 MB / 0.7892 GB, free: 0.7422 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002509/0.7464, allocations: 0.841 MB / 0.7901 GB, free: 15.75 MB / 0.6199 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002251/0.7487, allocations: 0.5904 MB / 0.7906 GB, free: 15.16 MB / 0.6199 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.056e-05/0.7487, allocations: 4 kB / 0.7906 GB, free: 15.15 MB / 0.6199 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.008637/0.7574, allocations: 1.802 MB / 0.7924 GB, free: 13.33 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 0.001689/0.7591, allocations: 3.211 MB / 0.7955 GB, free: 9.914 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.687e-05/0.7591, allocations: 8 kB / 0.7955 GB, free: 9.906 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001806/0.761, allocations: 356.4 kB / 0.7959 GB, free: 9.559 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001746/0.7627, allocations: 267.5 kB / 0.7961 GB, free: 9.297 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001704/0.7645, allocations: 0.91 MB / 0.797 GB, free: 8.363 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002848/0.7673, allocations: 270.7 kB / 0.7973 GB, free: 8.098 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001877/0.7675, allocations: 51.97 kB / 0.7973 GB, free: 8.047 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.7676, allocations: 7.953 kB / 0.7973 GB, free: 8.039 MB / 0.6199 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008241/0.7758, allocations: 1.646 MB / 0.7989 GB, free: 6.383 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.946e-05/0.7759, allocations: 8.125 kB / 0.799 GB, free: 6.375 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001674/0.7776, allocations: 366.2 kB / 0.7993 GB, free: 6.016 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00173/0.7793, allocations: 263.6 kB / 0.7996 GB, free: 5.758 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001648/0.781, allocations: 0.9128 MB / 0.8004 GB, free: 4.824 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002559/0.7836, allocations: 242.8 kB / 0.8007 GB, free: 4.586 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001727/0.7838, allocations: 51.97 kB / 0.8007 GB, free: 4.535 MB / 0.6199 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.heaPum.com.isOn,heaPum.com.isOn,$PRE.N.T_start,N.T_start,$PRE.N.count,N.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (106): * Single equations (assignments): 104 * 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: 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 17} Notification: Performance of prepare postOptimizeDAE: time 0.001048/0.7848, allocations: 468.7 kB / 0.8012 GB, free: 4.066 MB / 0.6199 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003444/0.7852, allocations: 142.3 kB / 0.8013 GB, free: 3.926 MB / 0.6199 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006223/0.7914, allocations: 1.286 MB / 0.8026 GB, free: 2.613 MB / 0.6199 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.24e-05/0.7915, allocations: 15.98 kB / 0.8026 GB, free: 2.598 MB / 0.6199 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.217e-05/0.7915, allocations: 4 kB / 0.8026 GB, free: 2.594 MB / 0.6199 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005567/0.7971, allocations: 1.107 MB / 0.8037 GB, free: 1.453 MB / 0.6199 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00921/0.8064, allocations: 3.456 MB / 0.807 GB, free: 13.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.585e-05/0.8064, allocations: 8.125 kB / 0.807 GB, free: 13.83 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001117/0.8075, allocations: 163.7 kB / 0.8072 GB, free: 13.67 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001647/0.8092, allocations: 344.3 kB / 0.8075 GB, free: 13.34 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001213/0.8094, allocations: 23.98 kB / 0.8076 GB, free: 13.31 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001632/0.811, allocations: 0.9029 MB / 0.8084 GB, free: 12.39 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.339e-05/0.811, allocations: 11.95 kB / 0.8085 GB, free: 12.38 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006953/0.818, allocations: 2.323 MB / 0.8107 GB, free: 9.75 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001039/0.8191, allocations: 386.9 kB / 0.8111 GB, free: 9.352 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002729/0.8194, allocations: 24 kB / 0.8111 GB, free: 9.328 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00195/0.8213, allocations: 155.8 kB / 0.8113 GB, free: 9.176 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001992/0.8216, allocations: 72.23 kB / 0.8113 GB, free: 9.105 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001157/0.8217, allocations: 35.98 kB / 0.8114 GB, free: 9.07 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.002074/0.8238, allocations: 0.929 MB / 0.8123 GB, free: 8.141 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.87e-07/0.8238, allocations: 7.938 kB / 0.8123 GB, free: 8.133 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.003375/0.8272, allocations: 0.9513 MB / 0.8132 GB, free: 7.18 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * Number of discrete variables: 4 ($whenCondition1,heaPum.com.isOn,N.T_start,N.count) * Number of discrete states: 2 (N.count,heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 52 * 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: 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 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.001599/0.8288, allocations: 0.615 MB / 0.8138 GB, free: 6.574 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.007431/0.8363, allocations: 1.965 MB / 0.8157 GB, free: 4.59 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.376e-05/0.8363, allocations: 4 kB / 0.8157 GB, free: 4.586 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.002429/0.8388, allocations: 0.5885 MB / 0.8163 GB, free: 3.996 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004154/0.8429, allocations: 0.7138 MB / 0.817 GB, free: 3.289 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00743/0.8504, allocations: 3.214 MB / 0.8201 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001196/0.8516, allocations: 1.246 MB / 0.8214 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.002633/0.8543, allocations: 373.2 kB / 0.8217 GB, free: 14.33 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004475/0.8548, allocations: 111.4 kB / 0.8218 GB, free: 14.22 MB / 0.6511 GB Notification: Performance of SimCode: time 1.647e-06/0.8548, allocations: 0 / 0.8218 GB, free: 14.22 MB / 0.6511 GB Notification: Performance of Templates: time 0.08224/0.937, allocations: 34.99 MB / 0.856 GB, free: 11.63 MB / 0.6824 GB