Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 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.TankWithEmptyingPipe2,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.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_4.0.0_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.001228/0.001228, allocations: 110.2 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.001233/0.001233, allocations: 185.4 kB / 18.67 MB, free: 4.418 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.309/1.309, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0008882/0.0008882, allocations: 44.02 kB / 352 MB, free: 3.238 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2093/0.2102, allocations: 49.44 MB / 401.4 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2): time 0.02078/0.231, allocations: 21.78 MB / 423.2 MB, free: 2.984 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0119/0.2429, allocations: 9.993 MB / 433.2 MB, free: 8.965 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005868/0.2435, allocations: 27.81 kB / 433.2 MB, free: 8.938 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008682/0.2444, allocations: 397.5 kB / 433.6 MB, free: 8.547 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002611/0.247, allocations: 1.442 MB / 435 MB, free: 7.098 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00521/0.2523, allocations: 2.633 MB / 437.7 MB, free: 4.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002333/0.2546, allocations: 2.576 MB / 440.3 MB, free: 1.895 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006905/0.2553, allocations: 0.664 MB / 440.9 MB, free: 1.215 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001107/0.2564, allocations: 0.9929 MB / 441.9 MB, free: 224 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00113/0.2576, allocations: 0.9733 MB / 442.9 MB, free: 15.24 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001588/0.2577, allocations: 96 kB / 443 MB, free: 15.15 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002625/0.2604, allocations: 1.72 MB / 444.7 MB, free: 13.43 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003292/0.2607, allocations: 359 kB / 445 MB, free: 13.07 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005037/0.2612, allocations: 0.5327 MB / 445.6 MB, free: 12.54 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002648/0.2639, allocations: 2.462 MB / 448 MB, free: 10.07 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.2639, allocations: 0 / 448 MB, free: 10.07 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2639, allocations: 0 / 448 MB, free: 10.07 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.023e-05/0.2639, allocations: 4 kB / 448 MB, free: 10.07 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.002654/0.2666, allocations: 1.488 MB / 449.5 MB, free: 8.523 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.2666, allocations: 12.03 kB / 449.5 MB, free: 8.512 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003883/0.267, allocations: 118.7 kB / 449.7 MB, free: 8.395 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0011/0.2681, allocations: 0.7215 MB / 450.4 MB, free: 7.633 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.674e-05/0.2682, allocations: 57.3 kB / 450.4 MB, free: 7.578 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000109/0.2683, allocations: 59.98 kB / 450.5 MB, free: 7.52 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001589/0.2699, allocations: 1.064 MB / 451.6 MB, free: 6.402 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.935e-05/0.2699, allocations: 7.875 kB / 451.6 MB, free: 6.395 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.076e-05/0.27, allocations: 31.92 kB / 451.6 MB, free: 6.363 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.503e-05/0.2701, allocations: 65.27 kB / 451.7 MB, free: 6.297 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001588/0.2717, allocations: 1.032 MB / 452.7 MB, free: 5.266 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.006071/0.2778, allocations: 4.43 MB / 457.1 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009341/0.2787, allocations: 0.5802 MB / 457.7 MB, free: 15.98 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004697/0.2792, allocations: 314 kB / 458 MB, free: 15.67 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002286/0.2815, allocations: 1.973 MB / 460 MB, free: 13.48 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.732e-05/0.2816, allocations: 42.89 kB / 460 MB, free: 13.43 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 1.613e-06/0.2816, allocations: 0 / 460 MB, free: 13.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=45): time 0.004328/0.2859, allocations: 1.967 MB / 462 MB, free: 11.38 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.124e-05/0.286, allocations: 162.2 kB / 462.2 MB, free: 11.18 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001083/0.2871, allocations: 0.9273 MB / 463.1 MB, free: 10.23 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.871e-05/0.2871, allocations: 45.64 kB / 463.1 MB, free: 10.18 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003318/0.2875, allocations: 486.8 kB / 463.6 MB, free: 9.691 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000128/0.2876, allocations: 157.8 kB / 463.8 MB, free: 9.535 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002642/0.2879, allocations: 186.4 kB / 463.9 MB, free: 9.344 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001123/0.288, allocations: 341.9 kB / 464.3 MB, free: 9.004 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005401/0.2886, allocations: 336.7 kB / 464.6 MB, free: 8.672 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007278/0.2893, allocations: 0.625 MB / 465.2 MB, free: 7.91 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001157/0.2905, allocations: 0.889 MB / 466.1 MB, free: 6.898 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-06/0.2905, allocations: 4 kB / 466.1 MB, free: 6.895 MB / 382.1 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.001797/0.2923, allocations: 1.12 MB / 467.2 MB, free: 5.766 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.2923, allocations: 15.94 kB / 467.3 MB, free: 5.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/0.2923, allocations: 8 kB / 467.3 MB, free: 5.742 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002449/0.2948, allocations: 377.9 kB / 467.6 MB, free: 5.367 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006438/0.2954, allocations: 179.7 kB / 467.8 MB, free: 5.191 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001072/0.2965, allocations: 1.343 MB / 469.1 MB, free: 3.797 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006711/0.2972, allocations: 39.97 kB / 469.2 MB, free: 3.758 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.041e-05/0.2973, allocations: 47.98 kB / 469.2 MB, free: 3.711 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008291/0.2981, allocations: 0.5175 MB / 469.8 MB, free: 3.191 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008218/0.299, allocations: 0.619 MB / 470.4 MB, free: 2.43 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001128/0.3001, allocations: 0.8833 MB / 471.3 MB, free: 1.418 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.547e-06/0.3001, allocations: 0 / 471.3 MB, free: 1.418 MB / 382.1 MB Notification: Performance of matching and sorting (n=110) (initialization_lambda0): time 0.00195/0.3021, allocations: 1.093 MB / 472.3 MB, free: 316 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.3021, allocations: 8.188 kB / 472.4 MB, free: 308 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/0.3021, allocations: 12 kB / 472.4 MB, free: 296 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002208/0.3043, allocations: 337.2 kB / 472.7 MB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006403/0.305, allocations: 183.7 kB / 472.9 MB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001129/0.3061, allocations: 1.315 MB / 474.2 MB, free: 14.41 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006712/0.3068, allocations: 43.97 kB / 474.2 MB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.158e-05/0.3069, allocations: 52.11 kB / 474.3 MB, free: 14.31 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.0002277/0.3071, allocations: 243 kB / 474.5 MB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001677/0.3073, allocations: 94.88 kB / 474.6 MB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001631/0.3089, allocations: 0.7884 MB / 475.4 MB, free: 13.18 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.237e-06/0.309, allocations: 7.984 kB / 475.4 MB, free: 13.18 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.309, allocations: 4 kB / 475.4 MB, free: 13.17 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000192/0.3092, allocations: 167.9 kB / 475.6 MB, free: 12.99 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001521/0.3093, allocations: 19.89 kB / 475.6 MB, free: 12.97 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005265/0.3099, allocations: 24.11 kB / 475.6 MB, free: 12.95 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001083/0.31, allocations: 48.44 kB / 475.7 MB, free: 12.9 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001759/0.3117, allocations: 0.7813 MB / 476.4 MB, free: 12.1 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001486/0.3132, allocations: 1.053 MB / 477.5 MB, free: 11.03 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004006/0.3137, allocations: 256.3 kB / 477.8 MB, free: 10.78 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007955/0.3145, allocations: 0.652 MB / 478.4 MB, free: 10.12 MB / 398.1 MB Notification: Performance of Backend: time 4.01e-07/0.3145, allocations: 0 / 478.4 MB, free: 10.12 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003947/0.3184, allocations: 1.695 MB / 480.1 MB, free: 8.434 MB / 398.1 MB Notification: Performance of SimCode: time 0.003379/0.3218, allocations: 2.411 MB / 482.5 MB, free: 5.973 MB / 398.1 MB Notification: Performance of Templates: time 0.04115/0.363, allocations: 28.57 MB / 0.4991 GB, free: 9.574 MB / 430.1 MB make -j1 -f Modelica_4.0.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2.makefile (rm -f Modelica_4.0.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2.pipe ; mkfifo Modelica_4.0.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2.pipe >> ../files/Modelica_4.0.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2.sim & ./Modelica_4.0.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2.pipe 2>&1)