Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: translateModel(Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank1.level|tank1.medium.T|tank2.level|tank2.medium.T|tank1.aboveLevel.1.|tank2.aboveLevel.1.",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks") Notification: Performance of loadModel(Modelica): time 1.553/1.553, allocations: 171.3 MB / 179.2 MB, free: 7.594 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 1.716e-05/1.722e-05, allocations: 4 kB / 222.5 MB, free: 8.703 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06767/0.06771, allocations: 38.77 MB / 261.3 MB, free: 1.855 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8844/0.9522, allocations: 311.2 MB / 0.5591 GB, free: 115.3 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002596/0.9525, allocations: 81.22 kB / 0.5592 GB, free: 115.3 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6755/1.628, allocations: 135 MB / 0.691 GB, free: 64.47 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.263e-06/1.628, allocations: 2.188 kB / 0.691 GB, free: 64.47 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.062e-05/1.628, allocations: 20.17 kB / 0.691 GB, free: 64.47 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.002148/1.63, allocations: 1.027 MB / 0.692 GB, free: 63.95 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/1.63, allocations: 8.094 kB / 0.692 GB, free: 63.95 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003719/1.631, allocations: 90.53 kB / 0.6921 GB, free: 63.91 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001291/1.632, allocations: 0.5792 MB / 0.6927 GB, free: 63.67 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.491e-05/1.632, allocations: 19.33 kB / 0.6927 GB, free: 63.67 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001123/1.632, allocations: 36.05 kB / 0.6927 GB, free: 63.66 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001323/1.634, allocations: 0.6039 MB / 0.6933 GB, free: 63.66 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001306/1.635, allocations: 0.6603 MB / 0.694 GB, free: 63.55 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.735e-05/1.635, allocations: 4.188 kB / 0.694 GB, free: 63.55 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.743e-05/1.635, allocations: 7.016 kB / 0.694 GB, free: 63.55 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.259e-05/1.635, allocations: 44.19 kB / 0.694 GB, free: 63.54 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004848/1.64, allocations: 2.743 MB / 0.6967 GB, free: 62.22 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007646/1.641, allocations: 443.8 kB / 0.6971 GB, free: 62.2 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004195/1.641, allocations: 239.5 kB / 0.6974 GB, free: 62.19 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000241/1.641, allocations: 345.2 kB / 0.6977 GB, free: 61.81 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.941e-05/1.642, allocations: 43.19 kB / 0.6977 GB, free: 61.77 MB / 346.7 MB Notification: Performance of pre-optimization done (n=48): time 3.658e-06/1.642, allocations: 0 / 0.6977 GB, free: 61.77 MB / 346.7 MB Notification: Performance of matching and sorting (n=58): time 0.006758/1.648, allocations: 1.817 MB / 0.6995 GB, free: 61.38 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.994e-05/1.648, allocations: 81.52 kB / 0.6996 GB, free: 61.29 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006527/1.649, allocations: 448 kB / 0.7 GB, free: 61.18 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.091e-05/1.649, allocations: 35.17 kB / 0.7 GB, free: 61.15 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000214/1.649, allocations: 361.5 kB / 0.7004 GB, free: 60.93 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001651/1.65, allocations: 203.4 kB / 0.7006 GB, free: 60.81 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.795e-05/1.65, allocations: 3.875 kB / 0.7006 GB, free: 60.81 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.392e-05/1.65, allocations: 334.8 kB / 0.7009 GB, free: 60.5 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005382/1.65, allocations: 267.2 kB / 0.7012 GB, free: 60.5 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006381/1.651, allocations: 426 kB / 0.7016 GB, free: 60.33 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004953/1.656, allocations: 0.8382 MB / 0.7024 GB, free: 60.32 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.079e-05/1.656, allocations: 6.938 kB / 0.7024 GB, free: 60.32 MB / 346.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.005656/1.662, allocations: 1.348 MB / 0.7037 GB, free: 60.25 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003572/1.662, allocations: 1.746 MB / 0.7054 GB, free: 58.43 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-05/1.662, allocations: 3.938 kB / 0.7054 GB, free: 58.43 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006237/1.663, allocations: 164.7 kB / 0.7056 GB, free: 58.42 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007297/1.663, allocations: 154.1 kB / 0.7057 GB, free: 58.42 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002047/1.665, allocations: 0.9471 MB / 0.7066 GB, free: 57.9 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008635/1.666, allocations: 36.2 kB / 0.7067 GB, free: 57.89 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.444e-05/1.666, allocations: 32.2 kB / 0.7067 GB, free: 57.89 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/1.666, allocations: 3.625 kB / 0.7067 GB, free: 57.89 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005918/1.672, allocations: 1.205 MB / 0.7079 GB, free: 57.87 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.287e-05/1.672, allocations: 7.25 kB / 0.7079 GB, free: 57.87 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004814/1.673, allocations: 101.7 kB / 0.708 GB, free: 57.86 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007872/1.674, allocations: 155.8 kB / 0.7081 GB, free: 57.86 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001483/1.675, allocations: 0.7916 MB / 0.7089 GB, free: 57.34 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005676/1.676, allocations: 40.75 kB / 0.709 GB, free: 57.34 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.382e-05/1.676, allocations: 26.75 kB / 0.709 GB, free: 57.34 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.tank1.aboveLevel[1],tank1.aboveLevel[1],$PRE.tank2.aboveLevel[1],tank2.aboveLevel[1],tank2.ports_m_flow_out[1],tank1.ports_m_flow_out[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 82 * 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 {2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0002521/1.676, allocations: 133.4 kB / 0.7091 GB, free: 57.23 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001989/1.676, allocations: 62.75 kB / 0.7092 GB, free: 57.2 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002431/1.679, allocations: 0.8082 MB / 0.71 GB, free: 57.12 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-05/1.679, allocations: 17.23 kB / 0.71 GB, free: 57.11 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.654e-06/1.679, allocations: 0 / 0.71 GB, free: 57.11 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.046e-05/1.679, allocations: 0 / 0.71 GB, free: 57.11 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003899/1.683, allocations: 1.569 MB / 0.7115 GB, free: 56.8 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.573e-06/1.683, allocations: 2.156 kB / 0.7115 GB, free: 56.8 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006258/1.684, allocations: 112.4 kB / 0.7116 GB, free: 56.8 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006112/1.684, allocations: 165.9 kB / 0.7118 GB, free: 56.79 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.761e-05/1.684, allocations: 11.36 kB / 0.7118 GB, free: 56.79 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001357/1.686, allocations: 0.86 MB / 0.7126 GB, free: 56.26 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.381e-06/1.686, allocations: 3.781 kB / 0.7126 GB, free: 56.26 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002886/1.689, allocations: 1.244 MB / 0.7138 GB, free: 56.02 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002332/1.689, allocations: 145 kB / 0.714 GB, free: 55.89 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001409/1.689, allocations: 9.281 kB / 0.714 GB, free: 55.89 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006706/1.69, allocations: 32.64 kB / 0.714 GB, free: 55.88 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001372/1.69, allocations: 57.34 kB / 0.7141 GB, free: 55.88 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.845e-05/1.69, allocations: 30.16 kB / 0.7141 GB, free: 55.88 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004829/1.69, allocations: 338.9 kB / 0.7144 GB, free: 55.8 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.74e-07/1.69, allocations: 0 / 0.7144 GB, free: 55.8 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001945/1.692, allocations: 0.5433 MB / 0.715 GB, free: 55.7 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (tank1.medium.T,tank1.level,tank2.medium.T,tank2.level) * Number of discrete variables: 2 (tank1.aboveLevel[1],tank2.aboveLevel[1]) * Number of discrete states: 2 (tank2.aboveLevel[1],tank1.aboveLevel[1]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 53 * 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 {2 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.001268/1.694, allocations: 0.5827 MB / 0.7155 GB, free: 55.52 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002351/1.696, allocations: 1.046 MB / 0.7165 GB, free: 55.5 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.378e-06/1.696, allocations: 2.688 kB / 0.7166 GB, free: 55.5 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000793/1.697, allocations: 358.9 kB / 0.7169 GB, free: 55.5 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001906/1.699, allocations: 302.4 kB / 0.7172 GB, free: 55.49 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002449/1.701, allocations: 1.177 MB / 0.7183 GB, free: 55.16 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004674/1.702, allocations: 0.9761 MB / 0.7193 GB, free: 54.46 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003102/1.702, allocations: 68.8 kB / 0.7193 GB, free: 54.45 MB / 346.7 MB Notification: Performance of SimCode: time 1.822e-06/1.702, allocations: 0 / 0.7193 GB, free: 54.45 MB / 346.7 MB Notification: Performance of Templates: time 0.03138/1.734, allocations: 17.41 MB / 0.7364 GB, free: 53.3 MB / 346.7 MB "" Variables in the reference:time,tank1.level,tank1.medium.T,tank2.level,tank2.medium.T,tank1.aboveLevel[1],tank2.aboveLevel[1] Variables in the result:_D_cse1,_D_cse10,_D_cse11,_D_cse2,_D_cse3,_D_cse4,_D_cse5,_D_cse6,_D_cse7,_D_cse8,_D_cse9,pipe.V,pipe.allowFlowReversal,pipe.crossArea,pipe.diameter,pipe.flowModel.Fs_fg[1],pipe.flowModel.Fs_p[1],pipe.flowModel.Ib_flows[1],pipe.flowModel.Is[1],pipe.flowModel.Re_turbulent,pipe.flowModel.Res_turbulent_internal[1],pipe.flowModel.allowFlowReversal,pipe.flowModel.constantPressureLossCoefficient,pipe.flowModel.continuousFlowReversal,pipe.flowModel.crossAreas[1],pipe.flowModel.crossAreas[2],pipe.flowModel.dheights[1],pipe.flowModel.diameters[1],pipe.flowModel.dimensions[1],pipe.flowModel.dimensions[2],pipe.flowModel.dp_fric_nominal,pipe.flowModel.dp_nominal,pipe.flowModel.dp_small,pipe.flowModel.dps_fg[1],pipe.flowModel.from_dp,pipe.flowModel.g,pipe.flowModel.m,pipe.flowModel.m_flow_nominal,pipe.flowModel.m_flow_small,pipe.flowModel.m_flow_start,pipe.flowModel.m_flows[1],pipe.flowModel.momentumDynamics,pipe.flowModel.mu_nominal,pipe.flowModel.mus[1],pipe.flowModel.mus[2],pipe.flowModel.mus_act[1],pipe.flowModel.n,pipe.flowModel.nParallel,pipe.flowModel.p_a_start,pipe.flowModel.p_b_start,pipe.flowModel.pathLengths[1],pipe.flowModel.pathLengths_internal[1],pipe.flowModel.rho_nominal,pipe.flowModel.rhos[1],pipe.flowModel.rhos[2],pipe.flowModel.rhos_act[1],pipe.flowModel.roughnesses[1],pipe.flowModel.roughnesses[2],pipe.flowModel.show_Res,pipe.flowModel.states[1].T,pipe.flowModel.states[1].p,pipe.flowModel.states[2].T,pipe.flowModel.states[2].p,pipe.flowModel.useUpstreamScheme,pipe.flowModel.use_Ib_flows,pipe.flowModel.use_mu_nominal,pipe.flowModel.use_rho_nominal,pipe.flowModel.vs[1],pipe.flowModel.vs[2],pipe.height_ab,pipe.isCircular,pipe.length,pipe.m_flow_start,pipe.nParallel,pipe.p_a_start,pipe.p_b_start,pipe.perimeter,pipe.port_a.h_outflow,pipe.port_a.m_flow,pipe.port_a.p,pipe.port_a_exposesState,pipe.port_b.h_outflow,pipe.port_b.m_flow,pipe.port_b.p,pipe.port_b_exposesState,pipe.roughness,pipe.showDesignFlowDirection,stiffCharacteristicForEmptyPort,system.T_ambient,system.T_start,system.allowFlowReversal,system.dp_small,system.energyDynamics,system.eps_m_flow,system.g,system.m_flow_nominal,system.m_flow_small,system.m_flow_start,system.massDynamics,system.momentumDynamics,system.p_ambient,system.p_start,system.substanceDynamics,system.traceDynamics,system.use_eps_Re,tank1.Hb_flow,tank1.Qb_flow,tank1.T_ambient,tank1.T_start,tank1.U,tank1.V,tank1.V0,tank1.Wb_flow,tank1.X_start[1],tank1.aboveLevel[1],tank1.bottomArea[1],tank1.crossArea,der(tank1.U),der(tank1.fluidVolume),der(tank1.level),der(tank1.m),tank1.energyDynamics,tank1.fluidVolume,tank1.h_start,tank1.heatTransfer.Q_flows[1],tank1.heatTransfer.T_ambient,tank1.heatTransfer.Ts[1],tank1.heatTransfer.heatPorts[1].Q_flow,tank1.heatTransfer.heatPorts[1].T,tank1.heatTransfer.k,tank1.heatTransfer.n,tank1.heatTransfer.states[1].T,tank1.heatTransfer.states[1].p,tank1.heatTransfer.surfaceAreas[1],tank1.heatTransfer.use_k,tank1.height,tank1.hysteresisFactor,tank1.initialize_p,tank1.level,tank1.levelAbovePort[1],tank1.level_start,tank1.m,tank1.m_flow_small,tank1.massDynamics,tank1.mb_flow,tank1.medium.MM,tank1.medium.R,tank1.medium.T,tank1.medium.T_degC,tank1.medium.X[1],tank1.medium.d,der(tank1.medium.T),der(tank1.medium.T_degC),der(tank1.medium.u),tank1.medium.h,tank1.medium.p,tank1.medium.p_bar,tank1.medium.preferredMediumStates,tank1.medium.standardOrderComponents,tank1.medium.state.T,tank1.medium.state.p,tank1.medium.u,tank1.nPorts,tank1.nTopPorts,tank1.p_ambient,tank1.p_start,tank1.port_b_H_flow_bottom[1],tank1.portsData[1].diameter,tank1.portsData[1].height,tank1.portsData[1].zeta_in,tank1.portsData[1].zeta_out,tank1.portsData_diameter2[1],tank1.portsData_diameter[1],tank1.portsData_height2[1],tank1.portsData_height[1],tank1.ports[1].h_outflow,tank1.ports[1].m_flow,tank1.ports[1].p,tank1.ports_emptyPipeHysteresis[1],tank1.ports_m_flow_out[1],tank1.stiffCharacteristicForEmptyPort,tank1.substanceDynamics,tank1.traceDynamics,tank1.use_HeatTransfer,tank1.use_T_start,tank1.zetaLarge,tank1.zetas_out[1],tank2.Hb_flow,tank2.Qb_flow,tank2.T_ambient,tank2.T_start,tank2.U,tank2.V,tank2.V0,tank2.Wb_flow,tank2.X_start[1],tank2.aboveLevel[1],tank2.bottomArea[1],tank2.crossArea,der(tank2.U),der(tank2.fluidVolume),der(tank2.level),der(tank2.m),tank2.energyDynamics,tank2.fluidVolume,tank2.h_start,tank2.heatTransfer.Q_flows[1],tank2.heatTransfer.T_ambient,tank2.heatTransfer.Ts[1],tank2.heatTransfer.heatPorts[1].Q_flow,tank2.heatTransfer.heatPorts[1].T,tank2.heatTransfer.k,tank2.heatTransfer.n,tank2.heatTransfer.states[1].T,tank2.heatTransfer.states[1].p,tank2.heatTransfer.surfaceAreas[1],tank2.heatTransfer.use_k,tank2.height,tank2.hysteresisFactor,tank2.initialize_p,tank2.level,tank2.levelAbovePort[1],tank2.level_start,tank2.m,tank2.m_flow_small,tank2.massDynamics,tank2.mb_flow,tank2.medium.MM,tank2.medium.R,tank2.medium.T,tank2.medium.T_degC,tank2.medium.X[1],tank2.medium.d,der(tank2.medium.T),der(tank2.medium.T_degC),der(tank2.medium.u),tank2.medium.h,tank2.medium.p,tank2.medium.p_bar,tank2.medium.preferredMediumStates,tank2.medium.standardOrderComponents,tank2.medium.state.T,tank2.medium.state.p,tank2.medium.u,tank2.nPorts,tank2.nTopPorts,tank2.p_ambient,tank2.p_start,tank2.port_b_H_flow_bottom[1],tank2.portsData[1].diameter,tank2.portsData[1].height,tank2.portsData[1].zeta_in,tank2.portsData[1].zeta_out,tank2.portsData_diameter2[1],tank2.portsData_diameter[1],tank2.portsData_height2[1],tank2.portsData_height[1],tank2.ports[1].h_outflow,tank2.ports[1].m_flow,tank2.ports[1].p,tank2.ports_emptyPipeHysteresis[1],tank2.ports_m_flow_out[1],tank2.stiffCharacteristicForEmptyPort,tank2.substanceDynamics,tank2.traceDynamics,tank2.use_HeatTransfer,tank2.use_T_start,tank2.zetaLarge,tank2.zetas_out[1],time