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: translateModel(Buildings.Fluid.Storage.Validation.HeatExchangerDynamics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01533/0.01533, allocations: 108.7 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.001848/0.001847, allocations: 180.1 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.918/1.918, allocations: 194.6 MB / 211.3 MB, free: 11.26 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.148/2.148, allocations: 236.2 MB / 492.6 MB, free: 11.38 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00047/0.0004702, allocations: 8 kB / 0.5869 GB, free: 2.207 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6032/0.6037, allocations: 98.71 MB / 0.6833 GB, free: 16.77 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.HeatExchangerDynamics): time 0.1464/0.7501, allocations: 92.66 MB / 0.7738 GB, free: 1.57 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.05124/0.8014, allocations: 27.43 MB / 0.8006 GB, free: 6.09 MB / 0.6199 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005325/0.8068, allocations: 127.1 kB / 0.8007 GB, free: 5.965 MB / 0.6199 GB Notification: Performance of NFTyping.typeComponents: time 0.00656/0.8134, allocations: 1.64 MB / 0.8023 GB, free: 4.316 MB / 0.6199 GB Notification: Performance of NFTyping.typeBindings: time 0.0157/0.8291, allocations: 4.125 MB / 0.8064 GB, free: 184 kB / 0.6199 GB Notification: Performance of NFTyping.typeClassSections: time 0.01183/0.841, allocations: 2.99 MB / 0.8093 GB, free: 13.19 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.03935/0.8803, allocations: 24.93 MB / 0.8336 GB, free: 4.223 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02994/0.9103, allocations: 15.62 MB / 0.8489 GB, free: 4.516 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02199/0.9324, allocations: 9.9 MB / 0.8585 GB, free: 10.58 MB / 0.6824 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01734/0.9497, allocations: 8.627 MB / 0.867 GB, free: 1.918 MB / 0.6824 GB Notification: Performance of NFPackage.collectConstants: time 0.004275/0.954, allocations: 0.75 MB / 0.8677 GB, free: 1.168 MB / 0.6824 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0123/0.9664, allocations: 2.271 MB / 0.8699 GB, free: 14.89 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.006711/0.9731, allocations: 3.121 MB / 0.873 GB, free: 11.76 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.008235/0.9814, allocations: 3.689 MB / 0.8766 GB, free: 8.059 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.03974/1.021, allocations: 26.99 MB / 0.9029 GB, free: 13 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 6.958e-06/1.021, allocations: 4 kB / 0.9029 GB, free: 12.99 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.869e-06/1.021, allocations: 0 / 0.9029 GB, free: 12.99 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.000699/1.022, allocations: 4 kB / 0.9029 GB, free: 12.99 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.066/2.088, allocations: 15.91 MB / 0.9185 GB, free: 180.8 MB / 0.7293 GB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/2.088, allocations: 10.56 kB / 0.9185 GB, free: 180.8 MB / 0.7293 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01055/2.098, allocations: 1.95 MB / 0.9204 GB, free: 179.9 MB / 0.7293 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04016/2.139, allocations: 14.42 MB / 0.9345 GB, free: 173.2 MB / 0.7293 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001263/2.14, allocations: 1.003 MB / 0.9354 GB, free: 172.8 MB / 0.7293 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004297/2.144, allocations: 1.339 MB / 0.9368 GB, free: 172.3 MB / 0.7293 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0504/2.195, allocations: 19.76 MB / 0.956 GB, free: 161.1 MB / 0.7293 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005686/2.195, allocations: 35.31 kB / 0.9561 GB, free: 161.1 MB / 0.7293 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00312/2.198, allocations: 0.5481 MB / 0.9566 GB, free: 160.7 MB / 0.7293 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003553/2.199, allocations: 383.5 kB / 0.957 GB, free: 160.7 MB / 0.7293 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04214/2.241, allocations: 18.07 MB / 0.9746 GB, free: 146.3 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.1389/2.38, allocations: 86.81 MB / 1.059 GB, free: 55.76 MB / 0.7293 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02543/2.405, allocations: 13.18 MB / 1.072 GB, free: 42.6 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.06154/2.467, allocations: 26.97 MB / 1.099 GB, free: 14.53 MB / 0.7293 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01227/2.479, allocations: 5.822 MB / 1.104 GB, free: 8.652 MB / 0.7293 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007379/2.487, allocations: 0.8569 MB / 1.105 GB, free: 7.785 MB / 0.7293 GB Notification: Performance of pre-optimization done (n=778): time 2.708e-05/2.487, allocations: 0 / 1.105 GB, free: 7.785 MB / 0.7293 GB Notification: Performance of matching and sorting (n=778): time 0.141/2.628, allocations: 32.41 MB / 1.137 GB, free: 7.215 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000171/2.628, allocations: 159.2 kB / 1.137 GB, free: 7.039 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03172/2.66, allocations: 13 MB / 1.15 GB, free: 10.06 MB / 0.7762 GB Notification: Performance of collectPreVariables (initialization): time 0.001702/2.662, allocations: 197.6 kB / 1.15 GB, free: 9.863 MB / 0.7762 GB Notification: Performance of collectInitialEqns (initialization): time 0.01102/2.673, allocations: 6.93 MB / 1.157 GB, free: 2.875 MB / 0.7762 GB Notification: Performance of collectInitialBindings (initialization): time 0.004799/2.677, allocations: 2.719 MB / 1.159 GB, free: 116 kB / 0.7762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001423/2.679, allocations: 228.1 kB / 1.159 GB, free: 15.89 MB / 0.7918 GB Notification: Performance of setup shared object (initialization): time 0.001182/2.68, allocations: 0.7856 MB / 1.16 GB, free: 15.09 MB / 0.7918 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01587/2.696, allocations: 6.28 MB / 1.166 GB, free: 8.809 MB / 0.7918 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01992/2.716, allocations: 9.556 MB / 1.176 GB, free: 13.87 MB / 0.8074 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01994/2.736, allocations: 8.177 MB / 1.184 GB, free: 5.637 MB / 0.8074 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001047/2.736, allocations: 28 kB / 1.184 GB, free: 5.609 MB / 0.8074 GB Notification: Performance of matching and sorting (n=1486) (initialization): time 0.05285/2.789, allocations: 18.87 MB / 1.202 GB, free: 2.629 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.043/3.832, allocations: 55.57 MB / 1.256 GB, free: 260.4 MB / 0.8544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003038/3.832, allocations: 98.34 kB / 1.257 GB, free: 260.4 MB / 0.8544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08856/3.921, allocations: 9.075 MB / 1.265 GB, free: 260.3 MB / 0.8544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01396/3.935, allocations: 2.533 MB / 1.268 GB, free: 260.3 MB / 0.8544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02182/3.957, allocations: 10.43 MB / 1.278 GB, free: 254.6 MB / 0.8544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03422/3.991, allocations: 1.132 MB / 1.279 GB, free: 254.4 MB / 0.8544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005058/3.996, allocations: 0.5174 MB / 1.28 GB, free: 254.3 MB / 0.8544 GB Notification: Performance of prepare postOptimizeDAE: time 2.275e-05/3.996, allocations: 3.188 kB / 1.28 GB, free: 254.3 MB / 0.8544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.07238/4.069, allocations: 17.89 MB / 1.297 GB, free: 247.3 MB / 0.8544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003097/4.069, allocations: 96.62 kB / 1.297 GB, free: 247.3 MB / 0.8544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07981/4.149, allocations: 9.031 MB / 1.306 GB, free: 245.3 MB / 0.8544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0127/4.161, allocations: 2.521 MB / 1.308 GB, free: 244.6 MB / 0.8544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01436/4.176, allocations: 10.44 MB / 1.319 GB, free: 235.2 MB / 0.8544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01478/4.191, allocations: 1.092 MB / 1.32 GB, free: 234.2 MB / 0.8544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002571/4.193, allocations: 0.5116 MB / 1.32 GB, free: 233.6 MB / 0.8544 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.01242/4.206, allocations: 5.944 MB / 1.326 GB, free: 227.8 MB / 0.8544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003746/4.209, allocations: 1.15 MB / 1.327 GB, free: 227.2 MB / 0.8544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03206/4.242, allocations: 13.43 MB / 1.34 GB, free: 213.8 MB / 0.8544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.889e-05/4.242, allocations: 83.98 kB / 1.34 GB, free: 213.7 MB / 0.8544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.035e-05/4.242, allocations: 4 kB / 1.34 GB, free: 213.7 MB / 0.8544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02354/4.265, allocations: 11.1 MB / 1.351 GB, free: 202.5 MB / 0.8544 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.06549/4.331, allocations: 29.15 MB / 1.38 GB, free: 173.4 MB / 0.8544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.83e-05/4.331, allocations: 4 kB / 1.38 GB, free: 173.4 MB / 0.8544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007774/4.339, allocations: 1.233 MB / 1.381 GB, free: 172.2 MB / 0.8544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.07713/4.416, allocations: 8.29 MB / 1.389 GB, free: 163.9 MB / 0.8544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001535/4.417, allocations: 195.9 kB / 1.389 GB, free: 163.7 MB / 0.8544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01405/4.432, allocations: 10.11 MB / 1.399 GB, free: 153.4 MB / 0.8544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.188e-06/4.432, allocations: 0 / 1.399 GB, free: 153.4 MB / 0.8544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03934/4.471, allocations: 20.21 MB / 1.419 GB, free: 133.2 MB / 0.8544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009427/4.48, allocations: 3.032 MB / 1.422 GB, free: 130.2 MB / 0.8544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004033/4.484, allocations: 163.9 kB / 1.422 GB, free: 130 MB / 0.8544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01206/4.497, allocations: 0.8782 MB / 1.423 GB, free: 129.2 MB / 0.8544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001745/4.498, allocations: 465 kB / 1.423 GB, free: 128.7 MB / 0.8544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000937/4.499, allocations: 279.8 kB / 1.423 GB, free: 128.4 MB / 0.8544 GB Notification: Performance of sorting global known variables: time 0.01883/4.518, allocations: 9.335 MB / 1.433 GB, free: 119.1 MB / 0.8544 GB Notification: Performance of sort global known variables: time 1.011e-06/4.518, allocations: 0 / 1.433 GB, free: 119.1 MB / 0.8544 GB Notification: Performance of remove unused functions: time 0.03154/4.55, allocations: 8.056 MB / 1.44 GB, free: 111.4 MB / 0.8544 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.002996/4.553, allocations: 0.9751 MB / 1.441 GB, free: 110.6 MB / 0.8544 GB Notification: Performance of simCode: created initialization part: time 0.04759/4.6, allocations: 23.19 MB / 1.464 GB, free: 87.3 MB / 0.8544 GB Notification: Performance of simCode: created event and clocks part: time 1.477e-05/4.6, allocations: 10.5 kB / 1.464 GB, free: 87.3 MB / 0.8544 GB Notification: Performance of simCode: created simulation system equations: time 0.01344/4.614, allocations: 5.912 MB / 1.47 GB, free: 81.36 MB / 0.8544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03437/4.648, allocations: 6.88 MB / 1.477 GB, free: 74.57 MB / 0.8544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07023/4.719, allocations: 37.77 MB / 1.513 GB, free: 36.75 MB / 0.8544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01962/4.738, allocations: 10.21 MB / 1.523 GB, free: 26.5 MB / 0.8544 GB Notification: Performance of simCode: alias equations: time 0.03184/4.77, allocations: 6.661 MB / 1.53 GB, free: 19.83 MB / 0.8544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00558/4.776, allocations: 0.9405 MB / 1.531 GB, free: 18.89 MB / 0.8544 GB Notification: Performance of SimCode: time 2.028e-06/4.776, allocations: 0 / 1.531 GB, free: 18.89 MB / 0.8544 GB Notification: Performance of Templates: time 1.06/5.836, allocations: 273.9 MB / 1.798 GB, free: 75.54 MB / 0.87 GB