Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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="mat",numberOfIntervals=5000,variableFilter="time|tank1.level|tank1.medium.T|tank1.aboveLevel.1.|tank1.aboveLevel.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1") translateModel(Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank1.level|tank1.medium.T|tank1.aboveLevel.1.|tank1.aboveLevel.2.",fileNamePrefix="Modelica_4.0.0_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.001529/0.001529, allocations: 111.1 kB / 17.75 MB, free: 5.348 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.001666/0.001666, allocations: 186.4 kB / 18.68 MB, free: 4.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.418/1.418, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009664/0.0009664, allocations: 47.92 kB / 352 MB, free: 3.262 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2065/0.2075, allocations: 49.42 MB / 401.4 MB, free: 8.992 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1): time 0.01988/0.2274, allocations: 20.62 MB / 422 MB, free: 4.355 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008626/0.2361, allocations: 7.046 MB / 429.1 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003626/0.2364, allocations: 23.88 kB / 429.1 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007877/0.2373, allocations: 373.6 kB / 429.5 MB, free: 12.9 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001913/0.2392, allocations: 1.108 MB / 430.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003731/0.2429, allocations: 1.852 MB / 432.4 MB, free: 9.941 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001947/0.2449, allocations: 2.14 MB / 434.6 MB, free: 7.793 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006842/0.2456, allocations: 0.5776 MB / 435.1 MB, free: 7.203 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009969/0.2466, allocations: 0.8331 MB / 436 MB, free: 6.367 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009199/0.2475, allocations: 0.7591 MB / 436.7 MB, free: 5.605 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001338/0.2477, allocations: 76 kB / 436.8 MB, free: 5.531 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00193/0.2496, allocations: 1.252 MB / 438.1 MB, free: 4.277 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002672/0.2499, allocations: 291.1 kB / 438.3 MB, free: 3.992 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004392/0.2503, allocations: 453.9 kB / 438.8 MB, free: 3.547 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002114/0.2525, allocations: 1.904 MB / 440.7 MB, free: 1.637 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.2525, allocations: 4 kB / 440.7 MB, free: 1.633 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2525, allocations: 0 / 440.7 MB, free: 1.633 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.839e-06/0.2525, allocations: 0 / 440.7 MB, free: 1.633 MB / 350.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.002173/0.2547, allocations: 1.309 MB / 442 MB, free: 276 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.2547, allocations: 8.031 kB / 442 MB, free: 268 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000366/0.2551, allocations: 112.3 kB / 442.1 MB, free: 156 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009014/0.256, allocations: 0.629 MB / 442.7 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.764e-05/0.2561, allocations: 45.3 kB / 442.8 MB, free: 15.44 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001041/0.2562, allocations: 52 kB / 442.8 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00138/0.2576, allocations: 0.8867 MB / 443.7 MB, free: 14.45 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.307e-05/0.2576, allocations: 4 kB / 443.7 MB, free: 14.45 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.516e-05/0.2577, allocations: 23.98 kB / 443.8 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.074e-05/0.2578, allocations: 49.28 kB / 443.8 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001274/0.259, allocations: 0.813 MB / 444.6 MB, free: 13.57 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.004802/0.2638, allocations: 3.827 MB / 448.4 MB, free: 9.492 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008912/0.2647, allocations: 0.5448 MB / 449 MB, free: 8.938 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004261/0.2652, allocations: 278 kB / 449.3 MB, free: 8.664 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003623/0.2656, allocations: 0.4991 MB / 449.8 MB, free: 8.055 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.824e-05/0.2656, allocations: 39 kB / 449.8 MB, free: 8.008 MB / 366.1 MB Notification: Performance of pre-optimization done (n=47): time 4.548e-06/0.2656, allocations: 3.984 kB / 449.8 MB, free: 8.004 MB / 366.1 MB Notification: Performance of matching and sorting (n=52): time 0.004374/0.27, allocations: 2.137 MB / 451.9 MB, free: 5.773 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.266e-05/0.2701, allocations: 141 kB / 452.1 MB, free: 5.602 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008527/0.2709, allocations: 0.7347 MB / 452.8 MB, free: 4.859 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.802e-05/0.271, allocations: 45.64 kB / 452.9 MB, free: 4.809 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002722/0.2713, allocations: 384.8 kB / 453.2 MB, free: 4.426 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001461/0.2714, allocations: 190.4 kB / 453.4 MB, free: 4.238 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002439/0.2717, allocations: 150.6 kB / 453.6 MB, free: 4.082 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001612/0.2718, allocations: 386.8 kB / 453.9 MB, free: 3.695 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005246/0.2724, allocations: 316.7 kB / 454.2 MB, free: 3.383 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006581/0.273, allocations: 0.5109 MB / 454.8 MB, free: 2.781 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001099/0.2742, allocations: 0.7739 MB / 455.5 MB, free: 1.93 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.2742, allocations: 4 kB / 455.5 MB, free: 1.926 MB / 366.1 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.00167/0.2758, allocations: 0.9955 MB / 456.5 MB, free: 0.918 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.2759, allocations: 12.72 kB / 456.5 MB, free: 0.9062 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.2759, allocations: 8 kB / 456.6 MB, free: 0.8984 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001654/0.2775, allocations: 297.4 kB / 456.8 MB, free: 0.6016 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005848/0.2781, allocations: 147.7 kB / 457 MB, free: 468 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001057/0.2792, allocations: 1.312 MB / 458.3 MB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005289/0.2798, allocations: 31.98 kB / 458.3 MB, free: 15.06 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.478e-05/0.2798, allocations: 39.98 kB / 458.4 MB, free: 15.02 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006876/0.2805, allocations: 474 kB / 458.8 MB, free: 14.56 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006406/0.2812, allocations: 0.5119 MB / 459.3 MB, free: 13.96 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001045/0.2822, allocations: 0.7552 MB / 460.1 MB, free: 13.12 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.747e-06/0.2823, allocations: 0 / 460.1 MB, free: 13.12 MB / 382.1 MB Notification: Performance of matching and sorting (n=93) (initialization_lambda0): time 0.001628/0.2839, allocations: 0.9455 MB / 461 MB, free: 12.16 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.2839, allocations: 8 kB / 461.1 MB, free: 12.15 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.2839, allocations: 8.062 kB / 461.1 MB, free: 12.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00109/0.285, allocations: 185.4 kB / 461.2 MB, free: 11.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007149/0.2858, allocations: 163.8 kB / 461.4 MB, free: 11.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007763/0.2865, allocations: 1.187 MB / 462.6 MB, free: 10.56 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005266/0.2871, allocations: 35.92 kB / 462.6 MB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.005e-05/0.2872, allocations: 40.03 kB / 462.7 MB, free: 10.48 MB / 382.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.0002001/0.2874, allocations: 232.7 kB / 462.9 MB, free: 10.25 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001458/0.2875, allocations: 87.42 kB / 463 MB, free: 10.16 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001817/0.2893, allocations: 0.9715 MB / 463.9 MB, free: 9.203 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.06e-05/0.2894, allocations: 7.984 kB / 464 MB, free: 9.195 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.2894, allocations: 0 / 464 MB, free: 9.195 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001517/0.2895, allocations: 164.5 kB / 464.1 MB, free: 9.016 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001198/0.2897, allocations: 15.95 kB / 464.1 MB, free: 9 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00046/0.2901, allocations: 31.97 kB / 464.2 MB, free: 8.969 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001124/0.2903, allocations: 48.5 kB / 464.2 MB, free: 8.922 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001816/0.2921, allocations: 0.8984 MB / 465.1 MB, free: 8.008 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00173/0.2938, allocations: 1.23 MB / 466.3 MB, free: 6.762 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004701/0.2943, allocations: 320.3 kB / 466.7 MB, free: 6.449 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005927/0.2949, allocations: 0.5146 MB / 467.2 MB, free: 5.938 MB / 382.1 MB Notification: Performance of Backend: time 4.21e-07/0.2949, allocations: 4 kB / 467.2 MB, free: 5.934 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00322/0.2981, allocations: 1.435 MB / 468.6 MB, free: 4.508 MB / 382.1 MB Notification: Performance of SimCode: time 0.00308/0.3012, allocations: 2.245 MB / 470.8 MB, free: 2.215 MB / 382.1 MB Notification: Performance of Templates: time 0.03453/0.3358, allocations: 24.86 MB / 495.7 MB, free: 9.551 MB / 414.1 MB make -j1 -f Modelica_4.0.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1.makefile (rm -f Modelica_4.0.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1.pipe ; mkfifo Modelica_4.0.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1.pipe >> ../files/Modelica_4.0.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1.sim & ./Modelica_4.0.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1.pipe 2>&1)