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/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.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.722/1.722, allocations: 171.2 MB / 184.2 MB, free: 12.05 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.706e-05/2.726e-05, allocations: 4 kB / 228.8 MB, free: 15.4 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2124/0.2125, allocations: 38.76 MB / 267.6 MB, free: 9.445 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7238/0.9364, allocations: 318.3 MB / 0.5722 GB, free: 68.09 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002631/0.9367, allocations: 87.95 kB / 0.5723 GB, free: 68.01 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7341/1.671, allocations: 164.6 MB / 0.733 GB, free: 50.92 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.62e-06/1.671, allocations: 4 kB / 0.733 GB, free: 50.92 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.294e-05/1.671, allocations: 19.98 kB / 0.7331 GB, free: 50.9 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: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.002855/1.674, allocations: 1.104 MB / 0.7341 GB, free: 49.75 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/1.674, allocations: 12.03 kB / 0.7341 GB, free: 49.74 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005833/1.674, allocations: 102.9 kB / 0.7342 GB, free: 49.64 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00162/1.676, allocations: 0.6678 MB / 0.7349 GB, free: 48.93 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.345e-05/1.676, allocations: 41.31 kB / 0.7349 GB, free: 48.89 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000136/1.676, allocations: 59.92 kB / 0.735 GB, free: 48.83 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001626/1.678, allocations: 0.8573 MB / 0.7358 GB, free: 47.92 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.62e-05/1.678, allocations: 3.938 kB / 0.7358 GB, free: 47.91 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001117/1.678, allocations: 31.98 kB / 0.7359 GB, free: 47.88 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.5e-05/1.678, allocations: 45.28 kB / 0.7359 GB, free: 47.84 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001537/1.68, allocations: 0.7741 MB / 0.7367 GB, free: 47.07 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005849/1.686, allocations: 3.84 MB / 0.7404 GB, free: 42.96 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009652/1.687, allocations: 475.6 kB / 0.7409 GB, free: 42.48 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00045/1.687, allocations: 241.5 kB / 0.7411 GB, free: 42.25 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003094/1.69, allocations: 1.969 MB / 0.743 GB, free: 40.07 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.011e-05/1.69, allocations: 34.56 kB / 0.743 GB, free: 40.02 MB / 362.7 MB Notification: Performance of pre-optimization done (n=37): time 3.385e-06/1.69, allocations: 0 / 0.743 GB, free: 40.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=42): time 0.003266/1.694, allocations: 1.241 MB / 0.7443 GB, free: 38.72 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.356e-05/1.694, allocations: 132.5 kB / 0.7444 GB, free: 38.56 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009568/1.695, allocations: 0.6012 MB / 0.745 GB, free: 37.96 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.219e-05/1.695, allocations: 37.7 kB / 0.745 GB, free: 37.91 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002585/1.695, allocations: 461.4 kB / 0.7455 GB, free: 37.46 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001296/1.695, allocations: 153.9 kB / 0.7456 GB, free: 37.3 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.355e-05/1.695, allocations: 16 kB / 0.7456 GB, free: 37.29 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.997e-05/1.695, allocations: 342.8 kB / 0.7459 GB, free: 36.95 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005431/1.696, allocations: 237.9 kB / 0.7462 GB, free: 36.71 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006441/1.697, allocations: 0.5443 MB / 0.7467 GB, free: 36.02 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006288/1.697, allocations: 327 kB / 0.747 GB, free: 35.71 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.811e-06/1.697, allocations: 7.938 kB / 0.747 GB, free: 35.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001756/1.699, allocations: 0.8309 MB / 0.7478 GB, free: 34.86 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007548/1.7, allocations: 3.926 MB / 0.7517 GB, free: 30.63 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.738e-05/1.7, allocations: 12 kB / 0.7517 GB, free: 30.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009277/1.701, allocations: 120.8 kB / 0.7518 GB, free: 30.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001553/1.702, allocations: 243.5 kB / 0.752 GB, free: 30.26 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008384/1.703, allocations: 1.209 MB / 0.7532 GB, free: 29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001164/1.704, allocations: 63.97 kB / 0.7533 GB, free: 28.94 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001479/1.705, allocations: 43.98 kB / 0.7533 GB, free: 28.89 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/1.705, allocations: 4 kB / 0.7533 GB, free: 28.89 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00163/1.706, allocations: 0.7825 MB / 0.7541 GB, free: 28.1 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.501e-05/1.706, allocations: 12.97 kB / 0.7541 GB, free: 28.09 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008119/1.707, allocations: 116.7 kB / 0.7542 GB, free: 27.97 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001162/1.708, allocations: 227.7 kB / 0.7544 GB, free: 27.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003838/1.709, allocations: 0.5874 MB / 0.755 GB, free: 27.14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007368/1.709, allocations: 63.89 kB / 0.755 GB, free: 27.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.864e-05/1.71, allocations: 39.98 kB / 0.7551 GB, free: 27.04 MB / 362.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.0002602/1.71, allocations: 168.7 kB / 0.7552 GB, free: 26.86 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002026/1.71, allocations: 71.16 kB / 0.7553 GB, free: 26.79 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001928/1.712, allocations: 0.7291 MB / 0.756 GB, free: 26.05 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.377e-05/1.712, allocations: 4 kB / 0.756 GB, free: 26.05 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.67e-06/1.712, allocations: 3.984 kB / 0.756 GB, free: 26.04 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.734e-06/1.712, allocations: 4 kB / 0.756 GB, free: 26.04 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00301/1.715, allocations: 1.418 MB / 0.7574 GB, free: 24.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.068e-06/1.715, allocations: 3.938 kB / 0.7574 GB, free: 24.55 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009963/1.716, allocations: 147.9 kB / 0.7576 GB, free: 24.41 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005581/1.717, allocations: 84.77 kB / 0.7576 GB, free: 24.32 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.105e-05/1.717, allocations: 19.95 kB / 0.7577 GB, free: 24.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006406/1.717, allocations: 1.181 MB / 0.7588 GB, free: 23.07 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.208e-06/1.717, allocations: 0 / 0.7588 GB, free: 23.07 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001731/1.719, allocations: 1.008 MB / 0.7598 GB, free: 22.02 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000292/1.72, allocations: 160.1 kB / 0.76 GB, free: 21.84 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001499/1.72, allocations: 15.98 kB / 0.76 GB, free: 21.82 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006493/1.72, allocations: 39.95 kB / 0.76 GB, free: 21.79 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001335/1.72, allocations: 52.42 kB / 0.7601 GB, free: 21.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.919e-05/1.721, allocations: 23.98 kB / 0.7601 GB, free: 21.71 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0007426/1.721, allocations: 471.1 kB / 0.7605 GB, free: 21.25 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.27e-07/1.721, allocations: 0 / 0.7605 GB, free: 21.25 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002436/1.724, allocations: 0.6401 MB / 0.7612 GB, free: 20.61 MB / 362.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.001791/1.726, allocations: 0.6614 MB / 0.7618 GB, free: 19.95 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00299/1.729, allocations: 1.069 MB / 0.7628 GB, free: 18.89 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.438e-06/1.729, allocations: 384 / 0.7628 GB, free: 18.89 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009535/1.73, allocations: 331 kB / 0.7632 GB, free: 18.57 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00166/1.731, allocations: 289.3 kB / 0.7634 GB, free: 18.29 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002645/1.734, allocations: 1.181 MB / 0.7646 GB, free: 17.07 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005022/1.735, allocations: 1.003 MB / 0.7656 GB, free: 16.04 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003576/1.735, allocations: 83.34 kB / 0.7657 GB, free: 15.95 MB / 362.7 MB Notification: Performance of SimCode: time 2.583e-06/1.735, allocations: 0 / 0.7657 GB, free: 15.95 MB / 362.7 MB Notification: Performance of Templates: time 0.2357/1.971, allocations: 21.75 MB / 0.7869 GB, free: 73.25 MB / 362.7 MB "Error: Could not read variable ambient_fixed.T_in_internal in file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable ambient_fixed.T_in_internal from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat failed! Error: Could not read variable ambient_fixed.X_in_internal[1] in file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable ambient_fixed.X_in_internal[1] from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat failed! Error: Could not read variable ambient_fixed.flowDirection in file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable ambient_fixed.flowDirection from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat failed! Error: Could not read variable ambient_fixed.p_in_internal in file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable ambient_fixed.p_in_internal from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat failed! Error: Could not read variable flowSource.T_in_internal in file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable flowSource.T_in_internal from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat failed! Error: Could not read variable flowSource.X_in_internal[1] in file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable flowSource.X_in_internal[1] from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat failed! Error: Could not read variable flowSource.flowDirection in file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable flowSource.flowDirection from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat failed! Error: Could not read variable flowSource.m_flow_in_internal in file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable flowSource.m_flow_in_internal from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat failed! Error: Could not read variable pipe.flowModel.constantPressureLossCoefficient in file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable pipe.flowModel.constantPressureLossCoefficient from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat failed! Error: Could not read variable pipe.flowModel.continuousFlowReversal in file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable pipe.flowModel.continuousFlowReversal from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_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.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable pipe.flowModel.diameters[1] from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_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.TankWithEmptyingPipe1_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.TankWithEmptyingPipe1_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.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable pipe.flowModel.dp_small from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_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.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable pipe.flowModel.mu_nominal from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_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.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable pipe.flowModel.rho_nominal from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_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.TankWithEmptyingPipe1_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.TankWithEmptyingPipe1_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.TankWithEmptyingPipe1_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.TankWithEmptyingPipe1_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.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable pipe.port_a_exposesState from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_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.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable pipe.port_b_exposesState from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat failed! Error: Could not read variable pipe.showDesignFlowDirection in file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable pipe.showDesignFlowDirection from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat failed! Error: Could not read variable tank1.aboveLevel[1] in file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable tank1.aboveLevel[1] from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat failed! Error: Could not read variable tank1.aboveLevel[2] in file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable tank1.aboveLevel[2] from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat failed! Error: Could not read variable tank1.bottomArea[1] in file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable tank1.bottomArea[1] from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat failed! Error: Could not read variable tank1.bottomArea[2] in file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable tank1.bottomArea[2] from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat failed! Error: Could not read variable tank1.initialize_p in file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable tank1.initialize_p from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat failed! Error: Could not read variable tank1.levelAbovePort[1] in file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable tank1.levelAbovePort[1] from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat failed! Error: Could not read variable tank1.levelAbovePort[2] in file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable tank1.levelAbovePort[2] from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_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.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable tank1.portsData_diameter[1] from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat failed! Error: Could not read variable tank1.portsData_diameter[2] in file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable tank1.portsData_diameter[2] from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_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.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable tank1.portsData_height[1] from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat failed! Error: Could not read variable tank1.portsData_height[2] in file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable tank1.portsData_height[2] from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_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.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable tank1.ports_emptyPipeHysteresis[1] from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat failed! Error: Could not read variable tank1.ports_emptyPipeHysteresis[2] in file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable tank1.ports_emptyPipeHysteresis[2] from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_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.TankWithEmptyingPipe1_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.TankWithEmptyingPipe1_res.mat failed! Error: Could not read variable tank1.ports_m_flow_out[2] in file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable tank1.ports_m_flow_out[2] from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_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.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable tank1.zetas_out[1] from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat failed! Error: Could not read variable tank1.zetas_out[2] in file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable tank1.zetas_out[2] from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat failed! Error: Could not read variable valveDiscrete.port_a_exposesState in file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable valveDiscrete.port_a_exposesState from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat failed! Error: Could not read variable valveDiscrete.port_b_exposesState in file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable valveDiscrete.port_b_exposesState from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat failed! Error: Could not read variable valveDiscrete.showDesignFlowDirection in file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable valveDiscrete.showDesignFlowDirection from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat failed! Error: Could not read variable valveDiscrete.state_a.T in file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable valveDiscrete.state_a.T from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat failed! Error: Could not read variable valveDiscrete.state_a.p in file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable valveDiscrete.state_a.p from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat failed! Error: Could not read variable valveDiscrete.state_b.T in file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable valveDiscrete.state_b.T from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat failed! Error: Could not read variable valveDiscrete.state_b.p in file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable valveDiscrete.state_b.p from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat failed! " Variables in the reference:time,tank1.level,tank1.medium.T,tank1.aboveLevel[1],tank1.aboveLevel[2] Variables in the result:ambient_fixed.T,ambient_fixed.X[1],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.ports[1].h_outflow,ambient_fixed.ports[1].m_flow,ambient_fixed.ports[1].p,flowSource.T,flowSource.X[1],flowSource.m_flow,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,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.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,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.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.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.stiffCharacteristicForEmptyPort,tank1.substanceDynamics,tank1.traceDynamics,tank1.use_HeatTransfer,tank1.use_T_start,tank1.zetaLarge,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_b.h_outflow,valveDiscrete.port_b.m_flow,valveDiscrete.port_b.p,valveDiscrete.port_b_T,valveDiscrete.show_T,valveDiscrete.show_V_flow