Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1") translateModel(Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001181/0.001181, allocations: 106.4 kB / 17.06 MB, free: 6.145 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.001296/0.001296, allocations: 195 kB / 18 MB, free: 5.219 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.675/1.675, allocations: 205.1 MB / 223.9 MB, free: 12.23 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.001171/0.001171, allocations: 47.94 kB / 327.9 MB, free: 3.301 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1063, allocations: 46.62 MB / 374.5 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1): time 0.2557/0.362, allocations: 20.6 MB / 395.1 MB, free: 1.062 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01103/0.3731, allocations: 6.986 MB / 402.1 MB, free: 12.16 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001651/0.3748, allocations: 26.38 kB / 402.1 MB, free: 12.15 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001559/0.3764, allocations: 376.9 kB / 402.5 MB, free: 11.93 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003924/0.3803, allocations: 1.088 MB / 403.6 MB, free: 11.31 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005991/0.3863, allocations: 1.842 MB / 405.4 MB, free: 10.48 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003859/0.3902, allocations: 2.143 MB / 407.5 MB, free: 9.445 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001202/0.3914, allocations: 0.5782 MB / 408.1 MB, free: 9.07 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0021/0.3935, allocations: 0.8206 MB / 408.9 MB, free: 8.621 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001484/0.395, allocations: 0.7567 MB / 409.7 MB, free: 8.18 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001896/0.3952, allocations: 75.5 kB / 409.8 MB, free: 8.18 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003189/0.3984, allocations: 1.259 MB / 411 MB, free: 7.512 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003778/0.3988, allocations: 289.3 kB / 411.3 MB, free: 7.309 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000659/0.3995, allocations: 463 kB / 411.8 MB, free: 7.02 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003874/0.4034, allocations: 1.886 MB / 413.6 MB, free: 5.805 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.755e-06/0.4034, allocations: 4 kB / 413.7 MB, free: 5.801 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4034, allocations: 0 / 413.7 MB, free: 5.801 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.445e-05/0.4035, allocations: 0 / 413.7 MB, free: 5.801 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.003117/0.4066, allocations: 1.272 MB / 414.9 MB, free: 4.812 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.958e-05/0.4066, allocations: 9.438 kB / 414.9 MB, free: 4.812 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004287/0.4071, allocations: 104.1 kB / 415 MB, free: 4.762 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001214/0.4083, allocations: 0.6369 MB / 415.7 MB, free: 4.234 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.226e-05/0.4084, allocations: 44.36 kB / 415.7 MB, free: 4.215 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001093/0.4085, allocations: 52.94 kB / 415.8 MB, free: 4.199 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00161/0.4101, allocations: 0.8851 MB / 416.7 MB, free: 3.617 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.29e-05/0.4101, allocations: 1.031 kB / 416.7 MB, free: 3.617 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.067e-05/0.4102, allocations: 26.83 kB / 416.7 MB, free: 3.598 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.796e-05/0.4103, allocations: 42.17 kB / 416.7 MB, free: 3.59 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001337/0.4117, allocations: 0.809 MB / 417.5 MB, free: 3.188 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.006106/0.4178, allocations: 3.819 MB / 421.3 MB, free: 15.87 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001052/0.4189, allocations: 0.5538 MB / 421.9 MB, free: 15.57 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004223/0.4193, allocations: 272.6 kB / 422.2 MB, free: 15.43 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004233/0.4197, allocations: 0.4986 MB / 422.7 MB, free: 14.85 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.723e-05/0.4198, allocations: 41.75 kB / 422.7 MB, free: 14.8 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 5.51e-06/0.4198, allocations: 0 / 422.7 MB, free: 14.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=52): time 0.004885/0.4247, allocations: 2.12 MB / 424.8 MB, free: 12.8 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.364e-05/0.4248, allocations: 137 kB / 425 MB, free: 12.64 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009449/0.4257, allocations: 0.7348 MB / 425.7 MB, free: 11.9 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.16e-05/0.4258, allocations: 37.7 kB / 425.7 MB, free: 11.86 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002966/0.4261, allocations: 387.9 kB / 426.1 MB, free: 11.47 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001559/0.4263, allocations: 181.4 kB / 426.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000244/0.4265, allocations: 150.5 kB / 426.4 MB, free: 11.14 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001748/0.4267, allocations: 386.8 kB / 426.8 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000497/0.4272, allocations: 312.7 kB / 427.1 MB, free: 10.44 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000657/0.4279, allocations: 0.5137 MB / 427.6 MB, free: 9.836 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001076/0.429, allocations: 0.774 MB / 428.4 MB, free: 8.984 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.429, allocations: 4 kB / 428.4 MB, free: 8.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001691/0.4307, allocations: 0.999 MB / 429.4 MB, free: 7.965 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.377e-05/0.4307, allocations: 8 kB / 429.4 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-05/0.4307, allocations: 8 kB / 429.4 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001647/0.4324, allocations: 294.1 kB / 429.7 MB, free: 7.656 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005616/0.4329, allocations: 147.7 kB / 429.9 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001106/0.4341, allocations: 1.308 MB / 431.2 MB, free: 6.152 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006628/0.4347, allocations: 31.98 kB / 431.2 MB, free: 6.121 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.704e-05/0.4348, allocations: 35.98 kB / 431.2 MB, free: 6.086 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008321/0.4357, allocations: 481.8 kB / 431.7 MB, free: 5.609 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006311/0.4363, allocations: 0.51 MB / 432.2 MB, free: 5.012 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001033/0.4374, allocations: 0.7554 MB / 433 MB, free: 4.176 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.936e-06/0.4374, allocations: 0 / 433 MB, free: 4.176 MB / 350.1 MB Notification: Performance of matching and sorting (n=93) (initialization_lambda0): time 0.00164/0.439, allocations: 0.952 MB / 433.9 MB, free: 3.207 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.439, allocations: 8.781 kB / 433.9 MB, free: 3.199 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.6e-05/0.4391, allocations: 4 kB / 433.9 MB, free: 3.195 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001078/0.4401, allocations: 193.3 kB / 434.1 MB, free: 3 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006992/0.4409, allocations: 163.8 kB / 434.3 MB, free: 2.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009665/0.4418, allocations: 1.179 MB / 435.5 MB, free: 1.609 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007507/0.4426, allocations: 44.03 kB / 435.5 MB, free: 1.566 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.193e-05/0.4427, allocations: 39.98 kB / 435.5 MB, free: 1.527 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.000405/0.4431, allocations: 228.8 kB / 435.8 MB, free: 1.297 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001742/0.4433, allocations: 79.06 kB / 435.8 MB, free: 1.219 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001942/0.4452, allocations: 0.9771 MB / 436.8 MB, free: 248 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.494e-05/0.4453, allocations: 8 kB / 436.8 MB, free: 240 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-06/0.4453, allocations: 0 / 436.8 MB, free: 240 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.023e-05/0.4453, allocations: 3.984 kB / 436.8 MB, free: 236 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003199/0.4485, allocations: 1.747 MB / 438.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.4485, allocations: 0 / 438.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004531/0.449, allocations: 103.8 kB / 438.7 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001099/0.4501, allocations: 245.7 kB / 438.9 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.937e-05/0.4502, allocations: 16 kB / 438.9 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009293/0.4511, allocations: 1.273 MB / 440.2 MB, free: 12.72 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.4511, allocations: 3.938 kB / 440.2 MB, free: 12.72 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001985/0.4531, allocations: 1.313 MB / 441.5 MB, free: 11.37 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003005/0.4534, allocations: 167.1 kB / 441.7 MB, free: 11.19 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001137/0.4535, allocations: 12 kB / 441.7 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000494/0.454, allocations: 27.98 kB / 441.7 MB, free: 11.15 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001477/0.4542, allocations: 56.48 kB / 441.8 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.063e-05/0.4543, allocations: 27.97 kB / 441.8 MB, free: 11.07 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006617/0.4549, allocations: 0.5108 MB / 442.3 MB, free: 10.56 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.455, allocations: 0 / 442.3 MB, free: 10.56 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001917/0.4569, allocations: 0.5974 MB / 442.9 MB, free: 9.961 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (tank1.level,tank1.medium.T) * Number of discrete variables: 2 (tank1.aboveLevel[1],tank1.aboveLevel[2]) * Number of discrete states: 2 (tank1.aboveLevel[2],tank1.aboveLevel[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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,7), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001304/0.4582, allocations: 0.5046 MB / 443.4 MB, free: 9.453 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002359/0.4606, allocations: 1.21 MB / 444.6 MB, free: 8.246 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.4606, allocations: 1.688 kB / 444.6 MB, free: 8.246 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000665/0.4613, allocations: 395 kB / 445 MB, free: 7.859 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00203/0.4633, allocations: 421.2 kB / 445.4 MB, free: 7.453 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002851/0.4662, allocations: 1.603 MB / 447 MB, free: 5.812 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000594/0.4668, allocations: 0.9914 MB / 448 MB, free: 4.789 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001077/0.4679, allocations: 330.9 kB / 448.3 MB, free: 4.461 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002072/0.4681, allocations: 79.41 kB / 448.4 MB, free: 4.383 MB / 366.1 MB Notification: Performance of SimCode: time 5.01e-07/0.4681, allocations: 0 / 448.4 MB, free: 4.383 MB / 366.1 MB Notification: Performance of Templates: time 0.03953/0.5076, allocations: 23.42 MB / 471.8 MB, free: 12.92 MB / 398.1 MB make -j1 -f Modelica_3.2.2_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1.makefile (rm -f Modelica_3.2.2_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1.pipe ; mkfifo Modelica_3.2.2_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1.pipe >> ../files/Modelica_3.2.2_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1.sim & ./Modelica_3.2.2_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1.pipe 2>&1)