Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank1.level|tank1.medium.T|tank1.aboveLevel.1.|tank1.aboveLevel.2.",fileNamePrefix="Modelica_trunk_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1") translateModel(Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank1.level|tank1.medium.T|tank1.aboveLevel.1.|tank1.aboveLevel.2.",fileNamePrefix="Modelica_trunk_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001051/0.001051, allocations: 114.8 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001141/0.001141, allocations: 208 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.324/1.324, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001123/0.001123, allocations: 63.84 kB / 359.4 MB, free: 12.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2093/0.2105, allocations: 50.55 MB / 409.9 MB, free: 1.531 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1): time 0.02099/0.2315, allocations: 20.73 MB / 430.7 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009289/0.2408, allocations: 7.062 MB / 437.7 MB, free: 5.629 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006836/0.2415, allocations: 23.81 kB / 437.8 MB, free: 5.605 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001032/0.2426, allocations: 361.6 kB / 438.1 MB, free: 5.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002522/0.2451, allocations: 1.127 MB / 439.2 MB, free: 4.117 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004144/0.2493, allocations: 1.853 MB / 441.1 MB, free: 2.277 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002466/0.2518, allocations: 2.14 MB / 443.2 MB, free: 132 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000882/0.2527, allocations: 0.5892 MB / 443.8 MB, free: 15.53 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001382/0.2541, allocations: 0.8293 MB / 444.7 MB, free: 14.7 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001176/0.2553, allocations: 0.759 MB / 445.4 MB, free: 13.93 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002142/0.2555, allocations: 80 kB / 445.5 MB, free: 13.86 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002242/0.2577, allocations: 1.268 MB / 446.8 MB, free: 12.59 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003491/0.2581, allocations: 287.1 kB / 447 MB, free: 12.3 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005906/0.2587, allocations: 473.8 kB / 447.5 MB, free: 11.84 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00247/0.2612, allocations: 1.895 MB / 449.4 MB, free: 9.941 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.2612, allocations: 0 / 449.4 MB, free: 9.941 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.785e-06/0.2612, allocations: 0 / 449.4 MB, free: 9.941 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.565e-05/0.2612, allocations: 3.938 kB / 449.4 MB, free: 9.938 MB / 366.1 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.002614/0.2639, allocations: 1.282 MB / 450.7 MB, free: 8.602 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.2639, allocations: 12.02 kB / 450.7 MB, free: 8.59 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004033/0.2643, allocations: 99.91 kB / 450.8 MB, free: 8.492 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001036/0.2654, allocations: 0.6285 MB / 451.4 MB, free: 7.82 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.316e-05/0.2654, allocations: 41.31 kB / 451.5 MB, free: 7.781 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.767e-05/0.2655, allocations: 55.98 kB / 451.5 MB, free: 7.727 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001413/0.2669, allocations: 0.8829 MB / 452.4 MB, free: 6.793 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.166e-05/0.267, allocations: 3.938 kB / 452.4 MB, free: 6.789 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.304e-05/0.2671, allocations: 28 kB / 452.4 MB, free: 6.762 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.685e-05/0.2671, allocations: 45.28 kB / 452.5 MB, free: 6.719 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001323/0.2685, allocations: 0.8053 MB / 453.3 MB, free: 5.914 MB / 366.1 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.005081/0.2735, allocations: 3.83 MB / 457.1 MB, free: 1.836 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000903/0.2745, allocations: 0.5325 MB / 457.6 MB, free: 1.293 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004193/0.2749, allocations: 282 kB / 457.9 MB, free: 1.016 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003589/0.2753, allocations: 0.5034 MB / 458.4 MB, free: 412 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/0.2753, allocations: 39 kB / 458.5 MB, free: 364 kB / 366.1 MB Notification: Performance of pre-optimization done (n=47): time 2.064e-06/0.2753, allocations: 0 / 458.5 MB, free: 364 kB / 366.1 MB Notification: Performance of matching and sorting (n=52): time 0.004485/0.2798, allocations: 2.124 MB / 460.6 MB, free: 14.14 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.487e-05/0.2799, allocations: 144.9 kB / 460.7 MB, free: 13.96 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008401/0.2807, allocations: 0.7231 MB / 461.4 MB, free: 13.23 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.127e-05/0.2808, allocations: 37.7 kB / 461.5 MB, free: 13.19 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002603/0.2811, allocations: 383.9 kB / 461.9 MB, free: 12.8 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001474/0.2812, allocations: 181.5 kB / 462 MB, free: 12.62 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002467/0.2815, allocations: 154.5 kB / 462.2 MB, free: 12.46 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.2816, allocations: 386.8 kB / 462.6 MB, free: 12.08 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005198/0.2822, allocations: 312.7 kB / 462.9 MB, free: 11.77 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006451/0.2828, allocations: 0.5227 MB / 463.4 MB, free: 11.16 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001077/0.2839, allocations: 0.7701 MB / 464.2 MB, free: 10.31 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.2839, allocations: 0 / 464.2 MB, free: 10.31 MB / 382.1 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001659/0.2856, allocations: 0.9958 MB / 465.2 MB, free: 9.301 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.2856, allocations: 15.97 kB / 465.2 MB, free: 9.285 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.2856, allocations: 4 kB / 465.2 MB, free: 9.281 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001651/0.2873, allocations: 289.4 kB / 465.5 MB, free: 8.992 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005778/0.2879, allocations: 151.7 kB / 465.6 MB, free: 8.844 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001051/0.2889, allocations: 1.307 MB / 466.9 MB, free: 7.484 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005533/0.2895, allocations: 39.97 kB / 467 MB, free: 7.445 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.098e-05/0.2896, allocations: 32 kB / 467 MB, free: 7.414 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006905/0.2903, allocations: 478 kB / 467.5 MB, free: 6.945 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006245/0.2909, allocations: 0.504 MB / 468 MB, free: 6.352 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001031/0.292, allocations: 0.7591 MB / 468.7 MB, free: 5.512 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.169e-06/0.292, allocations: 4 kB / 468.7 MB, free: 5.508 MB / 382.1 MB Notification: Performance of matching and sorting (n=93) (initialization_lambda0): time 0.001636/0.2936, allocations: 0.9528 MB / 469.7 MB, free: 4.539 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.2936, allocations: 8 kB / 469.7 MB, free: 4.531 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.2937, allocations: 4 kB / 469.7 MB, free: 4.527 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001102/0.2948, allocations: 185.8 kB / 469.9 MB, free: 4.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007067/0.2955, allocations: 167.7 kB / 470 MB, free: 4.176 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000764/0.2963, allocations: 1.183 MB / 471.2 MB, free: 2.941 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005387/0.2968, allocations: 43.92 kB / 471.3 MB, free: 2.898 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.76e-05/0.2969, allocations: 31.98 kB / 471.3 MB, free: 2.867 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 6 (tank1.aboveLevel[2],$PRE.tank1.aboveLevel[2],tank1.aboveLevel[1],$PRE.tank1.aboveLevel[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 (85): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0002099/0.2971, allocations: 232.1 kB / 471.5 MB, free: 2.633 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001479/0.2973, allocations: 83.06 kB / 471.6 MB, free: 2.551 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001777/0.299, allocations: 0.9732 MB / 472.6 MB, free: 1.59 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.128e-05/0.2991, allocations: 3.984 kB / 472.6 MB, free: 1.586 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.097e-06/0.2991, allocations: 7.938 kB / 472.6 MB, free: 1.578 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000167/0.2992, allocations: 164 kB / 472.7 MB, free: 1.398 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001272/0.2994, allocations: 12 kB / 472.8 MB, free: 1.387 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004754/0.2999, allocations: 23.98 kB / 472.8 MB, free: 1.363 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001159/0.3, allocations: 52.48 kB / 472.8 MB, free: 1.309 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001879/0.3019, allocations: 0.8906 MB / 473.7 MB, free: 416 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001753/0.3036, allocations: 1.241 MB / 475 MB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004691/0.3041, allocations: 320.3 kB / 475.3 MB, free: 14.83 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006031/0.3047, allocations: 0.5107 MB / 475.8 MB, free: 14.32 MB / 398.1 MB Notification: Performance of Backend: time 6.42e-07/0.3047, allocations: 0 / 475.8 MB, free: 14.32 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003421/0.3082, allocations: 1.43 MB / 477.2 MB, free: 12.9 MB / 398.1 MB Notification: Performance of SimCode: time 0.003291/0.3115, allocations: 2.228 MB / 479.4 MB, free: 10.63 MB / 398.1 MB Notification: Performance of Templates: time 0.03582/0.3473, allocations: 24.93 MB / 0.4925 GB, free: 1.859 MB / 414.1 MB make -j1 -f Modelica_trunk_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1.makefile (rm -f Modelica_trunk_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1.pipe ; mkfifo Modelica_trunk_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1.pipe >> ../files/Modelica_trunk_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1.sim & ./Modelica_trunk_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1.pipe 2>&1)