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.TankWithEmptyingPipe1.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.TankWithEmptyingPipe1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank1.level|tank1.medium.T|tank1.aboveLevel.1.|tank1.aboveLevel.2.",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1") Notification: Performance of loadModel(Modelica): time 2.013/2.013, allocations: 194.8 MB / 211.6 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003584/0.0003588, allocations: 12 kB / 263.9 MB, free: 13.6 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0793/0.07968, allocations: 44.5 MB / 308.4 MB, free: 1.031 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1): time 0.02552/0.1052, allocations: 17.55 MB / 325.9 MB, free: 15.41 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01192/0.1172, allocations: 6.208 MB / 332.1 MB, free: 9.199 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001032/0.1183, allocations: 35.69 kB / 332.2 MB, free: 9.164 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001129/0.1194, allocations: 318.4 kB / 332.5 MB, free: 8.852 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003159/0.1226, allocations: 0.8997 MB / 333.4 MB, free: 7.949 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005276/0.1279, allocations: 1.411 MB / 334.8 MB, free: 6.535 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002544/0.1305, allocations: 1.3 MB / 336.1 MB, free: 5.23 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000935/0.1315, allocations: 482 kB / 336.5 MB, free: 4.746 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001457/0.1329, allocations: 0.6542 MB / 337.2 MB, free: 4.09 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009393/0.1339, allocations: 498.2 kB / 337.7 MB, free: 3.602 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001415/0.1341, allocations: 36 kB / 337.7 MB, free: 3.566 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00283/0.1369, allocations: 1.112 MB / 338.8 MB, free: 2.453 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000388/0.1373, allocations: 227.3 kB / 339.1 MB, free: 2.23 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003239/0.1376, allocations: 181.3 kB / 339.2 MB, free: 2.047 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002506/0.1402, allocations: 1.329 MB / 340.6 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.749e-06/0.1402, allocations: 4 kB / 340.6 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.232e-06/0.1402, allocations: 0 / 340.6 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.192e-05/0.1402, allocations: 0 / 340.6 MB, free: 0.7109 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: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.002618/0.1429, allocations: 1.103 MB / 341.7 MB, free: 15.56 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.01e-05/0.1429, allocations: 19.97 kB / 341.7 MB, free: 15.54 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005043/0.1434, allocations: 98.95 kB / 341.8 MB, free: 15.44 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001367/0.1448, allocations: 0.5856 MB / 342.4 MB, free: 14.82 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.273e-05/0.1449, allocations: 49.28 kB / 342.4 MB, free: 14.77 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000149/0.1451, allocations: 55.98 kB / 342.5 MB, free: 14.71 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001955/0.1471, allocations: 0.8828 MB / 343.4 MB, free: 13.78 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.518e-05/0.1471, allocations: 3.938 kB / 343.4 MB, free: 13.78 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001083/0.1472, allocations: 27.98 kB / 343.4 MB, free: 13.75 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-05/0.1473, allocations: 45.28 kB / 343.4 MB, free: 13.71 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00197/0.1493, allocations: 0.8091 MB / 344.2 MB, free: 12.89 MB / 298.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.007304/0.1566, allocations: 3.907 MB / 348.1 MB, free: 8.707 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001193/0.1579, allocations: 492 kB / 348.6 MB, free: 8.219 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003333/0.1612, allocations: 1.726 MB / 350.4 MB, free: 6.355 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.385e-05/0.1613, allocations: 38.56 kB / 350.4 MB, free: 6.309 MB / 298.7 MB Notification: Performance of pre-optimization done (n=41): time 3.559e-06/0.1613, allocations: 0 / 350.4 MB, free: 6.309 MB / 298.7 MB Notification: Performance of matching and sorting (n=46): time 0.005153/0.1665, allocations: 1.786 MB / 352.2 MB, free: 4.426 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001008/0.1666, allocations: 136.5 kB / 352.3 MB, free: 4.262 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001163/0.1678, allocations: 0.6682 MB / 353 MB, free: 3.582 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.432e-05/0.1679, allocations: 37.7 kB / 353 MB, free: 3.539 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004072/0.1683, allocations: 453.4 kB / 353.5 MB, free: 3.094 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002061/0.1685, allocations: 165.7 kB / 353.6 MB, free: 2.93 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.021e-05/0.1686, allocations: 16 kB / 353.6 MB, free: 2.914 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002001/0.1688, allocations: 346.8 kB / 354 MB, free: 2.566 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006728/0.1695, allocations: 265.8 kB / 354.2 MB, free: 2.305 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009302/0.1705, allocations: 0.5556 MB / 354.8 MB, free: 1.613 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007965/0.1713, allocations: 341.9 kB / 355.1 MB, free: 1.277 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.143e-06/0.1713, allocations: 0 / 355.1 MB, free: 1.277 MB / 298.7 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.002288/0.1736, allocations: 0.9138 MB / 356 MB, free: 360 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003478/0.174, allocations: 379.2 kB / 356.4 MB, free: 15.85 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.961e-05/0.174, allocations: 8 kB / 356.4 MB, free: 15.84 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002118/0.1761, allocations: 277.4 kB / 356.7 MB, free: 15.56 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008455/0.177, allocations: 171.7 kB / 356.9 MB, free: 15.39 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001477/0.1785, allocations: 1.257 MB / 358.1 MB, free: 14.09 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008755/0.1794, allocations: 59.81 kB / 358.2 MB, free: 14.03 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001118/0.1795, allocations: 43.98 kB / 358.2 MB, free: 13.98 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.1795, allocations: 4 kB / 358.2 MB, free: 13.98 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001976/0.1815, allocations: 0.8023 MB / 359 MB, free: 13.18 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.859e-05/0.1816, allocations: 12.88 kB / 359 MB, free: 13.16 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001212/0.1828, allocations: 148.6 kB / 359.2 MB, free: 13.02 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001207/0.184, allocations: 219.7 kB / 359.4 MB, free: 12.8 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006091/0.1847, allocations: 0.5875 MB / 360 MB, free: 12.19 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006809/0.1854, allocations: 59.88 kB / 360 MB, free: 12.13 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001095/0.1855, allocations: 43.98 kB / 360.1 MB, free: 12.09 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.tank1.aboveLevel[1],tank1.aboveLevel[1],$PRE.tank1.aboveLevel[2],tank1.aboveLevel[2],tank1.ports_m_flow_out[2],tank1.ports_m_flow_out[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0006367/0.1862, allocations: 344.6 kB / 360.4 MB, free: 11.74 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002061/0.1864, allocations: 71.16 kB / 360.5 MB, free: 11.67 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002391/0.1888, allocations: 0.8631 MB / 361.4 MB, free: 10.79 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.575e-05/0.1888, allocations: 7.938 kB / 361.4 MB, free: 10.78 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.995e-06/0.1888, allocations: 4 kB / 361.4 MB, free: 10.78 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.654e-05/0.1889, allocations: 8.125 kB / 361.4 MB, free: 10.77 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003624/0.1925, allocations: 1.583 MB / 363 MB, free: 9.113 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.98e-06/0.1925, allocations: 0 / 363 MB, free: 9.113 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005823/0.1931, allocations: 95.88 kB / 363 MB, free: 9.02 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001412/0.1946, allocations: 225.6 kB / 363.3 MB, free: 8.793 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.545e-05/0.1946, allocations: 15.98 kB / 363.3 MB, free: 8.777 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001265/0.1959, allocations: 1.222 MB / 364.5 MB, free: 7.504 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.363e-06/0.196, allocations: 4.031 kB / 364.5 MB, free: 7.5 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00244/0.1984, allocations: 1.109 MB / 365.6 MB, free: 6.359 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002835/0.1987, allocations: 160 kB / 365.8 MB, free: 6.184 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000173/0.1989, allocations: 16 kB / 365.8 MB, free: 6.168 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006138/0.1995, allocations: 43.97 kB / 365.8 MB, free: 6.125 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001631/0.1997, allocations: 48.48 kB / 365.9 MB, free: 6.078 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.924e-05/0.1998, allocations: 23.98 kB / 365.9 MB, free: 6.055 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0008782/0.2007, allocations: 467 kB / 366.4 MB, free: 5.605 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.21e-07/0.2007, allocations: 0 / 366.4 MB, free: 5.605 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002255/0.203, allocations: 0.5778 MB / 366.9 MB, free: 5.027 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (tank1.level,tank1.medium.T) * Number of discrete variables: 2 (tank1.aboveLevel[1],tank1.aboveLevel[2]) * Number of discrete states: 2 (tank1.aboveLevel[2],tank1.aboveLevel[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 5,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001357/0.2044, allocations: 487.8 kB / 367.4 MB, free: 4.555 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002878/0.2073, allocations: 1.103 MB / 368.5 MB, free: 3.453 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.401e-06/0.2073, allocations: 0 / 368.5 MB, free: 3.453 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008417/0.2082, allocations: 327 kB / 368.8 MB, free: 3.137 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001765/0.21, allocations: 303.6 kB / 369.1 MB, free: 2.84 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003725/0.2137, allocations: 1.905 MB / 371 MB, free: 0.8906 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1981/0.4118, allocations: 1 MB / 372 MB, free: 62.65 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004106/0.4123, allocations: 82.77 kB / 372.1 MB, free: 62.64 MB / 314.7 MB Notification: Performance of SimCode: time 1.688e-06/0.4123, allocations: 0.5 kB / 372.1 MB, free: 62.64 MB / 314.7 MB Notification: Performance of Templates: time 0.03432/0.4466, allocations: 21.5 MB / 393.6 MB, free: 52.14 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.TankWithEmptyingPipe1_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.TankWithEmptyingPipe1_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.TankWithEmptyingPipe1_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.TankWithEmptyingPipe1_res.mat failed! Error: Could not read variable ambient_fixed.flowDirection in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable ambient_fixed.flowDirection from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat failed! Error: Could not read variable ambient_fixed.p_in_internal in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable ambient_fixed.p_in_internal from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat failed! Error: Could not read variable flowSource.T_in_internal in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable flowSource.T_in_internal from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat failed! Error: Could not read variable flowSource.X_in_internal[1] in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable flowSource.X_in_internal[1] from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat failed! Error: Could not read variable flowSource.flowDirection in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable flowSource.flowDirection from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat failed! Error: Could not read variable flowSource.m_flow_in_internal in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable flowSource.m_flow_in_internal from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat failed! Error: Could not read variable pipe.flowModel.constantPressureLossCoefficient in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable pipe.flowModel.constantPressureLossCoefficient from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat failed! Error: Could not read variable pipe.flowModel.continuousFlowReversal in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable pipe.flowModel.continuousFlowReversal from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat failed! Error: Could not read variable pipe.flowModel.diameters[1] in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable pipe.flowModel.diameters[1] from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat failed! Error: Could not read variable pipe.flowModel.dp_fric_nominal in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable pipe.flowModel.dp_fric_nominal from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat failed! Error: Could not read variable pipe.flowModel.dp_small in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable pipe.flowModel.dp_small from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat failed! Error: Could not read variable pipe.flowModel.mu_nominal in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable pipe.flowModel.mu_nominal from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat failed! Error: Could not read variable pipe.flowModel.rho_nominal in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable pipe.flowModel.rho_nominal from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat failed! Error: Could not read variable pipe.flowModel.use_mu_nominal in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable pipe.flowModel.use_mu_nominal from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat failed! Error: Could not read variable pipe.flowModel.use_rho_nominal in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable pipe.flowModel.use_rho_nominal from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat failed! Error: Could not read variable pipe.port_a_exposesState in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable pipe.port_a_exposesState from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat failed! Error: Could not read variable pipe.port_b_exposesState in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable pipe.port_b_exposesState from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat failed! Error: Could not read variable pipe.showDesignFlowDirection in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable pipe.showDesignFlowDirection from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat failed! Error: Could not read variable tank1.aboveLevel[1] in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable tank1.aboveLevel[1] from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat failed! Error: Could not read variable tank1.aboveLevel[2] in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable tank1.aboveLevel[2] from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat failed! Error: Could not read variable tank1.bottomArea[1] in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable tank1.bottomArea[1] from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat failed! Error: Could not read variable tank1.bottomArea[2] in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable tank1.bottomArea[2] from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat failed! Error: Could not read variable tank1.initialize_p in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable tank1.initialize_p from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat failed! Error: Could not read variable tank1.levelAbovePort[1] in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable tank1.levelAbovePort[1] from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat failed! Error: Could not read variable tank1.levelAbovePort[2] in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable tank1.levelAbovePort[2] from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat failed! Error: Could not read variable tank1.portsData_diameter[1] in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable tank1.portsData_diameter[1] from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat failed! Error: Could not read variable tank1.portsData_diameter[2] in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable tank1.portsData_diameter[2] from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat failed! Error: Could not read variable tank1.portsData_height[1] in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable tank1.portsData_height[1] from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat failed! Error: Could not read variable tank1.portsData_height[2] in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable tank1.portsData_height[2] from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat failed! Error: Could not read variable tank1.ports_emptyPipeHysteresis[1] in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable tank1.ports_emptyPipeHysteresis[1] from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat failed! Error: Could not read variable tank1.ports_emptyPipeHysteresis[2] in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable tank1.ports_emptyPipeHysteresis[2] from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat failed! Error: Could not read variable tank1.ports_m_flow_out[1] in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable tank1.ports_m_flow_out[1] from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat failed! Error: Could not read variable tank1.ports_m_flow_out[2] in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable tank1.ports_m_flow_out[2] from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat failed! Error: Could not read variable tank1.zetas_out[1] in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable tank1.zetas_out[1] from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat failed! Error: Could not read variable tank1.zetas_out[2] in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable tank1.zetas_out[2] from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat failed! Error: Could not read variable valveDiscrete.port_a_exposesState in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable valveDiscrete.port_a_exposesState from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat failed! Error: Could not read variable valveDiscrete.port_b_exposesState in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable valveDiscrete.port_b_exposesState from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat failed! Error: Could not read variable valveDiscrete.showDesignFlowDirection in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable valveDiscrete.showDesignFlowDirection from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat failed! Error: Could not read variable valveDiscrete.state_a.T in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable valveDiscrete.state_a.T from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat failed! Error: Could not read variable valveDiscrete.state_a.p in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable valveDiscrete.state_a.p from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat failed! Error: Could not read variable valveDiscrete.state_b.T in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable valveDiscrete.state_b.T from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat failed! Error: Could not read variable valveDiscrete.state_b.p in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable valveDiscrete.state_b.p from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat failed! " Variables in the reference:time,tank1.level,tank1.medium.T,tank1.aboveLevel[1],tank1.aboveLevel[2] Variables in the result:ambient_fixed.T,ambient_fixed.X[1],ambient_fixed.medium.MM,ambient_fixed.medium.R,ambient_fixed.medium.T,ambient_fixed.medium.T_degC,ambient_fixed.medium.X[1],ambient_fixed.medium.d,ambient_fixed.medium.h,ambient_fixed.medium.p,ambient_fixed.medium.p_bar,ambient_fixed.medium.preferredMediumStates,ambient_fixed.medium.standardOrderComponents,ambient_fixed.medium.state.T,ambient_fixed.medium.state.p,ambient_fixed.medium.u,ambient_fixed.nPorts,ambient_fixed.p,ambient_fixed.ports[1].h_outflow,ambient_fixed.ports[1].m_flow,ambient_fixed.ports[1].p,flowSource.T,flowSource.X[1],flowSource.m_flow,flowSource.medium.MM,flowSource.medium.R,flowSource.medium.T,flowSource.medium.T_degC,flowSource.medium.X[1],flowSource.medium.d,flowSource.medium.h,flowSource.medium.p,flowSource.medium.p_bar,flowSource.medium.preferredMediumStates,flowSource.medium.standardOrderComponents,flowSource.medium.state.T,flowSource.medium.state.p,flowSource.medium.u,flowSource.nPorts,flowSource.ports[1].h_outflow,flowSource.ports[1].m_flow,flowSource.ports[1].p,open.k,open.y,pipe.V,pipe.allowFlowReversal,pipe.crossArea,pipe.diameter,pipe.flowModel.Fs_fg[1],pipe.flowModel.Fs_p[1],pipe.flowModel.Ib_flows[1],pipe.flowModel.Is[1],pipe.flowModel.Re_turbulent,pipe.flowModel.Res_turbulent_internal[1],pipe.flowModel.allowFlowReversal,pipe.flowModel.crossAreas[1],pipe.flowModel.crossAreas[2],pipe.flowModel.dheights[1],pipe.flowModel.dimensions[1],pipe.flowModel.dimensions[2],pipe.flowModel.dp_nominal,pipe.flowModel.dps_fg[1],pipe.flowModel.from_dp,pipe.flowModel.g,pipe.flowModel.m,pipe.flowModel.m_flow_nominal,pipe.flowModel.m_flow_small,pipe.flowModel.m_flow_start,pipe.flowModel.m_flows[1],pipe.flowModel.momentumDynamics,pipe.flowModel.mus[1],pipe.flowModel.mus[2],pipe.flowModel.mus_act[1],pipe.flowModel.n,pipe.flowModel.nParallel,pipe.flowModel.p_a_start,pipe.flowModel.p_b_start,pipe.flowModel.pathLengths[1],pipe.flowModel.pathLengths_internal[1],pipe.flowModel.rhos[1],pipe.flowModel.rhos[2],pipe.flowModel.rhos_act[1],pipe.flowModel.roughnesses[1],pipe.flowModel.roughnesses[2],pipe.flowModel.show_Res,pipe.flowModel.states[1].T,pipe.flowModel.states[1].p,pipe.flowModel.states[2].T,pipe.flowModel.states[2].p,pipe.flowModel.useUpstreamScheme,pipe.flowModel.use_Ib_flows,pipe.flowModel.vs[1],pipe.flowModel.vs[2],pipe.height_ab,pipe.isCircular,pipe.length,pipe.m_flow_start,pipe.nParallel,pipe.p_a_start,pipe.p_b_start,pipe.perimeter,pipe.port_a.h_outflow,pipe.port_a.m_flow,pipe.port_a.p,pipe.port_b.h_outflow,pipe.port_b.m_flow,pipe.port_b.p,pipe.roughness,system.T_ambient,system.T_start,system.allowFlowReversal,system.dp_small,system.energyDynamics,system.eps_m_flow,system.g,system.m_flow_nominal,system.m_flow_small,system.m_flow_start,system.massDynamics,system.momentumDynamics,system.p_ambient,system.p_start,system.substanceDynamics,system.traceDynamics,system.use_eps_Re,tank1.Hb_flow,tank1.Qb_flow,tank1.T_ambient,tank1.T_start,tank1.U,tank1.V,tank1.V0,tank1.Wb_flow,tank1.X_start[1],tank1.crossArea,der(tank1.U),der(tank1.fluidVolume),der(tank1.level),der(tank1.m),tank1.energyDynamics,tank1.fluidVolume,tank1.h_start,tank1.heatTransfer.Q_flows[1],tank1.heatTransfer.T_ambient,tank1.heatTransfer.Ts[1],tank1.heatTransfer.heatPorts[1].Q_flow,tank1.heatTransfer.heatPorts[1].T,tank1.heatTransfer.k,tank1.heatTransfer.n,tank1.heatTransfer.states[1].T,tank1.heatTransfer.states[1].p,tank1.heatTransfer.surfaceAreas[1],tank1.heatTransfer.use_k,tank1.height,tank1.hysteresisFactor,tank1.level,tank1.level_start,tank1.m,tank1.m_flow_small,tank1.massDynamics,tank1.mb_flow,tank1.medium.MM,tank1.medium.R,tank1.medium.T,tank1.medium.T_degC,tank1.medium.X[1],tank1.medium.d,der(tank1.medium.T),der(tank1.medium.T_degC),der(tank1.medium.u),tank1.medium.h,tank1.medium.p,tank1.medium.p_bar,tank1.medium.preferredMediumStates,tank1.medium.standardOrderComponents,tank1.medium.state.T,tank1.medium.state.p,tank1.medium.u,tank1.nPorts,tank1.nTopPorts,tank1.p_ambient,tank1.p_start,tank1.port_b_H_flow_bottom[1],tank1.port_b_H_flow_bottom[2],tank1.portsData[1].diameter,tank1.portsData[1].height,tank1.portsData[1].zeta_in,tank1.portsData[1].zeta_out,tank1.portsData[2].diameter,tank1.portsData[2].height,tank1.portsData[2].zeta_in,tank1.portsData[2].zeta_out,tank1.ports[1].h_outflow,tank1.ports[1].m_flow,tank1.ports[1].p,tank1.ports[2].h_outflow,tank1.ports[2].m_flow,tank1.ports[2].p,tank1.stiffCharacteristicForEmptyPort,tank1.substanceDynamics,tank1.traceDynamics,tank1.use_HeatTransfer,tank1.use_T_start,tank1.zetaLarge,time,valveDiscrete.V_flow,valveDiscrete.allowFlowReversal,valveDiscrete.dp,valveDiscrete.dp_nominal,valveDiscrete.dp_start,valveDiscrete.k,valveDiscrete.m_flow,valveDiscrete.m_flow_nominal,valveDiscrete.m_flow_small,valveDiscrete.m_flow_start,valveDiscrete.open,valveDiscrete.opening_min,valveDiscrete.port_a.h_outflow,valveDiscrete.port_a.m_flow,valveDiscrete.port_a.p,valveDiscrete.port_a_T,valveDiscrete.port_b.h_outflow,valveDiscrete.port_b.m_flow,valveDiscrete.port_b.p,valveDiscrete.port_b_T,valveDiscrete.show_T,valveDiscrete.show_V_flow