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.TankWithEmptyingPipe1.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.TankWithEmptyingPipe1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank1.level|tank1.medium.T|tank1.aboveLevel.1.|tank1.aboveLevel.2.",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1") Notification: Performance of loadModel(Modelica): time 1.688/1.688, allocations: 171.3 MB / 179.2 MB, free: 7.582 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.479e-05/2.489e-05, allocations: 0 / 222.5 MB, free: 8.703 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07769/0.07774, allocations: 38.77 MB / 261.3 MB, free: 1.848 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9087/0.9865, allocations: 317.6 MB / 0.5654 GB, free: 109.3 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002541/0.9868, allocations: 87.44 kB / 0.5654 GB, free: 109.3 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7025/1.689, allocations: 163.6 MB / 0.7252 GB, free: 59.13 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.886e-06/1.689, allocations: 0 / 0.7252 GB, free: 59.13 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.216e-05/1.689, allocations: 25.22 kB / 0.7252 GB, free: 59.12 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: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.002663/1.692, allocations: 1.111 MB / 0.7263 GB, free: 58.44 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/1.692, allocations: 6.719 kB / 0.7263 GB, free: 58.44 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005572/1.693, allocations: 99.45 kB / 0.7264 GB, free: 58.4 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00167/1.694, allocations: 0.6625 MB / 0.727 GB, free: 58 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.444e-05/1.695, allocations: 25.67 kB / 0.727 GB, free: 57.99 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000124/1.695, allocations: 34.69 kB / 0.7271 GB, free: 57.99 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001548/1.696, allocations: 0.7009 MB / 0.7278 GB, free: 57.74 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00151/1.698, allocations: 0.775 MB / 0.7285 GB, free: 57.37 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.021e-05/1.698, allocations: 7.906 kB / 0.7285 GB, free: 57.36 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001004/1.698, allocations: 0 / 0.7285 GB, free: 57.36 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.272e-05/1.698, allocations: 49.42 kB / 0.7286 GB, free: 57.36 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006028/1.704, allocations: 3.713 MB / 0.7322 GB, free: 54.62 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008994/1.705, allocations: 466.6 kB / 0.7326 GB, free: 54.44 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004206/1.705, allocations: 230.6 kB / 0.7329 GB, free: 54.35 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00305/1.708, allocations: 1.943 MB / 0.7348 GB, free: 52.83 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.529e-05/1.709, allocations: 40.53 kB / 0.7348 GB, free: 52.79 MB / 346.7 MB Notification: Performance of pre-optimization done (n=37): time 3.294e-06/1.709, allocations: 0 / 0.7348 GB, free: 52.79 MB / 346.7 MB Notification: Performance of matching and sorting (n=42): time 0.008773/1.717, allocations: 1.682 MB / 0.7364 GB, free: 52.11 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.197e-05/1.717, allocations: 143.6 kB / 0.7366 GB, free: 51.95 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008086/1.718, allocations: 0.5183 MB / 0.7371 GB, free: 51.69 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.456e-05/1.718, allocations: 33.02 kB / 0.7371 GB, free: 51.66 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000261/1.719, allocations: 468.8 kB / 0.7376 GB, free: 51.25 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001328/1.719, allocations: 143.6 kB / 0.7377 GB, free: 51.14 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.751e-05/1.719, allocations: 0 / 0.7377 GB, free: 51.14 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.195e-05/1.719, allocations: 345.4 kB / 0.738 GB, free: 50.82 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000467/1.719, allocations: 229.2 kB / 0.7382 GB, free: 50.73 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006001/1.72, allocations: 0.5276 MB / 0.7388 GB, free: 50.25 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005658/1.726, allocations: 0.9249 MB / 0.7397 GB, free: 50.08 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.301e-05/1.726, allocations: 0 / 0.7397 GB, free: 50.08 MB / 346.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00709/1.733, allocations: 1.376 MB / 0.741 GB, free: 49.73 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007657/1.734, allocations: 3.925 MB / 0.7448 GB, free: 45.58 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.018e-05/1.734, allocations: 12.75 kB / 0.7449 GB, free: 45.58 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002656/1.734, allocations: 58.28 kB / 0.7449 GB, free: 45.56 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001607/1.736, allocations: 240.2 kB / 0.7451 GB, free: 45.54 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001431/1.737, allocations: 1.294 MB / 0.7464 GB, free: 44.37 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00112/1.738, allocations: 48.5 kB / 0.7465 GB, free: 44.36 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001205/1.738, allocations: 44.83 kB / 0.7465 GB, free: 44.35 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/1.738, allocations: 5.219 kB / 0.7465 GB, free: 44.35 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006882/1.745, allocations: 1.289 MB / 0.7478 GB, free: 44.06 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.696e-05/1.745, allocations: 11.72 kB / 0.7478 GB, free: 44.06 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001972/1.746, allocations: 54.05 kB / 0.7478 GB, free: 44.04 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001233/1.747, allocations: 226.7 kB / 0.748 GB, free: 44.02 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008063/1.748, allocations: 0.6491 MB / 0.7487 GB, free: 43.47 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007355/1.748, allocations: 37.41 kB / 0.7487 GB, free: 43.46 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.507e-05/1.749, allocations: 45.34 kB / 0.7487 GB, free: 43.46 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.tank1.aboveLevel[1],tank1.aboveLevel[1],$PRE.tank1.aboveLevel[2],tank1.aboveLevel[2],tank1.ports_m_flow_out[2],tank1.ports_m_flow_out[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002653/1.749, allocations: 137.8 kB / 0.7489 GB, free: 43.33 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001921/1.749, allocations: 73.17 kB / 0.7489 GB, free: 43.29 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002749/1.752, allocations: 0.7823 MB / 0.7497 GB, free: 43.02 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-05/1.752, allocations: 11.67 kB / 0.7497 GB, free: 43.02 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.049e-06/1.752, allocations: 0 / 0.7497 GB, free: 43.02 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.868e-06/1.752, allocations: 2.656 kB / 0.7497 GB, free: 43.02 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003936/1.756, allocations: 1.385 MB / 0.7511 GB, free: 42.37 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.916e-06/1.756, allocations: 0 / 0.7511 GB, free: 42.37 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009412/1.757, allocations: 148.6 kB / 0.7512 GB, free: 42.36 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002046/1.757, allocations: 43.56 kB / 0.7513 GB, free: 42.34 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.005e-05/1.757, allocations: 3.844 kB / 0.7513 GB, free: 42.34 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009778/1.758, allocations: 1.22 MB / 0.7525 GB, free: 41.19 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.516e-06/1.758, allocations: 0 / 0.7525 GB, free: 41.19 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002697/1.761, allocations: 1.038 MB / 0.7535 GB, free: 40.68 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002494/1.761, allocations: 161.7 kB / 0.7536 GB, free: 40.53 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001494/1.761, allocations: 3.844 kB / 0.7536 GB, free: 40.53 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000628/1.762, allocations: 27.44 kB / 0.7537 GB, free: 40.53 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001427/1.762, allocations: 60.48 kB / 0.7537 GB, free: 40.51 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.772e-05/1.762, allocations: 21.75 kB / 0.7537 GB, free: 40.5 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0005838/1.763, allocations: 390.3 kB / 0.7541 GB, free: 40.32 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.41e-07/1.763, allocations: 0 / 0.7541 GB, free: 40.32 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00241/1.765, allocations: 0.5925 MB / 0.7547 GB, free: 40.2 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (tank1.medium.T,tank1.level) * Number of discrete variables: 2 (tank1.aboveLevel[1],tank1.aboveLevel[2]) * Number of discrete states: 2 (tank1.aboveLevel[2],tank1.aboveLevel[1]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001666/1.767, allocations: 0.6669 MB / 0.7553 GB, free: 39.94 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00257/1.769, allocations: 0.992 MB / 0.7563 GB, free: 39.62 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.877e-06/1.77, allocations: 0 / 0.7563 GB, free: 39.62 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008737/1.77, allocations: 323.3 kB / 0.7566 GB, free: 39.53 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001729/1.772, allocations: 256.2 kB / 0.7569 GB, free: 39.47 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002503/1.775, allocations: 1.144 MB / 0.758 GB, free: 38.91 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005047/1.775, allocations: 0.9982 MB / 0.759 GB, free: 38.18 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003296/1.776, allocations: 74.97 kB / 0.759 GB, free: 38.18 MB / 346.7 MB Notification: Performance of SimCode: time 2.993e-06/1.776, allocations: 0 / 0.759 GB, free: 38.18 MB / 346.7 MB Notification: Performance of Templates: time 0.03082/1.806, allocations: 21.58 MB / 0.7801 GB, free: 22.21 MB / 346.7 MB "" Variables in the reference:time,tank1.level,tank1.medium.T,tank1.aboveLevel[1],tank1.aboveLevel[2] Variables in the result:_D_cse1,_D_cse10,_D_cse11,_D_cse12,_D_cse13,_D_cse14,_D_cse15,_D_cse16,_D_cse17,_D_cse18,_D_cse19,_D_cse2,_D_cse20,_D_cse3,_D_cse4,_D_cse5,_D_cse6.T,_D_cse6.p,_D_cse7,_D_cse8,_D_cse9.T,_D_cse9.p,ambient_fixed.T,ambient_fixed.T_in_internal,ambient_fixed.X[1],ambient_fixed.X_in_internal[1],ambient_fixed.flowDirection,ambient_fixed.medium.MM,ambient_fixed.medium.R,ambient_fixed.medium.T,ambient_fixed.medium.T_degC,ambient_fixed.medium.X[1],ambient_fixed.medium.d,ambient_fixed.medium.h,ambient_fixed.medium.p,ambient_fixed.medium.p_bar,ambient_fixed.medium.preferredMediumStates,ambient_fixed.medium.standardOrderComponents,ambient_fixed.medium.state.T,ambient_fixed.medium.state.p,ambient_fixed.medium.u,ambient_fixed.nPorts,ambient_fixed.p,ambient_fixed.p_in_internal,ambient_fixed.ports[1].h_outflow,ambient_fixed.ports[1].m_flow,ambient_fixed.ports[1].p,ambient_fixed.use_C_in,ambient_fixed.use_T_in,ambient_fixed.use_X_in,ambient_fixed.use_p_in,flowSource.T,flowSource.T_in_internal,flowSource.X[1],flowSource.X_in_internal[1],flowSource.flowDirection,flowSource.m_flow,flowSource.m_flow_in_internal,flowSource.medium.MM,flowSource.medium.R,flowSource.medium.T,flowSource.medium.T_degC,flowSource.medium.X[1],flowSource.medium.d,flowSource.medium.h,flowSource.medium.p,flowSource.medium.p_bar,flowSource.medium.preferredMediumStates,flowSource.medium.standardOrderComponents,flowSource.medium.state.T,flowSource.medium.state.p,flowSource.medium.u,flowSource.nPorts,flowSource.ports[1].h_outflow,flowSource.ports[1].m_flow,flowSource.ports[1].p,flowSource.use_C_in,flowSource.use_T_in,flowSource.use_X_in,flowSource.use_m_flow_in,open.k,open.y,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,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.aboveLevel[2],tank1.bottomArea[1],tank1.bottomArea[2],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.levelAbovePort[2],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.port_b_H_flow_bottom[2],tank1.portsData[1].diameter,tank1.portsData[1].height,tank1.portsData[1].zeta_in,tank1.portsData[1].zeta_out,tank1.portsData[2].diameter,tank1.portsData[2].height,tank1.portsData[2].zeta_in,tank1.portsData[2].zeta_out,tank1.portsData_diameter2[1],tank1.portsData_diameter2[2],tank1.portsData_diameter[1],tank1.portsData_diameter[2],tank1.portsData_height2[1],tank1.portsData_height2[2],tank1.portsData_height[1],tank1.portsData_height[2],tank1.ports[1].h_outflow,tank1.ports[1].m_flow,tank1.ports[1].p,tank1.ports[2].h_outflow,tank1.ports[2].m_flow,tank1.ports[2].p,tank1.ports_emptyPipeHysteresis[1],tank1.ports_emptyPipeHysteresis[2],tank1.ports_m_flow_out[1],tank1.ports_m_flow_out[2],tank1.stiffCharacteristicForEmptyPort,tank1.substanceDynamics,tank1.traceDynamics,tank1.use_HeatTransfer,tank1.use_T_start,tank1.zetaLarge,tank1.zetas_out[1],tank1.zetas_out[2],time,valveDiscrete.V_flow,valveDiscrete.allowFlowReversal,valveDiscrete.dp,valveDiscrete.dp_nominal,valveDiscrete.dp_start,valveDiscrete.k,valveDiscrete.m_flow,valveDiscrete.m_flow_nominal,valveDiscrete.m_flow_small,valveDiscrete.m_flow_start,valveDiscrete.open,valveDiscrete.opening_min,valveDiscrete.port_a.h_outflow,valveDiscrete.port_a.m_flow,valveDiscrete.port_a.p,valveDiscrete.port_a_T,valveDiscrete.port_a_exposesState,valveDiscrete.port_b.h_outflow,valveDiscrete.port_b.m_flow,valveDiscrete.port_b.p,valveDiscrete.port_b_T,valveDiscrete.port_b_exposesState,valveDiscrete.showDesignFlowDirection,valveDiscrete.show_T,valveDiscrete.show_V_flow,valveDiscrete.state_a.T,valveDiscrete.state_a.p,valveDiscrete.state_b.T,valveDiscrete.state_b.p