Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001908/0.001908, allocations: 110.8 kB / 21.19 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00231/0.00231, allocations: 211.6 kB / 24.49 MB, free: 3.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.501/1.501, allocations: 230.6 MB / 258.3 MB, free: 7.785 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001613/0.001613, allocations: 55.92 kB / 379 MB, free: 2.469 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2159/0.2175, allocations: 53.37 MB / 432.3 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank): time 0.01939/0.2369, allocations: 16.25 MB / 448.6 MB, free: 6.402 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009441/0.2463, allocations: 6.054 MB / 454.6 MB, free: 340 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005987/0.2469, allocations: 31.69 kB / 454.7 MB, free: 308 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009437/0.2479, allocations: 381.9 kB / 455 MB, free: 15.92 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002302/0.2502, allocations: 1.046 MB / 456.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004467/0.2547, allocations: 1.942 MB / 458 MB, free: 12.95 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002468/0.2571, allocations: 2.039 MB / 460.1 MB, free: 10.9 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006264/0.2577, allocations: 450.3 kB / 460.5 MB, free: 10.45 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001188/0.2589, allocations: 0.806 MB / 461.3 MB, free: 9.637 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001107/0.26, allocations: 0.8215 MB / 462.1 MB, free: 8.812 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000137/0.2602, allocations: 68 kB / 462.2 MB, free: 8.746 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001776/0.262, allocations: 0.9751 MB / 463.2 MB, free: 7.77 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003005/0.2623, allocations: 279.1 kB / 463.5 MB, free: 7.496 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004065/0.2627, allocations: 354.4 kB / 463.8 MB, free: 7.148 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002198/0.2649, allocations: 1.725 MB / 465.5 MB, free: 5.418 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.2649, allocations: 0 / 465.5 MB, free: 5.418 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.103e-06/0.2649, allocations: 4 kB / 465.5 MB, free: 5.414 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.441e-05/0.2649, allocations: 0 / 465.5 MB, free: 5.414 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.002422/0.2673, allocations: 1.213 MB / 466.7 MB, free: 4.16 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.2673, allocations: 8.031 kB / 466.8 MB, free: 4.152 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003899/0.2677, allocations: 104.4 kB / 466.9 MB, free: 4.051 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001067/0.2688, allocations: 0.5357 MB / 467.4 MB, free: 3.488 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001197/0.2689, allocations: 126.1 kB / 467.5 MB, free: 3.348 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001013/0.269, allocations: 47.98 kB / 467.6 MB, free: 3.301 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001565/0.2706, allocations: 1.185 MB / 468.7 MB, free: 1.977 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.966e-05/0.2706, allocations: 0 / 468.7 MB, free: 1.977 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.056e-05/0.2707, allocations: 20 kB / 468.8 MB, free: 1.957 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.477e-05/0.2707, allocations: 44.97 kB / 468.8 MB, free: 1.914 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001215/0.272, allocations: 0.7042 MB / 469.5 MB, free: 1.203 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.004679/0.2766, allocations: 2.661 MB / 472.2 MB, free: 14.46 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007561/0.2774, allocations: 427.1 kB / 472.6 MB, free: 14.03 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004154/0.2778, allocations: 262.8 kB / 472.8 MB, free: 13.77 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001553/0.2794, allocations: 0.7538 MB / 473.6 MB, free: 12.99 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007094/0.2801, allocations: 0.5793 MB / 474.2 MB, free: 12.32 MB / 382.1 MB Notification: Performance of pre-optimization done (n=35): time 1.684e-06/0.2801, allocations: 0 / 474.2 MB, free: 12.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.004029/0.2841, allocations: 1.714 MB / 475.9 MB, free: 10.54 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001459/0.2843, allocations: 269 kB / 476.2 MB, free: 10.22 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008353/0.2851, allocations: 0.6796 MB / 476.8 MB, free: 9.527 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.866e-05/0.2851, allocations: 33.7 kB / 476.9 MB, free: 9.488 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000348/0.2855, allocations: 424.3 kB / 477.3 MB, free: 9.066 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001351/0.2856, allocations: 134.9 kB / 477.4 MB, free: 8.934 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002538/0.2859, allocations: 154.2 kB / 477.6 MB, free: 8.777 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000192/0.2861, allocations: 378.8 kB / 477.9 MB, free: 8.398 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004845/0.2866, allocations: 301.4 kB / 478.2 MB, free: 8.098 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008077/0.2874, allocations: 0.7162 MB / 478.9 MB, free: 7.219 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00838/0.2957, allocations: 1.901 MB / 480.8 MB, free: 5.203 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.2958, allocations: 0 / 480.8 MB, free: 5.203 MB / 382.1 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001893/0.2976, allocations: 0.9888 MB / 481.8 MB, free: 4.188 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.333e-05/0.2977, allocations: 45.64 kB / 481.9 MB, free: 4.137 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/0.2977, allocations: 7.984 kB / 481.9 MB, free: 4.129 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005911/0.2983, allocations: 141.2 kB / 482 MB, free: 3.988 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005803/0.2989, allocations: 139.8 kB / 482.2 MB, free: 3.852 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007219/0.2996, allocations: 0.6772 MB / 482.8 MB, free: 3.148 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006181/0.3002, allocations: 35.97 kB / 482.9 MB, free: 3.113 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.526e-05/0.3003, allocations: 32 kB / 482.9 MB, free: 3.082 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.0007831/0.3011, allocations: 487.8 kB / 483.4 MB, free: 2.598 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007913/0.3019, allocations: 0.7098 MB / 484.1 MB, free: 1.727 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002836/0.3047, allocations: 1.272 MB / 485.4 MB, free: 348 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.514e-06/0.3047, allocations: 7.938 kB / 485.4 MB, free: 340 kB / 382.1 MB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.001829/0.3065, allocations: 0.9757 MB / 486.3 MB, free: 15.34 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.418e-05/0.3066, allocations: 41.69 kB / 486.4 MB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.3066, allocations: 4 kB / 486.4 MB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004348/0.307, allocations: 121.5 kB / 486.5 MB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005564/0.3076, allocations: 143.7 kB / 486.7 MB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006377/0.3082, allocations: 0.6693 MB / 487.3 MB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006474/0.3089, allocations: 48.03 kB / 487.4 MB, free: 14.28 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.593e-05/0.3089, allocations: 32 kB / 487.4 MB, free: 14.25 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.0003141/0.3093, allocations: 277.2 kB / 487.7 MB, free: 13.97 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001319/0.3094, allocations: 71.58 kB / 487.7 MB, free: 13.9 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001414/0.3108, allocations: 0.7266 MB / 488.5 MB, free: 13.15 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/0.3108, allocations: 3.984 kB / 488.5 MB, free: 13.14 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3108, allocations: 0 / 488.5 MB, free: 13.14 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001256/0.3109, allocations: 59.53 kB / 488.5 MB, free: 13.09 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001244/0.3111, allocations: 15.98 kB / 488.5 MB, free: 13.07 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004323/0.3115, allocations: 23.98 kB / 488.6 MB, free: 13.05 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/0.3116, allocations: 31.94 kB / 488.6 MB, free: 13.02 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001538/0.3131, allocations: 0.8093 MB / 489.4 MB, free: 12.17 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001544/0.3147, allocations: 1.094 MB / 490.5 MB, free: 11.04 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003822/0.3151, allocations: 242.2 kB / 490.7 MB, free: 10.8 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006137/0.3157, allocations: 475 kB / 491.2 MB, free: 10.34 MB / 398.1 MB Notification: Performance of Backend: time 2.71e-07/0.3157, allocations: 0 / 491.2 MB, free: 10.34 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003267/0.3189, allocations: 1.381 MB / 492.6 MB, free: 8.914 MB / 398.1 MB Notification: Performance of SimCode: time 0.003014/0.322, allocations: 2.077 MB / 494.7 MB, free: 6.777 MB / 398.1 MB Notification: Performance of Templates: time 0.03409/0.356, allocations: 21.5 MB / 0.5041 GB, free: 1.523 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank.pipe ; mkfifo Modelica_4.1.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank.pipe >> ../files/Modelica_4.1.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank.sim & ./Modelica_4.1.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.107909803999064] 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.36448929700418375 0.378731963 0.11072540700000001 Calling exit ...