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: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Dynamic",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.01229/0.01229, allocations: 106.9 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.001339/0.001339, allocations: 183.6 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.321/2.321, allocations: 194.6 MB / 211.3 MB, free: 11.27 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.405/2.405, allocations: 236.1 MB / 492.6 MB, free: 11.3 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000846/0.000846, allocations: 8 kB / 0.587 GB, free: 2.094 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.816/0.8169, allocations: 98.71 MB / 0.6834 GB, free: 16.83 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic): time 0.1826/0.9995, allocations: 108.1 MB / 0.789 GB, free: 2.059 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.05023/1.05, allocations: 21.45 MB / 0.8099 GB, free: 12.57 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00646/1.056, allocations: 119.1 kB / 0.8101 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.008287/1.065, allocations: 1.457 MB / 0.8115 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.02057/1.085, allocations: 4.074 MB / 0.8155 GB, free: 6.898 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.01464/1.1, allocations: 2.911 MB / 0.8183 GB, free: 3.992 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.01462/1.115, allocations: 5.059 MB / 0.8232 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006752/1.121, allocations: 2.243 MB / 0.8254 GB, free: 12.64 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009261/1.131, allocations: 2.398 MB / 0.8278 GB, free: 10.24 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004813/1.136, allocations: 1.567 MB / 0.8293 GB, free: 8.664 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.001048/1.137, allocations: 132 kB / 0.8294 GB, free: 8.535 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009161/1.146, allocations: 1.861 MB / 0.8312 GB, free: 6.672 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.001596/1.147, allocations: 0.5486 MB / 0.8318 GB, free: 6.121 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.00194/1.149, allocations: 0.7304 MB / 0.8325 GB, free: 5.383 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.01106/1.161, allocations: 4.563 MB / 0.837 GB, free: 0.8086 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/1.161, allocations: 0 / 0.837 GB, free: 0.8086 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.847e-06/1.161, allocations: 3.938 kB / 0.837 GB, free: 0.8047 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001436/1.161, allocations: 0 / 0.837 GB, free: 0.8047 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.01092/1.172, allocations: 3.386 MB / 0.8403 GB, free: 13.32 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.306e-05/1.172, allocations: 8.031 kB / 0.8403 GB, free: 13.31 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001125/1.173, allocations: 340.7 kB / 0.8406 GB, free: 12.96 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01934/1.192, allocations: 1.358 MB / 0.8419 GB, free: 11.6 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008335/1.201, allocations: 2.709 MB / 0.8446 GB, free: 8.816 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003503/1.201, allocations: 255.9 kB / 0.8448 GB, free: 8.551 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000649/1.202, allocations: 240 kB / 0.845 GB, free: 8.316 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01271/1.214, allocations: 3.109 MB / 0.8481 GB, free: 5.02 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.881e-05/1.215, allocations: 3.938 kB / 0.8481 GB, free: 5.016 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004448/1.215, allocations: 107.9 kB / 0.8482 GB, free: 4.91 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001323/1.215, allocations: 71.98 kB / 0.8483 GB, free: 4.84 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01642/1.232, allocations: 2.796 MB / 0.851 GB, free: 2.027 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.03189/1.264, allocations: 13.51 MB / 0.8642 GB, free: 3.867 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00631/1.27, allocations: 1.343 MB / 0.8655 GB, free: 2.516 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002797/1.273, allocations: 1.793 MB / 0.8672 GB, free: 344 kB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005382/1.278, allocations: 1.053 MB / 0.8683 GB, free: 15.21 MB / 0.698 GB Notification: Performance of pre-optimization done (n=124): time 7.675e-06/1.278, allocations: 4 kB / 0.8683 GB, free: 15.21 MB / 0.698 GB Notification: Performance of matching and sorting (n=128): time 0.05445/1.333, allocations: 10.21 MB / 0.8782 GB, free: 4.824 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003623/1.333, allocations: 0.6307 MB / 0.8789 GB, free: 4.047 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006332/1.339, allocations: 2.523 MB / 0.8813 GB, free: 1.504 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0004554/1.34, allocations: 61.7 kB / 0.8814 GB, free: 1.438 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001861/1.342, allocations: 1.405 MB / 0.8827 GB, free: 16 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008221/1.343, allocations: 445.7 kB / 0.8832 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002299/1.343, allocations: 36 kB / 0.8832 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002219/1.343, allocations: 381.9 kB / 0.8836 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005738/1.349, allocations: 0.9174 MB / 0.8845 GB, free: 14.24 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006617/1.356, allocations: 1.642 MB / 0.8861 GB, free: 12.28 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006111/1.362, allocations: 1.093 MB / 0.8871 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.891e-05/1.362, allocations: 8 kB / 0.8871 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.01755/1.379, allocations: 3.105 MB / 0.8902 GB, free: 8.047 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.00347/1.383, allocations: 7.432 MB / 0.8974 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.777e-05/1.383, allocations: 19.98 kB / 0.8975 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005131/1.388, allocations: 0.9051 MB / 0.8983 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004496/1.393, allocations: 463.3 kB / 0.8988 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005225/1.398, allocations: 2.193 MB / 0.9009 GB, free: 12.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009578/1.408, allocations: 400.5 kB / 0.9013 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005377/1.408, allocations: 104.1 kB / 0.9014 GB, free: 11.83 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/1.408, allocations: 4 kB / 0.9014 GB, free: 11.83 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02229/1.43, allocations: 2.833 MB / 0.9042 GB, free: 8.98 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-05/1.431, allocations: 23.92 kB / 0.9042 GB, free: 8.957 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006971/1.438, allocations: 0.8981 MB / 0.9051 GB, free: 8.059 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005833/1.443, allocations: 455.3 kB / 0.9055 GB, free: 7.613 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007359/1.451, allocations: 2.209 MB / 0.9077 GB, free: 5.355 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009115/1.46, allocations: 352.9 kB / 0.908 GB, free: 5.012 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007245/1.461, allocations: 104 kB / 0.9081 GB, free: 4.91 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.003206/1.464, allocations: 0.7152 MB / 0.9088 GB, free: 4.184 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001312/1.465, allocations: 268.8 kB / 0.9091 GB, free: 3.918 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01936/1.485, allocations: 2.249 MB / 0.9113 GB, free: 1.645 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.667e-05/1.485, allocations: 16 kB / 0.9113 GB, free: 1.629 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.624e-05/1.485, allocations: 8 kB / 0.9113 GB, free: 1.621 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.6041/2.089, allocations: 1.887 MB / 0.9131 GB, free: 204.6 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02752/2.117, allocations: 6.259 MB / 0.9192 GB, free: 202.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-05/2.117, allocations: 10.03 kB / 0.9192 GB, free: 202.2 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00312/2.12, allocations: 252.6 kB / 0.9195 GB, free: 202.2 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005029/2.125, allocations: 0.7578 MB / 0.9202 GB, free: 202.1 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004882/2.125, allocations: 46.09 kB / 0.9203 GB, free: 202 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00467/2.13, allocations: 1.958 MB / 0.9222 GB, free: 200.6 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.15e-05/2.13, allocations: 13.78 kB / 0.9222 GB, free: 200.6 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02072/2.151, allocations: 4.232 MB / 0.9263 GB, free: 198.1 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002566/2.154, allocations: 0.6257 MB / 0.9269 GB, free: 197.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00118/2.155, allocations: 36.61 kB / 0.927 GB, free: 197.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006052/2.161, allocations: 265.1 kB / 0.9272 GB, free: 197.7 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006371/2.162, allocations: 126.7 kB / 0.9273 GB, free: 197.7 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003304/2.162, allocations: 60.56 kB / 0.9274 GB, free: 197.7 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.006119/2.168, allocations: 1.733 MB / 0.9291 GB, free: 197 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6.21e-07/2.168, allocations: 0 / 0.9291 GB, free: 197 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.009766/2.178, allocations: 1.54 MB / 0.9306 GB, free: 196.9 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.02446/2.202, allocations: 7.862 MB / 0.9383 GB, free: 191.6 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.01946/2.222, allocations: 3.619 MB / 0.9418 GB, free: 190.5 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.069e-05/2.222, allocations: 6.906 kB / 0.9418 GB, free: 190.5 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.006193/2.228, allocations: 1.06 MB / 0.9429 GB, free: 190.1 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01225/2.24, allocations: 1.319 MB / 0.9441 GB, free: 189.9 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03/2.271, allocations: 19.75 MB / 0.9634 GB, free: 172.9 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002165/2.273, allocations: 1.782 MB / 0.9652 GB, free: 171.7 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.006095/2.279, allocations: 0.6804 MB / 0.9658 GB, free: 171.3 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002853/2.282, allocations: 1.149 MB / 0.967 GB, free: 170.3 MB / 0.7292 GB Notification: Performance of SimCode: time 2.154e-06/2.282, allocations: 0 / 0.967 GB, free: 170.3 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2226/2.504, allocations: 89.31 MB / 1.054 GB, free: 88.38 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000353/2.505, allocations: 274.4 kB / 1.054 GB, free: 88.02 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.792/9.297, allocations: 7.75 kB / 1.054 GB, free: 88.02 MB / 0.7292 GB