Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe1,fileNamePrefix="Modelica_trunk_cpp_Modelica_Fluid_Examples_AST_BatchPlant_Test_TanksWithEmptyingPipe1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe1,fileNamePrefix="Modelica_trunk_cpp_Modelica_Fluid_Examples_AST_BatchPlant_Test_TanksWithEmptyingPipe1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008976/0.0008976, allocations: 197.4 kB / 17.38 MB, free: 4.312 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.177/1.177, allocations: 226.5 MB / 244.7 MB, free: 8.211 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000735/0.0007347, allocations: 107.2 kB / 296.7 MB, free: 6.875 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002084/0.0002085, allocations: 4 kB / 356.8 MB, free: 10.78 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1765/0.1767, allocations: 51.29 MB / 408.1 MB, free: 27.66 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe1): time 0.02185/0.1986, allocations: 29.93 MB / 438.1 MB, free: 13.66 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01558/0.2142, allocations: 13.58 MB / 451.6 MB, free: 60 kB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001183/0.2155, allocations: 55.5 kB / 451.7 MB, free: 4 kB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001178/0.2166, allocations: 485 kB / 452.2 MB, free: 15.52 MB / 330.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Examples/AST_BatchPlant.mo:1471:62-1471:67:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Examples/AST_BatchPlant.mo:1471:48-1471:55:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Examples/AST_BatchPlant.mo:1484:40-1484:47:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Examples/AST_BatchPlant.mo:1471:62-1471:67:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Examples/AST_BatchPlant.mo:1471:48-1471:55:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Examples/AST_BatchPlant.mo:1484:40-1484:47:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.004395/0.2211, allocations: 2.13 MB / 454.3 MB, free: 13.38 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00645/0.2275, allocations: 2.889 MB / 457.2 MB, free: 10.51 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.004876/0.2324, allocations: 4.892 MB / 462.1 MB, free: 5.598 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001095/0.2335, allocations: 0.8503 MB / 462.9 MB, free: 4.734 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00176/0.2353, allocations: 1.304 MB / 464.2 MB, free: 3.426 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001609/0.2369, allocations: 1.448 MB / 465.7 MB, free: 1.973 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001785/0.2371, allocations: 72 kB / 465.8 MB, free: 1.902 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003678/0.2408, allocations: 2.187 MB / 467.9 MB, free: 15.71 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004646/0.2413, allocations: 486.5 kB / 468.4 MB, free: 15.24 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007474/0.242, allocations: 0.7406 MB / 469.2 MB, free: 14.49 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002749/0.2448, allocations: 2.592 MB / 471.8 MB, free: 11.89 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.2448, allocations: 0 / 471.8 MB, free: 11.89 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2448, allocations: 0 / 471.8 MB, free: 11.89 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.415e-05/0.2448, allocations: 0 / 471.8 MB, free: 11.89 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 256 * Number of variables: 256 Notification: Performance of Generate backend data structure: time 0.00327/0.2481, allocations: 1.826 MB / 473.6 MB, free: 10.01 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.2481, allocations: 8.031 kB / 473.6 MB, free: 10 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001965/0.2483, allocations: 168.3 kB / 473.8 MB, free: 9.832 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004188/0.2488, allocations: 166.2 kB / 473.9 MB, free: 9.668 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001241/0.25, allocations: 0.9482 MB / 474.9 MB, free: 8.676 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.56e-05/0.2501, allocations: 85.91 kB / 474.9 MB, free: 8.59 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000145/0.2502, allocations: 99.88 kB / 475 MB, free: 8.492 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002293/0.2525, allocations: 1.632 MB / 476.7 MB, free: 6.781 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.314e-05/0.2526, allocations: 0 / 476.7 MB, free: 6.781 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001161/0.2527, allocations: 39.98 kB / 476.7 MB, free: 6.742 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001231/0.2528, allocations: 105.9 kB / 476.8 MB, free: 6.641 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002344/0.2552, allocations: 1.635 MB / 478.5 MB, free: 5 MB / 346.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.008497/0.2637, allocations: 6.668 MB / 485.1 MB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001318/0.265, allocations: 0.9262 MB / 486 MB, free: 13 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007697/0.2658, allocations: 0.5488 MB / 486.6 MB, free: 12.46 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00325/0.2691, allocations: 2.821 MB / 489.4 MB, free: 9.383 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.981e-05/0.2691, allocations: 43.22 kB / 489.5 MB, free: 9.332 MB / 362.7 MB Notification: Performance of pre-optimization done (n=80): time 2.094e-06/0.2691, allocations: 0 / 489.5 MB, free: 9.332 MB / 362.7 MB Notification: Performance of matching and sorting (n=90): time 0.007597/0.2767, allocations: 3.715 MB / 493.2 MB, free: 5.504 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.301e-05/0.2768, allocations: 192.9 kB / 493.4 MB, free: 5.273 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001445/0.2782, allocations: 1.298 MB / 494.7 MB, free: 3.957 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.135e-05/0.2783, allocations: 49.69 kB / 494.7 MB, free: 3.902 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004309/0.2788, allocations: 0.6549 MB / 495.4 MB, free: 3.238 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002247/0.279, allocations: 319.5 kB / 495.7 MB, free: 2.922 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.559e-05/0.2791, allocations: 31.94 kB / 495.7 MB, free: 2.891 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001244/0.2792, allocations: 365.8 kB / 496.1 MB, free: 2.527 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008817/0.2801, allocations: 0.5583 MB / 496.6 MB, free: 1.969 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001087/0.2812, allocations: 0.9811 MB / 497.6 MB, free: 0.8125 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001777/0.283, allocations: 1.45 MB / 499.1 MB, free: 15.2 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.283, allocations: 0 / 499.1 MB, free: 15.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.002771/0.2858, allocations: 1.865 MB / 0.4892 GB, free: 13.32 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002129/0.286, allocations: 438.8 kB / 0.4896 GB, free: 12.72 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.38e-05/0.286, allocations: 12 kB / 0.4896 GB, free: 12.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004688/0.2907, allocations: 0.7866 MB / 0.4904 GB, free: 11.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009637/0.2917, allocations: 291.5 kB / 0.4907 GB, free: 11.63 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001691/0.2934, allocations: 2.168 MB / 0.4928 GB, free: 9.383 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001036/0.2945, allocations: 96.02 kB / 0.4929 GB, free: 9.289 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001132/0.2946, allocations: 71.97 kB / 0.4929 GB, free: 9.219 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.264e-06/0.2946, allocations: 4 kB / 0.4929 GB, free: 9.215 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002559/0.2972, allocations: 1.658 MB / 0.4946 GB, free: 7.547 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.302e-05/0.2972, allocations: 12 kB / 0.4946 GB, free: 7.535 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004042/0.3012, allocations: 0.623 MB / 0.4952 GB, free: 6.902 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009841/0.3022, allocations: 295.5 kB / 0.4955 GB, free: 6.613 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001436/0.3037, allocations: 2.012 MB / 0.4974 GB, free: 4.523 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001013/0.3047, allocations: 92.12 kB / 0.4975 GB, free: 4.434 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001079/0.3048, allocations: 63.98 kB / 0.4976 GB, free: 4.371 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 12 ($PRE.tank1.aboveLevel[1],tank1.aboveLevel[1],$PRE.tank1.aboveLevel[2],tank1.aboveLevel[2],$PRE.tank2.aboveLevel[1],tank2.aboveLevel[1],$PRE.tank2.aboveLevel[2],tank2.aboveLevel[2],tank2.ports_m_flow_out[2],tank2.ports_m_flow_out[1],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 (166): * Single equations (assignments): 163 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,2 7,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0006314/0.3055, allocations: 472.6 kB / 0.498 GB, free: 3.898 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001958/0.3057, allocations: 146.2 kB / 0.4982 GB, free: 3.754 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002702/0.3084, allocations: 1.521 MB / 0.4996 GB, free: 2.234 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.017e-05/0.3084, allocations: 8 kB / 0.4997 GB, free: 2.227 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.3084, allocations: 4 kB / 0.4997 GB, free: 2.223 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.154e-05/0.3084, allocations: 11.91 kB / 0.4997 GB, free: 2.211 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1469/0.4553, allocations: 2.794 MB / 0.5024 GB, free: 95.08 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.173e-06/0.4553, allocations: 1.688 kB / 0.5024 GB, free: 95.08 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000725/0.4561, allocations: 154.4 kB / 0.5025 GB, free: 95.08 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002842/0.4589, allocations: 0.6503 MB / 0.5032 GB, free: 95.06 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.759e-05/0.459, allocations: 21.06 kB / 0.5032 GB, free: 95.06 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00128/0.4603, allocations: 2.112 MB / 0.5053 GB, free: 93.51 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.4603, allocations: 0.6562 kB / 0.5053 GB, free: 93.51 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002825/0.4631, allocations: 2.094 MB / 0.5073 GB, free: 92.84 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003183/0.4635, allocations: 244.5 kB / 0.5075 GB, free: 92.71 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001882/0.4636, allocations: 24.81 kB / 0.5076 GB, free: 92.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000788/0.4644, allocations: 77.11 kB / 0.5076 GB, free: 92.69 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002037/0.4647, allocations: 94.97 kB / 0.5077 GB, free: 92.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.43e-05/0.4647, allocations: 44.48 kB / 0.5078 GB, free: 92.67 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0009829/0.4657, allocations: 0.8947 MB / 0.5086 GB, free: 92.31 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4657, allocations: 0 / 0.5086 GB, free: 92.31 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002516/0.4683, allocations: 1.119 MB / 0.5097 GB, free: 92.23 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (tank1.level,tank1.medium.T,tank2.level,tank2.medium.T) * Number of discrete variables: 4 (tank1.aboveLevel[1],tank1.aboveLevel[2],tank2.aboveLevel[1],tank2.aboveLevel[2]) * Number of discrete states: 4 (tank1.aboveLevel[1],tank1.aboveLevel[2],tank2.aboveLevel[1],tank2.aboveLevel[2]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 81 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 12,1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.004048/0.4723, allocations: 3.366 MB / 0.513 GB, free: 90.8 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003393/0.4757, allocations: 2.244 MB / 0.5152 GB, free: 90.08 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.4757, allocations: 0 / 0.5152 GB, free: 90.08 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001059/0.4768, allocations: 0.6814 MB / 0.5159 GB, free: 89.88 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002467/0.4793, allocations: 0.59 MB / 0.5165 GB, free: 89.75 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0107/0.49, allocations: 9.716 MB / 0.5259 GB, free: 79.84 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004603/0.4905, allocations: 1.256 MB / 0.5272 GB, free: 78.55 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005943/0.4911, allocations: 0.5305 MB / 0.5277 GB, free: 78.02 MB / 378.7 MB Notification: Performance of SimCode: time 6.02e-07/0.4911, allocations: 0 / 0.5277 GB, free: 78.02 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.783/6.274, allocations: 46.91 MB / 0.5735 GB, free: 31.07 MB / 378.7 MB (rm -f Modelica_trunk_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe1.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe1.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe1.pipe >> ../files/Modelica_trunk_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe1_res.mat --tempDir=temp_Modelica_trunk_cpp_Modelica_Fluid_Examples_AST_BatchPlant_Test_TanksWithEmptyingPipe1_fmu --startTime=0 --stopTime=120 --timeout=50 --tolerance=1e-06 Modelica_trunk_cpp_Modelica_Fluid_Examples_AST_BatchPlant_Test_TanksWithEmptyingPipe1.fmu > Modelica_trunk_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe1.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Fluid/Examples/AST_BatchPlant/Test/TanksWithEmptyingPipe1/TanksWithEmptyingPipe1.csv","../files/Modelica_trunk_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Warning: Resultfile and Reference have different end time points! Reffile[5019]=120.000000 File[30454]=30.448000 " Variables in the reference:time,tank1.level,tank1.medium.T,tank2.level,tank2.medium.T,tank1.aboveLevel[1],tank1.aboveLevel[2],tank2.aboveLevel[1],tank2.aboveLevel[2] Variables in the result:ambient_fixed1.T,ambient_fixed1.T_in_internal,ambient_fixed1.X[1],ambient_fixed1.X_in_internal[1],ambient_fixed1.flowDirection,ambient_fixed1.medium.MM,ambient_fixed1.medium.R_s,ambient_fixed1.medium.T,ambient_fixed1.medium.T_degC,ambient_fixed1.medium.X[1],ambient_fixed1.medium.d,ambient_fixed1.medium.h,ambient_fixed1.medium.p,ambient_fixed1.medium.p_bar,ambient_fixed1.medium.preferredMediumStates,ambient_fixed1.medium.standardOrderComponents,ambient_fixed1.medium.state.T,ambient_fixed1.medium.state.p,ambient_fixed1.medium.u,ambient_fixed1.nPorts,ambient_fixed1.p,ambient_fixed1.p_in_internal,ambient_fixed1.ports[1].h_outflow,ambient_fixed1.ports[1].m_flow,ambient_fixed1.ports[1].p,ambient_fixed1.use_C_in,ambient_fixed1.use_T_in,ambient_fixed1.use_X_in,ambient_fixed1.use_p_in,ambient_fixed2.T,ambient_fixed2.T_in_internal,ambient_fixed2.X[1],ambient_fixed2.X_in_internal[1],ambient_fixed2.flowDirection,ambient_fixed2.medium.MM,ambient_fixed2.medium.R_s,ambient_fixed2.medium.T,ambient_fixed2.medium.T_degC,ambient_fixed2.medium.X[1],ambient_fixed2.medium.d,ambient_fixed2.medium.h,ambient_fixed2.medium.p,ambient_fixed2.medium.p_bar,ambient_fixed2.medium.preferredMediumStates,ambient_fixed2.medium.standardOrderComponents,ambient_fixed2.medium.state.T,ambient_fixed2.medium.state.p,ambient_fixed2.medium.u,ambient_fixed2.nPorts,ambient_fixed2.p,ambient_fixed2.p_in_internal,ambient_fixed2.ports[1].h_outflow,ambient_fixed2.ports[1].m_flow,ambient_fixed2.ports[1].p,ambient_fixed2.use_C_in,ambient_fixed2.use_T_in,ambient_fixed2.use_X_in,ambient_fixed2.use_p_in,der(tank1.U),der(tank1.fluidVolume),der(tank1.level),der(tank1.m),der(tank1.medium.T),der(tank1.medium.T_degC),der(tank1.medium.u),der(tank2.U),der(tank2.fluidVolume),der(tank2.level),der(tank2.m),der(tank2.medium.T),der(tank2.medium.T_degC),der(tank2.medium.u),pipe1.V,pipe1.allowFlowReversal,pipe1.crossArea,pipe1.diameter,pipe1.flowModel.Fs_fg[1],pipe1.flowModel.Fs_p[1],pipe1.flowModel.Ib_flows[1],pipe1.flowModel.Is[1],pipe1.flowModel.Re_turbulent,pipe1.flowModel.Res_turbulent_internal[1],pipe1.flowModel.allowFlowReversal,pipe1.flowModel.constantPressureLossCoefficient,pipe1.flowModel.continuousFlowReversal,pipe1.flowModel.crossAreas[1],pipe1.flowModel.crossAreas[2],pipe1.flowModel.dheights[1],pipe1.flowModel.diameters[1],pipe1.flowModel.dimensions[1],pipe1.flowModel.dimensions[2],pipe1.flowModel.dp_fric_nominal,pipe1.flowModel.dp_nominal,pipe1.flowModel.dp_small,pipe1.flowModel.dps_fg[1],pipe1.flowModel.from_dp,pipe1.flowModel.g,pipe1.flowModel.m,pipe1.flowModel.m_flow_nominal,pipe1.flowModel.m_flow_small,pipe1.flowModel.m_flow_start,pipe1.flowModel.m_flows[1],pipe1.flowModel.momentumDynamics,pipe1.flowModel.mu_nominal,pipe1.flowModel.mus[1],pipe1.flowModel.mus[2],pipe1.flowModel.mus_act[1],pipe1.flowModel.n,pipe1.flowModel.nParallel,pipe1.flowModel.p_a_start,pipe1.flowModel.p_b_start,pipe1.flowModel.pathLengths[1],pipe1.flowModel.pathLengths_internal[1],pipe1.flowModel.rho_nominal,pipe1.flowModel.rhos[1],pipe1.flowModel.rhos[2],pipe1.flowModel.rhos_act[1],pipe1.flowModel.roughnesses[1],pipe1.flowModel.roughnesses[2],pipe1.flowModel.show_Res,pipe1.flowModel.states[1].T,pipe1.flowModel.states[1].p,pipe1.flowModel.states[2].T,pipe1.flowModel.states[2].p,pipe1.flowModel.useUpstreamScheme,pipe1.flowModel.use_Ib_flows,pipe1.flowModel.use_mu_nominal,pipe1.flowModel.use_rho_nominal,pipe1.flowModel.vs[1],pipe1.flowModel.vs[2],pipe1.height_ab,pipe1.isCircular,pipe1.length,pipe1.m_flow_start,pipe1.nParallel,pipe1.p_a_start,pipe1.p_b_start,pipe1.perimeter,pipe1.port_a.h_outflow,pipe1.port_a.m_flow,pipe1.port_a.p,pipe1.port_a_exposesState,pipe1.port_b.h_outflow,pipe1.port_b.m_flow,pipe1.port_b.p,pipe1.port_b_exposesState,pipe1.roughness,pipe1.showDesignFlowDirection,pipe2.V,pipe2.allowFlowReversal,pipe2.crossArea,pipe2.diameter,pipe2.flowModel.Fs_fg[1],pipe2.flowModel.Fs_p[1],pipe2.flowModel.Ib_flows[1],pipe2.flowModel.Is[1],pipe2.flowModel.Re_turbulent,pipe2.flowModel.Res_turbulent_internal[1],pipe2.flowModel.allowFlowReversal,pipe2.flowModel.constantPressureLossCoefficient,pipe2.flowModel.continuousFlowReversal,pipe2.flowModel.crossAreas[1],pipe2.flowModel.crossAreas[2],pipe2.flowModel.dheights[1],pipe2.flowModel.diameters[1],pipe2.flowModel.dimensions[1],pipe2.flowModel.dimensions[2],pipe2.flowModel.dp_fric_nominal,pipe2.flowModel.dp_nominal,pipe2.flowModel.dp_small,pipe2.flowModel.dps_fg[1],pipe2.flowModel.from_dp,pipe2.flowModel.g,pipe2.flowModel.m,pipe2.flowModel.m_flow_nominal,pipe2.flowModel.m_flow_small,pipe2.flowModel.m_flow_start,pipe2.flowModel.m_flows[1],pipe2.flowModel.momentumDynamics,pipe2.flowModel.mu_nominal,pipe2.flowModel.mus[1],pipe2.flowModel.mus[2],pipe2.flowModel.mus_act[1],pipe2.flowModel.n,pipe2.flowModel.nParallel,pipe2.flowModel.p_a_start,pipe2.flowModel.p_b_start,pipe2.flowModel.pathLengths[1],pipe2.flowModel.pathLengths_internal[1],pipe2.flowModel.rho_nominal,pipe2.flowModel.rhos[1],pipe2.flowModel.rhos[2],pipe2.flowModel.rhos_act[1],pipe2.flowModel.roughnesses[1],pipe2.flowModel.roughnesses[2],pipe2.flowModel.show_Res,pipe2.flowModel.states[1].T,pipe2.flowModel.states[1].p,pipe2.flowModel.states[2].T,pipe2.flowModel.states[2].p,pipe2.flowModel.useUpstreamScheme,pipe2.flowModel.use_Ib_flows,pipe2.flowModel.use_mu_nominal,pipe2.flowModel.use_rho_nominal,pipe2.flowModel.vs[1],pipe2.flowModel.vs[2],pipe2.height_ab,pipe2.isCircular,pipe2.length,pipe2.m_flow_start,pipe2.nParallel,pipe2.p_a_start,pipe2.p_b_start,pipe2.perimeter,pipe2.port_a.h_outflow,pipe2.port_a.m_flow,pipe2.port_a.p,pipe2.port_a_exposesState,pipe2.port_b.h_outflow,pipe2.port_b.m_flow,pipe2.port_b.p,pipe2.port_b_exposesState,pipe2.roughness,pipe2.showDesignFlowDirection,pipe3.V,pipe3.allowFlowReversal,pipe3.crossArea,pipe3.diameter,pipe3.flowModel.Fs_fg[1],pipe3.flowModel.Fs_p[1],pipe3.flowModel.Ib_flows[1],pipe3.flowModel.Is[1],pipe3.flowModel.Re_turbulent,pipe3.flowModel.Res_turbulent_internal[1],pipe3.flowModel.allowFlowReversal,pipe3.flowModel.constantPressureLossCoefficient,pipe3.flowModel.continuousFlowReversal,pipe3.flowModel.crossAreas[1],pipe3.flowModel.crossAreas[2],pipe3.flowModel.dheights[1],pipe3.flowModel.diameters[1],pipe3.flowModel.dimensions[1],pipe3.flowModel.dimensions[2],pipe3.flowModel.dp_fric_nominal,pipe3.flowModel.dp_nominal,pipe3.flowModel.dp_small,pipe3.flowModel.dps_fg[1],pipe3.flowModel.from_dp,pipe3.flowModel.g,pipe3.flowModel.m,pipe3.flowModel.m_flow_nominal,pipe3.flowModel.m_flow_small,pipe3.flowModel.m_flow_start,pipe3.flowModel.m_flows[1],pipe3.flowModel.momentumDynamics,pipe3.flowModel.mu_nominal,pipe3.flowModel.mus[1],pipe3.flowModel.mus[2],pipe3.flowModel.mus_act[1],pipe3.flowModel.n,pipe3.flowModel.nParallel,pipe3.flowModel.p_a_start,pipe3.flowModel.p_b_start,pipe3.flowModel.pathLengths[1],pipe3.flowModel.pathLengths_internal[1],pipe3.flowModel.rho_nominal,pipe3.flowModel.rhos[1],pipe3.flowModel.rhos[2],pipe3.flowModel.rhos_act[1],pipe3.flowModel.roughnesses[1],pipe3.flowModel.roughnesses[2],pipe3.flowModel.show_Res,pipe3.flowModel.states[1].T,pipe3.flowModel.states[1].p,pipe3.flowModel.states[2].T,pipe3.flowModel.states[2].p,pipe3.flowModel.useUpstreamScheme,pipe3.flowModel.use_Ib_flows,pipe3.flowModel.use_mu_nominal,pipe3.flowModel.use_rho_nominal,pipe3.flowModel.vs[1],pipe3.flowModel.vs[2],pipe3.height_ab,pipe3.isCircular,pipe3.length,pipe3.m_flow_start,pipe3.nParallel,pipe3.p_a_start,pipe3.p_b_start,pipe3.perimeter,pipe3.port_a.h_outflow,pipe3.port_a.m_flow,pipe3.port_a.p,pipe3.port_a_exposesState,pipe3.port_b.h_outflow,pipe3.port_b.m_flow,pipe3.port_b.p,pipe3.port_b_exposesState,pipe3.roughness,pipe3.showDesignFlowDirection,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.aboveLevel[1],tank1.aboveLevel[2],tank1.bottomArea[1],tank1.bottomArea[2],tank1.crossArea,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.initialize_p,tank1.level,tank1.levelAbovePort[1],tank1.levelAbovePort[2],tank1.level_start,tank1.m,tank1.m_flow_small,tank1.massDynamics,tank1.mb_flow,tank1.medium.MM,tank1.medium.R_s,tank1.medium.T,tank1.medium.T_degC,tank1.medium.X[1],tank1.medium.d,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.portsData_diameter2[1],tank1.portsData_diameter2[2],tank1.portsData_diameter[1],tank1.portsData_diameter[2],tank1.portsData_height2[1],tank1.portsData_height2[2],tank1.portsData_height[1],tank1.portsData_height[2],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.ports_emptyPipeHysteresis[1],tank1.ports_emptyPipeHysteresis[2],tank1.ports_m_flow_out[1],tank1.ports_m_flow_out[2],tank1.stiffCharacteristicForEmptyPort,tank1.substanceDynamics,tank1.traceDynamics,tank1.use_HeatTransfer,tank1.use_T_start,tank1.zetaLarge,tank1.zetas_out[1],tank1.zetas_out[2],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.aboveLevel[1],tank2.aboveLevel[2],tank2.bottomArea[1],tank2.bottomArea[2],tank2.crossArea,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.initialize_p,tank2.level,tank2.levelAbovePort[1],tank2.levelAbovePort[2],tank2.level_start,tank2.m,tank2.m_flow_small,tank2.massDynamics,tank2.mb_flow,tank2.medium.MM,tank2.medium.R_s,tank2.medium.T,tank2.medium.T_degC,tank2.medium.X[1],tank2.medium.d,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.port_b_H_flow_bottom[2],tank2.portsData[1].diameter,tank2.portsData[1].height,tank2.portsData[1].zeta_in,tank2.portsData[1].zeta_out,tank2.portsData[2].diameter,tank2.portsData[2].height,tank2.portsData[2].zeta_in,tank2.portsData[2].zeta_out,tank2.portsData_diameter2[1],tank2.portsData_diameter2[2],tank2.portsData_diameter[1],tank2.portsData_diameter[2],tank2.portsData_height2[1],tank2.portsData_height2[2],tank2.portsData_height[1],tank2.portsData_height[2],tank2.ports[1].h_outflow,tank2.ports[1].m_flow,tank2.ports[1].p,tank2.ports[2].h_outflow,tank2.ports[2].m_flow,tank2.ports[2].p,tank2.ports_emptyPipeHysteresis[1],tank2.ports_emptyPipeHysteresis[2],tank2.ports_m_flow_out[1],tank2.ports_m_flow_out[2],tank2.stiffCharacteristicForEmptyPort,tank2.substanceDynamics,tank2.traceDynamics,tank2.use_HeatTransfer,tank2.use_T_start,tank2.zetaLarge,tank2.zetas_out[1],tank2.zetas_out[2],time