Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2.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.TankWithEmptyingPipe2,tolerance=1e-06,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.TankWithEmptyingPipe2") translateModel(Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2,tolerance=1e-06,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.TankWithEmptyingPipe2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001505/0.001505, allocations: 116.2 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001818/0.001818, allocations: 202.7 kB / 19.41 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.332/1.332, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001141/0.001141, allocations: 59.91 kB / 359.4 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1972/0.1983, allocations: 50.54 MB / 409.9 MB, free: 1.605 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2): time 0.02059/0.2189, allocations: 21.93 MB / 431.9 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01158/0.2306, allocations: 9.993 MB / 441.9 MB, free: 1.562 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003737/0.2309, allocations: 31.81 kB / 441.9 MB, free: 1.531 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008013/0.2318, allocations: 401.4 kB / 442.3 MB, free: 1.137 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002412/0.2342, allocations: 1.427 MB / 443.7 MB, free: 15.7 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004737/0.2389, allocations: 2.632 MB / 446.3 MB, free: 13.09 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002247/0.2412, allocations: 2.572 MB / 448.9 MB, free: 10.51 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007258/0.2419, allocations: 0.6678 MB / 449.6 MB, free: 9.82 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001147/0.2431, allocations: 0.989 MB / 450.6 MB, free: 8.828 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001091/0.2442, allocations: 0.9772 MB / 451.5 MB, free: 7.848 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001478/0.2444, allocations: 92 kB / 451.6 MB, free: 7.758 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00253/0.2469, allocations: 1.739 MB / 453.4 MB, free: 6.016 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003383/0.2473, allocations: 363 kB / 453.7 MB, free: 5.66 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005116/0.2478, allocations: 0.5366 MB / 454.3 MB, free: 5.121 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002654/0.2504, allocations: 2.474 MB / 456.7 MB, free: 2.641 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.2504, allocations: 0 / 456.7 MB, free: 2.641 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2505, allocations: 0 / 456.7 MB, free: 2.641 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.431e-05/0.2505, allocations: 0 / 456.7 MB, free: 2.641 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: 164 * Number of variables: 164 Notification: Performance of Generate backend data structure: time 0.002736/0.2532, allocations: 1.499 MB / 458.2 MB, free: 1.09 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/0.2533, allocations: 16.03 kB / 458.3 MB, free: 1.074 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003858/0.2537, allocations: 118.7 kB / 458.4 MB, free: 0.957 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001128/0.2548, allocations: 0.7176 MB / 459.1 MB, free: 200 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.714e-05/0.2548, allocations: 53.3 kB / 459.1 MB, free: 144 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001051/0.255, allocations: 59.98 kB / 459.2 MB, free: 84 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001591/0.2566, allocations: 1.06 MB / 460.3 MB, free: 14.97 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.003e-05/0.2566, allocations: 3.938 kB / 460.3 MB, free: 14.96 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.991e-05/0.2567, allocations: 31.92 kB / 460.3 MB, free: 14.93 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.468e-05/0.2568, allocations: 65.27 kB / 460.4 MB, free: 14.87 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001656/0.2584, allocations: 1.036 MB / 461.4 MB, free: 13.84 MB / 382.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.006115/0.2646, allocations: 4.434 MB / 465.8 MB, free: 9.129 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000948/0.2655, allocations: 0.5642 MB / 466.4 MB, free: 8.559 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004887/0.266, allocations: 322 kB / 466.7 MB, free: 8.242 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002269/0.2683, allocations: 1.969 MB / 468.7 MB, free: 6.059 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.458e-05/0.2684, allocations: 42.89 kB / 468.7 MB, free: 6.008 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 1.633e-06/0.2684, allocations: 0 / 468.7 MB, free: 6.008 MB / 382.1 MB Notification: Performance of matching and sorting (n=45): time 0.004403/0.2728, allocations: 1.962 MB / 470.7 MB, free: 3.953 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.531e-05/0.2728, allocations: 162.2 kB / 470.8 MB, free: 3.758 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001081/0.2739, allocations: 0.9274 MB / 471.8 MB, free: 2.805 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.329e-05/0.274, allocations: 41.7 kB / 471.8 MB, free: 2.758 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003434/0.2744, allocations: 490.8 kB / 472.3 MB, free: 2.27 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001363/0.2745, allocations: 161.7 kB / 472.4 MB, free: 2.109 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002661/0.2748, allocations: 182.5 kB / 472.6 MB, free: 1.922 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.2749, allocations: 337.9 kB / 473 MB, free: 1.586 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005499/0.2755, allocations: 336.7 kB / 473.3 MB, free: 1.254 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007408/0.2762, allocations: 0.6251 MB / 473.9 MB, free: 0.4922 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001173/0.2774, allocations: 0.8851 MB / 474.8 MB, free: 15.48 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.2774, allocations: 0 / 474.8 MB, free: 15.48 MB / 398.1 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.001828/0.2792, allocations: 1.124 MB / 475.9 MB, free: 14.35 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.2793, allocations: 11.94 kB / 475.9 MB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/0.2793, allocations: 12.75 kB / 475.9 MB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002501/0.2818, allocations: 377.2 kB / 476.3 MB, free: 13.95 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006708/0.2825, allocations: 175.7 kB / 476.5 MB, free: 13.78 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001086/0.2836, allocations: 1.35 MB / 477.8 MB, free: 12.38 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006763/0.2843, allocations: 39.97 kB / 477.9 MB, free: 12.34 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.599e-05/0.2844, allocations: 47.98 kB / 477.9 MB, free: 12.29 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007535/0.2851, allocations: 0.5213 MB / 478.4 MB, free: 11.77 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007192/0.2858, allocations: 0.6269 MB / 479.1 MB, free: 11 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001155/0.287, allocations: 0.8714 MB / 479.9 MB, free: 10 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.179e-06/0.287, allocations: 4 kB / 479.9 MB, free: 9.996 MB / 398.1 MB Notification: Performance of matching and sorting (n=110) (initialization_lambda0): time 0.001748/0.2888, allocations: 1.089 MB / 481 MB, free: 8.891 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.2888, allocations: 22.8 kB / 481.1 MB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/0.2888, allocations: 11.94 kB / 481.1 MB, free: 8.859 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002292/0.2911, allocations: 329.3 kB / 481.4 MB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006502/0.2918, allocations: 187.7 kB / 481.6 MB, free: 8.348 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001102/0.2929, allocations: 1.311 MB / 482.9 MB, free: 6.984 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006741/0.2936, allocations: 43.97 kB / 482.9 MB, free: 6.941 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.046e-05/0.2937, allocations: 48.12 kB / 483 MB, free: 6.895 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * 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 (104): * Single equations (assignments): 102 * 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,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0002117/0.2939, allocations: 249.8 kB / 483.2 MB, free: 6.645 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001676/0.2941, allocations: 94.88 kB / 483.3 MB, free: 6.551 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001613/0.2957, allocations: 0.7919 MB / 484.1 MB, free: 5.754 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.662e-06/0.2957, allocations: 0 / 484.1 MB, free: 5.754 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.2957, allocations: 0 / 484.1 MB, free: 5.754 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001923/0.2959, allocations: 171.9 kB / 484.3 MB, free: 5.566 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000126/0.296, allocations: 15.91 kB / 484.3 MB, free: 5.551 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005237/0.2966, allocations: 27.97 kB / 484.3 MB, free: 5.523 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.616e-05/0.2967, allocations: 40.5 kB / 484.3 MB, free: 5.48 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001701/0.2984, allocations: 0.7774 MB / 485.1 MB, free: 4.691 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001428/0.2998, allocations: 1.06 MB / 486.2 MB, free: 3.609 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003789/0.3002, allocations: 256.3 kB / 486.4 MB, free: 3.363 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007805/0.301, allocations: 0.6481 MB / 487.1 MB, free: 2.703 MB / 398.1 MB Notification: Performance of Backend: time 4.51e-07/0.301, allocations: 0 / 487.1 MB, free: 2.703 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003709/0.3047, allocations: 1.707 MB / 488.8 MB, free: 1 MB / 398.1 MB Notification: Performance of SimCode: time 0.003256/0.308, allocations: 2.426 MB / 491.2 MB, free: 14.53 MB / 414.1 MB Notification: Performance of Templates: time 0.03903/0.347, allocations: 28.55 MB / 0.5076 GB, free: 2.113 MB / 430.1 MB make -j1 -f Modelica_trunk_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2.makefile (rm -f Modelica_trunk_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2.pipe ; mkfifo Modelica_trunk_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2.pipe >> ../files/Modelica_trunk_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2.sim & ./Modelica_trunk_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2.pipe 2>&1)