Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank") Notification: Performance of loadModel(Modelica): time 1.81/1.81, allocations: 194.8 MB / 211.7 MB, free: 2.992 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000367/0.0003671, allocations: 8 kB / 263.9 MB, free: 13.61 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07974/0.08013, allocations: 44.51 MB / 308.4 MB, free: 1.027 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank): time 0.02236/0.1025, allocations: 14.88 MB / 323.2 MB, free: 2.09 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01138/0.114, allocations: 5.83 MB / 329.1 MB, free: 12.25 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009939/0.115, allocations: 27.75 kB / 329.1 MB, free: 12.23 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001108/0.1161, allocations: 334.5 kB / 329.4 MB, free: 11.9 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002886/0.1191, allocations: 0.814 MB / 330.2 MB, free: 11.08 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005479/0.1246, allocations: 1.434 MB / 331.7 MB, free: 9.645 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002494/0.1271, allocations: 1.222 MB / 332.9 MB, free: 8.418 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009037/0.128, allocations: 441.1 kB / 333.3 MB, free: 7.977 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001493/0.1295, allocations: 0.6075 MB / 333.9 MB, free: 7.367 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009568/0.1305, allocations: 486.3 kB / 334.4 MB, free: 6.891 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001375/0.1307, allocations: 32 kB / 334.4 MB, free: 6.859 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002585/0.1333, allocations: 0.9908 MB / 335.4 MB, free: 5.867 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004312/0.1338, allocations: 207.4 kB / 335.6 MB, free: 5.664 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003505/0.1341, allocations: 169.3 kB / 335.8 MB, free: 5.492 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002468/0.1366, allocations: 1.205 MB / 337 MB, free: 4.285 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.318e-06/0.1366, allocations: 0 / 337 MB, free: 4.285 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.794e-06/0.1367, allocations: 4 kB / 337 MB, free: 4.281 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.249e-05/0.1367, allocations: 0 / 337 MB, free: 4.281 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.002502/0.1392, allocations: 1.084 MB / 338.1 MB, free: 3.137 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.1392, allocations: 8.031 kB / 338.1 MB, free: 3.129 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004575/0.1397, allocations: 98.95 kB / 338.2 MB, free: 3.031 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001193/0.1409, allocations: 0.5502 MB / 338.7 MB, free: 2.441 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001319/0.1411, allocations: 100.4 kB / 338.8 MB, free: 2.332 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001123/0.1412, allocations: 44 kB / 338.9 MB, free: 2.289 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001729/0.1429, allocations: 0.7929 MB / 339.7 MB, free: 1.449 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.53e-05/0.143, allocations: 0 / 339.7 MB, free: 1.449 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001049/0.1431, allocations: 27.98 kB / 339.7 MB, free: 1.422 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.858e-05/0.1432, allocations: 48.95 kB / 339.8 MB, free: 1.371 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001594/0.1448, allocations: 0.6674 MB / 340.4 MB, free: 0.7031 MB / 282.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.006542/0.1514, allocations: 3.485 MB / 343.9 MB, free: 12.98 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009417/0.1524, allocations: 387.2 kB / 344.3 MB, free: 12.6 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00232/0.1547, allocations: 1.292 MB / 345.6 MB, free: 11.17 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000618/0.1554, allocations: 280.9 kB / 345.9 MB, free: 10.88 MB / 298.7 MB Notification: Performance of pre-optimization done (n=35): time 3.693e-06/0.1554, allocations: 0 / 345.9 MB, free: 10.88 MB / 298.7 MB Notification: Performance of matching and sorting (n=40): time 0.004868/0.1603, allocations: 1.717 MB / 347.6 MB, free: 9.047 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001269/0.1604, allocations: 170.5 kB / 347.7 MB, free: 8.844 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001231/0.1617, allocations: 0.6917 MB / 348.4 MB, free: 8.141 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.08e-05/0.1618, allocations: 33.7 kB / 348.5 MB, free: 8.102 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004191/0.1622, allocations: 444.9 kB / 348.9 MB, free: 7.66 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001912/0.1624, allocations: 138.2 kB / 349 MB, free: 7.523 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.945e-05/0.1625, allocations: 8 kB / 349 MB, free: 7.516 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002024/0.1627, allocations: 342.8 kB / 349.4 MB, free: 7.172 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005899/0.1633, allocations: 245.9 kB / 349.6 MB, free: 6.934 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008575/0.1642, allocations: 0.5272 MB / 350.1 MB, free: 6.273 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007728/0.165, allocations: 347.1 kB / 350.5 MB, free: 5.926 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.176e-06/0.165, allocations: 0 / 350.5 MB, free: 5.926 MB / 298.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002228/0.1672, allocations: 0.8693 MB / 351.4 MB, free: 5.039 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003736/0.1676, allocations: 394.9 kB / 351.7 MB, free: 4.52 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.911e-05/0.1677, allocations: 8 kB / 351.7 MB, free: 4.512 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007443/0.1684, allocations: 132.8 kB / 351.9 MB, free: 4.379 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007057/0.1692, allocations: 151.8 kB / 352 MB, free: 4.23 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009213/0.1701, allocations: 0.6771 MB / 352.7 MB, free: 3.527 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008103/0.1709, allocations: 39.98 kB / 352.7 MB, free: 3.488 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.976e-05/0.171, allocations: 39.98 kB / 352.8 MB, free: 3.449 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.1711, allocations: 0 / 352.8 MB, free: 3.449 MB / 298.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00224/0.1733, allocations: 0.8481 MB / 353.6 MB, free: 2.594 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.888e-05/0.1734, allocations: 8 kB / 353.6 MB, free: 2.586 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005132/0.1739, allocations: 117.3 kB / 353.7 MB, free: 2.469 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006741/0.1746, allocations: 151.8 kB / 353.9 MB, free: 2.32 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007897/0.1754, allocations: 0.6459 MB / 354.5 MB, free: 1.648 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005966/0.176, allocations: 47.98 kB / 354.6 MB, free: 1.602 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.01e-05/0.1761, allocations: 39.98 kB / 354.6 MB, free: 1.562 MB / 298.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: 11 ($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,timeTable.nextEventScaled) * 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.0007755/0.1769, allocations: 404.5 kB / 355 MB, free: 1.152 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001877/0.1771, allocations: 83.05 kB / 355.1 MB, free: 1.07 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001686/0.1788, allocations: 0.6198 MB / 355.7 MB, free: 440 kB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.373e-06/0.1788, allocations: 4 kB / 355.7 MB, free: 436 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.667e-06/0.1789, allocations: 0 / 355.7 MB, free: 436 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.041e-06/0.1789, allocations: 0 / 355.7 MB, free: 436 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00288/0.1818, allocations: 1.298 MB / 357 MB, free: 15.06 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.408e-06/0.1818, allocations: 3.984 kB / 357 MB, free: 15.05 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004185/0.1823, allocations: 63.91 kB / 357.1 MB, free: 14.99 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006662/0.1829, allocations: 124.8 kB / 357.2 MB, free: 14.87 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.717e-05/0.183, allocations: 15.98 kB / 357.2 MB, free: 14.85 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008368/0.1839, allocations: 0.6539 MB / 357.9 MB, free: 14.17 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.198e-06/0.1839, allocations: 0 / 357.9 MB, free: 14.17 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002023/0.1859, allocations: 0.9469 MB / 358.8 MB, free: 13.2 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002904/0.1862, allocations: 148.2 kB / 359 MB, free: 13.03 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001528/0.1864, allocations: 23.94 kB / 359 MB, free: 13.01 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000532/0.187, allocations: 23.98 kB / 359 MB, free: 12.98 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001256/0.1871, allocations: 31.94 kB / 359.1 MB, free: 12.95 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.075e-05/0.1872, allocations: 16 kB / 359.1 MB, free: 12.94 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0008458/0.188, allocations: 483.1 kB / 359.5 MB, free: 12.47 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.75e-07/0.1881, allocations: 0 / 359.5 MB, free: 12.47 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001982/0.1901, allocations: 0.5037 MB / 360 MB, free: 11.96 MB / 314.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: 8 ($whenCondition1,tank.ports_m_flow_out[1],tank.aboveLevel[1],timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete states: 8 (timeTable.nextEvent,timeTable.last,timeTable.nextEventScaled,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.001266/0.1913, allocations: 414.8 kB / 360.4 MB, free: 11.56 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002979/0.1943, allocations: 1.182 MB / 361.6 MB, free: 10.36 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.736e-06/0.1944, allocations: 0 / 361.6 MB, free: 10.36 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009279/0.1953, allocations: 350.9 kB / 362 MB, free: 10 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001511/0.1969, allocations: 254.9 kB / 362.2 MB, free: 9.758 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003463/0.2004, allocations: 1.767 MB / 364 MB, free: 7.949 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008177/0.2012, allocations: 0.9733 MB / 365 MB, free: 6.949 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002529/0.2015, allocations: 63.42 kB / 365 MB, free: 6.887 MB / 314.7 MB Notification: Performance of SimCode: time 1.729e-06/0.2015, allocations: 0 / 365 MB, free: 6.887 MB / 314.7 MB Notification: Performance of Templates: time 0.2388/0.4404, allocations: 15.76 MB / 380.8 MB, free: 60 MB / 314.7 MB "Error: Could not read variable ambient_fixed.T_in_internal in file Modelica_3.2.2_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.2_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.2_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.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat failed! Error: Could not read variable ambient_fixed.flowDirection in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat. Warning: Get data of variable ambient_fixed.flowDirection from file Modelica_3.2.2_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.2_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.2_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.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat. Warning: Get data of variable flowSource.T_in_internal from file Modelica_3.2.2_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.2_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.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat failed! Error: Could not read variable flowSource.flowDirection in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat. Warning: Get data of variable flowSource.flowDirection from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat failed! Error: Could not read variable pipe.flowModel.constantPressureLossCoefficient in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat. Warning: Get data of variable pipe.flowModel.constantPressureLossCoefficient from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat failed! Error: Could not read variable pipe.flowModel.continuousFlowReversal in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat. Warning: Get data of variable pipe.flowModel.continuousFlowReversal from file Modelica_3.2.2_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.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat. Warning: Get data of variable pipe.flowModel.diameters[1] from file Modelica_3.2.2_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.2_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.2_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.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat. Warning: Get data of variable pipe.flowModel.dp_small from file Modelica_3.2.2_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.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat. Warning: Get data of variable pipe.flowModel.mu_nominal from file Modelica_3.2.2_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.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat. Warning: Get data of variable pipe.flowModel.rho_nominal from file Modelica_3.2.2_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.2_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.2_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.2_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.2_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.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat. Warning: Get data of variable pipe.port_a_exposesState from file Modelica_3.2.2_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.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat. Warning: Get data of variable pipe.port_b_exposesState from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat failed! Error: Could not read variable pipe.showDesignFlowDirection in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat. Warning: Get data of variable pipe.showDesignFlowDirection from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat failed! Error: Could not read variable tank.aboveLevel[1] in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat. Warning: Get data of variable tank.aboveLevel[1] from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat failed! Error: Could not read variable tank.bottomArea[1] in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat. Warning: Get data of variable tank.bottomArea[1] from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat failed! Error: Could not read variable tank.initialize_p in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat. Warning: Get data of variable tank.initialize_p from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat failed! Error: Could not read variable tank.levelAbovePort[1] in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat. Warning: Get data of variable tank.levelAbovePort[1] from file Modelica_3.2.2_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.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat. Warning: Get data of variable tank.portsData_diameter[1] from file Modelica_3.2.2_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.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat. Warning: Get data of variable tank.portsData_height[1] from file Modelica_3.2.2_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.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat. Warning: Get data of variable tank.ports_emptyPipeHysteresis[1] from file Modelica_3.2.2_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.2_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.2_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.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat. Warning: Get data of variable tank.zetas_out[1] from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat failed! Error: Could not read variable timeTable.a in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat. Warning: Get data of variable timeTable.a from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat failed! Error: Could not read variable timeTable.b in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat. Warning: Get data of variable timeTable.b from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat failed! Error: Could not read variable timeTable.last in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat. Warning: Get data of variable timeTable.last from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat failed! Error: Could not read variable timeTable.nextEvent in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat. Warning: Get data of variable timeTable.nextEvent from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat failed! Error: Could not read variable timeTable.nextEventScaled in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat. Warning: Get data of variable timeTable.nextEventScaled from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat failed! Error: Could not read variable timeTable.timeScaled in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat. Warning: Get data of variable timeTable.timeScaled from file Modelica_3.2.2_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.timeScale,timeTable.y