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.OneTank.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.001274/0.001274, allocations: 112.3 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.001373/0.001373, allocations: 211 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.432/1.432, 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.OneTank,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5484,variableFilter="time|tank.level|tank.medium.T|tank.aboveLevel.1.|tank.ports_m_flow_out.1.|timeTable.a|timeTable.b|timeTable.last|timeTable.nextEvent",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank") translateModel(Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5484,variableFilter="time|tank.level|tank.medium.T|tank.aboveLevel.1.|tank.ports_m_flow_out.1.|timeTable.a|timeTable.b|timeTable.last|timeTable.nextEvent",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank") [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.001996/0.001996, allocations: 75.83 kB / 378.7 MB, free: 2.926 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2109/0.2129, allocations: 53.31 MB / 432.1 MB, free: 7.438 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank): time 0.02005/0.233, allocations: 17.91 MB / 450 MB, free: 5.457 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009438/0.2424, allocations: 6.703 MB / 456.7 MB, free: 14.73 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004275/0.2428, allocations: 23.81 kB / 456.7 MB, free: 14.71 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008473/0.2437, allocations: 397.7 kB / 457.1 MB, free: 14.32 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001975/0.2456, allocations: 1.026 MB / 458.1 MB, free: 13.29 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004043/0.2497, allocations: 1.915 MB / 460 MB, free: 11.39 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002138/0.2518, allocations: 1.953 MB / 462 MB, free: 9.43 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006188/0.2524, allocations: 454 kB / 462.4 MB, free: 8.973 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001082/0.2535, allocations: 0.7982 MB / 463.2 MB, free: 8.172 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001129/0.2546, allocations: 0.8097 MB / 464 MB, free: 7.359 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001425/0.2548, allocations: 64 kB / 464.1 MB, free: 7.297 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00235/0.2571, allocations: 1.166 MB / 465.2 MB, free: 6.129 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003924/0.2575, allocations: 279.1 kB / 465.5 MB, free: 5.855 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005621/0.2581, allocations: 429.9 kB / 465.9 MB, free: 5.434 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002619/0.2607, allocations: 1.768 MB / 467.7 MB, free: 3.66 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.2607, allocations: 0 / 467.7 MB, free: 3.66 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.2607, allocations: 0 / 467.7 MB, free: 3.66 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.658e-06/0.2607, allocations: 0 / 467.7 MB, free: 3.66 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.002475/0.2632, allocations: 1.285 MB / 469 MB, free: 2.316 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.2632, allocations: 8.031 kB / 469 MB, free: 2.309 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003827/0.2636, allocations: 104.4 kB / 469.1 MB, free: 2.207 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00106/0.2647, allocations: 0.6091 MB / 469.7 MB, free: 1.551 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.82e-05/0.2648, allocations: 92.39 kB / 469.8 MB, free: 1.449 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.173e-05/0.2649, allocations: 44 kB / 469.8 MB, free: 1.406 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001352/0.2662, allocations: 0.8009 MB / 470.6 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.09e-05/0.2662, allocations: 3.938 kB / 470.6 MB, free: 0.5508 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.743e-05/0.2663, allocations: 23.98 kB / 470.7 MB, free: 0.5273 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.608e-05/0.2664, allocations: 40.97 kB / 470.7 MB, free: 500 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001199/0.2676, allocations: 0.683 MB / 471.4 MB, free: 15.8 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.005083/0.2727, allocations: 3.425 MB / 474.8 MB, free: 12.16 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007359/0.2734, allocations: 395.8 kB / 475.2 MB, free: 11.77 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003981/0.2738, allocations: 229.1 kB / 475.4 MB, free: 11.54 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001877/0.2757, allocations: 1.339 MB / 476.8 MB, free: 10.06 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005759/0.2763, allocations: 354.2 kB / 477.1 MB, free: 9.684 MB / 382.1 MB Notification: Performance of pre-optimization done (n=35): time 1.814e-06/0.2763, allocations: 0 / 477.1 MB, free: 9.684 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.00398/0.2802, allocations: 1.8 MB / 478.9 MB, free: 7.793 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001559/0.2804, allocations: 269 kB / 479.2 MB, free: 7.469 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001003/0.2814, allocations: 0.7702 MB / 479.9 MB, free: 6.684 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.272e-05/0.2815, allocations: 41.7 kB / 480 MB, free: 6.637 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003502/0.2818, allocations: 415.8 kB / 480.4 MB, free: 6.227 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001372/0.282, allocations: 142.8 kB / 480.5 MB, free: 6.086 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000247/0.2822, allocations: 150.2 kB / 480.7 MB, free: 5.934 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000204/0.2824, allocations: 390.8 kB / 481.1 MB, free: 5.543 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004724/0.2829, allocations: 267.7 kB / 481.3 MB, free: 5.277 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007234/0.2836, allocations: 0.5036 MB / 481.8 MB, free: 4.664 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007552/0.2912, allocations: 1.903 MB / 483.7 MB, free: 2.645 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/0.2912, allocations: 4 kB / 483.7 MB, free: 2.641 MB / 382.1 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001836/0.293, allocations: 0.957 MB / 484.7 MB, free: 1.668 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.319e-05/0.293, allocations: 41.69 kB / 484.7 MB, free: 1.621 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/0.2931, allocations: 11.94 kB / 484.7 MB, free: 1.609 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005454/0.2936, allocations: 137.2 kB / 484.9 MB, free: 1.473 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005365/0.2941, allocations: 139.8 kB / 485 MB, free: 1.336 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007003/0.2948, allocations: 0.6772 MB / 485.7 MB, free: 0.6328 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006009/0.2954, allocations: 40.09 kB / 485.7 MB, free: 0.5938 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.78e-05/0.2955, allocations: 35.97 kB / 485.8 MB, free: 0.5586 MB / 382.1 MB Warning: Assuming fixed start value for the following 2 variables: tank.level:VARIABLE(start = tank.level_start unit = \"m\" fixed = true stateSelect=StateSelect.prefer ) \"Fluid level in the tank\" type: Real tank.medium.T:VARIABLE(min = 1.0 max = 1e4 start = tank.T_start unit = \"K\" fixed = true nominal = 300.0 stateSelect=StateSelect.prefer ) \"Temperature of medium\" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007551/0.2963, allocations: 458 kB / 486.2 MB, free: 112 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007051/0.297, allocations: 0.5011 MB / 486.7 MB, free: 15.5 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00272/0.2997, allocations: 1.256 MB / 488 MB, free: 14.12 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.45e-06/0.2997, allocations: 4.156 kB / 488 MB, free: 14.12 MB / 398.1 MB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.001769/0.3015, allocations: 0.9511 MB / 488.9 MB, free: 13.16 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.811e-05/0.3015, allocations: 41.7 kB / 489 MB, free: 13.11 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.747e-06/0.3015, allocations: 4 kB / 489 MB, free: 13.11 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000413/0.3019, allocations: 120.9 kB / 489.1 MB, free: 12.98 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005035/0.3024, allocations: 131.8 kB / 489.2 MB, free: 12.86 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006262/0.3031, allocations: 0.6733 MB / 489.9 MB, free: 12.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006218/0.3037, allocations: 31.98 kB / 489.9 MB, free: 12.12 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.875e-05/0.3037, allocations: 39.98 kB / 490 MB, free: 12.09 MB / 398.1 MB Warning: Assuming fixed start value for the following 2 variables: tank.level:VARIABLE(start = tank.level_start unit = \"m\" fixed = true stateSelect=StateSelect.prefer ) \"Fluid level in the tank\" type: Real tank.medium.T:VARIABLE(min = 1.0 max = 1e4 start = tank.T_start unit = \"K\" fixed = true nominal = 300.0 stateSelect=StateSelect.prefer ) \"Temperature of medium\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.tank.aboveLevel[1],timeTable.nextEventScaled,timeTable.nextEvent,$PRE.timeTable.nextEvent,timeTable.last,timeTable.b,timeTable.a,tank.aboveLevel[1],tank.ports_m_flow_out[1],$PRE.tank.ports_m_flow_out[1],$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 1 * 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 {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0003007/0.304, allocations: 277.2 kB / 490.2 MB, free: 11.8 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001427/0.3042, allocations: 91.42 kB / 490.3 MB, free: 11.71 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001386/0.3056, allocations: 0.6947 MB / 491 MB, free: 11 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.196e-06/0.3056, allocations: 3.984 kB / 491 MB, free: 11 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.3056, allocations: 7.938 kB / 491 MB, free: 10.99 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001838/0.3058, allocations: 144.6 kB / 491.2 MB, free: 10.83 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001359/0.3059, allocations: 16 kB / 491.2 MB, free: 10.81 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004187/0.3063, allocations: 23.97 kB / 491.2 MB, free: 10.79 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.391e-05/0.3064, allocations: 35.95 kB / 491.2 MB, free: 10.75 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001506/0.3079, allocations: 0.7761 MB / 492 MB, free: 9.949 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001505/0.3094, allocations: 1.04 MB / 493.1 MB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003533/0.3098, allocations: 215.9 kB / 493.3 MB, free: 8.672 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000734/0.3105, allocations: 0.5381 MB / 493.8 MB, free: 8.137 MB / 398.1 MB Notification: Performance of Backend: time 1.81e-07/0.3105, allocations: 0 / 493.8 MB, free: 8.137 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003322/0.3138, allocations: 1.34 MB / 495.1 MB, free: 6.773 MB / 398.1 MB Notification: Performance of SimCode: time 0.003346/0.3172, allocations: 2.17 MB / 497.3 MB, free: 4.543 MB / 398.1 MB Notification: Performance of Templates: time 0.0356/0.3528, allocations: 21.71 MB / 0.5069 GB, free: 14.98 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank.sim & ./Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.0080905659124255] Failed to read output from testmodel.py, exit status != 0: ['time', 'tank.level', 'tank.medium.T', 'tank.aboveLevel[1]', 'tank.ports_m_flow_out[1]', 'timeTable.a', 'timeTable.b', 'timeTable.last', 'timeTable.nextEvent'] 0.36092747189104557 0.37504805900000004 0.111245569 Calling exit ...