Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.HeatExchangerDynamics,fileNamePrefix="Buildings_7_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.3/package.mo): time 0.0147/0.0147, allocations: 88.36 kB / 15.04 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001853/0.001853, allocations: 174 kB / 15.92 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.115/2.115, allocations: 205.5 MB / 222.2 MB, free: 13.74 MB / 186.8 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.399/2.399, allocations: 252.8 MB / 0.511 GB, free: 8.379 MB / 426.8 MB Notification: Performance of FrontEnd - loaded program: time 0.0004839/0.0004839, allocations: 13.56 kB / 0.6243 GB, free: 28.25 MB / 0.4949 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2375/0.238, allocations: 106.2 MB / 0.7281 GB, free: 10.2 MB / 0.5574 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.HeatExchangerDynamics): time 0.2101/0.4481, allocations: 93.72 MB / 0.8196 GB, free: 12.25 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.06701/0.5152, allocations: 27.59 MB / 0.8465 GB, free: 0.6055 MB / 0.6668 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005896/0.5211, allocations: 119.1 kB / 0.8466 GB, free: 500 kB / 0.6668 GB Notification: Performance of NFTyping.typeComponents: time 0.7069/1.228, allocations: 1.638 MB / 0.8482 GB, free: 12.89 MB / 0.6668 GB Notification: Performance of NFTyping.typeBindings: time 0.02622/1.254, allocations: 4.132 MB / 0.8523 GB, free: 12.84 MB / 0.6668 GB Notification: Performance of NFTyping.typeClassSections: time 0.02076/1.275, allocations: 3.151 MB / 0.8554 GB, free: 12.74 MB / 0.6668 GB Notification: Performance of NFFlatten.flatten: time 0.05292/1.328, allocations: 24.91 MB / 0.8797 GB, free: 12.7 MB / 0.6668 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03807/1.366, allocations: 15.68 MB / 0.895 GB, free: 26.44 MB / 0.6824 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02856/1.395, allocations: 9.931 MB / 0.9047 GB, free: 26.43 MB / 0.6824 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02331/1.418, allocations: 8.626 MB / 0.9131 GB, free: 24.45 MB / 0.6824 GB Notification: Performance of NFPackage.collectConstants: time 0.006067/1.424, allocations: 0.7567 MB / 0.9139 GB, free: 24.45 MB / 0.6824 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01919/1.444, allocations: 2.283 MB / 0.9161 GB, free: 24.15 MB / 0.6824 GB Notification: Performance of NFScalarize.scalarize: time 0.009289/1.453, allocations: 3.181 MB / 0.9192 GB, free: 22.9 MB / 0.6824 GB Notification: Performance of NFVerifyModel.verify: time 0.01182/1.465, allocations: 3.698 MB / 0.9228 GB, free: 22.33 MB / 0.6824 GB Notification: Performance of NFConvertDAE.convert: time 0.04453/1.509, allocations: 27.17 MB / 0.9493 GB, free: 15.43 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/1.509, allocations: 0 / 0.9493 GB, free: 15.43 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.035e-06/1.509, allocations: 3.75 kB / 0.9493 GB, free: 15.43 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.001102/1.511, allocations: 0 / 0.9493 GB, free: 15.43 MB / 0.698 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 0.06578/1.576, allocations: 15.96 MB / 0.9649 GB, free: 0.7305 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.47e-05/1.576, allocations: 8.031 kB / 0.9649 GB, free: 0.7227 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008507/1.585, allocations: 1.764 MB / 0.9667 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01417/1.599, allocations: 1.951 MB / 0.9686 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04884/1.648, allocations: 14.46 MB / 0.9827 GB, free: 4.422 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001687/1.65, allocations: 1.006 MB / 0.9837 GB, free: 3.852 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006663/1.657, allocations: 1.34 MB / 0.985 GB, free: 2.953 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1022/1.759, allocations: 19.88 MB / 1.004 GB, free: 15.59 MB / 0.7449 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001065/1.76, allocations: 39.56 kB / 1.004 GB, free: 15.55 MB / 0.7449 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008229/1.768, allocations: 0.5394 MB / 1.005 GB, free: 15.02 MB / 0.7449 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000639/1.769, allocations: 387.8 kB / 1.005 GB, free: 14.64 MB / 0.7449 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06843/1.837, allocations: 18.07 MB / 1.023 GB, free: 12.55 MB / 0.7605 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.2172/2.055, allocations: 87 MB / 1.108 GB, free: 1.574 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04458/2.099, allocations: 13.23 MB / 1.121 GB, free: 4.398 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 preOpt evalFunc (simulation): time 0.09696/2.196, allocations: 27.16 MB / 1.147 GB, free: 8.273 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01989/2.216, allocations: 5.961 MB / 1.153 GB, free: 2.254 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01025/2.227, allocations: 0.8555 MB / 1.154 GB, free: 1.391 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=784): time 3.268e-05/2.227, allocations: 0 / 1.154 GB, free: 1.391 MB / 0.8855 GB Notification: Performance of matching and sorting (n=784): time 0.2459/2.473, allocations: 32.17 MB / 1.185 GB, free: 1.07 MB / 0.9168 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001667/2.473, allocations: 171.2 kB / 1.186 GB, free: 0.8828 MB / 0.9168 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.7027/3.175, allocations: 13.03 MB / 1.198 GB, free: 321.1 MB / 0.9168 GB Notification: Performance of collectPreVariables (initialization): time 0.002772/3.178, allocations: 200.2 kB / 1.199 GB, free: 321 MB / 0.9168 GB Notification: Performance of collectInitialEqns (initialization): time 0.01251/3.191, allocations: 6.924 MB / 1.205 GB, free: 317.1 MB / 0.9168 GB Notification: Performance of collectInitialBindings (initialization): time 0.00577/3.197, allocations: 2.732 MB / 1.208 GB, free: 315 MB / 0.9168 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002931/3.2, allocations: 233.9 kB / 1.208 GB, free: 314.9 MB / 0.9168 GB Notification: Performance of setup shared object (initialization): time 0.001507/3.201, allocations: 0.7812 MB / 1.209 GB, free: 314.3 MB / 0.9168 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.023/3.224, allocations: 6.289 MB / 1.215 GB, free: 312.1 MB / 0.9168 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0234/3.248, allocations: 9.569 MB / 1.224 GB, free: 305.8 MB / 0.9168 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02256/3.27, allocations: 8.175 MB / 1.232 GB, free: 302.5 MB / 0.9168 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001668/3.271, allocations: 29.19 kB / 1.232 GB, free: 302.5 MB / 0.9168 GB Notification: Performance of matching and sorting (n=1486) (initialization): time 0.06092/3.332, allocations: 18.9 MB / 1.251 GB, free: 294.9 MB / 0.9168 GB Notification: Performance of prepare postOptimizeDAE: time 0.01156/3.343, allocations: 55.67 MB / 1.305 GB, free: 235.6 MB / 0.9168 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003889/3.344, allocations: 98.16 kB / 1.305 GB, free: 235.6 MB / 0.9168 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1391/3.483, allocations: 9.081 MB / 1.314 GB, free: 230.7 MB / 0.9168 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0258/3.509, allocations: 2.523 MB / 1.317 GB, free: 228.2 MB / 0.9168 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02334/3.532, allocations: 10.44 MB / 1.327 GB, free: 217.5 MB / 0.9168 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02146/3.553, allocations: 1.13 MB / 1.328 GB, free: 216.3 MB / 0.9168 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003503/3.557, allocations: 0.5194 MB / 1.328 GB, free: 215.8 MB / 0.9168 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/3.557, allocations: 4 kB / 1.328 GB, free: 215.8 MB / 0.9168 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0547/3.612, allocations: 17.92 MB / 1.346 GB, free: 197.8 MB / 0.9168 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003392/3.612, allocations: 96 kB / 1.346 GB, free: 197.7 MB / 0.9168 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1267/3.739, allocations: 9.047 MB / 1.355 GB, free: 188.7 MB / 0.9168 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0202/3.759, allocations: 2.527 MB / 1.357 GB, free: 186.1 MB / 0.9168 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01904/3.778, allocations: 10.43 MB / 1.368 GB, free: 175.4 MB / 0.9168 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02048/3.799, allocations: 1.096 MB / 1.369 GB, free: 174.3 MB / 0.9168 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00354/3.802, allocations: 0.5233 MB / 1.369 GB, free: 173.8 MB / 0.9168 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.01778/3.82, allocations: 5.948 MB / 1.375 GB, free: 167.8 MB / 0.9168 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005986/3.826, allocations: 1.15 MB / 1.376 GB, free: 166.7 MB / 0.9168 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04985/3.876, allocations: 13.49 MB / 1.389 GB, free: 153.1 MB / 0.9168 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000163/3.876, allocations: 80 kB / 1.389 GB, free: 153.1 MB / 0.9168 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.336e-05/3.876, allocations: 9.469 kB / 1.389 GB, free: 153 MB / 0.9168 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04406/3.921, allocations: 11.14 MB / 1.4 GB, free: 141.8 MB / 0.9168 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.09479/4.015, allocations: 29.49 MB / 1.429 GB, free: 112.3 MB / 0.9168 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001233/4.016, allocations: 4 kB / 1.429 GB, free: 112.3 MB / 0.9168 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01552/4.031, allocations: 1.241 MB / 1.43 GB, free: 111 MB / 0.9168 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1718/4.203, allocations: 8.299 MB / 1.438 GB, free: 102.7 MB / 0.9168 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002414/4.205, allocations: 195.9 kB / 1.439 GB, free: 102.5 MB / 0.9168 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02417/4.23, allocations: 10.11 MB / 1.448 GB, free: 92.13 MB / 0.9168 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.167e-06/4.23, allocations: 5.969 kB / 1.448 GB, free: 92.12 MB / 0.9168 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06215/4.292, allocations: 20.81 MB / 1.469 GB, free: 71.1 MB / 0.9168 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0172/4.309, allocations: 3.082 MB / 1.472 GB, free: 67.98 MB / 0.9168 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006908/4.316, allocations: 161.1 kB / 1.472 GB, free: 67.82 MB / 0.9168 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02337/4.34, allocations: 0.8975 MB / 1.473 GB, free: 66.93 MB / 0.9168 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00316/4.343, allocations: 462.7 kB / 1.473 GB, free: 66.48 MB / 0.9168 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002563/4.345, allocations: 295.8 kB / 1.473 GB, free: 66.19 MB / 0.9168 GB Notification: Performance of sorting global known variables: time 0.03686/4.382, allocations: 9.371 MB / 1.483 GB, free: 56.86 MB / 0.9168 GB Notification: Performance of sort global known variables: time 1.152e-06/4.382, allocations: 0 / 1.483 GB, free: 56.86 MB / 0.9168 GB Notification: Performance of remove unused functions: time 0.05249/4.435, allocations: 8.081 MB / 1.491 GB, free: 48.8 MB / 0.9168 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (621): * Single equations (assignments): 608 * 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.07793/4.513, allocations: 22.32 MB / 1.512 GB, free: 26.39 MB / 0.9168 GB Notification: Performance of simCode: created initialization part: time 0.06644/4.579, allocations: 23.24 MB / 1.535 GB, free: 3.094 MB / 0.9168 GB Notification: Performance of simCode: created event and clocks part: time 1.512e-05/4.58, allocations: 4.562 kB / 1.535 GB, free: 3.09 MB / 0.9168 GB Notification: Performance of simCode: created simulation system equations: time 0.7008/5.28, allocations: 5.938 MB / 1.541 GB, free: 312.9 MB / 0.9168 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05776/5.338, allocations: 6.924 MB / 1.548 GB, free: 312.6 MB / 0.9168 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1783/5.517, allocations: 120.2 MB / 1.665 GB, free: 216.9 MB / 0.9168 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0239/5.54, allocations: 10.23 MB / 1.675 GB, free: 213.8 MB / 0.9168 GB Notification: Performance of simCode: alias equations: time 0.04118/5.582, allocations: 6.681 MB / 1.682 GB, free: 212.1 MB / 0.9168 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02013/5.602, allocations: 6.268 MB / 1.688 GB, free: 206.6 MB / 0.9168 GB Notification: Performance of SimCode: time 2.374e-06/5.602, allocations: 4 kB / 1.688 GB, free: 206.6 MB / 0.9168 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.527/7.129, allocations: 401.5 MB / 2.08 GB, free: 159.2 MB / 0.9168 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002461/7.13, allocations: 271.1 kB / 2.08 GB, free: 158.9 MB / 0.9168 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.96/31.09, allocations: 0 / 2.08 GB, free: 158.9 MB / 0.9168 GB