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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/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.576/1.576, allocations: 171.2 MB / 184.2 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.576e-05/2.586e-05, allocations: 4 kB / 228.8 MB, free: 15.43 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2286/0.2286, allocations: 38.76 MB / 267.6 MB, free: 9.453 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7717/1, allocations: 311.9 MB / 0.5659 GB, free: 74.78 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002648/1.001, allocations: 83.95 kB / 0.566 GB, free: 74.7 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6261/1.627, allocations: 135.8 MB / 0.6985 GB, free: 86.33 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.184e-06/1.627, allocations: 4 kB / 0.6985 GB, free: 86.33 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.671e-05/1.627, allocations: 26.8 kB / 0.6986 GB, free: 86.3 MB / 362.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.002368/1.629, allocations: 1.018 MB / 0.6995 GB, free: 85.25 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/1.629, allocations: 8.031 kB / 0.6996 GB, free: 85.24 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004283/1.63, allocations: 87.06 kB / 0.6996 GB, free: 85.16 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001359/1.631, allocations: 0.5799 MB / 0.7002 GB, free: 84.55 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.229e-05/1.631, allocations: 48.66 kB / 0.7003 GB, free: 84.5 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001195/1.631, allocations: 55.41 kB / 0.7003 GB, free: 84.45 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001408/1.633, allocations: 0.7226 MB / 0.701 GB, free: 83.7 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.379e-05/1.633, allocations: 3.938 kB / 0.701 GB, free: 83.7 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.473e-05/1.633, allocations: 25.08 kB / 0.701 GB, free: 83.68 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.275e-05/1.633, allocations: 40.97 kB / 0.7011 GB, free: 83.64 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001329/1.634, allocations: 0.6714 MB / 0.7017 GB, free: 82.97 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005247/1.64, allocations: 2.844 MB / 0.7045 GB, free: 79.97 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008619/1.641, allocations: 468.5 kB / 0.705 GB, free: 79.5 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004402/1.641, allocations: 246.1 kB / 0.7052 GB, free: 79.26 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002808/1.641, allocations: 344.8 kB / 0.7055 GB, free: 78.85 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.508e-05/1.641, allocations: 46.94 kB / 0.7056 GB, free: 78.8 MB / 362.7 MB Notification: Performance of pre-optimization done (n=48): time 3.848e-06/1.641, allocations: 0 / 0.7056 GB, free: 78.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=58): time 0.005126/1.647, allocations: 1.827 MB / 0.7074 GB, free: 76.91 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.771e-05/1.647, allocations: 81.67 kB / 0.7074 GB, free: 76.81 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008906/1.648, allocations: 0.5461 MB / 0.708 GB, free: 76.26 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.837e-05/1.648, allocations: 41.69 kB / 0.708 GB, free: 76.21 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001981/1.648, allocations: 354.9 kB / 0.7083 GB, free: 75.87 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001751/1.648, allocations: 201 kB / 0.7085 GB, free: 75.67 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.441e-05/1.648, allocations: 16 kB / 0.7085 GB, free: 75.66 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.798e-05/1.648, allocations: 346.8 kB / 0.7089 GB, free: 75.31 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005703/1.649, allocations: 281.4 kB / 0.7091 GB, free: 75.04 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006329/1.649, allocations: 435.1 kB / 0.7096 GB, free: 74.54 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006287/1.65, allocations: 333.9 kB / 0.7099 GB, free: 74.22 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.784e-06/1.65, allocations: 4 kB / 0.7099 GB, free: 74.21 MB / 362.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001821/1.652, allocations: 0.8713 MB / 0.7107 GB, free: 73.33 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003511/1.652, allocations: 1.749 MB / 0.7124 GB, free: 71.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.353e-05/1.652, allocations: 4 kB / 0.7124 GB, free: 71.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00245/1.655, allocations: 352.5 kB / 0.7128 GB, free: 71.1 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008845/1.656, allocations: 151.8 kB / 0.7129 GB, free: 70.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009909/1.657, allocations: 0.8176 MB / 0.7137 GB, free: 70.11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008951/1.658, allocations: 55.81 kB / 0.7138 GB, free: 70.05 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.854e-05/1.658, allocations: 36.05 kB / 0.7138 GB, free: 70.02 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/1.658, allocations: 0 / 0.7138 GB, free: 70.02 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001652/1.659, allocations: 0.7767 MB / 0.7146 GB, free: 69.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/1.659, allocations: 4 kB / 0.7146 GB, free: 69.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001671/1.661, allocations: 220.6 kB / 0.7148 GB, free: 69.01 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008576/1.662, allocations: 155.7 kB / 0.7149 GB, free: 68.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006684/1.663, allocations: 0.6929 MB / 0.7156 GB, free: 68.14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006529/1.663, allocations: 39.98 kB / 0.7156 GB, free: 68.1 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.875e-05/1.664, allocations: 32.05 kB / 0.7157 GB, free: 68.07 MB / 362.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.0002576/1.664, allocations: 152.5 kB / 0.7158 GB, free: 67.92 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002077/1.664, allocations: 75.11 kB / 0.7159 GB, free: 67.84 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001856/1.666, allocations: 0.8366 MB / 0.7167 GB, free: 67 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.071e-05/1.666, allocations: 7.938 kB / 0.7167 GB, free: 67 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.17e-06/1.666, allocations: 0 / 0.7167 GB, free: 67 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.148e-05/1.666, allocations: 3.984 kB / 0.7167 GB, free: 66.99 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007087/1.673, allocations: 1.644 MB / 0.7183 GB, free: 65.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.399e-05/1.673, allocations: 0 / 0.7183 GB, free: 65.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001573/1.675, allocations: 111.9 kB / 0.7184 GB, free: 65.19 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004019/1.679, allocations: 328.5 kB / 0.7188 GB, free: 64.86 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002302/1.679, allocations: 15.98 kB / 0.7188 GB, free: 64.85 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001817/1.681, allocations: 0.8021 MB / 0.7195 GB, free: 64.02 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.727e-06/1.681, allocations: 0 / 0.7195 GB, free: 64.02 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00501/1.686, allocations: 1.24 MB / 0.7208 GB, free: 62.74 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006219/1.687, allocations: 160.1 kB / 0.7209 GB, free: 62.56 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004004/1.687, allocations: 19.98 kB / 0.7209 GB, free: 62.54 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001738/1.689, allocations: 35.98 kB / 0.721 GB, free: 62.51 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003164/1.689, allocations: 56.47 kB / 0.721 GB, free: 62.45 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001814/1.69, allocations: 23.98 kB / 0.721 GB, free: 62.43 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.00148/1.691, allocations: 431.2 kB / 0.7215 GB, free: 62.01 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.647e-06/1.691, allocations: 0 / 0.7215 GB, free: 62.01 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.004763/1.696, allocations: 0.5893 MB / 0.722 GB, free: 61.42 MB / 362.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.003106/1.699, allocations: 0.603 MB / 0.7226 GB, free: 60.86 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.005686/1.705, allocations: 1.104 MB / 0.7237 GB, free: 59.75 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.351e-05/1.705, allocations: 0.625 kB / 0.7237 GB, free: 59.75 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001849/1.707, allocations: 379 kB / 0.7241 GB, free: 59.38 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004329/1.711, allocations: 326 kB / 0.7244 GB, free: 59.07 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005479/1.717, allocations: 1.223 MB / 0.7256 GB, free: 57.81 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009542/1.718, allocations: 0.9752 MB / 0.7265 GB, free: 56.8 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006994/1.718, allocations: 71.42 kB / 0.7266 GB, free: 56.74 MB / 362.7 MB Notification: Performance of SimCode: time 3.377e-06/1.718, allocations: 0 / 0.7266 GB, free: 56.74 MB / 362.7 MB Notification: Performance of Templates: time 0.0436/1.762, allocations: 17.84 MB / 0.744 GB, free: 38.91 MB / 362.7 MB "Error: Could not read variable pipe.flowModel.constantPressureLossCoefficient in file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks_res.mat. Warning: Get data of variable pipe.flowModel.constantPressureLossCoefficient from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks_res.mat failed! Error: Could not read variable pipe.flowModel.continuousFlowReversal in file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks_res.mat. Warning: Get data of variable pipe.flowModel.continuousFlowReversal from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks_res.mat failed! Error: Could not read variable pipe.flowModel.diameters[1] in file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks_res.mat. Warning: Get data of variable pipe.flowModel.diameters[1] from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks_res.mat failed! Error: Could not read variable pipe.flowModel.dp_fric_nominal in file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks_res.mat. Warning: Get data of variable pipe.flowModel.dp_fric_nominal from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks_res.mat failed! Error: Could not read variable pipe.flowModel.dp_small in file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks_res.mat. Warning: Get data of variable pipe.flowModel.dp_small from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks_res.mat failed! Error: Could not read variable pipe.flowModel.mu_nominal in file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks_res.mat. Warning: Get data of variable pipe.flowModel.mu_nominal from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks_res.mat failed! Error: Could not read variable pipe.flowModel.rho_nominal in file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks_res.mat. Warning: Get data of variable pipe.flowModel.rho_nominal from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks_res.mat failed! Error: Could not read variable pipe.flowModel.use_mu_nominal in file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks_res.mat. Warning: Get data of variable pipe.flowModel.use_mu_nominal from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks_res.mat failed! Error: Could not read variable pipe.flowModel.use_rho_nominal in file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks_res.mat. Warning: Get data of variable pipe.flowModel.use_rho_nominal from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks_res.mat failed! Error: Could not read variable pipe.port_a_exposesState in file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks_res.mat. Warning: Get data of variable pipe.port_a_exposesState from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks_res.mat failed! Error: Could not read variable pipe.port_b_exposesState in file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks_res.mat. Warning: Get data of variable pipe.port_b_exposesState from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks_res.mat failed! Error: Could not read variable pipe.showDesignFlowDirection in file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks_res.mat. Warning: Get data of variable pipe.showDesignFlowDirection from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks_res.mat failed! Error: Could not read variable tank1.aboveLevel[1] in file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks_res.mat. Warning: Get data of variable tank1.aboveLevel[1] from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks_res.mat failed! Error: Could not read variable tank1.bottomArea[1] in file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks_res.mat. Warning: Get data of variable tank1.bottomArea[1] from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks_res.mat failed! Error: Could not read variable tank1.initialize_p in file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks_res.mat. Warning: Get data of variable tank1.initialize_p from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks_res.mat failed! Error: Could not read variable tank1.levelAbovePort[1] in file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks_res.mat. Warning: Get data of variable tank1.levelAbovePort[1] from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks_res.mat failed! Error: Could not read variable tank1.portsData_diameter[1] in file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks_res.mat. Warning: Get data of variable tank1.portsData_diameter[1] from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks_res.mat failed! Error: Could not read variable tank1.portsData_height[1] in file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks_res.mat. Warning: Get data of variable tank1.portsData_height[1] from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks_res.mat failed! Error: Could not read variable tank1.ports_emptyPipeHysteresis[1] in file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks_res.mat. Warning: Get data of variable tank1.ports_emptyPipeHysteresis[1] from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks_res.mat failed! Error: Could not read variable tank1.ports_m_flow_out[1] in file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks_res.mat. Warning: Get data of variable tank1.ports_m_flow_out[1] from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks_res.mat failed! Error: Could not read variable tank1.zetas_out[1] in file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks_res.mat. Warning: Get data of variable tank1.zetas_out[1] from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks_res.mat failed! Error: Could not read variable tank2.aboveLevel[1] in file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks_res.mat. Warning: Get data of variable tank2.aboveLevel[1] from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks_res.mat failed! Error: Could not read variable tank2.bottomArea[1] in file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks_res.mat. Warning: Get data of variable tank2.bottomArea[1] from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks_res.mat failed! Error: Could not read variable tank2.initialize_p in file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks_res.mat. Warning: Get data of variable tank2.initialize_p from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks_res.mat failed! Error: Could not read variable tank2.levelAbovePort[1] in file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks_res.mat. Warning: Get data of variable tank2.levelAbovePort[1] from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks_res.mat failed! Error: Could not read variable tank2.portsData_diameter[1] in file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks_res.mat. Warning: Get data of variable tank2.portsData_diameter[1] from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks_res.mat failed! Error: Could not read variable tank2.portsData_height[1] in file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks_res.mat. Warning: Get data of variable tank2.portsData_height[1] from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks_res.mat failed! Error: Could not read variable tank2.ports_emptyPipeHysteresis[1] in file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks_res.mat. Warning: Get data of variable tank2.ports_emptyPipeHysteresis[1] from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks_res.mat failed! Error: Could not read variable tank2.ports_m_flow_out[1] in file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks_res.mat. Warning: Get data of variable tank2.ports_m_flow_out[1] from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks_res.mat failed! Error: Could not read variable tank2.zetas_out[1] in file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks_res.mat. Warning: Get data of variable tank2.zetas_out[1] from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks_res.mat failed! " 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: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.crossAreas[1],pipe.flowModel.crossAreas[2],pipe.flowModel.dheights[1],pipe.flowModel.dimensions[1],pipe.flowModel.dimensions[2],pipe.flowModel.dp_nominal,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.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.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.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_b.h_outflow,pipe.port_b.m_flow,pipe.port_b.p,pipe.roughness,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.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.level,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.ports[1].h_outflow,tank1.ports[1].m_flow,tank1.ports[1].p,tank1.stiffCharacteristicForEmptyPort,tank1.substanceDynamics,tank1.traceDynamics,tank1.use_HeatTransfer,tank1.use_T_start,tank1.zetaLarge,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.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.level,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.ports[1].h_outflow,tank2.ports[1].m_flow,tank2.ports[1].p,tank2.stiffCharacteristicForEmptyPort,tank2.substanceDynamics,tank2.traceDynamics,tank2.use_HeatTransfer,tank2.use_T_start,tank2.zetaLarge,time