Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001785/0.001785, allocations: 112.1 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001774/0.001774, allocations: 206.8 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.333/1.333, allocations: 227.4 MB / 247.6 MB, free: 10.51 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001139/0.001139, allocations: 55.91 kB / 359.4 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2026/0.2038, allocations: 50.54 MB / 409.9 MB, free: 1.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe1): time 0.02983/0.2336, allocations: 31.17 MB / 441.1 MB, free: 2.281 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01696/0.2506, allocations: 14.28 MB / 455.4 MB, free: 3.965 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006422/0.2513, allocations: 43.69 kB / 455.4 MB, free: 3.922 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001153/0.2525, allocations: 0.5823 MB / 456 MB, free: 3.336 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003726/0.2562, allocations: 2.177 MB / 458.2 MB, free: 1.148 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006822/0.263, allocations: 3.676 MB / 461.9 MB, free: 13.48 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003644/0.2667, allocations: 3.96 MB / 465.8 MB, free: 9.512 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001076/0.2678, allocations: 1.018 MB / 466.9 MB, free: 8.477 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001709/0.2695, allocations: 1.499 MB / 468.4 MB, free: 6.973 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001716/0.2712, allocations: 1.526 MB / 469.9 MB, free: 5.441 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002526/0.2715, allocations: 148 kB / 470 MB, free: 5.297 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003595/0.2751, allocations: 2.34 MB / 472.4 MB, free: 2.953 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005297/0.2757, allocations: 0.5571 MB / 472.9 MB, free: 2.395 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000822/0.2765, allocations: 0.8205 MB / 473.7 MB, free: 1.57 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00399/0.2805, allocations: 3.615 MB / 477.4 MB, free: 13.95 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.2805, allocations: 4 kB / 477.4 MB, free: 13.94 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2805, allocations: 0 / 477.4 MB, free: 13.94 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.775e-05/0.2805, allocations: 0 / 477.4 MB, free: 13.94 MB / 398.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.003974/0.2845, allocations: 2.099 MB / 479.5 MB, free: 11.79 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.2845, allocations: 12.02 kB / 479.5 MB, free: 11.77 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005354/0.2851, allocations: 170.1 kB / 479.6 MB, free: 11.61 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001679/0.2868, allocations: 1.014 MB / 480.7 MB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.003e-05/0.2869, allocations: 89.89 kB / 480.7 MB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000165/0.287, allocations: 87.98 kB / 480.8 MB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002437/0.2895, allocations: 1.632 MB / 482.5 MB, free: 8.66 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.76e-05/0.2895, allocations: 4 kB / 482.5 MB, free: 8.656 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001316/0.2897, allocations: 43.97 kB / 482.5 MB, free: 8.613 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001382/0.2898, allocations: 105.9 kB / 482.6 MB, free: 8.508 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002589/0.2924, allocations: 1.647 MB / 484.3 MB, free: 6.859 MB / 398.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.009043/0.3014, allocations: 6.652 MB / 490.9 MB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001458/0.3029, allocations: 0.9263 MB / 491.8 MB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008455/0.3038, allocations: 0.5564 MB / 492.4 MB, free: 14.32 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003498/0.3073, allocations: 2.805 MB / 495.2 MB, free: 11.27 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.459e-05/0.3073, allocations: 47.22 kB / 495.2 MB, free: 11.21 MB / 414.1 MB Notification: Performance of pre-optimization done (n=80): time 2.194e-06/0.3073, allocations: 4 kB / 495.2 MB, free: 11.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=90): time 0.008283/0.3156, allocations: 3.703 MB / 498.9 MB, free: 7.395 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.194e-05/0.3157, allocations: 188.9 kB / 499.1 MB, free: 7.168 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001571/0.3173, allocations: 1.306 MB / 0.4887 GB, free: 5.844 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.924e-05/0.3174, allocations: 53.64 kB / 0.4888 GB, free: 5.785 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004893/0.3179, allocations: 0.6549 MB / 0.4894 GB, free: 5.121 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002556/0.3182, allocations: 323.5 kB / 0.4897 GB, free: 4.801 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004167/0.3186, allocations: 283.3 kB / 0.49 GB, free: 4.52 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.457e-05/0.3187, allocations: 305.1 kB / 0.4903 GB, free: 4.219 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009809/0.3197, allocations: 0.5864 MB / 0.4908 GB, free: 3.629 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001262/0.321, allocations: 1.001 MB / 0.4918 GB, free: 2.449 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002051/0.323, allocations: 1.492 MB / 0.4933 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.272e-06/0.323, allocations: 4 kB / 0.4933 GB, free: 0.793 MB / 414.1 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.003088/0.3261, allocations: 1.904 MB / 0.4951 GB, free: 14.86 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.3262, allocations: 11.98 kB / 0.4952 GB, free: 14.85 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.463e-05/0.3262, allocations: 12 kB / 0.4952 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004819/0.331, allocations: 0.7637 MB / 0.4959 GB, free: 14.07 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001055/0.3321, allocations: 283.6 kB / 0.4962 GB, free: 13.79 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001951/0.334, allocations: 2.16 MB / 0.4983 GB, free: 11.55 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001029/0.3351, allocations: 72.05 kB / 0.4984 GB, free: 11.48 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001145/0.3352, allocations: 67.92 kB / 0.4984 GB, free: 11.41 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001287/0.3365, allocations: 0.8473 MB / 0.4993 GB, free: 10.56 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001248/0.3378, allocations: 0.9915 MB / 0.5002 GB, free: 9.387 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001977/0.3397, allocations: 1.467 MB / 0.5017 GB, free: 7.754 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.646e-06/0.3398, allocations: 4 kB / 0.5017 GB, free: 7.75 MB / 430.1 MB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.003097/0.3429, allocations: 1.834 MB / 0.5034 GB, free: 5.898 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.3429, allocations: 12 kB / 0.5035 GB, free: 5.887 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.539e-05/0.3429, allocations: 15.94 kB / 0.5035 GB, free: 5.871 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004054/0.347, allocations: 0.5839 MB / 0.504 GB, free: 5.277 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001072/0.3481, allocations: 291.5 kB / 0.5043 GB, free: 4.992 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001645/0.3497, allocations: 2.016 MB / 0.5063 GB, free: 2.898 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001024/0.3507, allocations: 71.95 kB / 0.5064 GB, free: 2.828 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001196/0.3509, allocations: 71.97 kB / 0.5064 GB, free: 2.758 MB / 430.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.0002891/0.3512, allocations: 277.1 kB / 0.5067 GB, free: 2.48 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002577/0.3514, allocations: 142.2 kB / 0.5068 GB, free: 2.34 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002948/0.3544, allocations: 1.534 MB / 0.5083 GB, free: 0.8008 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.144e-05/0.3544, allocations: 3.984 kB / 0.5083 GB, free: 0.7969 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.858e-06/0.3544, allocations: 4 kB / 0.5083 GB, free: 0.793 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002707/0.3547, allocations: 223.2 kB / 0.5085 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001946/0.3549, allocations: 27.92 kB / 0.5086 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007911/0.3557, allocations: 43.97 kB / 0.5086 GB, free: 496 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001739/0.3559, allocations: 84.88 kB / 0.5087 GB, free: 412 kB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003254/0.3591, allocations: 1.491 MB / 0.5102 GB, free: 14.89 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002745/0.3619, allocations: 1.884 MB / 0.512 GB, free: 12.99 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007616/0.3627, allocations: 0.5153 MB / 0.5125 GB, free: 12.47 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001166/0.3639, allocations: 0.9006 MB / 0.5134 GB, free: 11.57 MB / 446.1 MB Notification: Performance of Backend: time 7.52e-07/0.3639, allocations: 0 / 0.5134 GB, free: 11.57 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00573/0.3696, allocations: 2.697 MB / 0.516 GB, free: 8.879 MB / 446.1 MB Notification: Performance of SimCode: time 0.004836/0.3745, allocations: 3.481 MB / 0.5194 GB, free: 5.352 MB / 446.1 MB Notification: Performance of Templates: time 0.2085/0.5829, allocations: 44.46 MB / 0.5628 GB, free: 117 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe1.makefile (rm -f Modelica_trunk_Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe1.pipe ; mkfifo Modelica_trunk_Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe1.pipe >> ../files/Modelica_trunk_Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe1.sim & ./Modelica_trunk_Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe1.pipe 2>&1)