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.TwoTanks.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.TwoTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank1.level|tank1.medium.T|tank2.level|tank2.medium.T|tank1.aboveLevel.1.|tank2.aboveLevel.1.",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks") Notification: Performance of loadModel(Modelica): time 2.06/2.06, allocations: 194.8 MB / 211.6 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005673/0.0005675, allocations: 8 kB / 263.8 MB, free: 13.61 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09048/0.09108, allocations: 44.51 MB / 308.4 MB, free: 1.023 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks): time 0.02226/0.1134, allocations: 15.13 MB / 323.5 MB, free: 1.84 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01066/0.1241, allocations: 5.445 MB / 328.9 MB, free: 12.39 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009372/0.1251, allocations: 31.69 kB / 329 MB, free: 12.36 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00103/0.1261, allocations: 294.5 kB / 329.2 MB, free: 12.07 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002949/0.1291, allocations: 0.8412 MB / 330.1 MB, free: 11.23 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00452/0.1336, allocations: 1.24 MB / 331.3 MB, free: 9.984 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.00244/0.1361, allocations: 1.187 MB / 332.5 MB, free: 8.793 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007736/0.1369, allocations: 401.4 kB / 332.9 MB, free: 8.391 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001183/0.1381, allocations: 0.5413 MB / 333.4 MB, free: 7.848 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008733/0.139, allocations: 470.3 kB / 333.9 MB, free: 7.387 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001283/0.1392, allocations: 36 kB / 333.9 MB, free: 7.352 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002581/0.1418, allocations: 1.01 MB / 335 MB, free: 6.34 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004363/0.1422, allocations: 199.5 kB / 335.1 MB, free: 6.145 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003295/0.1426, allocations: 165.3 kB / 335.3 MB, free: 5.977 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002476/0.1451, allocations: 1.212 MB / 336.5 MB, free: 4.762 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.96e-06/0.1451, allocations: 0 / 336.5 MB, free: 4.762 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.031e-06/0.1451, allocations: 0 / 336.5 MB, free: 4.762 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.239e-05/0.1451, allocations: 0 / 336.5 MB, free: 4.762 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: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.002508/0.1477, allocations: 1.032 MB / 337.6 MB, free: 3.68 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.1477, allocations: 8.031 kB / 337.6 MB, free: 3.672 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004053/0.1481, allocations: 94.98 kB / 337.7 MB, free: 3.578 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001143/0.1493, allocations: 0.5171 MB / 338.2 MB, free: 3.02 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.427e-05/0.1494, allocations: 44.88 kB / 338.2 MB, free: 2.977 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001224/0.1495, allocations: 55.91 kB / 338.3 MB, free: 2.922 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001679/0.1512, allocations: 0.7372 MB / 339 MB, free: 2.156 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.45e-05/0.1512, allocations: 0 / 339 MB, free: 2.156 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.208e-05/0.1513, allocations: 19.98 kB / 339 MB, free: 2.137 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.751e-05/0.1515, allocations: 48.97 kB / 339.1 MB, free: 2.086 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001656/0.1531, allocations: 0.6909 MB / 339.8 MB, free: 1.395 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.006177/0.1593, allocations: 3.046 MB / 342.8 MB, free: 14.12 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001098/0.1605, allocations: 484.5 kB / 343.3 MB, free: 13.64 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004054/0.1609, allocations: 353.2 kB / 343.6 MB, free: 13.23 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.699e-05/0.161, allocations: 39 kB / 343.7 MB, free: 13.18 MB / 298.7 MB Notification: Performance of pre-optimization done (n=48): time 3.638e-06/0.161, allocations: 0 / 343.7 MB, free: 13.18 MB / 298.7 MB Notification: Performance of matching and sorting (n=58): time 0.007309/0.1683, allocations: 2.312 MB / 346 MB, free: 10.79 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.593e-05/0.1684, allocations: 85.67 kB / 346.1 MB, free: 10.69 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001122/0.1695, allocations: 0.6172 MB / 346.7 MB, free: 10.06 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001164/0.1697, allocations: 41.7 kB / 346.7 MB, free: 10.02 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000328/0.17, allocations: 350.9 kB / 347.1 MB, free: 9.672 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002601/0.1703, allocations: 209.1 kB / 347.3 MB, free: 9.465 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.921e-05/0.1704, allocations: 16 kB / 347.3 MB, free: 9.449 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001903/0.1706, allocations: 342.8 kB / 347.6 MB, free: 9.105 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007485/0.1713, allocations: 297.8 kB / 347.9 MB, free: 8.816 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008856/0.1722, allocations: 477.8 kB / 348.4 MB, free: 8.281 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008232/0.1731, allocations: 351 kB / 348.7 MB, free: 7.941 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.1731, allocations: 0 / 348.7 MB, free: 7.941 MB / 298.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002242/0.1754, allocations: 0.9114 MB / 349.6 MB, free: 7.02 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002123/0.1756, allocations: 231.2 kB / 349.9 MB, free: 6.723 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.858e-05/0.1756, allocations: 11.98 kB / 349.9 MB, free: 6.711 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003151/0.1788, allocations: 416.3 kB / 350.3 MB, free: 6.301 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008301/0.1797, allocations: 151.8 kB / 350.4 MB, free: 6.152 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001259/0.1809, allocations: 0.8254 MB / 351.2 MB, free: 5.301 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007436/0.1817, allocations: 51.81 kB / 351.3 MB, free: 5.25 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.51e-05/0.1818, allocations: 32.05 kB / 351.3 MB, free: 5.219 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.1818, allocations: 8 kB / 351.3 MB, free: 5.211 MB / 298.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002021/0.1839, allocations: 0.8128 MB / 352.2 MB, free: 4.395 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.304e-05/0.1839, allocations: 8 kB / 352.2 MB, free: 4.387 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0024/0.1863, allocations: 288.5 kB / 352.4 MB, free: 4.102 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009263/0.1873, allocations: 151.8 kB / 352.6 MB, free: 3.953 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000911/0.1882, allocations: 0.7007 MB / 353.3 MB, free: 3.227 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005699/0.1888, allocations: 48.03 kB / 353.3 MB, free: 3.18 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-05/0.1889, allocations: 31.98 kB / 353.4 MB, free: 3.148 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.tank1.aboveLevel[1],tank1.aboveLevel[1],$PRE.tank2.aboveLevel[1],tank2.aboveLevel[1],tank2.ports_m_flow_out[1],tank1.ports_m_flow_out[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0006015/0.1895, allocations: 316.8 kB / 353.7 MB, free: 2.828 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002151/0.1898, allocations: 79.09 kB / 353.8 MB, free: 2.75 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002225/0.192, allocations: 0.8658 MB / 354.6 MB, free: 1.867 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.381e-05/0.192, allocations: 8 kB / 354.6 MB, free: 1.859 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.258e-06/0.1921, allocations: 4.047 kB / 354.6 MB, free: 1.855 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.139e-05/0.1921, allocations: 7.922 kB / 354.6 MB, free: 1.848 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004028/0.1961, allocations: 1.719 MB / 356.4 MB, free: 64 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.199e-06/0.1962, allocations: 4 kB / 356.4 MB, free: 60 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006971/0.1969, allocations: 107.9 kB / 356.5 MB, free: 15.95 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002064/0.199, allocations: 356.6 kB / 356.8 MB, free: 15.6 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.87e-05/0.1991, allocations: 12 kB / 356.8 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00115/0.2002, allocations: 0.8099 MB / 357.6 MB, free: 14.75 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.158e-06/0.2003, allocations: 12.08 kB / 357.6 MB, free: 14.74 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002824/0.2031, allocations: 1.279 MB / 358.9 MB, free: 13.44 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002852/0.2034, allocations: 160.1 kB / 359.1 MB, free: 13.26 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001462/0.2036, allocations: 19.94 kB / 359.1 MB, free: 13.24 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006057/0.2042, allocations: 35.98 kB / 359.1 MB, free: 13.21 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001396/0.2044, allocations: 52.48 kB / 359.2 MB, free: 13.16 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.779e-05/0.2045, allocations: 27.97 kB / 359.2 MB, free: 13.13 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0007549/0.2052, allocations: 435 kB / 359.6 MB, free: 12.71 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.52e-07/0.2052, allocations: 4 kB / 359.6 MB, free: 12.71 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001773/0.207, allocations: 0.5232 MB / 360.2 MB, free: 12.18 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (tank1.level,tank1.medium.T,tank2.level,tank2.medium.T) * Number of discrete variables: 2 (tank1.aboveLevel[1],tank2.aboveLevel[1]) * Number of discrete states: 2 (tank2.aboveLevel[1],tank1.aboveLevel[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.001106/0.2081, allocations: 450.7 kB / 360.6 MB, free: 11.73 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002944/0.2111, allocations: 1.153 MB / 361.8 MB, free: 10.59 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.298e-06/0.2111, allocations: 0 / 361.8 MB, free: 10.59 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009713/0.2121, allocations: 388.4 kB / 362.1 MB, free: 10.21 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001882/0.214, allocations: 337.6 kB / 362.5 MB, free: 9.883 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003648/0.2177, allocations: 1.911 MB / 364.4 MB, free: 7.934 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008067/0.2185, allocations: 0.9754 MB / 365.4 MB, free: 6.93 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003663/0.2189, allocations: 67.42 kB / 365.4 MB, free: 6.863 MB / 314.7 MB Notification: Performance of SimCode: time 1.757e-06/0.2189, allocations: 0 / 365.4 MB, free: 6.863 MB / 314.7 MB Notification: Performance of Templates: time 0.2647/0.4837, allocations: 17.29 MB / 382.7 MB, free: 59.84 MB / 314.7 MB "Error: Could not read variable pipe.flowModel.constantPressureLossCoefficient in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks_res.mat. Warning: Get data of variable pipe.flowModel.constantPressureLossCoefficient from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks_res.mat failed! Error: Could not read variable pipe.flowModel.continuousFlowReversal in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks_res.mat. Warning: Get data of variable pipe.flowModel.continuousFlowReversal from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks_res.mat failed! Error: Could not read variable pipe.flowModel.diameters[1] in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks_res.mat. Warning: Get data of variable pipe.flowModel.diameters[1] from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks_res.mat failed! Error: Could not read variable pipe.flowModel.dp_fric_nominal in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks_res.mat. Warning: Get data of variable pipe.flowModel.dp_fric_nominal from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks_res.mat failed! Error: Could not read variable pipe.flowModel.dp_small in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks_res.mat. Warning: Get data of variable pipe.flowModel.dp_small from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks_res.mat failed! Error: Could not read variable pipe.flowModel.mu_nominal in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks_res.mat. Warning: Get data of variable pipe.flowModel.mu_nominal from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks_res.mat failed! Error: Could not read variable pipe.flowModel.rho_nominal in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks_res.mat. Warning: Get data of variable pipe.flowModel.rho_nominal from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks_res.mat failed! Error: Could not read variable pipe.flowModel.use_mu_nominal in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks_res.mat. Warning: Get data of variable pipe.flowModel.use_mu_nominal from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks_res.mat failed! Error: Could not read variable pipe.flowModel.use_rho_nominal in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks_res.mat. Warning: Get data of variable pipe.flowModel.use_rho_nominal from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks_res.mat failed! Error: Could not read variable pipe.port_a_exposesState in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks_res.mat. Warning: Get data of variable pipe.port_a_exposesState from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks_res.mat failed! Error: Could not read variable pipe.port_b_exposesState in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks_res.mat. Warning: Get data of variable pipe.port_b_exposesState from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks_res.mat failed! Error: Could not read variable pipe.showDesignFlowDirection in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks_res.mat. Warning: Get data of variable pipe.showDesignFlowDirection from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks_res.mat failed! Error: Could not read variable tank1.aboveLevel[1] in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks_res.mat. Warning: Get data of variable tank1.aboveLevel[1] from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks_res.mat failed! Error: Could not read variable tank1.bottomArea[1] in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks_res.mat. Warning: Get data of variable tank1.bottomArea[1] from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks_res.mat failed! Error: Could not read variable tank1.initialize_p in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks_res.mat. Warning: Get data of variable tank1.initialize_p from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks_res.mat failed! Error: Could not read variable tank1.levelAbovePort[1] in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks_res.mat. Warning: Get data of variable tank1.levelAbovePort[1] from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks_res.mat failed! Error: Could not read variable tank1.portsData_diameter[1] in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks_res.mat. Warning: Get data of variable tank1.portsData_diameter[1] from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks_res.mat failed! Error: Could not read variable tank1.portsData_height[1] in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks_res.mat. Warning: Get data of variable tank1.portsData_height[1] from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks_res.mat failed! Error: Could not read variable tank1.ports_emptyPipeHysteresis[1] in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks_res.mat. Warning: Get data of variable tank1.ports_emptyPipeHysteresis[1] from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks_res.mat failed! Error: Could not read variable tank1.ports_m_flow_out[1] in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks_res.mat. Warning: Get data of variable tank1.ports_m_flow_out[1] from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks_res.mat failed! Error: Could not read variable tank1.zetas_out[1] in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks_res.mat. Warning: Get data of variable tank1.zetas_out[1] from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks_res.mat failed! Error: Could not read variable tank2.aboveLevel[1] in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks_res.mat. Warning: Get data of variable tank2.aboveLevel[1] from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks_res.mat failed! Error: Could not read variable tank2.bottomArea[1] in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks_res.mat. Warning: Get data of variable tank2.bottomArea[1] from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks_res.mat failed! Error: Could not read variable tank2.initialize_p in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks_res.mat. Warning: Get data of variable tank2.initialize_p from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks_res.mat failed! Error: Could not read variable tank2.levelAbovePort[1] in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks_res.mat. Warning: Get data of variable tank2.levelAbovePort[1] from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks_res.mat failed! Error: Could not read variable tank2.portsData_diameter[1] in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks_res.mat. Warning: Get data of variable tank2.portsData_diameter[1] from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks_res.mat failed! Error: Could not read variable tank2.portsData_height[1] in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks_res.mat. Warning: Get data of variable tank2.portsData_height[1] from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks_res.mat failed! Error: Could not read variable tank2.ports_emptyPipeHysteresis[1] in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks_res.mat. Warning: Get data of variable tank2.ports_emptyPipeHysteresis[1] from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks_res.mat failed! Error: Could not read variable tank2.ports_m_flow_out[1] in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks_res.mat. Warning: Get data of variable tank2.ports_m_flow_out[1] from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks_res.mat failed! Error: Could not read variable tank2.zetas_out[1] in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks_res.mat. Warning: Get data of variable tank2.zetas_out[1] from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks_res.mat failed! " Variables in the reference:time,tank1.level,tank1.medium.T,tank2.level,tank2.medium.T,tank1.aboveLevel[1],tank2.aboveLevel[1] Variables in the result:pipe.V,pipe.allowFlowReversal,pipe.crossArea,pipe.diameter,pipe.flowModel.Fs_fg[1],pipe.flowModel.Fs_p[1],pipe.flowModel.Ib_flows[1],pipe.flowModel.Is[1],pipe.flowModel.Re_turbulent,pipe.flowModel.Res_turbulent_internal[1],pipe.flowModel.allowFlowReversal,pipe.flowModel.crossAreas[1],pipe.flowModel.crossAreas[2],pipe.flowModel.dheights[1],pipe.flowModel.dimensions[1],pipe.flowModel.dimensions[2],pipe.flowModel.dp_nominal,pipe.flowModel.dps_fg[1],pipe.flowModel.from_dp,pipe.flowModel.g,pipe.flowModel.m,pipe.flowModel.m_flow_nominal,pipe.flowModel.m_flow_small,pipe.flowModel.m_flow_start,pipe.flowModel.m_flows[1],pipe.flowModel.momentumDynamics,pipe.flowModel.mus[1],pipe.flowModel.mus[2],pipe.flowModel.mus_act[1],pipe.flowModel.n,pipe.flowModel.nParallel,pipe.flowModel.p_a_start,pipe.flowModel.p_b_start,pipe.flowModel.pathLengths[1],pipe.flowModel.pathLengths_internal[1],pipe.flowModel.rhos[1],pipe.flowModel.rhos[2],pipe.flowModel.rhos_act[1],pipe.flowModel.roughnesses[1],pipe.flowModel.roughnesses[2],pipe.flowModel.show_Res,pipe.flowModel.states[1].T,pipe.flowModel.states[1].p,pipe.flowModel.states[2].T,pipe.flowModel.states[2].p,pipe.flowModel.useUpstreamScheme,pipe.flowModel.use_Ib_flows,pipe.flowModel.vs[1],pipe.flowModel.vs[2],pipe.height_ab,pipe.isCircular,pipe.length,pipe.m_flow_start,pipe.nParallel,pipe.p_a_start,pipe.p_b_start,pipe.perimeter,pipe.port_a.h_outflow,pipe.port_a.m_flow,pipe.port_a.p,pipe.port_b.h_outflow,pipe.port_b.m_flow,pipe.port_b.p,pipe.roughness,stiffCharacteristicForEmptyPort,system.T_ambient,system.T_start,system.allowFlowReversal,system.dp_small,system.energyDynamics,system.eps_m_flow,system.g,system.m_flow_nominal,system.m_flow_small,system.m_flow_start,system.massDynamics,system.momentumDynamics,system.p_ambient,system.p_start,system.substanceDynamics,system.traceDynamics,system.use_eps_Re,tank1.Hb_flow,tank1.Qb_flow,tank1.T_ambient,tank1.T_start,tank1.U,tank1.V,tank1.V0,tank1.Wb_flow,tank1.X_start[1],tank1.crossArea,der(tank1.U),der(tank1.fluidVolume),der(tank1.level),der(tank1.m),tank1.energyDynamics,tank1.fluidVolume,tank1.h_start,tank1.heatTransfer.Q_flows[1],tank1.heatTransfer.T_ambient,tank1.heatTransfer.Ts[1],tank1.heatTransfer.heatPorts[1].Q_flow,tank1.heatTransfer.heatPorts[1].T,tank1.heatTransfer.k,tank1.heatTransfer.n,tank1.heatTransfer.states[1].T,tank1.heatTransfer.states[1].p,tank1.heatTransfer.surfaceAreas[1],tank1.heatTransfer.use_k,tank1.height,tank1.hysteresisFactor,tank1.level,tank1.level_start,tank1.m,tank1.m_flow_small,tank1.massDynamics,tank1.mb_flow,tank1.medium.MM,tank1.medium.R,tank1.medium.T,tank1.medium.T_degC,tank1.medium.X[1],tank1.medium.d,der(tank1.medium.T),der(tank1.medium.T_degC),der(tank1.medium.u),tank1.medium.h,tank1.medium.p,tank1.medium.p_bar,tank1.medium.preferredMediumStates,tank1.medium.standardOrderComponents,tank1.medium.state.T,tank1.medium.state.p,tank1.medium.u,tank1.nPorts,tank1.nTopPorts,tank1.p_ambient,tank1.p_start,tank1.port_b_H_flow_bottom[1],tank1.portsData[1].diameter,tank1.portsData[1].height,tank1.portsData[1].zeta_in,tank1.portsData[1].zeta_out,tank1.ports[1].h_outflow,tank1.ports[1].m_flow,tank1.ports[1].p,tank1.stiffCharacteristicForEmptyPort,tank1.substanceDynamics,tank1.traceDynamics,tank1.use_HeatTransfer,tank1.use_T_start,tank1.zetaLarge,tank2.Hb_flow,tank2.Qb_flow,tank2.T_ambient,tank2.T_start,tank2.U,tank2.V,tank2.V0,tank2.Wb_flow,tank2.X_start[1],tank2.crossArea,der(tank2.U),der(tank2.fluidVolume),der(tank2.level),der(tank2.m),tank2.energyDynamics,tank2.fluidVolume,tank2.h_start,tank2.heatTransfer.Q_flows[1],tank2.heatTransfer.T_ambient,tank2.heatTransfer.Ts[1],tank2.heatTransfer.heatPorts[1].Q_flow,tank2.heatTransfer.heatPorts[1].T,tank2.heatTransfer.k,tank2.heatTransfer.n,tank2.heatTransfer.states[1].T,tank2.heatTransfer.states[1].p,tank2.heatTransfer.surfaceAreas[1],tank2.heatTransfer.use_k,tank2.height,tank2.hysteresisFactor,tank2.level,tank2.level_start,tank2.m,tank2.m_flow_small,tank2.massDynamics,tank2.mb_flow,tank2.medium.MM,tank2.medium.R,tank2.medium.T,tank2.medium.T_degC,tank2.medium.X[1],tank2.medium.d,der(tank2.medium.T),der(tank2.medium.T_degC),der(tank2.medium.u),tank2.medium.h,tank2.medium.p,tank2.medium.p_bar,tank2.medium.preferredMediumStates,tank2.medium.standardOrderComponents,tank2.medium.state.T,tank2.medium.state.p,tank2.medium.u,tank2.nPorts,tank2.nTopPorts,tank2.p_ambient,tank2.p_start,tank2.port_b_H_flow_bottom[1],tank2.portsData[1].diameter,tank2.portsData[1].height,tank2.portsData[1].zeta_in,tank2.portsData[1].zeta_out,tank2.ports[1].h_outflow,tank2.ports[1].m_flow,tank2.ports[1].p,tank2.stiffCharacteristicForEmptyPort,tank2.substanceDynamics,tank2.traceDynamics,tank2.use_HeatTransfer,tank2.use_T_start,tank2.zetaLarge,time