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.001054/0.001054, allocations: 106.6 kB / 18.4 MB, free: 4.68 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.001037/0.001037, allocations: 190 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.273/1.273, 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.00113/0.00113, allocations: 55.92 kB / 329.2 MB, free: 3.297 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07169/0.07283, allocations: 46.61 MB / 375.8 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe1): time 0.1767/0.2496, allocations: 30.99 MB / 406.8 MB, free: 9.332 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01918/0.2688, allocations: 14.27 MB / 421.1 MB, free: 14.63 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001606/0.2705, allocations: 44.72 kB / 421.1 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001847/0.2723, allocations: 0.5766 MB / 421.7 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00551/0.2779, allocations: 2.197 MB / 423.9 MB, free: 12.44 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009108/0.287, allocations: 3.687 MB / 427.6 MB, free: 9.934 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004954/0.2919, allocations: 3.966 MB / 431.6 MB, free: 7.699 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00157/0.2935, allocations: 1.015 MB / 432.6 MB, free: 6.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002653/0.2962, allocations: 1.503 MB / 434.1 MB, free: 5.312 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002457/0.2987, allocations: 1.518 MB / 435.6 MB, free: 3.789 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004616/0.2991, allocations: 144 kB / 435.7 MB, free: 3.648 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004866/0.304, allocations: 2.313 MB / 438 MB, free: 1.332 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000771/0.3048, allocations: 0.5454 MB / 438.6 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00134/0.3062, allocations: 0.8283 MB / 439.4 MB, free: 15.95 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005472/0.3116, allocations: 3.6 MB / 443 MB, free: 12.34 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.3117, allocations: 0 / 443 MB, free: 12.34 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.3117, allocations: 0 / 443 MB, free: 12.34 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.506e-05/0.3117, allocations: 0 / 443 MB, free: 12.34 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.004897/0.3166, allocations: 2.11 MB / 445.1 MB, free: 10.18 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.3167, allocations: 8.031 kB / 445.1 MB, free: 10.17 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006277/0.3173, allocations: 166.2 kB / 445.3 MB, free: 10 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001801/0.3191, allocations: 1.018 MB / 446.3 MB, free: 8.941 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.024e-05/0.3192, allocations: 85.97 kB / 446.4 MB, free: 8.859 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001743/0.3194, allocations: 87.98 kB / 446.5 MB, free: 8.773 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002642/0.322, allocations: 1.632 MB / 448.1 MB, free: 7.059 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.813e-05/0.3221, allocations: 4 kB / 448.1 MB, free: 7.055 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001413/0.3222, allocations: 39.97 kB / 448.2 MB, free: 7.016 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001316/0.3224, allocations: 105.9 kB / 448.3 MB, free: 6.91 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00278/0.3252, allocations: 1.647 MB / 449.9 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.01004/0.3352, allocations: 6.644 MB / 456.6 MB, free: 14.22 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001522/0.3367, allocations: 0.9342 MB / 457.5 MB, free: 13.27 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008538/0.3376, allocations: 0.5585 MB / 458.1 MB, free: 12.71 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003794/0.3414, allocations: 2.797 MB / 460.8 MB, free: 9.664 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.708e-05/0.3415, allocations: 51.2 kB / 460.9 MB, free: 9.605 MB / 382.1 MB Notification: Performance of pre-optimization done (n=80): time 2.454e-06/0.3415, allocations: 3.938 kB / 460.9 MB, free: 9.602 MB / 382.1 MB Notification: Performance of matching and sorting (n=90): time 0.008965/0.3505, allocations: 3.696 MB / 464.6 MB, free: 5.789 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.945e-05/0.3506, allocations: 196.9 kB / 464.8 MB, free: 5.555 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001699/0.3523, allocations: 1.31 MB / 466.1 MB, free: 4.227 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.939e-05/0.3524, allocations: 49.7 kB / 466.1 MB, free: 4.172 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004851/0.3529, allocations: 0.6472 MB / 466.8 MB, free: 3.516 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002819/0.3532, allocations: 327.4 kB / 467.1 MB, free: 3.191 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004541/0.3536, allocations: 287.3 kB / 467.4 MB, free: 2.906 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.371e-05/0.3537, allocations: 305.1 kB / 467.7 MB, free: 2.605 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001041/0.3548, allocations: 0.5942 MB / 468.3 MB, free: 2.008 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001296/0.3561, allocations: 0.9928 MB / 469.3 MB, free: 0.8398 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002048/0.3581, allocations: 1.486 MB / 470.8 MB, free: 15.19 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.085e-06/0.3582, allocations: 4 kB / 470.8 MB, free: 15.19 MB / 398.1 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.003195/0.3614, allocations: 1.9 MB / 472.7 MB, free: 13.27 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/0.3614, allocations: 8.156 kB / 472.7 MB, free: 13.27 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.869e-05/0.3614, allocations: 16 kB / 472.7 MB, free: 13.25 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004929/0.3664, allocations: 0.7594 MB / 473.5 MB, free: 12.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001116/0.3675, allocations: 283.6 kB / 473.7 MB, free: 12.2 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002148/0.3696, allocations: 2.171 MB / 475.9 MB, free: 9.957 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001241/0.3709, allocations: 72.08 kB / 476 MB, free: 9.887 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000156/0.3711, allocations: 71.92 kB / 476 MB, free: 9.816 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001422/0.3725, allocations: 0.8473 MB / 476.9 MB, free: 8.965 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001292/0.3738, allocations: 0.9914 MB / 477.9 MB, free: 7.785 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002066/0.3759, allocations: 1.46 MB / 479.3 MB, free: 6.152 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.762e-06/0.3759, allocations: 4 kB / 479.3 MB, free: 6.148 MB / 398.1 MB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.003198/0.3791, allocations: 1.83 MB / 481.2 MB, free: 4.301 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.3791, allocations: 8 kB / 481.2 MB, free: 4.293 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.755e-05/0.3792, allocations: 14.42 kB / 481.2 MB, free: 4.281 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004112/0.3833, allocations: 0.5921 MB / 481.8 MB, free: 3.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001114/0.3844, allocations: 295.5 kB / 482.1 MB, free: 3.391 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001724/0.3861, allocations: 2.012 MB / 484.1 MB, free: 1.301 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001157/0.3873, allocations: 80.14 kB / 484.2 MB, free: 1.223 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001316/0.3875, allocations: 71.91 kB / 484.2 MB, free: 1.152 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.0003561/0.3878, allocations: 276 kB / 484.5 MB, free: 0.875 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002844/0.3881, allocations: 146.3 kB / 484.6 MB, free: 0.7305 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003063/0.3912, allocations: 1.519 MB / 486.2 MB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.246e-05/0.3912, allocations: 3.984 kB / 486.2 MB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.3912, allocations: 192 / 486.2 MB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003266/0.3916, allocations: 223.2 kB / 486.4 MB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002465/0.3918, allocations: 31.89 kB / 486.4 MB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008293/0.3926, allocations: 47.91 kB / 486.5 MB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001898/0.3928, allocations: 88.81 kB / 486.6 MB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003412/0.3963, allocations: 1.487 MB / 488 MB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002817/0.3991, allocations: 1.884 MB / 489.9 MB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007791/0.3999, allocations: 0.5191 MB / 490.4 MB, free: 10.87 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001256/0.4012, allocations: 0.9045 MB / 491.4 MB, free: 9.961 MB / 414.1 MB Notification: Performance of Backend: time 3.61e-07/0.4012, allocations: 4 kB / 491.4 MB, free: 9.957 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.006355/0.4075, allocations: 2.701 MB / 494.1 MB, free: 7.262 MB / 414.1 MB Notification: Performance of SimCode: time 0.005154/0.4127, allocations: 3.484 MB / 497.5 MB, free: 3.719 MB / 414.1 MB Notification: Performance of Templates: time 0.06596/0.4787, allocations: 44.52 MB / 0.5294 GB, free: 7.113 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)