Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe1,fileNamePrefix="Modelica_3_2_3_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_3_2_3_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 3.2.3+maint.om/package.mo): time 0.0007764/0.0007767, allocations: 175 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.112/1.112, allocations: 205.4 MB / 222.9 MB, free: 9.031 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000672/0.000672, allocations: 88.09 kB / 271.2 MB, free: 8.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002701/0.0002701, allocations: 8 kB / 327.6 MB, free: 15.8 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1948/0.1951, allocations: 47.58 MB / 375.2 MB, free: 45.45 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe1): time 0.02121/0.2163, allocations: 29.88 MB / 405.1 MB, free: 18.75 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01283/0.2292, allocations: 13.56 MB / 418.6 MB, free: 5.16 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001492/0.2307, allocations: 59.56 kB / 418.7 MB, free: 5.102 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00135/0.2321, allocations: 476.9 kB / 419.2 MB, free: 4.633 MB / 298.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Examples/AST_BatchPlant.mo:1451:62-1451:67:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Examples/AST_BatchPlant.mo:1451:48-1451:55:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Examples/AST_BatchPlant.mo:1465:40-1465:47:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Examples/AST_BatchPlant.mo:1451:62-1451:67:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Examples/AST_BatchPlant.mo:1451:48-1451:55:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Examples/AST_BatchPlant.mo:1465:40-1465:47:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.004147/0.2363, allocations: 2.119 MB / 421.3 MB, free: 2.504 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006003/0.2423, allocations: 2.905 MB / 424.2 MB, free: 15.61 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.004988/0.2473, allocations: 4.877 MB / 429.1 MB, free: 10.72 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001521/0.2488, allocations: 0.8529 MB / 429.9 MB, free: 9.852 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002271/0.2511, allocations: 1.304 MB / 431.2 MB, free: 8.543 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001657/0.2528, allocations: 1.437 MB / 432.7 MB, free: 7.102 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001838/0.253, allocations: 80 kB / 432.7 MB, free: 7.023 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003605/0.2566, allocations: 2.156 MB / 434.9 MB, free: 4.863 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004567/0.257, allocations: 490.5 kB / 435.4 MB, free: 4.383 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007208/0.2578, allocations: 0.7367 MB / 436.1 MB, free: 3.637 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002546/0.2603, allocations: 2.584 MB / 438.7 MB, free: 1.047 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.2603, allocations: 4 kB / 438.7 MB, free: 1.043 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2603, allocations: 3.938 kB / 438.7 MB, free: 1.039 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.271e-05/0.2604, allocations: 0 / 438.7 MB, free: 1.039 MB / 314.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.003347/0.2637, allocations: 1.815 MB / 440.5 MB, free: 15.17 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.2638, allocations: 12.03 kB / 440.5 MB, free: 15.16 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002064/0.264, allocations: 164.3 kB / 440.7 MB, free: 14.99 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004188/0.2644, allocations: 162.2 kB / 440.9 MB, free: 14.83 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001259/0.2657, allocations: 0.9521 MB / 441.8 MB, free: 13.84 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.424e-05/0.2657, allocations: 85.95 kB / 441.9 MB, free: 13.75 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001519/0.2659, allocations: 95.98 kB / 442 MB, free: 13.65 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002292/0.2682, allocations: 1.617 MB / 443.6 MB, free: 11.95 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.791e-05/0.2682, allocations: 11.84 kB / 443.6 MB, free: 11.94 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001219/0.2684, allocations: 43.97 kB / 443.7 MB, free: 11.9 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001306/0.2685, allocations: 109.9 kB / 443.8 MB, free: 11.79 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002411/0.2709, allocations: 1.635 MB / 445.4 MB, free: 10.16 MB / 330.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.008498/0.2794, allocations: 6.664 MB / 452.1 MB, free: 3.098 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001328/0.2808, allocations: 0.923 MB / 453 MB, free: 2.172 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007752/0.2816, allocations: 0.5582 MB / 453.5 MB, free: 1.613 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003325/0.2849, allocations: 2.82 MB / 456.4 MB, free: 14.54 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.057e-05/0.2849, allocations: 47.22 kB / 456.4 MB, free: 14.48 MB / 346.7 MB Notification: Performance of pre-optimization done (n=80): time 1.824e-06/0.285, allocations: 0 / 456.4 MB, free: 14.48 MB / 346.7 MB Notification: Performance of matching and sorting (n=90): time 0.007564/0.2925, allocations: 3.715 MB / 460.1 MB, free: 10.65 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.186e-05/0.2926, allocations: 188.9 kB / 460.3 MB, free: 10.43 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001451/0.2941, allocations: 1.291 MB / 461.6 MB, free: 9.117 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.025e-05/0.2942, allocations: 53.69 kB / 461.6 MB, free: 9.059 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004579/0.2946, allocations: 0.651 MB / 462.3 MB, free: 8.398 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002392/0.2949, allocations: 327.4 kB / 462.6 MB, free: 8.074 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.587e-05/0.295, allocations: 28 kB / 462.6 MB, free: 8.047 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.2951, allocations: 369.8 kB / 463 MB, free: 7.68 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008634/0.296, allocations: 0.5583 MB / 463.6 MB, free: 7.121 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001125/0.2971, allocations: 0.9849 MB / 464.6 MB, free: 5.957 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001854/0.299, allocations: 1.445 MB / 466 MB, free: 4.348 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.299, allocations: 8 kB / 466 MB, free: 4.34 MB / 346.7 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.002753/0.3018, allocations: 1.857 MB / 467.9 MB, free: 2.465 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002349/0.302, allocations: 441.7 kB / 468.3 MB, free: 1.871 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.164e-05/0.302, allocations: 15.94 kB / 468.3 MB, free: 1.855 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004595/0.3066, allocations: 0.7904 MB / 469.1 MB, free: 1.055 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009469/0.3076, allocations: 291.5 kB / 469.4 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0017/0.3093, allocations: 2.164 MB / 471.5 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000947/0.3103, allocations: 92.02 kB / 471.6 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001105/0.3104, allocations: 71.97 kB / 471.7 MB, free: 14.36 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.949e-06/0.3104, allocations: 0 / 471.7 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002467/0.3129, allocations: 1.658 MB / 473.4 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.349e-05/0.3129, allocations: 16.11 kB / 473.4 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003918/0.3168, allocations: 0.6305 MB / 474 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009216/0.3178, allocations: 291.5 kB / 474.3 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001355/0.3191, allocations: 2.012 MB / 476.3 MB, free: 9.668 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008213/0.32, allocations: 100 kB / 476.4 MB, free: 9.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001012/0.3201, allocations: 63.98 kB / 476.5 MB, free: 9.508 MB / 362.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.0005269/0.3206, allocations: 476.6 kB / 476.9 MB, free: 9.031 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001766/0.3208, allocations: 146.3 kB / 477.1 MB, free: 8.887 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002599/0.3234, allocations: 1.509 MB / 478.6 MB, free: 7.363 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.003e-05/0.3234, allocations: 8 kB / 478.6 MB, free: 7.355 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.3234, allocations: 7.875 kB / 478.6 MB, free: 7.348 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.123e-05/0.3234, allocations: 7.969 kB / 478.6 MB, free: 7.34 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003854/0.3273, allocations: 2.815 MB / 481.4 MB, free: 4.441 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.3273, allocations: 4.125 kB / 481.4 MB, free: 4.438 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006305/0.328, allocations: 151.8 kB / 481.6 MB, free: 4.289 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002677/0.3306, allocations: 0.6308 MB / 482.2 MB, free: 3.648 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.198e-05/0.3307, allocations: 31.98 kB / 482.2 MB, free: 3.617 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001497/0.3322, allocations: 2.102 MB / 484.3 MB, free: 1.438 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.3322, allocations: 8.109 kB / 484.3 MB, free: 1.43 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002724/0.335, allocations: 2.094 MB / 486.4 MB, free: 15.3 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002508/0.3352, allocations: 255.2 kB / 486.7 MB, free: 15.03 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001691/0.3354, allocations: 27.94 kB / 486.7 MB, free: 15 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007555/0.3362, allocations: 67.95 kB / 486.8 MB, free: 14.93 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002054/0.3364, allocations: 100.8 kB / 486.9 MB, free: 14.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.092e-05/0.3365, allocations: 39.98 kB / 486.9 MB, free: 14.8 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0009799/0.3375, allocations: 0.8927 MB / 487.8 MB, free: 13.9 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3375, allocations: 0 / 487.8 MB, free: 13.9 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002101/0.3396, allocations: 1.117 MB / 488.9 MB, free: 12.79 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.00435/0.3439, allocations: 3.372 MB / 492.3 MB, free: 9.359 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00352/0.3475, allocations: 2.248 MB / 494.6 MB, free: 7.117 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.3475, allocations: 0 / 494.6 MB, free: 7.117 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001146/0.3486, allocations: 0.6742 MB / 495.2 MB, free: 6.445 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002551/0.3512, allocations: 0.5903 MB / 495.8 MB, free: 5.859 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1342/0.4854, allocations: 9.682 MB / 0.4937 GB, free: 110.6 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007495/0.4862, allocations: 1.251 MB / 0.4949 GB, free: 109.8 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007249/0.4869, allocations: 0.5358 MB / 0.4954 GB, free: 109.4 MB / 378.7 MB Notification: Performance of SimCode: time 7.52e-07/0.4869, allocations: 0 / 0.4954 GB, free: 109.4 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.944/6.431, allocations: 46.63 MB / 0.5409 GB, free: 69.67 MB / 378.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe1.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe1.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe1.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe1_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Fluid_Examples_AST_BatchPlant_Test_TanksWithEmptyingPipe1_fmu --startTime=0 --stopTime=120 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Fluid_Examples_AST_BatchPlant_Test_TanksWithEmptyingPipe1.fmu > Modelica_3.2.3_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe1.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Fluid/Examples/AST_BatchPlant/Test/TanksWithEmptyingPipe1/TanksWithEmptyingPipe1.csv","../files/Modelica_3.2.3_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,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,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,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,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