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_Static.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_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009059/0.009065, allocations: 107.8 kB / 15.06 MB, free: 6.039 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.001155/0.001155, allocations: 182.9 kB / 15.95 MB, free: 5.953 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.921/1.921, allocations: 194.6 MB / 211.3 MB, free: 11.03 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.136/2.136, allocations: 236.2 MB / 492.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004595/0.0004596, allocations: 8 kB / 0.5869 GB, free: 2.211 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5363/0.5368, allocations: 98.72 MB / 0.6833 GB, free: 16.68 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static): time 0.08409/0.621, allocations: 57.86 MB / 0.7398 GB, free: 4.469 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.02398/0.645, allocations: 12.36 MB / 0.7519 GB, free: 8.086 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002916/0.6479, allocations: 63.5 kB / 0.752 GB, free: 8.023 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.003355/0.6513, allocations: 0.7889 MB / 0.7527 GB, free: 7.23 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.00876/0.6601, allocations: 2.173 MB / 0.7549 GB, free: 5.051 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.007466/0.6676, allocations: 1.782 MB / 0.7566 GB, free: 3.27 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.005891/0.6735, allocations: 2.635 MB / 0.7592 GB, free: 0.6289 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002398/0.676, allocations: 1.137 MB / 0.7603 GB, free: 15.46 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003261/0.6793, allocations: 1.245 MB / 0.7615 GB, free: 14.21 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00182/0.6811, allocations: 0.8088 MB / 0.7623 GB, free: 13.4 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.0003311/0.6815, allocations: 68 kB / 0.7624 GB, free: 13.34 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004202/0.6857, allocations: 1.26 MB / 0.7636 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.000629/0.6864, allocations: 286.8 kB / 0.7639 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0007741/0.6872, allocations: 396.8 kB / 0.7642 GB, free: 11.4 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.004973/0.6922, allocations: 2.447 MB / 0.7666 GB, free: 8.945 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.454e-06/0.6922, allocations: 4 kB / 0.7666 GB, free: 8.941 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.639e-06/0.6922, allocations: 0 / 0.7666 GB, free: 8.941 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.626e-05/0.6923, allocations: 0 / 0.7666 GB, free: 8.941 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: 294 * Number of variables: 294 Notification: Performance of Generate backend data structure: time 0.004973/0.6973, allocations: 1.947 MB / 0.7685 GB, free: 6.926 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.6973, allocations: 8.031 kB / 0.7685 GB, free: 6.918 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006093/0.7034, allocations: 0.6886 MB / 0.7692 GB, free: 6.227 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00352/0.707, allocations: 1.441 MB / 0.7706 GB, free: 4.73 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000191/0.7072, allocations: 128 kB / 0.7707 GB, free: 4.598 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002517/0.7075, allocations: 120 kB / 0.7709 GB, free: 4.48 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005182/0.7127, allocations: 1.607 MB / 0.7724 GB, free: 2.777 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.403e-05/0.7128, allocations: 3.938 kB / 0.7724 GB, free: 2.773 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001941/0.713, allocations: 48 kB / 0.7725 GB, free: 2.727 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.458e-05/0.7131, allocations: 39.94 kB / 0.7725 GB, free: 2.688 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006309/0.7194, allocations: 1.456 MB / 0.7739 GB, free: 1.223 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.01416/0.7336, allocations: 7.154 MB / 0.7809 GB, free: 9.684 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002758/0.7364, allocations: 0.7604 MB / 0.7817 GB, free: 8.918 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00174/0.7381, allocations: 1.274 MB / 0.7829 GB, free: 7.367 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.888e-05/0.7382, allocations: 43.12 kB / 0.783 GB, free: 7.316 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=66): time 3.671e-06/0.7382, allocations: 0 / 0.783 GB, free: 7.316 MB / 0.6042 GB Notification: Performance of matching and sorting (n=66): time 0.01129/0.7495, allocations: 2.124 MB / 0.785 GB, free: 5.164 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.637e-05/0.7497, allocations: 119.4 kB / 0.7851 GB, free: 5.023 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002831/0.7525, allocations: 1.32 MB / 0.7864 GB, free: 3.688 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001806/0.7527, allocations: 45.7 kB / 0.7865 GB, free: 3.637 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008554/0.7536, allocations: 0.7293 MB / 0.7872 GB, free: 2.898 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003417/0.7539, allocations: 244.6 kB / 0.7874 GB, free: 2.656 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.907e-05/0.754, allocations: 20 kB / 0.7874 GB, free: 2.637 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001942/0.7542, allocations: 341.9 kB / 0.7878 GB, free: 2.297 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00219/0.7564, allocations: 493.7 kB / 0.7882 GB, free: 1.812 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002523/0.759, allocations: 0.8616 MB / 0.7891 GB, free: 0.7852 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002293/0.7613, allocations: 0.5731 MB / 0.7896 GB, free: 216 kB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.765e-05/0.7614, allocations: 7.953 kB / 0.7896 GB, free: 208 kB / 0.6042 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.006054/0.7675, allocations: 1.593 MB / 0.7912 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.002101/0.7696, allocations: 4.05 MB / 0.7952 GB, free: 10.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.304e-05/0.7697, allocations: 12 kB / 0.7952 GB, free: 10.27 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002261/0.7719, allocations: 442.8 kB / 0.7956 GB, free: 9.836 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00162/0.7736, allocations: 255.6 kB / 0.7958 GB, free: 9.586 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002273/0.7759, allocations: 1.076 MB / 0.7969 GB, free: 8.484 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00264/0.7786, allocations: 270.6 kB / 0.7971 GB, free: 8.219 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002004/0.7788, allocations: 55.92 kB / 0.7972 GB, free: 8.164 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.7788, allocations: 4 kB / 0.7972 GB, free: 8.16 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00554/0.7844, allocations: 1.453 MB / 0.7986 GB, free: 6.703 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.025e-05/0.7845, allocations: 8 kB / 0.7986 GB, free: 6.695 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002016/0.7865, allocations: 448.8 kB / 0.7991 GB, free: 6.258 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001597/0.7881, allocations: 255.6 kB / 0.7993 GB, free: 6.008 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002173/0.7903, allocations: 1.093 MB / 0.8004 GB, free: 4.891 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002427/0.7928, allocations: 238.8 kB / 0.8006 GB, free: 4.656 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001726/0.793, allocations: 47.98 kB / 0.8006 GB, free: 4.609 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.heaPum.com.isOn,heaPum.com.isOn) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (100): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * 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 {4 23} Notification: Performance of prepare postOptimizeDAE: time 0.001051/0.794, allocations: 460.8 kB / 0.8011 GB, free: 4.148 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003522/0.7944, allocations: 134.4 kB / 0.8012 GB, free: 4.016 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004645/0.7991, allocations: 1.244 MB / 0.8024 GB, free: 2.75 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.159e-05/0.7991, allocations: 8 kB / 0.8024 GB, free: 2.742 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.892e-06/0.7991, allocations: 0 / 0.8024 GB, free: 2.742 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004403/0.8036, allocations: 1.057 MB / 0.8035 GB, free: 1.652 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00934/0.8129, allocations: 3.24 MB / 0.8066 GB, free: 14.21 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.669e-05/0.813, allocations: 8 kB / 0.8066 GB, free: 14.2 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009123/0.8139, allocations: 131.9 kB / 0.8068 GB, free: 14.07 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002006/0.8159, allocations: 431.1 kB / 0.8072 GB, free: 13.65 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001001/0.8161, allocations: 16 kB / 0.8072 GB, free: 13.63 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002081/0.8182, allocations: 1.06 MB / 0.8082 GB, free: 12.55 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.67e-06/0.8182, allocations: 7.938 kB / 0.8082 GB, free: 12.54 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004719/0.8229, allocations: 1.5 MB / 0.8097 GB, free: 10.87 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009968/0.824, allocations: 371 kB / 0.8101 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002646/0.8242, allocations: 19.98 kB / 0.8101 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001842/0.8261, allocations: 131.8 kB / 0.8102 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001552/0.8263, allocations: 64.25 kB / 0.8103 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001082/0.8264, allocations: 27.98 kB / 0.8103 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.00212/0.8285, allocations: 0.9128 MB / 0.8112 GB, free: 9.332 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.79e-07/0.8286, allocations: 0 / 0.8112 GB, free: 9.332 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.003591/0.8322, allocations: 0.955 MB / 0.8121 GB, free: 8.375 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (heaPum.com.isOn) * Number of discrete states: 1 (heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {4 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.001655/0.8339, allocations: 0.5973 MB / 0.8127 GB, free: 7.777 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.007323/0.8412, allocations: 1.843 MB / 0.8145 GB, free: 5.938 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 9.719e-06/0.8413, allocations: 4 kB / 0.8145 GB, free: 5.934 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.002133/0.8434, allocations: 0.4992 MB / 0.815 GB, free: 5.438 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003811/0.8473, allocations: 0.6635 MB / 0.8156 GB, free: 4.773 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006851/0.8541, allocations: 2.965 MB / 0.8185 GB, free: 1.738 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001171/0.8553, allocations: 1.234 MB / 0.8197 GB, free: 484 kB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.002491/0.8579, allocations: 351.5 kB / 0.8201 GB, free: 128 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003669/0.8582, allocations: 103.3 kB / 0.8202 GB, free: 24 kB / 0.6355 GB Notification: Performance of SimCode: time 1.729e-06/0.8583, allocations: 4 kB / 0.8202 GB, free: 20 kB / 0.6355 GB Notification: Performance of Templates: time 0.07849/0.9368, allocations: 33.96 MB / 0.8533 GB, free: 14.44 MB / 0.6823 GB