Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1.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.TankWithEmptyingPipe1,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.TankWithEmptyingPipe1") translateModel(Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1,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.TankWithEmptyingPipe1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 109.7 kB / 18.4 MB, free: 4.676 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.0011/0.0011, allocations: 187 kB / 19.34 MB, free: 3.754 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.247/1.247, allocations: 205.1 MB / 225.2 MB, free: 12.22 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.001165/0.001165, allocations: 55.92 kB / 329.2 MB, free: 3.293 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07189/0.07306, allocations: 46.61 MB / 375.8 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1): time 0.1596/0.2326, allocations: 20.59 MB / 396.4 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009269/0.242, allocations: 6.995 MB / 403.4 MB, free: 11.89 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004811/0.2425, allocations: 22.28 kB / 403.4 MB, free: 11.89 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009154/0.2434, allocations: 374.3 kB / 403.8 MB, free: 11.66 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002251/0.2457, allocations: 1.105 MB / 404.9 MB, free: 11.04 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003897/0.2496, allocations: 1.854 MB / 406.8 MB, free: 10.2 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002133/0.2518, allocations: 2.139 MB / 408.9 MB, free: 9.203 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008378/0.2526, allocations: 0.5773 MB / 409.5 MB, free: 8.828 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001353/0.254, allocations: 0.8323 MB / 410.3 MB, free: 8.367 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00117/0.2552, allocations: 0.753 MB / 411.1 MB, free: 7.93 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001843/0.2553, allocations: 75.69 kB / 411.1 MB, free: 7.93 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002062/0.2574, allocations: 1.248 MB / 412.4 MB, free: 7.273 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003428/0.2578, allocations: 292.5 kB / 412.7 MB, free: 7.066 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006193/0.2584, allocations: 466.9 kB / 413.1 MB, free: 6.773 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002389/0.2608, allocations: 1.89 MB / 415 MB, free: 5.555 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.86e-06/0.2608, allocations: 4 kB / 415 MB, free: 5.551 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2608, allocations: 0.875 kB / 415 MB, free: 5.551 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.163e-05/0.2608, allocations: 0 / 415 MB, free: 5.551 MB / 334.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.002578/0.2634, allocations: 1.271 MB / 416.3 MB, free: 4.562 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.2635, allocations: 9.562 kB / 416.3 MB, free: 4.562 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004084/0.2639, allocations: 98.41 kB / 416.4 MB, free: 4.52 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001043/0.2649, allocations: 0.6403 MB / 417 MB, free: 3.988 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.31e-05/0.265, allocations: 41.62 kB / 417.1 MB, free: 3.973 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001012/0.2651, allocations: 60.47 kB / 417.1 MB, free: 3.949 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00144/0.2666, allocations: 0.8815 MB / 418 MB, free: 3.371 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.316e-05/0.2666, allocations: 5.156 kB / 418 MB, free: 3.367 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.03e-05/0.2667, allocations: 22.97 kB / 418 MB, free: 3.352 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.624e-05/0.2667, allocations: 46.31 kB / 418.1 MB, free: 3.34 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00129/0.268, allocations: 0.8106 MB / 418.9 MB, free: 2.938 MB / 334.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.005116/0.2732, allocations: 3.824 MB / 422.7 MB, free: 15.61 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009269/0.2741, allocations: 0.5425 MB / 423.3 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004197/0.2745, allocations: 276.6 kB / 423.5 MB, free: 15.18 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003684/0.2749, allocations: 0.5016 MB / 424 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.738e-05/0.275, allocations: 39.25 kB / 424.1 MB, free: 14.55 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 1.974e-06/0.275, allocations: 4 kB / 424.1 MB, free: 14.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=52): time 0.004529/0.2795, allocations: 2.123 MB / 426.2 MB, free: 12.6 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.334e-05/0.2796, allocations: 137 kB / 426.3 MB, free: 12.43 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008556/0.2804, allocations: 0.727 MB / 427.1 MB, free: 11.7 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.535e-05/0.2805, allocations: 37.7 kB / 427.1 MB, free: 11.66 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002764/0.2808, allocations: 380 kB / 427.5 MB, free: 11.28 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001561/0.281, allocations: 185.4 kB / 427.7 MB, free: 11.09 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002395/0.2812, allocations: 150.6 kB / 427.8 MB, free: 10.94 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001637/0.2814, allocations: 386.8 kB / 428.2 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005175/0.2819, allocations: 312.7 kB / 428.5 MB, free: 10.25 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006596/0.2826, allocations: 0.5114 MB / 429 MB, free: 9.641 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001101/0.2837, allocations: 0.7778 MB / 429.8 MB, free: 8.785 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.2837, allocations: 0 / 429.8 MB, free: 8.785 MB / 350.1 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001677/0.2854, allocations: 0.9953 MB / 430.8 MB, free: 7.773 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.2854, allocations: 11.94 kB / 430.8 MB, free: 7.762 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.2854, allocations: 4 kB / 430.8 MB, free: 7.758 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001668/0.2871, allocations: 301.9 kB / 431.1 MB, free: 7.457 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005718/0.2877, allocations: 147.8 kB / 431.2 MB, free: 7.312 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001098/0.2888, allocations: 1.305 MB / 432.5 MB, free: 5.957 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005461/0.2894, allocations: 36.84 kB / 432.6 MB, free: 5.922 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.024e-05/0.2894, allocations: 32 kB / 432.6 MB, free: 5.891 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007065/0.2901, allocations: 485.8 kB / 433.1 MB, free: 5.41 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006469/0.2908, allocations: 0.5079 MB / 433.6 MB, free: 4.812 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001064/0.2919, allocations: 0.7514 MB / 434.3 MB, free: 3.98 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.147e-05/0.2919, allocations: 4 kB / 434.3 MB, free: 3.977 MB / 350.1 MB Notification: Performance of matching and sorting (n=93) (initialization_lambda0): time 0.001638/0.2935, allocations: 0.9483 MB / 435.3 MB, free: 3.012 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.2936, allocations: 8 kB / 435.3 MB, free: 3.004 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.2936, allocations: 8 kB / 435.3 MB, free: 2.996 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001088/0.2947, allocations: 186.1 kB / 435.5 MB, free: 2.809 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006992/0.2954, allocations: 171.7 kB / 435.6 MB, free: 2.641 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008119/0.2962, allocations: 1.175 MB / 436.8 MB, free: 1.414 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005462/0.2968, allocations: 46.3 kB / 436.9 MB, free: 1.371 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.741e-05/0.2968, allocations: 35.98 kB / 436.9 MB, free: 1.336 MB / 350.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.0002129/0.2971, allocations: 228 kB / 437.1 MB, free: 1.105 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001521/0.2972, allocations: 79.06 kB / 437.2 MB, free: 1.027 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001785/0.299, allocations: 0.9827 MB / 438.2 MB, free: 40 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.708e-06/0.299, allocations: 3.984 kB / 438.2 MB, free: 36 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.299, allocations: 3.938 kB / 438.2 MB, free: 32 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001774/0.2992, allocations: 156.1 kB / 438.3 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001277/0.2994, allocations: 17 kB / 438.4 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004801/0.2999, allocations: 23.98 kB / 438.4 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001178/0.3, allocations: 56.48 kB / 438.4 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001848/0.3018, allocations: 0.8867 MB / 439.3 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00175/0.3036, allocations: 1.237 MB / 440.6 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004887/0.3041, allocations: 320.4 kB / 440.9 MB, free: 13.29 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006214/0.3047, allocations: 0.5107 MB / 441.4 MB, free: 12.79 MB / 366.1 MB Notification: Performance of Backend: time 2.3e-07/0.3047, allocations: 0 / 441.4 MB, free: 12.79 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003318/0.3081, allocations: 1.438 MB / 442.8 MB, free: 11.35 MB / 366.1 MB Notification: Performance of SimCode: time 0.003165/0.3112, allocations: 2.218 MB / 445 MB, free: 9.082 MB / 366.1 MB Notification: Performance of Templates: time 0.03598/0.3472, allocations: 24.85 MB / 469.9 MB, free: 184 kB / 382.1 MB make -j1 -f Modelica_3.2.3_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1.makefile (rm -f Modelica_3.2.3_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1.pipe ; mkfifo Modelica_3.2.3_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1.pipe >> ../files/Modelica_3.2.3_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1.sim & ./Modelica_3.2.3_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1.pipe 2>&1)