Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001466/0.001466, allocations: 110.5 kB / 17.75 MB, free: 5.336 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.001633/0.001633, allocations: 197.2 kB / 18.68 MB, free: 4.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.431/1.431, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001005/0.001005, allocations: 51.92 kB / 352 MB, free: 3.23 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2141/0.2151, allocations: 49.44 MB / 401.4 MB, free: 8.723 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1): time 0.0196/0.2347, allocations: 20.61 MB / 422 MB, free: 4.148 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00857/0.2433, allocations: 7.046 MB / 429.1 MB, free: 13.08 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003989/0.2437, allocations: 23.88 kB / 429.1 MB, free: 13.06 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007793/0.2446, allocations: 377.5 kB / 429.5 MB, free: 12.69 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001943/0.2465, allocations: 1.1 MB / 430.6 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003508/0.25, allocations: 1.849 MB / 432.4 MB, free: 9.746 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001898/0.2519, allocations: 2.14 MB / 434.6 MB, free: 7.598 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006484/0.2526, allocations: 0.5776 MB / 435.1 MB, free: 7.008 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009727/0.2536, allocations: 0.8332 MB / 436 MB, free: 6.172 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008885/0.2545, allocations: 0.7629 MB / 436.7 MB, free: 5.406 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001314/0.2546, allocations: 80 kB / 436.8 MB, free: 5.328 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001883/0.2565, allocations: 1.244 MB / 438 MB, free: 4.082 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002631/0.2568, allocations: 291.1 kB / 438.3 MB, free: 3.797 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004283/0.2572, allocations: 457.9 kB / 438.8 MB, free: 3.348 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002037/0.2593, allocations: 1.895 MB / 440.7 MB, free: 1.449 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.2593, allocations: 0 / 440.7 MB, free: 1.449 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.2593, allocations: 0 / 440.7 MB, free: 1.449 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.358e-06/0.2593, allocations: 0 / 440.7 MB, free: 1.449 MB / 350.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.002207/0.2615, allocations: 1.282 MB / 442 MB, free: 116 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.2616, allocations: 12.03 kB / 442 MB, free: 104 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003705/0.2619, allocations: 103.9 kB / 442.1 MB, free: 0 / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009596/0.2629, allocations: 0.6207 MB / 442.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.144e-05/0.263, allocations: 49.23 kB / 442.7 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.459e-05/0.2631, allocations: 52 kB / 442.8 MB, free: 15.24 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001348/0.2644, allocations: 0.8828 MB / 443.7 MB, free: 14.31 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.931e-05/0.2645, allocations: 4 kB / 443.7 MB, free: 14.3 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.913e-05/0.2645, allocations: 27.98 kB / 443.7 MB, free: 14.28 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-05/0.2646, allocations: 53.22 kB / 443.8 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001271/0.2659, allocations: 0.8092 MB / 444.6 MB, free: 13.42 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.004862/0.2708, allocations: 3.819 MB / 448.4 MB, free: 9.352 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008794/0.2716, allocations: 0.5431 MB / 448.9 MB, free: 8.797 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004059/0.2721, allocations: 282 kB / 449.2 MB, free: 8.52 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003501/0.2724, allocations: 0.4995 MB / 449.7 MB, free: 7.91 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.002e-05/0.2725, allocations: 46.94 kB / 449.7 MB, free: 7.855 MB / 366.1 MB Notification: Performance of pre-optimization done (n=47): time 1.924e-06/0.2725, allocations: 0 / 449.7 MB, free: 7.855 MB / 366.1 MB Notification: Performance of matching and sorting (n=52): time 0.004336/0.2768, allocations: 2.12 MB / 451.9 MB, free: 5.641 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.083e-05/0.2769, allocations: 136.9 kB / 452 MB, free: 5.473 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008116/0.2777, allocations: 0.7309 MB / 452.7 MB, free: 4.734 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.93e-05/0.2778, allocations: 41.64 kB / 452.8 MB, free: 4.688 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002779/0.2781, allocations: 379.9 kB / 453.1 MB, free: 4.309 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001878/0.2783, allocations: 181.4 kB / 453.3 MB, free: 4.129 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002518/0.2785, allocations: 154.5 kB / 453.5 MB, free: 3.969 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001586/0.2787, allocations: 386.8 kB / 453.8 MB, free: 3.582 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005079/0.2792, allocations: 312.7 kB / 454.2 MB, free: 3.273 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006329/0.2798, allocations: 0.5109 MB / 454.7 MB, free: 2.672 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001073/0.2809, allocations: 0.774 MB / 455.4 MB, free: 1.82 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.2809, allocations: 0 / 455.4 MB, free: 1.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001622/0.2826, allocations: 0.9919 MB / 456.4 MB, free: 0.8164 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.2826, allocations: 16.06 kB / 456.4 MB, free: 0.8008 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.2826, allocations: 8 kB / 456.5 MB, free: 0.793 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00163/0.2843, allocations: 293.4 kB / 456.7 MB, free: 0.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000566/0.2848, allocations: 151.7 kB / 456.9 MB, free: 360 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001048/0.2859, allocations: 1.312 MB / 458.2 MB, free: 14.99 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005263/0.2864, allocations: 31.98 kB / 458.2 MB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.265e-05/0.2865, allocations: 35.98 kB / 458.3 MB, free: 14.92 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006896/0.2872, allocations: 477.9 kB / 458.7 MB, free: 14.45 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006232/0.2879, allocations: 0.508 MB / 459.2 MB, free: 13.86 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001027/0.2889, allocations: 0.7513 MB / 460 MB, free: 13.02 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.708e-06/0.2889, allocations: 4 kB / 460 MB, free: 13.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=93) (initialization_lambda0): time 0.001583/0.2905, allocations: 0.945 MB / 460.9 MB, free: 12.06 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.2905, allocations: 8 kB / 461 MB, free: 12.05 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.2905, allocations: 4 kB / 461 MB, free: 12.05 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001083/0.2916, allocations: 181.5 kB / 461.1 MB, free: 11.86 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006994/0.2923, allocations: 167.8 kB / 461.3 MB, free: 11.7 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007625/0.2931, allocations: 1.187 MB / 462.5 MB, free: 10.46 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005201/0.2936, allocations: 39.92 kB / 462.5 MB, free: 10.42 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-05/0.2937, allocations: 31.98 kB / 462.6 MB, free: 10.39 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.0002091/0.2939, allocations: 232.7 kB / 462.8 MB, free: 10.16 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001539/0.2941, allocations: 87.17 kB / 462.9 MB, free: 10.07 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001776/0.2959, allocations: 0.9717 MB / 463.8 MB, free: 9.109 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.739e-06/0.2959, allocations: 3.984 kB / 463.8 MB, free: 9.105 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.2959, allocations: 4 kB / 463.8 MB, free: 9.102 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001648/0.2961, allocations: 164.1 kB / 464 MB, free: 8.922 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001253/0.2962, allocations: 15.94 kB / 464 MB, free: 8.906 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000481/0.2967, allocations: 31.97 kB / 464.1 MB, free: 8.875 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001159/0.2968, allocations: 52.42 kB / 464.1 MB, free: 8.824 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001837/0.2987, allocations: 0.8945 MB / 465 MB, free: 7.914 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001714/0.3004, allocations: 1.237 MB / 466.2 MB, free: 6.66 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004638/0.3009, allocations: 316.2 kB / 466.5 MB, free: 6.352 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005953/0.3015, allocations: 0.5146 MB / 467.1 MB, free: 5.84 MB / 382.1 MB Notification: Performance of Backend: time 3.91e-07/0.3015, allocations: 0 / 467.1 MB, free: 5.84 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003238/0.3047, allocations: 1.428 MB / 468.5 MB, free: 4.418 MB / 382.1 MB Notification: Performance of SimCode: time 0.003105/0.3078, allocations: 2.225 MB / 470.7 MB, free: 2.152 MB / 382.1 MB Notification: Performance of Templates: time 0.03407/0.3419, allocations: 24.84 MB / 495.6 MB, free: 9.504 MB / 414.1 MB make -j1 -f Modelica_4.0.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1.makefile (rm -f Modelica_4.0.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1.pipe ; mkfifo Modelica_4.0.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1.pipe >> ../files/Modelica_4.0.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1.sim & ./Modelica_4.0.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1.pipe 2>&1)