Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics.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.Storage.Validation.HeatExchangerDynamics,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics",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.01088/0.01089, allocations: 107.5 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.001271/0.001271, allocations: 181.8 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 1.961/1.961, allocations: 194.6 MB / 211.3 MB, free: 11.04 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.24/2.24, allocations: 236.1 MB / 492.6 MB, free: 11.35 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004855/0.0004855, allocations: 12 kB / 0.587 GB, free: 2.082 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7141/0.7146, allocations: 98.71 MB / 0.6834 GB, free: 16.83 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.HeatExchangerDynamics): time 0.1427/0.8573, allocations: 92.65 MB / 0.7739 GB, free: 1.543 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.05864/0.916, allocations: 27.45 MB / 0.8007 GB, free: 6.047 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006369/0.9224, allocations: 127.1 kB / 0.8008 GB, free: 5.922 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.008618/0.9311, allocations: 1.64 MB / 0.8024 GB, free: 4.273 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.01941/0.9506, allocations: 4.121 MB / 0.8065 GB, free: 144 kB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.01425/0.9649, allocations: 2.974 MB / 0.8094 GB, free: 13.16 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.04671/1.012, allocations: 24.93 MB / 0.8337 GB, free: 4.195 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03147/1.043, allocations: 15.62 MB / 0.849 GB, free: 4.484 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0261/1.069, allocations: 9.904 MB / 0.8586 GB, free: 10.55 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02215/1.091, allocations: 8.627 MB / 0.8671 GB, free: 1.883 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.005731/1.097, allocations: 0.75 MB / 0.8678 GB, free: 1.133 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01614/1.113, allocations: 2.271 MB / 0.87 GB, free: 14.86 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.008226/1.122, allocations: 3.121 MB / 0.8731 GB, free: 11.73 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0096/1.131, allocations: 3.693 MB / 0.8767 GB, free: 8.02 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.04358/1.175, allocations: 26.99 MB / 0.903 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/1.175, allocations: 0 / 0.903 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.246e-06/1.175, allocations: 0 / 0.903 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.001016/1.176, allocations: 0 / 0.903 GB, free: 12.96 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3345 * Number of variables: 3345 Notification: Performance of Generate backend data structure: time 1.286/2.462, allocations: 15.91 MB / 0.9186 GB, free: 180.9 MB / 0.7293 GB Notification: Performance of prepare preOptimizeDAE: time 5.617e-05/2.462, allocations: 9.594 kB / 0.9186 GB, free: 180.9 MB / 0.7293 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.009627/2.472, allocations: 1.765 MB / 0.9203 GB, free: 180 MB / 0.7293 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01529/2.487, allocations: 1.953 MB / 0.9222 GB, free: 179.1 MB / 0.7293 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06514/2.552, allocations: 14.42 MB / 0.9363 GB, free: 172.3 MB / 0.7293 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002275/2.555, allocations: 1.002 MB / 0.9373 GB, free: 171.9 MB / 0.7293 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008088/2.563, allocations: 1.333 MB / 0.9386 GB, free: 171.4 MB / 0.7293 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09269/2.656, allocations: 19.77 MB / 0.9579 GB, free: 159.9 MB / 0.7293 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001074/2.657, allocations: 43.47 kB / 0.9579 GB, free: 159.8 MB / 0.7293 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006451/2.663, allocations: 0.5368 MB / 0.9584 GB, free: 159.4 MB / 0.7293 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007474/2.664, allocations: 382.3 kB / 0.9588 GB, free: 159.4 MB / 0.7293 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07668/2.741, allocations: 18.07 MB / 0.9764 GB, free: 144.5 MB / 0.7293 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.2549/2.996, allocations: 86.82 MB / 1.061 GB, free: 53.9 MB / 0.7293 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04812/3.044, allocations: 13.17 MB / 1.074 GB, free: 40.75 MB / 0.7293 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 evalFunc (simulation): time 0.1163/3.16, allocations: 26.98 MB / 1.1 GB, free: 12.67 MB / 0.7293 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0242/3.185, allocations: 5.814 MB / 1.106 GB, free: 6.797 MB / 0.7293 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0138/3.198, allocations: 0.8608 MB / 1.107 GB, free: 5.926 MB / 0.7293 GB Notification: Performance of pre-optimization done (n=778): time 4.315e-05/3.198, allocations: 0 / 1.107 GB, free: 5.926 MB / 0.7293 GB Notification: Performance of matching and sorting (n=778): time 0.2823/3.481, allocations: 32.41 MB / 1.139 GB, free: 5.359 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002414/3.481, allocations: 163.1 kB / 1.139 GB, free: 5.18 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0553/3.536, allocations: 13.01 MB / 1.151 GB, free: 8.195 MB / 0.7762 GB Notification: Performance of collectPreVariables (initialization): time 0.003263/3.54, allocations: 197.7 kB / 1.152 GB, free: 7.996 MB / 0.7762 GB Notification: Performance of collectInitialEqns (initialization): time 0.01786/3.558, allocations: 6.922 MB / 1.158 GB, free: 1.012 MB / 0.7762 GB Notification: Performance of collectInitialBindings (initialization): time 0.008363/3.566, allocations: 2.708 MB / 1.161 GB, free: 14.27 MB / 0.7918 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003474/3.57, allocations: 236 kB / 1.161 GB, free: 14.04 MB / 0.7918 GB Notification: Performance of setup shared object (initialization): time 0.001894/3.572, allocations: 0.7817 MB / 1.162 GB, free: 13.25 MB / 0.7918 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02914/3.601, allocations: 6.288 MB / 1.168 GB, free: 6.953 MB / 0.7918 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03381/3.635, allocations: 9.56 MB / 1.178 GB, free: 12.01 MB / 0.8074 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03507/3.67, allocations: 8.169 MB / 1.186 GB, free: 3.785 MB / 0.8074 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001867/3.67, allocations: 28 kB / 1.186 GB, free: 3.758 MB / 0.8074 GB Notification: Performance of matching and sorting (n=1486) (initialization): time 0.09125/3.761, allocations: 18.85 MB / 1.204 GB, free: 0.7852 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.7985/4.56, allocations: 55.58 MB / 1.258 GB, free: 261.8 MB / 0.8543 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003719/4.56, allocations: 102 kB / 1.258 GB, free: 261.8 MB / 0.8543 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1372/4.698, allocations: 9.075 MB / 1.267 GB, free: 261.7 MB / 0.8543 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02781/4.725, allocations: 2.523 MB / 1.27 GB, free: 261.6 MB / 0.8543 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03049/4.756, allocations: 10.45 MB / 1.28 GB, free: 255.9 MB / 0.8543 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02731/4.783, allocations: 1.122 MB / 1.281 GB, free: 255.7 MB / 0.8543 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003617/4.787, allocations: 0.5209 MB / 1.281 GB, free: 255.6 MB / 0.8543 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/4.787, allocations: 7.781 kB / 1.281 GB, free: 255.6 MB / 0.8543 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05684/4.844, allocations: 17.88 MB / 1.299 GB, free: 248.6 MB / 0.8543 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004615/4.844, allocations: 98 kB / 1.299 GB, free: 248.6 MB / 0.8543 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1266/4.971, allocations: 9.03 MB / 1.308 GB, free: 246.5 MB / 0.8543 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02009/4.991, allocations: 2.534 MB / 1.31 GB, free: 245.8 MB / 0.8543 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02019/5.011, allocations: 10.43 MB / 1.32 GB, free: 236.9 MB / 0.8543 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02023/5.032, allocations: 1.084 MB / 1.322 GB, free: 235.9 MB / 0.8543 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003604/5.035, allocations: 0.5194 MB / 1.322 GB, free: 235.4 MB / 0.8543 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 448 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.mHex_flow_in.T_start,mHex_flow_in.T_start,$PRE.mHex_flow_in.count,mHex_flow_in.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1298): * Single equations (assignments): 1294 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 1 {16 144} Notification: Performance of prepare postOptimizeDAE: time 0.01767/5.053, allocations: 5.948 MB / 1.328 GB, free: 229.4 MB / 0.8543 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006081/5.059, allocations: 1.14 MB / 1.329 GB, free: 228.9 MB / 0.8543 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04607/5.105, allocations: 13.44 MB / 1.342 GB, free: 215.5 MB / 0.8543 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001382/5.106, allocations: 83.92 kB / 1.342 GB, free: 215.4 MB / 0.8543 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.708e-05/5.106, allocations: 4 kB / 1.342 GB, free: 215.4 MB / 0.8543 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03759/5.143, allocations: 11.09 MB / 1.353 GB, free: 204.2 MB / 0.8543 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 postOpt removeSimpleEquations (simulation): time 0.1206/5.264, allocations: 29.14 MB / 1.381 GB, free: 175.1 MB / 0.8543 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001372/5.264, allocations: 0 / 1.381 GB, free: 175.1 MB / 0.8543 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01705/5.281, allocations: 1.233 MB / 1.383 GB, free: 173.9 MB / 0.8543 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1569/5.438, allocations: 8.294 MB / 1.391 GB, free: 165.6 MB / 0.8543 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002087/5.44, allocations: 199.9 kB / 1.391 GB, free: 165.4 MB / 0.8543 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01971/5.46, allocations: 10.1 MB / 1.401 GB, free: 155.1 MB / 0.8543 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/5.46, allocations: 0 / 1.401 GB, free: 155.1 MB / 0.8543 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05625/5.516, allocations: 20.21 MB / 1.421 GB, free: 134.9 MB / 0.8543 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01269/5.529, allocations: 3.04 MB / 1.424 GB, free: 131.9 MB / 0.8543 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006557/5.536, allocations: 152 kB / 1.424 GB, free: 131.7 MB / 0.8543 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01841/5.554, allocations: 0.8834 MB / 1.425 GB, free: 130.9 MB / 0.8543 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002622/5.557, allocations: 461.5 kB / 1.425 GB, free: 130.4 MB / 0.8543 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002241/5.559, allocations: 271.8 kB / 1.425 GB, free: 130.1 MB / 0.8543 GB Notification: Performance of sorting global known variables: time 0.02588/5.585, allocations: 9.335 MB / 1.434 GB, free: 120.8 MB / 0.8543 GB Notification: Performance of sort global known variables: time 1.002e-06/5.585, allocations: 0 / 1.434 GB, free: 120.8 MB / 0.8543 GB Notification: Performance of remove unused functions: time 0.04224/5.628, allocations: 8.067 MB / 1.442 GB, free: 113 MB / 0.8543 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 30 (tanDyn.vol[1].dynBal.U,tanDyn.vol[2].dynBal.U,tanDyn.vol[3].dynBal.U,tanDyn.vol[4].dynBal.U,tanDyn.vol[5].dynBal.U,tanDyn.vol[6].dynBal.U,tanDyn.vol[7].dynBal.U,tanDyn.indTanHex.vol[1].dynBal.U,tanDyn.indTanHex.vol[2].dynBal.U,tanDyn.indTanHex.vol[3].dynBal.U,tanDyn.indTanHex.vol[4].dynBal.U,tanDyn.indTanHex.vol[5].dynBal.U,tanDyn.indTanHex.vol[6].dynBal.U,tanDyn.indTanHex.vol[7].dynBal.U,tanDyn.indTanHex.vol[8].dynBal.U,tanDyn.indTanHex.cap[1].T,tanDyn.indTanHex.cap[2].T,tanDyn.indTanHex.cap[3].T,tanDyn.indTanHex.cap[4].T,tanDyn.indTanHex.cap[5].T,tanDyn.indTanHex.cap[6].T,tanDyn.indTanHex.cap[7].T,tanDyn.indTanHex.cap[8].T,tanSte.vol[1].dynBal.U,tanSte.vol[2].dynBal.U,tanSte.vol[3].dynBal.U,tanSte.vol[4].dynBal.U,tanSte.vol[5].dynBal.U,tanSte.vol[6].dynBal.U,tanSte.vol[7].dynBal.U) * Number of discrete variables: 3 ($whenCondition1,mHex_flow_in.T_start,mHex_flow_in.count) * Number of discrete states: 1 (mHex_flow_in.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (615): * Single equations (assignments): 602 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 1 {16 144} Notification: Performance of Backend phase and start with SimCode phase: time 0.06317/5.691, allocations: 21.71 MB / 1.463 GB, free: 91.27 MB / 0.8543 GB Notification: Performance of simCode: created initialization part: time 0.09772/5.788, allocations: 23.2 MB / 1.486 GB, free: 68.01 MB / 0.8543 GB Notification: Performance of simCode: created event and clocks part: time 2.2e-05/5.789, allocations: 4.562 kB / 1.486 GB, free: 68 MB / 0.8543 GB Notification: Performance of simCode: created simulation system equations: time 0.02653/5.815, allocations: 5.905 MB / 1.492 GB, free: 62.07 MB / 0.8543 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.07983/5.895, allocations: 6.903 MB / 1.499 GB, free: 55.28 MB / 0.8543 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7538/6.649, allocations: 120.1 MB / 1.616 GB, free: 210.5 MB / 0.8543 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02995/6.679, allocations: 10.22 MB / 1.626 GB, free: 209.5 MB / 0.8543 GB Notification: Performance of simCode: alias equations: time 0.04183/6.721, allocations: 6.652 MB / 1.632 GB, free: 209.2 MB / 0.8543 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01958/6.74, allocations: 6.255 MB / 1.638 GB, free: 205.4 MB / 0.8543 GB Notification: Performance of SimCode: time 2.255e-06/6.741, allocations: 0 / 1.638 GB, free: 205.4 MB / 0.8543 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.487/8.228, allocations: 398.6 MB / 2.028 GB, free: 151.6 MB / 0.8543 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002099/8.228, allocations: 282.2 kB / 2.028 GB, free: 151.2 MB / 0.8543 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.06/31.29, allocations: 3 kB / 2.028 GB, free: 151.2 MB / 0.8543 GB