Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe1.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.TanksWithEmptyingPipe1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank1.level|tank1.medium.T|tank2.level|tank2.medium.T|tank1.aboveLevel.1.|tank1.aboveLevel.2.|tank2.aboveLevel.1.|tank2.aboveLevel.2.",fileNamePrefix="Modelica_3.2.3_Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe1") translateModel(Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank1.level|tank1.medium.T|tank2.level|tank2.medium.T|tank1.aboveLevel.1.|tank1.aboveLevel.2.|tank2.aboveLevel.1.|tank2.aboveLevel.2.",fileNamePrefix="Modelica_3.2.3_Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001063/0.001063, allocations: 109 kB / 18.36 MB, free: 4.832 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.00103/0.00103, allocations: 187.1 kB / 19.29 MB, free: 3.902 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.253/1.253, allocations: 205.1 MB / 225.2 MB, free: 12.26 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.001197/0.001197, allocations: 47.94 kB / 329.1 MB, free: 3.34 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07069/0.0719, allocations: 46.62 MB / 375.8 MB, free: 4.605 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe1): time 0.1724/0.2444, allocations: 30.98 MB / 406.8 MB, free: 9.359 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01933/0.2637, allocations: 14.26 MB / 421 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001529/0.2653, allocations: 41.84 kB / 421.1 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001735/0.2671, allocations: 0.5849 MB / 421.6 MB, free: 14.13 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005324/0.2724, allocations: 2.163 MB / 423.8 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008685/0.2811, allocations: 3.685 MB / 427.5 MB, free: 9.984 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004622/0.2857, allocations: 3.962 MB / 431.5 MB, free: 7.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001567/0.2873, allocations: 1.019 MB / 432.5 MB, free: 6.887 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002575/0.2899, allocations: 1.468 MB / 433.9 MB, free: 5.414 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002398/0.2923, allocations: 1.515 MB / 435.5 MB, free: 3.895 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004162/0.2928, allocations: 148 kB / 435.6 MB, free: 3.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004426/0.2972, allocations: 2.32 MB / 437.9 MB, free: 1.426 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007105/0.2979, allocations: 0.5571 MB / 438.5 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001257/0.2992, allocations: 0.8089 MB / 439.3 MB, free: 56 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005073/0.3043, allocations: 3.608 MB / 442.9 MB, free: 12.44 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.3043, allocations: 4 kB / 442.9 MB, free: 12.43 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3043, allocations: 0 / 442.9 MB, free: 12.43 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.173e-05/0.3043, allocations: 0 / 442.9 MB, free: 12.43 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: 256 * Number of variables: 256 Notification: Performance of Generate backend data structure: time 0.004/0.3083, allocations: 2.103 MB / 445 MB, free: 10.27 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.3084, allocations: 8.031 kB / 445 MB, free: 10.27 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005541/0.3089, allocations: 174.2 kB / 445.2 MB, free: 10.09 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001429/0.3104, allocations: 1.011 MB / 446.2 MB, free: 9.039 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.109e-05/0.3105, allocations: 77.98 kB / 446.3 MB, free: 8.965 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001764/0.3106, allocations: 104 kB / 446.4 MB, free: 8.863 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002459/0.3131, allocations: 1.632 MB / 448 MB, free: 7.148 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.663e-05/0.3131, allocations: 3.938 kB / 448 MB, free: 7.145 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001334/0.3133, allocations: 39.98 kB / 448 MB, free: 7.105 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001348/0.3134, allocations: 105.9 kB / 448.1 MB, free: 7 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002622/0.316, allocations: 1.643 MB / 449.8 MB, free: 5.359 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.009246/0.3253, allocations: 6.646 MB / 456.4 MB, free: 14.32 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001501/0.3268, allocations: 0.9305 MB / 457.4 MB, free: 13.37 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008443/0.3277, allocations: 0.5504 MB / 457.9 MB, free: 12.82 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00342/0.3311, allocations: 2.817 MB / 460.7 MB, free: 9.75 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.176e-05/0.3312, allocations: 43.22 kB / 460.8 MB, free: 9.699 MB / 382.1 MB Notification: Performance of pre-optimization done (n=80): time 2.284e-06/0.3312, allocations: 4 kB / 460.8 MB, free: 9.695 MB / 382.1 MB Notification: Performance of matching and sorting (n=90): time 0.008401/0.3396, allocations: 3.696 MB / 464.5 MB, free: 5.883 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.054e-05/0.3397, allocations: 196.9 kB / 464.7 MB, free: 5.648 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001617/0.3413, allocations: 1.306 MB / 466 MB, free: 4.324 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.615e-05/0.3414, allocations: 53.7 kB / 466 MB, free: 4.266 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004962/0.3419, allocations: 0.6511 MB / 466.7 MB, free: 3.605 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002586/0.3422, allocations: 319.5 kB / 467 MB, free: 3.289 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004247/0.3426, allocations: 287.3 kB / 467.3 MB, free: 3.004 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.646e-05/0.3427, allocations: 305.1 kB / 467.6 MB, free: 2.703 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009873/0.3437, allocations: 0.5864 MB / 468.2 MB, free: 2.113 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001271/0.345, allocations: 1.004 MB / 469.2 MB, free: 0.9336 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002084/0.3471, allocations: 1.485 MB / 470.6 MB, free: 15.28 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.123e-06/0.3471, allocations: 0 / 470.6 MB, free: 15.28 MB / 398.1 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.003166/0.3503, allocations: 1.904 MB / 472.5 MB, free: 13.36 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/0.3503, allocations: 12 kB / 472.6 MB, free: 13.35 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.566e-05/0.3503, allocations: 14.19 kB / 472.6 MB, free: 13.34 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004906/0.3552, allocations: 0.7638 MB / 473.3 MB, free: 12.57 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001052/0.3563, allocations: 287.5 kB / 473.6 MB, free: 12.29 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001947/0.3583, allocations: 2.166 MB / 475.8 MB, free: 10.04 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001045/0.3593, allocations: 59.97 kB / 475.8 MB, free: 9.984 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001221/0.3595, allocations: 75.91 kB / 475.9 MB, free: 9.91 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001323/0.3608, allocations: 0.8434 MB / 476.8 MB, free: 9.062 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00121/0.362, allocations: 0.9993 MB / 477.8 MB, free: 7.875 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001956/0.364, allocations: 1.456 MB / 479.2 MB, free: 6.246 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.121e-06/0.364, allocations: 4 kB / 479.2 MB, free: 6.242 MB / 398.1 MB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.003091/0.3671, allocations: 1.83 MB / 481 MB, free: 4.395 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.3671, allocations: 12 kB / 481.1 MB, free: 4.383 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-05/0.3671, allocations: 12 kB / 481.1 MB, free: 4.371 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004075/0.3712, allocations: 0.5918 MB / 481.7 MB, free: 3.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00104/0.3723, allocations: 291.5 kB / 481.9 MB, free: 3.484 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001647/0.3739, allocations: 2.021 MB / 484 MB, free: 1.387 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001034/0.375, allocations: 71.95 kB / 484 MB, free: 1.316 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001104/0.3751, allocations: 67.98 kB / 484.1 MB, free: 1.25 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 12 (tank2.aboveLevel[2],$PRE.tank2.aboveLevel[2],tank2.aboveLevel[1],$PRE.tank2.aboveLevel[1],tank1.aboveLevel[2],$PRE.tank1.aboveLevel[2],tank1.aboveLevel[1],$PRE.tank1.aboveLevel[1],tank2.ports_m_flow_out[2],tank2.ports_m_flow_out[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 (166): * Single equations (assignments): 163 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,3), (2,7), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0003467/0.3754, allocations: 284.9 kB / 484.4 MB, free: 0.9648 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002459/0.3757, allocations: 138.3 kB / 484.5 MB, free: 0.8281 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002998/0.3787, allocations: 1.515 MB / 486 MB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.336e-05/0.3787, allocations: 11.97 kB / 486 MB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.3787, allocations: 4 kB / 486 MB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000249/0.379, allocations: 219.2 kB / 486.3 MB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001887/0.3792, allocations: 28 kB / 486.3 MB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007626/0.38, allocations: 51.89 kB / 486.3 MB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001783/0.3801, allocations: 85.11 kB / 486.4 MB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003246/0.3834, allocations: 1.494 MB / 487.9 MB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002717/0.3861, allocations: 1.884 MB / 489.8 MB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000776/0.3869, allocations: 0.5153 MB / 490.3 MB, free: 10.96 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001182/0.3881, allocations: 0.9044 MB / 491.2 MB, free: 10.06 MB / 414.1 MB Notification: Performance of Backend: time 2.3e-07/0.3881, allocations: 3.938 kB / 491.2 MB, free: 10.05 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.006184/0.3943, allocations: 2.7 MB / 493.9 MB, free: 7.359 MB / 414.1 MB Notification: Performance of SimCode: time 0.00554/0.3999, allocations: 3.485 MB / 497.4 MB, free: 3.816 MB / 414.1 MB Notification: Performance of Templates: time 0.06295/0.4628, allocations: 44.07 MB / 0.5288 GB, free: 7.66 MB / 462.1 MB make -j1 -f Modelica_3.2.3_Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe1.makefile (rm -f Modelica_3.2.3_Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe1.pipe ; mkfifo Modelica_3.2.3_Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe1.pipe >> ../files/Modelica_3.2.3_Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe1.sim & ./Modelica_3.2.3_Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe1.pipe 2>&1)