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.OneTank.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.OneTank,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank.level|tank.medium.T|tank.aboveLevel.1.|tank.ports_m_flow_out.1.|timeTable.a|timeTable.b|timeTable.last|timeTable.nextEvent",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank") Notification: Performance of loadModel(Modelica): time 1.625/1.625, allocations: 171.1 MB / 186.7 MB, free: 1.125 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003501/0.0003503, allocations: 8 kB / 233.2 MB, free: 0.957 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06832/0.0687, allocations: 38.76 MB / 271.9 MB, free: 10.11 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank): time 0.1969/0.2656, allocations: 14.85 MB / 286.8 MB, free: 7.699 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.01014/0.2758, allocations: 5.814 MB / 292.6 MB, free: 5.852 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001229/0.2771, allocations: 27.62 kB / 292.6 MB, free: 5.836 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001153/0.2782, allocations: 334.2 kB / 292.9 MB, free: 5.723 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003256/0.2815, allocations: 0.8285 MB / 293.8 MB, free: 5.395 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005866/0.2874, allocations: 1.437 MB / 295.2 MB, free: 4.723 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.002712/0.2902, allocations: 1.212 MB / 296.4 MB, free: 4.141 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009567/0.2911, allocations: 430 kB / 296.8 MB, free: 3.992 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001674/0.2928, allocations: 0.6105 MB / 297.4 MB, free: 3.742 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00102/0.2939, allocations: 484.4 kB / 297.9 MB, free: 3.586 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000157/0.2941, allocations: 30.25 kB / 297.9 MB, free: 3.586 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00281/0.2969, allocations: 0.9835 MB / 298.9 MB, free: 3.293 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004931/0.2974, allocations: 214.3 kB / 299.1 MB, free: 3.16 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003803/0.2978, allocations: 171.4 kB / 299.3 MB, free: 3.062 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002678/0.3005, allocations: 1.196 MB / 300.5 MB, free: 2.332 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.084e-06/0.3006, allocations: 0 / 300.5 MB, free: 2.332 MB / 234.7 MB Notification: Performance of FrontEnd: time 3.054e-06/0.3006, allocations: 7.938 kB / 300.5 MB, free: 2.324 MB / 234.7 MB Notification: Performance of Transformations before backend: time 2.464e-05/0.3006, allocations: 1.125 kB / 300.5 MB, free: 2.324 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.002413/0.3031, allocations: 1.081 MB / 301.6 MB, free: 1.445 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.3031, allocations: 9.094 kB / 301.6 MB, free: 1.445 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005168/0.3036, allocations: 94.16 kB / 301.7 MB, free: 1.402 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001157/0.3048, allocations: 0.5572 MB / 302.2 MB, free: 0.9375 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001009/0.3049, allocations: 90.19 kB / 302.3 MB, free: 0.8555 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001131/0.3051, allocations: 50.33 kB / 302.4 MB, free: 0.8359 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001527/0.3066, allocations: 0.7799 MB / 303.2 MB, free: 332 kB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.744e-05/0.3067, allocations: 5.312 kB / 303.2 MB, free: 328 kB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.106e-05/0.3068, allocations: 18.88 kB / 303.2 MB, free: 316 kB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.557e-05/0.3068, allocations: 45.84 kB / 303.2 MB, free: 300 kB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001479/0.3083, allocations: 0.668 MB / 303.9 MB, free: 15.95 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.006757/0.3151, allocations: 3.47 MB / 307.4 MB, free: 12.89 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009687/0.3161, allocations: 389.8 kB / 307.8 MB, free: 12.69 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002414/0.3186, allocations: 1.28 MB / 309 MB, free: 11.47 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000601/0.3192, allocations: 288.9 kB / 309.3 MB, free: 11.27 MB / 250.7 MB Notification: Performance of pre-optimization done (n=33): time 4.498e-06/0.3192, allocations: 0 / 309.3 MB, free: 11.27 MB / 250.7 MB Notification: Performance of matching and sorting (n=38): time 0.004844/0.3241, allocations: 1.72 MB / 311 MB, free: 10.12 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001225/0.3242, allocations: 174.5 kB / 311.2 MB, free: 9.922 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001174/0.3254, allocations: 0.6881 MB / 311.9 MB, free: 9.52 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000101/0.3255, allocations: 34.48 kB / 311.9 MB, free: 9.484 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004054/0.326, allocations: 443.1 kB / 312.4 MB, free: 9.078 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001752/0.3261, allocations: 130.1 kB / 312.5 MB, free: 8.969 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.981e-05/0.3262, allocations: 14.78 kB / 312.5 MB, free: 8.957 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001949/0.3264, allocations: 342.8 kB / 312.8 MB, free: 8.621 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005456/0.327, allocations: 237.1 kB / 313.1 MB, free: 8.512 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007811/0.3278, allocations: 0.5196 MB / 313.6 MB, free: 8.012 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007396/0.3285, allocations: 338.4 kB / 313.9 MB, free: 7.824 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.669e-06/0.3286, allocations: 3.469 kB / 313.9 MB, free: 7.824 MB / 250.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00224/0.3308, allocations: 0.8914 MB / 314.8 MB, free: 7.363 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003736/0.3312, allocations: 391.6 kB / 315.2 MB, free: 6.867 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.424e-05/0.3312, allocations: 10.75 kB / 315.2 MB, free: 6.863 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007412/0.332, allocations: 136.8 kB / 315.3 MB, free: 6.727 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000711/0.3327, allocations: 151.7 kB / 315.5 MB, free: 6.578 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008789/0.3336, allocations: 0.6771 MB / 316.2 MB, free: 5.875 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008448/0.3345, allocations: 43.92 kB / 316.2 MB, free: 5.832 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.599e-05/0.3346, allocations: 39.98 kB / 316.2 MB, free: 5.793 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.3346, allocations: 4 kB / 316.2 MB, free: 5.789 MB / 250.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002297/0.3369, allocations: 0.8794 MB / 317.1 MB, free: 4.902 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.865e-05/0.337, allocations: 11.94 kB / 317.1 MB, free: 4.891 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005217/0.3375, allocations: 113.2 kB / 317.3 MB, free: 4.777 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007042/0.3383, allocations: 151.8 kB / 317.4 MB, free: 4.629 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000769/0.339, allocations: 0.6421 MB / 318 MB, free: 3.961 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006201/0.3397, allocations: 44.91 kB / 318.1 MB, free: 3.918 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.938e-05/0.3398, allocations: 36 kB / 318.1 MB, free: 3.883 MB / 250.7 MB Warning: Assuming fixed start value for the following 2 variables: tank.medium.T:VARIABLE(min = max(1.0, max(1.0, 1.0)) max = min(10000.0, min(10000.0, 10000.0)) start = tank.T_start unit = "K" fixed = true nominal = 300.0 stateSelect=StateSelect.prefer ) "Temperature of medium" type: Real tank.level:VARIABLE(start = tank.level_start unit = "m" fixed = true stateSelect=StateSelect.prefer ) "Fluid level in the tank" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$PRE.tank.ports_m_flow_out[1],tank.ports_m_flow_out[1],$PRE.tank.aboveLevel[1],tank.aboveLevel[1],timeTable.a,timeTable.b,timeTable.last,$PRE.timeTable.nextEvent,timeTable.nextEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 1 * 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 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.000771/0.3406, allocations: 395.5 kB / 318.5 MB, free: 3.484 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001841/0.3408, allocations: 75.06 kB / 318.6 MB, free: 3.41 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00168/0.3425, allocations: 0.6541 MB / 319.2 MB, free: 2.734 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.04e-05/0.3425, allocations: 4 kB / 319.2 MB, free: 2.73 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.559e-06/0.3425, allocations: 4 kB / 319.2 MB, free: 2.727 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.443e-06/0.3425, allocations: 3.984 kB / 319.2 MB, free: 2.723 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002785/0.3453, allocations: 1.297 MB / 320.5 MB, free: 1.359 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.358e-06/0.3454, allocations: 0 / 320.5 MB, free: 1.359 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000413/0.3458, allocations: 67.89 kB / 320.6 MB, free: 1.293 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006461/0.3464, allocations: 120.8 kB / 320.7 MB, free: 1.172 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.508e-05/0.3465, allocations: 15.97 kB / 320.7 MB, free: 1.156 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008032/0.3473, allocations: 0.6615 MB / 321.4 MB, free: 480 kB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.708e-06/0.3474, allocations: 0 / 321.4 MB, free: 480 kB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001965/0.3493, allocations: 0.9506 MB / 322.4 MB, free: 15.48 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000275/0.3496, allocations: 148.2 kB / 322.5 MB, free: 15.32 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001475/0.3498, allocations: 19.77 kB / 322.5 MB, free: 15.3 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005154/0.3503, allocations: 23.98 kB / 322.5 MB, free: 15.28 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001309/0.3505, allocations: 35.94 kB / 322.6 MB, free: 15.25 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.444e-05/0.3505, allocations: 12 kB / 322.6 MB, free: 15.23 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0008309/0.3514, allocations: 487 kB / 323.1 MB, free: 14.76 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.73e-07/0.3514, allocations: 0 / 323.1 MB, free: 14.76 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.001962/0.3534, allocations: 0.4959 MB / 323.6 MB, free: 14.27 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (tank.level,tank.medium.T) * Number of discrete variables: 7 ($whenCondition1,tank.ports_m_flow_out[1],tank.aboveLevel[1],timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent) * Number of discrete states: 7 (timeTable.last,timeTable.nextEvent,timeTable.b,timeTable.a,$whenCondition1,tank.aboveLevel[1],tank.ports_m_flow_out[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 1 * 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 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001222/0.3546, allocations: 413.3 kB / 324 MB, free: 13.86 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.002785/0.3574, allocations: 1.12 MB / 325.1 MB, free: 12.71 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/0.3575, allocations: 0 / 325.1 MB, free: 12.71 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008454/0.3583, allocations: 319.1 kB / 325.4 MB, free: 12.39 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001535/0.3599, allocations: 253.9 kB / 325.6 MB, free: 12.15 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003415/0.3633, allocations: 1.739 MB / 327.4 MB, free: 10.37 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008069/0.3641, allocations: 0.9733 MB / 328.4 MB, free: 9.363 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000255/0.3644, allocations: 59.42 kB / 328.4 MB, free: 9.305 MB / 266.7 MB Notification: Performance of SimCode: time 3.677e-06/0.3644, allocations: 4 kB / 328.4 MB, free: 9.301 MB / 266.7 MB Notification: Performance of Templates: time 0.02904/0.3935, allocations: 15.64 MB / 344.1 MB, free: 9.668 MB / 282.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.OneTank_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.OneTank_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.OneTank_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.OneTank_res.mat failed! Error: Could not read variable ambient_fixed.flowDirection in file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat. Warning: Get data of variable ambient_fixed.flowDirection from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_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.OneTank_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.OneTank_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.OneTank_res.mat. Warning: Get data of variable flowSource.T_in_internal from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_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.OneTank_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.OneTank_res.mat failed! Error: Could not read variable flowSource.flowDirection in file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat. Warning: Get data of variable flowSource.flowDirection from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat failed! Error: Could not read variable pipe.flowModel.constantPressureLossCoefficient in file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat. Warning: Get data of variable pipe.flowModel.constantPressureLossCoefficient from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat failed! Error: Could not read variable pipe.flowModel.continuousFlowReversal in file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat. Warning: Get data of variable pipe.flowModel.continuousFlowReversal from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_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.OneTank_res.mat. Warning: Get data of variable pipe.flowModel.diameters[1] from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_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.OneTank_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.OneTank_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.OneTank_res.mat. Warning: Get data of variable pipe.flowModel.dp_small from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_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.OneTank_res.mat. Warning: Get data of variable pipe.flowModel.mu_nominal from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_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.OneTank_res.mat. Warning: Get data of variable pipe.flowModel.rho_nominal from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_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.OneTank_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.OneTank_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.OneTank_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.OneTank_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.OneTank_res.mat. Warning: Get data of variable pipe.port_a_exposesState from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_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.OneTank_res.mat. Warning: Get data of variable pipe.port_b_exposesState from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat failed! Error: Could not read variable pipe.showDesignFlowDirection in file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat. Warning: Get data of variable pipe.showDesignFlowDirection from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat failed! Error: Could not read variable tank.aboveLevel[1] in file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat. Warning: Get data of variable tank.aboveLevel[1] from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat failed! Error: Could not read variable tank.bottomArea[1] in file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat. Warning: Get data of variable tank.bottomArea[1] from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat failed! Error: Could not read variable tank.initialize_p in file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat. Warning: Get data of variable tank.initialize_p from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat failed! Error: Could not read variable tank.levelAbovePort[1] in file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat. Warning: Get data of variable tank.levelAbovePort[1] from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat failed! Error: Could not read variable tank.portsData_diameter[1] in file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat. Warning: Get data of variable tank.portsData_diameter[1] from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat failed! Error: Could not read variable tank.portsData_height[1] in file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat. Warning: Get data of variable tank.portsData_height[1] from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat failed! Error: Could not read variable tank.ports_emptyPipeHysteresis[1] in file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat. Warning: Get data of variable tank.ports_emptyPipeHysteresis[1] from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat failed! Error: Could not read variable tank.ports_m_flow_out[1] in file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat. Warning: Get data of variable tank.ports_m_flow_out[1] from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat failed! Error: Could not read variable tank.zetas_out[1] in file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat. Warning: Get data of variable tank.zetas_out[1] from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat failed! Error: Could not read variable timeTable.a in file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat. Warning: Get data of variable timeTable.a from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat failed! Error: Could not read variable timeTable.b in file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat. Warning: Get data of variable timeTable.b from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat failed! Error: Could not read variable timeTable.last in file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat. Warning: Get data of variable timeTable.last from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat failed! Error: Could not read variable timeTable.nextEvent in file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat. Warning: Get data of variable timeTable.nextEvent from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat failed! " Variables in the reference:time,tank.level,tank.medium.T,tank.aboveLevel[1],tank.ports_m_flow_out[1],timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent 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.m_flow_in,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,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,tank.H_flow_top[1],tank.Hb_flow,tank.Qb_flow,tank.T_ambient,tank.T_start,tank.U,tank.V,tank.V0,tank.Wb_flow,tank.X_start[1],tank.crossArea,der(tank.U),der(tank.fluidVolume),der(tank.level),der(tank.m),tank.energyDynamics,tank.fluidVolume,tank.h_start,tank.heatTransfer.Q_flows[1],tank.heatTransfer.T_ambient,tank.heatTransfer.Ts[1],tank.heatTransfer.heatPorts[1].Q_flow,tank.heatTransfer.heatPorts[1].T,tank.heatTransfer.k,tank.heatTransfer.n,tank.heatTransfer.states[1].T,tank.heatTransfer.states[1].p,tank.heatTransfer.surfaceAreas[1],tank.heatTransfer.use_k,tank.height,tank.hysteresisFactor,tank.level,tank.level_start,tank.m,tank.m_flow_small,tank.massDynamics,tank.mb_flow,tank.medium.MM,tank.medium.R,tank.medium.T,tank.medium.T_degC,tank.medium.X[1],tank.medium.d,der(tank.medium.T),der(tank.medium.T_degC),der(tank.medium.u),tank.medium.h,tank.medium.p,tank.medium.p_bar,tank.medium.preferredMediumStates,tank.medium.standardOrderComponents,tank.medium.state.T,tank.medium.state.p,tank.medium.u,tank.nPorts,tank.nTopPorts,tank.p_ambient,tank.p_start,tank.port_b_H_flow_bottom[1],tank.portsData[1].diameter,tank.portsData[1].height,tank.portsData[1].zeta_in,tank.portsData[1].zeta_out,tank.ports[1].h_outflow,tank.ports[1].m_flow,tank.ports[1].p,tank.stiffCharacteristicForEmptyPort,tank.substanceDynamics,tank.topPorts[1].h_outflow,tank.topPorts[1].m_flow,tank.topPorts[1].p,tank.traceDynamics,tank.use_HeatTransfer,tank.use_T_start,tank.zetaLarge,time,timeTable.offset,timeTable.startTime,timeTable.table[1,1],timeTable.table[1,2],timeTable.table[10,1],timeTable.table[10,2],timeTable.table[11,1],timeTable.table[11,2],timeTable.table[12,1],timeTable.table[12,2],timeTable.table[13,1],timeTable.table[13,2],timeTable.table[2,1],timeTable.table[2,2],timeTable.table[3,1],timeTable.table[3,2],timeTable.table[4,1],timeTable.table[4,2],timeTable.table[5,1],timeTable.table[5,2],timeTable.table[6,1],timeTable.table[6,2],timeTable.table[7,1],timeTable.table[7,2],timeTable.table[8,1],timeTable.table[8,2],timeTable.table[9,1],timeTable.table[9,2],timeTable.y