Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2.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.TankWithEmptyingPipe2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank1.level|tank1.medium.T|tank1.aboveLevel.1.|tank1.aboveLevel.2.",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001517/0.001517, allocations: 113.2 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001898/0.001898, allocations: 211.9 kB / 19.41 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.377/1.377, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001165/0.001165, allocations: 67.88 kB / 359.4 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2116/0.2127, 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.TankWithEmptyingPipe2): time 0.02081/0.2336, allocations: 21.92 MB / 431.9 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01225/0.2458, allocations: 10 MB / 441.9 MB, free: 1.539 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006715/0.2465, allocations: 31.81 kB / 441.9 MB, free: 1.508 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009624/0.2475, allocations: 393.5 kB / 442.3 MB, free: 1.121 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003025/0.2506, allocations: 1.442 MB / 443.7 MB, free: 15.67 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00539/0.256, allocations: 2.64 MB / 446.4 MB, free: 13.05 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002721/0.2587, allocations: 2.58 MB / 448.9 MB, free: 10.46 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009145/0.2596, allocations: 0.66 MB / 449.6 MB, free: 9.781 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001495/0.2611, allocations: 0.9968 MB / 450.6 MB, free: 8.781 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001413/0.2626, allocations: 0.981 MB / 451.6 MB, free: 7.797 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002289/0.2628, allocations: 92 kB / 451.7 MB, free: 7.707 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002795/0.2656, allocations: 1.735 MB / 453.4 MB, free: 5.969 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003978/0.266, allocations: 367 kB / 453.8 MB, free: 5.609 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006536/0.2667, allocations: 0.5405 MB / 454.3 MB, free: 5.066 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003108/0.2698, allocations: 2.466 MB / 456.8 MB, free: 2.594 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.454e-06/0.2698, allocations: 0 / 456.8 MB, free: 2.594 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.2698, allocations: 0 / 456.8 MB, free: 2.594 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.632e-05/0.2698, allocations: 0 / 456.8 MB, free: 2.594 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.003041/0.2729, allocations: 1.503 MB / 458.3 MB, free: 1.039 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.2729, allocations: 12.03 kB / 458.3 MB, free: 1.027 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004386/0.2734, allocations: 122.7 kB / 458.4 MB, free: 0.9062 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001145/0.2745, allocations: 0.7138 MB / 459.1 MB, free: 152 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.116e-05/0.2746, allocations: 49.3 kB / 459.2 MB, free: 100 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001065/0.2747, allocations: 63.98 kB / 459.2 MB, free: 36 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001776/0.2765, allocations: 1.06 MB / 460.3 MB, free: 14.92 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.2765, allocations: 4 kB / 460.3 MB, free: 14.92 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.186e-05/0.2766, allocations: 31.92 kB / 460.3 MB, free: 14.89 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.015e-05/0.2767, allocations: 65.27 kB / 460.4 MB, free: 14.82 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001689/0.2784, allocations: 1.036 MB / 461.4 MB, free: 13.79 MB / 382.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.006685/0.2851, allocations: 4.434 MB / 465.9 MB, free: 9.082 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009931/0.2861, allocations: 0.5631 MB / 466.4 MB, free: 8.512 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005595/0.2867, allocations: 321.9 kB / 466.7 MB, free: 8.195 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002461/0.2892, allocations: 1.969 MB / 468.7 MB, free: 6.012 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.156e-05/0.2892, allocations: 42.89 kB / 468.7 MB, free: 5.961 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 1.874e-06/0.2892, allocations: 0 / 468.7 MB, free: 5.961 MB / 382.1 MB Notification: Performance of matching and sorting (n=45): time 0.004501/0.2937, allocations: 1.966 MB / 470.7 MB, free: 3.902 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.788e-05/0.2938, allocations: 162.2 kB / 470.9 MB, free: 3.707 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001119/0.2949, allocations: 0.9235 MB / 471.8 MB, free: 2.758 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.671e-05/0.295, allocations: 41.7 kB / 471.8 MB, free: 2.711 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003511/0.2954, allocations: 482.8 kB / 472.3 MB, free: 2.23 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001351/0.2955, allocations: 165.7 kB / 472.5 MB, free: 2.066 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002716/0.2958, allocations: 186.5 kB / 472.7 MB, free: 1.875 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001199/0.2959, allocations: 337.9 kB / 473 MB, free: 1.539 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000558/0.2965, allocations: 336.6 kB / 473.3 MB, free: 1.207 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007371/0.2972, allocations: 0.6329 MB / 473.9 MB, free: 448 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001231/0.2985, allocations: 0.8813 MB / 474.8 MB, free: 15.43 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/0.2985, allocations: 3.938 kB / 474.8 MB, free: 15.43 MB / 398.1 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.001882/0.3004, allocations: 1.124 MB / 476 MB, free: 14.29 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.314e-05/0.3004, allocations: 11.94 kB / 476 MB, free: 14.28 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/0.3004, allocations: 12 kB / 476 MB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002486/0.3029, allocations: 377.8 kB / 476.3 MB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000659/0.3036, allocations: 179.7 kB / 476.5 MB, free: 13.71 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001108/0.3047, allocations: 1.339 MB / 477.9 MB, free: 12.32 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006979/0.3054, allocations: 43.97 kB / 477.9 MB, free: 12.28 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.887e-05/0.3055, allocations: 40 kB / 477.9 MB, free: 12.24 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007675/0.3063, allocations: 0.5252 MB / 478.5 MB, free: 11.71 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007148/0.307, allocations: 0.6268 MB / 479.1 MB, free: 10.95 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00112/0.3082, allocations: 0.8714 MB / 480 MB, free: 9.949 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.33e-06/0.3082, allocations: 8 kB / 480 MB, free: 9.941 MB / 398.1 MB Notification: Performance of matching and sorting (n=110) (initialization_lambda0): time 0.001784/0.31, allocations: 1.093 MB / 481.1 MB, free: 8.832 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.31, allocations: 8 kB / 481.1 MB, free: 8.824 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.31, allocations: 11.94 kB / 481.1 MB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002221/0.3122, allocations: 333.3 kB / 481.4 MB, free: 8.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006402/0.3129, allocations: 183.7 kB / 481.6 MB, free: 8.301 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001084/0.314, allocations: 1.316 MB / 482.9 MB, free: 6.934 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006824/0.3147, allocations: 44.02 kB / 483 MB, free: 6.891 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.351e-05/0.3148, allocations: 47.98 kB / 483 MB, free: 6.844 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.0002189/0.315, allocations: 255.8 kB / 483.2 MB, free: 6.59 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001622/0.3152, allocations: 94.88 kB / 483.3 MB, free: 6.496 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001614/0.3168, allocations: 0.7845 MB / 484.1 MB, free: 5.703 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.3168, allocations: 4 kB / 484.1 MB, free: 5.699 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.3168, allocations: 0 / 484.1 MB, free: 5.699 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001912/0.317, allocations: 171.9 kB / 484.3 MB, free: 5.512 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001465/0.3172, allocations: 15.91 kB / 484.3 MB, free: 5.496 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005206/0.3177, allocations: 27.97 kB / 484.3 MB, free: 5.469 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/0.3178, allocations: 40.5 kB / 484.4 MB, free: 5.426 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00174/0.3195, allocations: 0.7774 MB / 485.2 MB, free: 4.641 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001421/0.321, allocations: 1.056 MB / 486.2 MB, free: 3.562 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00037/0.3214, allocations: 252.3 kB / 486.5 MB, free: 3.32 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007967/0.3222, allocations: 0.652 MB / 487.1 MB, free: 2.656 MB / 398.1 MB Notification: Performance of Backend: time 5.81e-07/0.3222, allocations: 0 / 487.1 MB, free: 2.656 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003899/0.3261, allocations: 1.718 MB / 488.8 MB, free: 0.9453 MB / 398.1 MB Notification: Performance of SimCode: time 0.003428/0.3295, allocations: 2.416 MB / 491.2 MB, free: 14.48 MB / 414.1 MB Notification: Performance of Templates: time 0.04053/0.3701, allocations: 28.55 MB / 0.5076 GB, free: 2.066 MB / 430.1 MB make -j1 -f Modelica_trunk_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2.makefile (rm -f Modelica_trunk_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2.pipe ; mkfifo Modelica_trunk_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2.pipe >> ../files/Modelica_trunk_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2.sim & ./Modelica_trunk_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2.pipe 2>&1)