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.547/1.547, allocations: 171.2 MB / 186.7 MB, free: 1.117 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003514/0.0003516, allocations: 8 kB / 233.2 MB, free: 0.957 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06903/0.06941, allocations: 38.77 MB / 271.9 MB, free: 10.1 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1): time 0.1979/0.2673, allocations: 17.55 MB / 289.5 MB, free: 7.891 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.01103/0.2784, allocations: 6.198 MB / 295.7 MB, free: 4.074 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001191/0.2796, allocations: 34.25 kB / 295.7 MB, free: 4.055 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001231/0.2809, allocations: 312.8 kB / 296 MB, free: 3.883 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003411/0.2843, allocations: 0.9096 MB / 296.9 MB, free: 3.297 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005433/0.2898, allocations: 1.415 MB / 298.3 MB, free: 2.633 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.002524/0.2923, allocations: 1.303 MB / 299.6 MB, free: 1.992 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009506/0.2933, allocations: 492.1 kB / 300.1 MB, free: 1.82 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001561/0.2949, allocations: 0.6476 MB / 300.8 MB, free: 1.523 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009336/0.2959, allocations: 0.4965 MB / 301.3 MB, free: 1.242 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000158/0.2961, allocations: 36.34 kB / 301.3 MB, free: 1.242 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002994/0.2991, allocations: 1.104 MB / 302.4 MB, free: 0.6953 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004686/0.2996, allocations: 217 kB / 302.6 MB, free: 0.5586 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003931/0.3, allocations: 184.9 kB / 302.8 MB, free: 468 kB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002862/0.3029, allocations: 1.324 MB / 304.1 MB, free: 15.63 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.3029, allocations: 4 kB / 304.1 MB, free: 15.63 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.694e-06/0.3029, allocations: 0 / 304.1 MB, free: 15.63 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.807e-05/0.3029, allocations: 0 / 304.1 MB, free: 15.63 MB / 250.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.002857/0.3058, allocations: 1.128 MB / 305.3 MB, free: 14.74 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.3059, allocations: 9.5 kB / 305.3 MB, free: 14.74 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005094/0.3064, allocations: 99.19 kB / 305.4 MB, free: 14.7 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001404/0.3078, allocations: 0.5859 MB / 305.9 MB, free: 14.21 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.609e-05/0.3079, allocations: 41.5 kB / 306 MB, free: 14.19 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000148/0.3081, allocations: 59.78 kB / 306 MB, free: 14.17 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002044/0.3101, allocations: 0.8846 MB / 306.9 MB, free: 13.58 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.853e-05/0.3102, allocations: 1.594 kB / 306.9 MB, free: 13.58 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001181/0.3103, allocations: 23.81 kB / 307 MB, free: 13.57 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.239e-05/0.3104, allocations: 41.11 kB / 307 MB, free: 13.55 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002036/0.3125, allocations: 0.8036 MB / 307.8 MB, free: 13.15 MB / 250.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007623/0.3201, allocations: 3.908 MB / 311.7 MB, free: 9.695 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001162/0.3213, allocations: 0.5024 MB / 312.2 MB, free: 9.434 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003447/0.3248, allocations: 1.704 MB / 313.9 MB, free: 7.941 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.221e-05/0.3249, allocations: 46.41 kB / 314 MB, free: 7.891 MB / 250.7 MB Notification: Performance of pre-optimization done (n=41): time 3.636e-06/0.3249, allocations: 0 / 314 MB, free: 7.891 MB / 250.7 MB Notification: Performance of matching and sorting (n=46): time 0.005573/0.3305, allocations: 1.788 MB / 315.7 MB, free: 6.695 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001138/0.3306, allocations: 142.4 kB / 315.9 MB, free: 6.531 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001274/0.3319, allocations: 0.6803 MB / 316.6 MB, free: 5.93 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001307/0.3321, allocations: 37.7 kB / 316.6 MB, free: 5.887 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004156/0.3325, allocations: 441.5 kB / 317 MB, free: 5.453 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002289/0.3327, allocations: 165.7 kB / 317.2 MB, free: 5.289 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.243e-05/0.3328, allocations: 16 kB / 317.2 MB, free: 5.273 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002074/0.333, allocations: 350.8 kB / 317.6 MB, free: 4.922 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006798/0.3337, allocations: 257.8 kB / 317.8 MB, free: 4.672 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009613/0.3347, allocations: 0.5673 MB / 318.4 MB, free: 3.969 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008431/0.3356, allocations: 341.9 kB / 318.7 MB, free: 3.633 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.058e-06/0.3356, allocations: 4 kB / 318.7 MB, free: 3.629 MB / 250.7 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.002379/0.338, allocations: 0.9144 MB / 319.6 MB, free: 2.699 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003422/0.3384, allocations: 362.6 kB / 320 MB, free: 2.215 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.948e-05/0.3384, allocations: 12 kB / 320 MB, free: 2.203 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002202/0.3406, allocations: 281.3 kB / 320.3 MB, free: 1.922 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008609/0.3415, allocations: 171.7 kB / 320.4 MB, free: 1.754 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001483/0.343, allocations: 1.257 MB / 321.7 MB, free: 456 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001/0.344, allocations: 56.91 kB / 321.7 MB, free: 400 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001405/0.3442, allocations: 47.98 kB / 321.8 MB, free: 352 kB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.3442, allocations: 4 kB / 321.8 MB, free: 348 kB / 250.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002086/0.3463, allocations: 0.8067 MB / 322.6 MB, free: 15.52 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.892e-05/0.3463, allocations: 11.95 kB / 322.6 MB, free: 15.51 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001286/0.3476, allocations: 144.9 kB / 322.8 MB, free: 15.37 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001222/0.3489, allocations: 215.7 kB / 323 MB, free: 15.16 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006366/0.3495, allocations: 0.599 MB / 323.6 MB, free: 14.53 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007127/0.3503, allocations: 56.03 kB / 323.6 MB, free: 14.48 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001085/0.3504, allocations: 40 kB / 323.7 MB, free: 14.44 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 93 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.000649/0.3511, allocations: 344.1 kB / 324 MB, free: 14.09 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002222/0.3513, allocations: 75.06 kB / 324.1 MB, free: 14.02 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002461/0.3538, allocations: 0.863 MB / 324.9 MB, free: 13.14 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.44e-05/0.3538, allocations: 8 kB / 324.9 MB, free: 13.13 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.454e-06/0.3538, allocations: 144 / 324.9 MB, free: 13.13 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.437e-05/0.3539, allocations: 7.969 kB / 324.9 MB, free: 13.12 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003758/0.3576, allocations: 1.575 MB / 326.5 MB, free: 11.48 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.446e-05/0.3577, allocations: 7.984 kB / 326.5 MB, free: 11.47 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005552/0.3582, allocations: 99.83 kB / 326.6 MB, free: 11.37 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001477/0.3597, allocations: 225.6 kB / 326.8 MB, free: 11.14 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-05/0.3599, allocations: 23.89 kB / 326.9 MB, free: 11.12 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001303/0.3612, allocations: 1.206 MB / 328.1 MB, free: 9.863 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.692e-06/0.3612, allocations: 3.938 kB / 328.1 MB, free: 9.859 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002505/0.3637, allocations: 1.105 MB / 329.2 MB, free: 8.723 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003983/0.3641, allocations: 160.1 kB / 329.3 MB, free: 8.547 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001672/0.3643, allocations: 28.11 kB / 329.4 MB, free: 8.52 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006175/0.365, allocations: 31.92 kB / 329.4 MB, free: 8.488 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00017/0.3651, allocations: 56.42 kB / 329.5 MB, free: 8.434 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.443e-05/0.3652, allocations: 27.94 kB / 329.5 MB, free: 8.406 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0008769/0.3661, allocations: 475 kB / 329.9 MB, free: 7.949 MB / 266.7 MB Notification: Performance of sort global known variables: time 8.27e-07/0.3662, allocations: 0 / 329.9 MB, free: 7.949 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.002366/0.3685, allocations: 0.5701 MB / 330.5 MB, free: 7.379 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (tank1.level,tank1.medium.T) * Number of discrete variables: 2 (tank1.aboveLevel[1],tank1.aboveLevel[2]) * Number of discrete states: 2 (tank1.aboveLevel[2],tank1.aboveLevel[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 5,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001495/0.3701, allocations: 478.2 kB / 331 MB, free: 6.91 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.003035/0.3731, allocations: 1.1 MB / 332.1 MB, free: 5.812 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 9.982e-06/0.3732, allocations: 3.984 kB / 332.1 MB, free: 5.809 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008918/0.3741, allocations: 339.9 kB / 332.4 MB, free: 5.48 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001953/0.376, allocations: 291.8 kB / 332.7 MB, free: 5.195 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003993/0.3801, allocations: 1.913 MB / 334.6 MB, free: 3.23 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008255/0.3809, allocations: 0.9955 MB / 335.6 MB, free: 2.207 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003787/0.3813, allocations: 83.41 kB / 335.7 MB, free: 2.125 MB / 266.7 MB Notification: Performance of SimCode: time 1.707e-06/0.3813, allocations: 0 / 335.7 MB, free: 2.125 MB / 266.7 MB Notification: Performance of Templates: time 0.03845/0.4198, allocations: 21.5 MB / 357.2 MB, free: 12.62 MB / 298.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