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.00131/0.001311, allocations: 114.5 kB / 18.41 MB, free: 4.695 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.001255/0.001255, allocations: 186.2 kB / 19.34 MB, free: 3.777 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.255/1.255, allocations: 205.1 MB / 225.2 MB, free: 12.24 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.001235/0.001235, allocations: 55.92 kB / 329.2 MB, free: 3.297 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08126/0.0825, allocations: 46.61 MB / 375.8 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1): time 0.1608/0.2434, allocations: 20.59 MB / 396.4 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009136/0.2525, allocations: 6.993 MB / 403.4 MB, free: 11.92 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007571/0.2534, allocations: 22.5 kB / 403.4 MB, free: 11.91 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009315/0.2543, allocations: 378.2 kB / 403.8 MB, free: 11.68 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002423/0.2567, allocations: 1.101 MB / 404.9 MB, free: 11.06 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004294/0.261, allocations: 1.858 MB / 406.8 MB, free: 10.22 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002207/0.2633, allocations: 2.134 MB / 408.9 MB, free: 9.223 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008738/0.2641, allocations: 0.585 MB / 409.5 MB, free: 8.84 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001451/0.2656, allocations: 0.8289 MB / 410.3 MB, free: 8.383 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001148/0.2668, allocations: 0.7562 MB / 411.1 MB, free: 7.941 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001273/0.2669, allocations: 76.72 kB / 411.1 MB, free: 7.941 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002063/0.269, allocations: 1.246 MB / 412.4 MB, free: 7.285 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002855/0.2693, allocations: 290.2 kB / 412.7 MB, free: 7.082 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004826/0.2698, allocations: 470.4 kB / 413.1 MB, free: 6.785 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002165/0.2719, allocations: 1.886 MB / 415 MB, free: 5.57 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.272, allocations: 0 / 415 MB, free: 5.57 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.272, allocations: 0 / 415 MB, free: 5.57 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.085e-05/0.272, allocations: 1.5 kB / 415 MB, free: 5.57 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.002287/0.2743, allocations: 1.274 MB / 416.3 MB, free: 4.578 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.2743, allocations: 9.531 kB / 416.3 MB, free: 4.578 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003942/0.2747, allocations: 99.64 kB / 416.4 MB, free: 4.531 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009159/0.2756, allocations: 0.6358 MB / 417 MB, free: 4.008 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.274e-05/0.2757, allocations: 45.11 kB / 417.1 MB, free: 3.988 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.844e-05/0.2758, allocations: 56.45 kB / 417.1 MB, free: 3.969 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001401/0.2772, allocations: 0.8812 MB / 418 MB, free: 3.391 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.048e-05/0.2772, allocations: 5.125 kB / 418 MB, free: 3.387 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.146e-05/0.2773, allocations: 26.7 kB / 418 MB, free: 3.367 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.331e-05/0.2774, allocations: 46.5 kB / 418.1 MB, free: 3.355 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001277/0.2787, allocations: 0.8144 MB / 418.9 MB, free: 2.949 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.004815/0.2835, allocations: 3.824 MB / 422.7 MB, free: 15.62 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000891/0.2844, allocations: 0.5341 MB / 423.3 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004187/0.2848, allocations: 280.2 kB / 423.5 MB, free: 15.2 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003596/0.2852, allocations: 0.499 MB / 424 MB, free: 14.62 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.866e-05/0.2853, allocations: 46.69 kB / 424.1 MB, free: 14.57 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 1.803e-06/0.2853, allocations: 0 / 424.1 MB, free: 14.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=52): time 0.004397/0.2897, allocations: 2.12 MB / 426.2 MB, free: 12.62 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.849e-05/0.2897, allocations: 137 kB / 426.3 MB, free: 12.46 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008432/0.2906, allocations: 0.7231 MB / 427.1 MB, free: 11.73 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.919e-05/0.2907, allocations: 41.7 kB / 427.1 MB, free: 11.68 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000265/0.2909, allocations: 379.9 kB / 427.5 MB, free: 11.3 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001504/0.2911, allocations: 185.4 kB / 427.7 MB, free: 11.12 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002341/0.2913, allocations: 146.6 kB / 427.8 MB, free: 10.97 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001593/0.2915, allocations: 390.8 kB / 428.2 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005236/0.292, allocations: 312.7 kB / 428.5 MB, free: 10.27 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006584/0.2927, allocations: 0.5114 MB / 429 MB, free: 9.664 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001094/0.2938, allocations: 0.7739 MB / 429.8 MB, free: 8.812 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.2938, allocations: 4 kB / 429.8 MB, free: 8.809 MB / 350.1 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001623/0.2954, allocations: 0.9912 MB / 430.8 MB, free: 7.801 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.2955, allocations: 11.94 kB / 430.8 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.2955, allocations: 8.781 kB / 430.8 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001618/0.2971, allocations: 305.3 kB / 431.1 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005607/0.2977, allocations: 143.8 kB / 431.2 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001032/0.2987, allocations: 1.31 MB / 432.5 MB, free: 5.977 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005345/0.2993, allocations: 35.97 kB / 432.6 MB, free: 5.941 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7e-05/0.2994, allocations: 34.05 kB / 432.6 MB, free: 5.91 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006867/0.3001, allocations: 481.9 kB / 433.1 MB, free: 5.434 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006233/0.3007, allocations: 0.5119 MB / 433.6 MB, free: 4.832 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00103/0.3017, allocations: 0.7514 MB / 434.3 MB, free: 4 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.036e-06/0.3017, allocations: 0 / 434.3 MB, free: 4 MB / 350.1 MB Notification: Performance of matching and sorting (n=93) (initialization_lambda0): time 0.001587/0.3033, allocations: 0.9489 MB / 435.3 MB, free: 3.035 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.3033, allocations: 8 kB / 435.3 MB, free: 3.027 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.3034, allocations: 4 kB / 435.3 MB, free: 3.023 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001066/0.3044, allocations: 185.4 kB / 435.5 MB, free: 2.836 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006979/0.3051, allocations: 171.7 kB / 435.6 MB, free: 2.668 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007475/0.3059, allocations: 1.187 MB / 436.8 MB, free: 1.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005228/0.3064, allocations: 35.92 kB / 436.9 MB, free: 1.395 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.125e-05/0.3065, allocations: 39.92 kB / 436.9 MB, free: 1.355 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.0001975/0.3067, allocations: 232.2 kB / 437.1 MB, free: 1.121 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001505/0.3069, allocations: 83.05 kB / 437.2 MB, free: 1.039 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001748/0.3086, allocations: 0.9775 MB / 438.2 MB, free: 60 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/0.3087, allocations: 0 / 438.2 MB, free: 60 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.3087, allocations: 3.984 kB / 438.2 MB, free: 56 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000157/0.3088, allocations: 156.1 kB / 438.3 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001224/0.309, allocations: 15.91 kB / 438.4 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004763/0.3094, allocations: 32.98 kB / 438.4 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001099/0.3096, allocations: 48.48 kB / 438.4 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001818/0.3114, allocations: 0.8984 MB / 439.3 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001709/0.3131, allocations: 1.229 MB / 440.6 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004644/0.3136, allocations: 320.3 kB / 440.9 MB, free: 13.31 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000596/0.3142, allocations: 0.5107 MB / 441.4 MB, free: 12.8 MB / 366.1 MB Notification: Performance of Backend: time 3.31e-07/0.3142, allocations: 0 / 441.4 MB, free: 12.8 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003197/0.3174, allocations: 1.436 MB / 442.8 MB, free: 11.37 MB / 366.1 MB Notification: Performance of SimCode: time 0.003123/0.3205, allocations: 2.227 MB / 445.1 MB, free: 9.094 MB / 366.1 MB Notification: Performance of Templates: time 0.03541/0.356, allocations: 24.85 MB / 469.9 MB, free: 200 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)