Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001832/0.001832, allocations: 113.9 kB / 21.18 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002164/0.002164, allocations: 209.8 kB / 24.48 MB, free: 4.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.48/1.48, allocations: 230.4 MB / 258.1 MB, free: 8.156 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.TwoTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|tank1.level|tank1.medium.T|tank2.level|tank2.medium.T|tank1.aboveLevel.1.|tank2.aboveLevel.1.",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks") translateModel(Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|tank1.level|tank1.medium.T|tank2.level|tank2.medium.T|tank1.aboveLevel.1.|tank2.aboveLevel.1.",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001954/0.001954, allocations: 67.89 kB / 378.7 MB, free: 2.914 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2053/0.2072, allocations: 53.31 MB / 432 MB, free: 7.41 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks): time 0.02008/0.2273, allocations: 17.95 MB / 450 MB, free: 5.391 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008649/0.2359, allocations: 6.07 MB / 456.1 MB, free: 15.3 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003462/0.2363, allocations: 27.88 kB / 456.1 MB, free: 15.28 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007893/0.2371, allocations: 341.9 kB / 456.4 MB, free: 14.94 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002078/0.2392, allocations: 1.061 MB / 457.5 MB, free: 13.88 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003277/0.2424, allocations: 1.642 MB / 459.1 MB, free: 12.24 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00223/0.2447, allocations: 1.957 MB / 461.1 MB, free: 10.28 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000564/0.2452, allocations: 417.7 kB / 461.5 MB, free: 9.859 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009903/0.2462, allocations: 0.7398 MB / 462.2 MB, free: 9.117 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001075/0.2473, allocations: 0.7941 MB / 463 MB, free: 8.32 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001115/0.2474, allocations: 64 kB / 463.1 MB, free: 8.258 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001842/0.2492, allocations: 1.154 MB / 464.2 MB, free: 7.102 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002973/0.2495, allocations: 267.1 kB / 464.5 MB, free: 6.84 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004315/0.25, allocations: 406.1 kB / 464.9 MB, free: 6.441 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002115/0.2521, allocations: 1.729 MB / 466.6 MB, free: 4.707 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.2521, allocations: 0 / 466.6 MB, free: 4.707 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.2521, allocations: 0 / 466.6 MB, free: 4.707 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.337e-05/0.2521, allocations: 0 / 466.6 MB, free: 4.707 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: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.002326/0.2544, allocations: 1.209 MB / 467.8 MB, free: 3.441 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.2545, allocations: 8.031 kB / 467.8 MB, free: 3.434 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003039/0.2548, allocations: 92.41 kB / 467.9 MB, free: 3.344 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001011/0.2558, allocations: 0.5797 MB / 468.5 MB, free: 2.723 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.194e-05/0.2558, allocations: 36.98 kB / 468.6 MB, free: 2.688 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.931e-05/0.2559, allocations: 51.98 kB / 468.6 MB, free: 2.637 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001256/0.2572, allocations: 0.7372 MB / 469.3 MB, free: 1.867 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.005e-05/0.2572, allocations: 3.938 kB / 469.3 MB, free: 1.863 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.377e-05/0.2573, allocations: 20 kB / 469.4 MB, free: 1.844 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.757e-05/0.2573, allocations: 40.97 kB / 469.4 MB, free: 1.805 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001233/0.2586, allocations: 0.6987 MB / 470.1 MB, free: 1.105 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.004696/0.2633, allocations: 3.05 MB / 473.2 MB, free: 13.84 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008125/0.2641, allocations: 464.5 kB / 473.6 MB, free: 13.37 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004261/0.2645, allocations: 250 kB / 473.9 MB, free: 13.12 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003028/0.2648, allocations: 345.3 kB / 474.2 MB, free: 12.71 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.738e-05/0.2648, allocations: 39 kB / 474.2 MB, free: 12.67 MB / 382.1 MB Notification: Performance of pre-optimization done (n=48): time 1.794e-06/0.2649, allocations: 0 / 474.2 MB, free: 12.67 MB / 382.1 MB Notification: Performance of matching and sorting (n=58): time 0.005625/0.2705, allocations: 2.305 MB / 476.5 MB, free: 10.29 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.953e-05/0.2705, allocations: 81.67 kB / 476.6 MB, free: 10.2 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007929/0.2713, allocations: 0.625 MB / 477.2 MB, free: 9.559 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.454e-05/0.2714, allocations: 41.7 kB / 477.3 MB, free: 9.512 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002797/0.2717, allocations: 337 kB / 477.6 MB, free: 9.176 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001953/0.2719, allocations: 214.2 kB / 477.8 MB, free: 8.965 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002415/0.2721, allocations: 146.6 kB / 478 MB, free: 8.816 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002004/0.2723, allocations: 378.8 kB / 478.3 MB, free: 8.438 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005553/0.2729, allocations: 312.7 kB / 478.6 MB, free: 8.129 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000686/0.2736, allocations: 481.3 kB / 479.1 MB, free: 7.59 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001175/0.2747, allocations: 0.7406 MB / 479.8 MB, free: 6.789 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.2747, allocations: 0 / 479.8 MB, free: 6.789 MB / 382.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001694/0.2764, allocations: 0.9736 MB / 480.8 MB, free: 5.805 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.2764, allocations: 11.94 kB / 480.8 MB, free: 5.793 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.2765, allocations: 8 kB / 480.8 MB, free: 5.785 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002556/0.279, allocations: 408.8 kB / 481.2 MB, free: 5.383 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006098/0.2796, allocations: 151.8 kB / 481.4 MB, free: 5.234 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009981/0.2806, allocations: 0.8332 MB / 482.2 MB, free: 4.375 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004681/0.2811, allocations: 31.98 kB / 482.3 MB, free: 4.344 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.257e-05/0.2812, allocations: 39.92 kB / 482.3 MB, free: 4.305 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007459/0.2819, allocations: 477.9 kB / 482.8 MB, free: 3.832 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006785/0.2826, allocations: 470.1 kB / 483.2 MB, free: 3.305 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001118/0.2837, allocations: 0.7281 MB / 483.9 MB, free: 2.512 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.488e-06/0.2837, allocations: 7.938 kB / 484 MB, free: 2.504 MB / 382.1 MB Notification: Performance of matching and sorting (n=92) (initialization_lambda0): time 0.001589/0.2853, allocations: 0.9092 MB / 484.9 MB, free: 1.582 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.017e-05/0.2853, allocations: 4 kB / 484.9 MB, free: 1.578 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.128e-06/0.2853, allocations: 8 kB / 484.9 MB, free: 1.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001977/0.2873, allocations: 268.8 kB / 485.1 MB, free: 1.305 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006086/0.2879, allocations: 159.7 kB / 485.3 MB, free: 1.148 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006663/0.2886, allocations: 0.7124 MB / 486 MB, free: 420 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004723/0.289, allocations: 35.97 kB / 486 MB, free: 384 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.351e-05/0.2891, allocations: 28 kB / 486.1 MB, free: 356 kB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 6 (tank2.aboveLevel[1],$PRE.tank2.aboveLevel[1],tank1.aboveLevel[1],$PRE.tank1.aboveLevel[1],tank2.ports_m_flow_out[1],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 (84): * 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: 1 * 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): 1 system {(2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0002334/0.2893, allocations: 239 kB / 486.3 MB, free: 112 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001427/0.2895, allocations: 75.59 kB / 486.4 MB, free: 36 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001647/0.2911, allocations: 0.8509 MB / 487.2 MB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.2911, allocations: 4.094 kB / 487.2 MB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.2911, allocations: 3.938 kB / 487.2 MB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001669/0.2913, allocations: 152.6 kB / 487.4 MB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001178/0.2914, allocations: 20.05 kB / 487.4 MB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004373/0.2919, allocations: 23.98 kB / 487.4 MB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001165/0.292, allocations: 56.52 kB / 487.5 MB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002045/0.294, allocations: 0.9171 MB / 488.4 MB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001791/0.2958, allocations: 1.19 MB / 489.6 MB, free: 12.77 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004995/0.2963, allocations: 300.3 kB / 489.9 MB, free: 12.48 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005509/0.2969, allocations: 439 kB / 490.3 MB, free: 12.05 MB / 398.1 MB Notification: Performance of Backend: time 2.31e-07/0.2969, allocations: 0 / 490.3 MB, free: 12.05 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003172/0.3, allocations: 1.293 MB / 491.6 MB, free: 10.75 MB / 398.1 MB Notification: Performance of SimCode: time 0.003258/0.3033, allocations: 2.215 MB / 493.8 MB, free: 8.496 MB / 398.1 MB Notification: Performance of Templates: time 0.03502/0.3383, allocations: 22.63 MB / 0.5043 GB, free: 2.035 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks.sim & ./Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.0634765340946615] Failed to read output from testmodel.py, exit status != 0: ['time', 'tank1.level', 'tank1.medium.T', 'tank2.level', 'tank2.medium.T', 'tank1.aboveLevel[1]', 'tank2.aboveLevel[1]'] 0.34621539199724793 0.36031664699999993 0.10513163599999995 Calling exit ...