Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_3.2.3_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_3.2.3_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001541/0.001541, allocations: 103.4 kB / 18.4 MB, free: 4.566 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001714/0.001714, allocations: 191.3 kB / 19.34 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.275/1.275, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001166/0.001166, allocations: 55.91 kB / 329.2 MB, free: 3.305 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0724/0.07358, allocations: 46.61 MB / 375.8 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2): time 0.1602/0.2338, allocations: 21.78 MB / 397.6 MB, free: 15.94 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01375/0.2476, allocations: 9.966 MB / 407.6 MB, free: 8.941 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001041/0.2487, allocations: 25.88 kB / 407.6 MB, free: 8.93 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001047/0.2498, allocations: 403.4 kB / 408 MB, free: 8.691 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003085/0.2529, allocations: 1.421 MB / 409.4 MB, free: 7.91 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006093/0.259, allocations: 2.622 MB / 412 MB, free: 6.324 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002801/0.2618, allocations: 2.565 MB / 414.6 MB, free: 4.871 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007971/0.2626, allocations: 0.6641 MB / 415.3 MB, free: 4.434 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001288/0.2639, allocations: 0.9753 MB / 416.2 MB, free: 3.895 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001229/0.2651, allocations: 0.9699 MB / 417.2 MB, free: 3.332 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001666/0.2653, allocations: 92.97 kB / 417.3 MB, free: 3.332 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002941/0.2683, allocations: 1.711 MB / 419 MB, free: 2.41 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003577/0.2686, allocations: 368.2 kB / 419.4 MB, free: 2.156 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000515/0.2692, allocations: 0.5351 MB / 419.9 MB, free: 1.809 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002699/0.2719, allocations: 2.459 MB / 422.4 MB, free: 252 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.2719, allocations: 1.406 kB / 422.4 MB, free: 252 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.2719, allocations: 0 / 422.4 MB, free: 252 kB / 334.1 MB Notification: Performance of Transformations before backend: time 1.103e-05/0.2719, allocations: 0 / 422.4 MB, free: 252 kB / 334.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.002655/0.2746, allocations: 1.498 MB / 423.9 MB, free: 15.1 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.2746, allocations: 9.625 kB / 423.9 MB, free: 15.1 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003888/0.275, allocations: 110 kB / 424 MB, free: 15.05 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001061/0.2761, allocations: 0.7279 MB / 424.7 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.371e-05/0.2761, allocations: 47.58 kB / 424.8 MB, free: 14.45 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001069/0.2763, allocations: 60.92 kB / 424.8 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001586/0.2778, allocations: 1.067 MB / 425.9 MB, free: 13.4 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.982e-05/0.2779, allocations: 6.75 kB / 425.9 MB, free: 13.39 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.7e-05/0.278, allocations: 31.92 kB / 425.9 MB, free: 13.36 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.164e-05/0.2781, allocations: 65.27 kB / 426 MB, free: 13.3 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001607/0.2797, allocations: 1.032 MB / 427 MB, free: 12.27 MB / 350.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.00597/0.2857, allocations: 4.438 MB / 431.5 MB, free: 7.559 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009177/0.2866, allocations: 0.567 MB / 432 MB, free: 6.984 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004752/0.2871, allocations: 322 kB / 432.3 MB, free: 6.668 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002235/0.2893, allocations: 1.969 MB / 434.3 MB, free: 4.488 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.744e-05/0.2894, allocations: 42.83 kB / 434.3 MB, free: 4.438 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 1.733e-06/0.2894, allocations: 7.938 kB / 434.4 MB, free: 4.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=45): time 0.004274/0.2937, allocations: 1.959 MB / 436.3 MB, free: 2.371 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.259e-05/0.2937, allocations: 162.2 kB / 436.5 MB, free: 2.176 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001069/0.2948, allocations: 0.9273 MB / 437.4 MB, free: 1.223 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.423e-05/0.2949, allocations: 37.7 kB / 437.4 MB, free: 1.18 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003286/0.2952, allocations: 486.8 kB / 437.9 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001337/0.2954, allocations: 161.8 kB / 438.1 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002746/0.2956, allocations: 190.4 kB / 438.3 MB, free: 352 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001164/0.2958, allocations: 341.9 kB / 438.6 MB, free: 4 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005557/0.2963, allocations: 332.7 kB / 438.9 MB, free: 15.68 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007315/0.2971, allocations: 0.6212 MB / 439.5 MB, free: 14.92 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001161/0.2982, allocations: 0.8929 MB / 440.4 MB, free: 13.9 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.2983, allocations: 3.938 kB / 440.4 MB, free: 13.9 MB / 366.1 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.001804/0.3001, allocations: 1.124 MB / 441.6 MB, free: 12.76 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.442e-05/0.3001, allocations: 11.94 kB / 441.6 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.266e-05/0.3001, allocations: 12 kB / 441.6 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002357/0.3025, allocations: 377.7 kB / 441.9 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006371/0.3031, allocations: 179.7 kB / 442.1 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001076/0.3042, allocations: 1.343 MB / 443.5 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006332/0.3049, allocations: 45.22 kB / 443.5 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.71e-05/0.305, allocations: 43.98 kB / 443.6 MB, free: 10.7 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007407/0.3057, allocations: 0.5175 MB / 444.1 MB, free: 10.18 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007089/0.3064, allocations: 0.6229 MB / 444.7 MB, free: 9.418 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001094/0.3075, allocations: 0.8675 MB / 445.6 MB, free: 8.422 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.86e-06/0.3075, allocations: 4 kB / 445.6 MB, free: 8.418 MB / 366.1 MB Notification: Performance of matching and sorting (n=110) (initialization_lambda0): time 0.001735/0.3093, allocations: 1.097 MB / 446.7 MB, free: 7.309 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.3093, allocations: 8.844 kB / 446.7 MB, free: 7.301 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.3093, allocations: 8 kB / 446.7 MB, free: 7.293 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002124/0.3114, allocations: 337.3 kB / 447 MB, free: 6.957 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006058/0.3121, allocations: 183.7 kB / 447.2 MB, free: 6.777 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001073/0.3131, allocations: 1.316 MB / 448.5 MB, free: 5.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006425/0.3138, allocations: 43.97 kB / 448.5 MB, free: 5.367 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.247e-05/0.3139, allocations: 50.47 kB / 448.6 MB, free: 5.32 MB / 366.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.0002198/0.3141, allocations: 244.1 kB / 448.8 MB, free: 5.074 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001568/0.3143, allocations: 94.88 kB / 448.9 MB, free: 4.98 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001604/0.3159, allocations: 0.7888 MB / 449.7 MB, free: 4.188 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/0.3159, allocations: 7.922 kB / 449.7 MB, free: 4.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.3159, allocations: 4 kB / 449.7 MB, free: 4.176 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001638/0.3161, allocations: 164 kB / 449.9 MB, free: 3.996 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001358/0.3162, allocations: 15.94 kB / 449.9 MB, free: 3.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000496/0.3167, allocations: 27.97 kB / 449.9 MB, free: 3.953 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.912e-05/0.3168, allocations: 40.5 kB / 450 MB, free: 3.914 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001692/0.3185, allocations: 0.7812 MB / 450.7 MB, free: 3.117 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001432/0.32, allocations: 1.053 MB / 451.8 MB, free: 2.043 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003929/0.3204, allocations: 252.3 kB / 452 MB, free: 1.793 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000809/0.3212, allocations: 0.652 MB / 452.7 MB, free: 1.129 MB / 366.1 MB Notification: Performance of Backend: time 2.81e-07/0.3212, allocations: 0 / 452.7 MB, free: 1.129 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003922/0.3251, allocations: 1.728 MB / 454.4 MB, free: 15.41 MB / 382.1 MB Notification: Performance of SimCode: time 0.003384/0.3285, allocations: 2.416 MB / 456.8 MB, free: 12.94 MB / 382.1 MB Notification: Performance of Templates: time 0.03944/0.368, allocations: 28.28 MB / 485.1 MB, free: 0.6055 MB / 398.1 MB make -j1 -f Modelica_3.2.3_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2.makefile (rm -f Modelica_3.2.3_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2.pipe ; mkfifo Modelica_3.2.3_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2.pipe >> ../files/Modelica_3.2.3_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2.sim & ./Modelica_3.2.3_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2.pipe 2>&1)