Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2.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.TankWithEmptyingPipe2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank1.level|tank1.medium.T|tank1.aboveLevel.1.|tank1.aboveLevel.2.",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001171/0.001171, allocations: 109.7 kB / 18.4 MB, free: 4.676 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.001143/0.001143, allocations: 187 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.263/1.263, 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.001158/0.001158, allocations: 47.94 kB / 329.2 MB, free: 3.297 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06962/0.07078, allocations: 46.62 MB / 375.8 MB, free: 4.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2): time 0.165/0.2358, allocations: 21.78 MB / 397.6 MB, free: 15.93 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.013/0.2489, allocations: 9.966 MB / 407.6 MB, free: 8.922 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009414/0.2499, allocations: 30.09 kB / 407.6 MB, free: 8.91 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0012/0.2511, allocations: 396.6 kB / 408 MB, free: 8.676 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003688/0.2548, allocations: 1.446 MB / 409.4 MB, free: 7.879 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006736/0.2615, allocations: 2.624 MB / 412.1 MB, free: 6.281 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003175/0.2647, allocations: 2.578 MB / 414.6 MB, free: 4.82 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001057/0.2658, allocations: 0.6551 MB / 415.3 MB, free: 4.395 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001801/0.2676, allocations: 0.9941 MB / 416.3 MB, free: 3.844 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001669/0.2693, allocations: 0.974 MB / 417.3 MB, free: 3.277 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002766/0.2696, allocations: 91.88 kB / 417.4 MB, free: 3.277 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003597/0.2732, allocations: 1.709 MB / 419.1 MB, free: 2.359 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005014/0.2737, allocations: 375.3 kB / 419.4 MB, free: 2.098 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009625/0.2747, allocations: 0.5283 MB / 420 MB, free: 1.758 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003964/0.2786, allocations: 2.451 MB / 422.4 MB, free: 208 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.2787, allocations: 1.375 kB / 422.4 MB, free: 208 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2787, allocations: 0 / 422.4 MB, free: 208 kB / 334.1 MB Notification: Performance of Transformations before backend: time 4.109e-05/0.2787, allocations: 0 / 422.4 MB, free: 208 kB / 334.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.003554/0.2823, allocations: 1.514 MB / 423.9 MB, free: 15.04 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.2823, allocations: 8.969 kB / 423.9 MB, free: 15.04 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000489/0.2828, allocations: 114.3 kB / 424 MB, free: 14.99 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001339/0.2842, allocations: 0.7164 MB / 424.8 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.277e-05/0.2842, allocations: 51.52 kB / 424.8 MB, free: 14.39 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001184/0.2843, allocations: 64.36 kB / 424.9 MB, free: 14.37 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001786/0.2861, allocations: 1.058 MB / 425.9 MB, free: 13.33 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.094e-05/0.2862, allocations: 0 / 425.9 MB, free: 13.33 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001015/0.2863, allocations: 35.92 kB / 426 MB, free: 13.3 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.775e-05/0.2864, allocations: 61.27 kB / 426 MB, free: 13.23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001697/0.2881, allocations: 1.039 MB / 427.1 MB, free: 12.2 MB / 350.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.006684/0.2948, allocations: 4.438 MB / 431.5 MB, free: 7.488 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009931/0.2958, allocations: 0.5669 MB / 432.1 MB, free: 6.914 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005044/0.2963, allocations: 326.4 kB / 432.4 MB, free: 6.594 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002581/0.2989, allocations: 1.973 MB / 434.4 MB, free: 4.41 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/0.299, allocations: 42.89 kB / 434.4 MB, free: 4.359 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 2.104e-06/0.299, allocations: 0 / 434.4 MB, free: 4.359 MB / 350.1 MB Notification: Performance of matching and sorting (n=45): time 0.004636/0.3036, allocations: 1.958 MB / 436.4 MB, free: 2.305 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.244e-05/0.3037, allocations: 158.2 kB / 436.5 MB, free: 2.113 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001151/0.3049, allocations: 0.9351 MB / 437.4 MB, free: 1.152 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.733e-05/0.3049, allocations: 41.7 kB / 437.5 MB, free: 1.105 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003394/0.3053, allocations: 494.7 kB / 438 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001364/0.3054, allocations: 161.8 kB / 438.1 MB, free: 464 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002751/0.3057, allocations: 186.4 kB / 438.3 MB, free: 272 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001273/0.3059, allocations: 341.9 kB / 438.6 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005557/0.3064, allocations: 332.7 kB / 439 MB, free: 15.6 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007433/0.3072, allocations: 0.6212 MB / 439.6 MB, free: 14.84 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00118/0.3084, allocations: 0.8851 MB / 440.5 MB, free: 13.83 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.3084, allocations: 4 kB / 440.5 MB, free: 13.83 MB / 366.1 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.001887/0.3103, allocations: 1.124 MB / 441.6 MB, free: 12.69 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/0.3103, allocations: 15.94 kB / 441.6 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.499e-05/0.3103, allocations: 8 kB / 441.6 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002495/0.3128, allocations: 373.8 kB / 442 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006712/0.3135, allocations: 183.7 kB / 442.2 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001128/0.3146, allocations: 1.343 MB / 443.5 MB, free: 10.72 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007982/0.3155, allocations: 39.97 kB / 443.6 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.212e-05/0.3156, allocations: 44 kB / 443.6 MB, free: 10.64 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007833/0.3163, allocations: 0.5175 MB / 444.1 MB, free: 10.11 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007085/0.3171, allocations: 0.6228 MB / 444.7 MB, free: 9.352 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001128/0.3182, allocations: 0.8753 MB / 445.6 MB, free: 8.348 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.797e-06/0.3182, allocations: 8 kB / 445.6 MB, free: 8.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=110) (initialization_lambda0): time 0.001786/0.32, allocations: 1.089 MB / 446.7 MB, free: 7.238 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.32, allocations: 8 kB / 446.7 MB, free: 7.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.32, allocations: 8.062 kB / 446.7 MB, free: 7.223 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00224/0.3223, allocations: 337.3 kB / 447.1 MB, free: 6.887 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006447/0.323, allocations: 187.7 kB / 447.2 MB, free: 6.703 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00107/0.324, allocations: 1.315 MB / 448.6 MB, free: 5.336 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007694/0.3248, allocations: 43.97 kB / 448.6 MB, free: 5.293 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.315e-05/0.3249, allocations: 40 kB / 448.6 MB, free: 5.254 MB / 366.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.0002433/0.3252, allocations: 248.3 kB / 448.9 MB, free: 5.004 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001786/0.3253, allocations: 94.88 kB / 449 MB, free: 4.91 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001661/0.327, allocations: 0.7953 MB / 449.8 MB, free: 4.109 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.316e-06/0.327, allocations: 11.94 kB / 449.8 MB, free: 4.098 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.327, allocations: 3.625 kB / 449.8 MB, free: 4.098 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002321/0.3273, allocations: 164 kB / 449.9 MB, free: 3.918 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000163/0.3274, allocations: 15.94 kB / 450 MB, free: 3.902 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005294/0.328, allocations: 27.97 kB / 450 MB, free: 3.875 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/0.3281, allocations: 44.5 kB / 450 MB, free: 3.832 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001721/0.3298, allocations: 0.7788 MB / 450.8 MB, free: 3.039 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001418/0.3313, allocations: 1.053 MB / 451.9 MB, free: 1.965 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003768/0.3316, allocations: 256.3 kB / 452.1 MB, free: 1.711 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008207/0.3325, allocations: 0.652 MB / 452.8 MB, free: 1.047 MB / 366.1 MB Notification: Performance of Backend: time 3.71e-07/0.3325, allocations: 0 / 452.8 MB, free: 1.047 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.004218/0.3367, allocations: 1.704 MB / 454.5 MB, free: 15.35 MB / 382.1 MB Notification: Performance of SimCode: time 0.003685/0.3404, allocations: 2.424 MB / 456.9 MB, free: 12.87 MB / 382.1 MB Notification: Performance of Templates: time 0.04246/0.3829, allocations: 28.55 MB / 485.4 MB, free: 272 kB / 398.1 MB make -j1 -f Modelica_3.2.3_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2.makefile (rm -f Modelica_3.2.3_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2.pipe ; mkfifo Modelica_3.2.3_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2.pipe >> ../files/Modelica_3.2.3_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2.sim & ./Modelica_3.2.3_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2.pipe 2>&1)