Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.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.DrumBoiler.DrumBoiler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler") translateModel(Modelica.Fluid.Examples.DrumBoiler.DrumBoiler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001089/0.001089, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.001322/0.001321, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.626/1.626, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.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.0005635/0.0005638, allocations: 16 kB / 278.9 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2365/0.2371, allocations: 47.58 MB / 326.4 MB, free: 1.41 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.DrumBoiler.DrumBoiler): time 0.04177/0.2789, allocations: 40.51 MB / 367 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02219/0.3012, allocations: 17.98 MB / 384.9 MB, free: 8.914 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001002/0.3023, allocations: 19.88 kB / 384.9 MB, free: 8.895 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001046/0.3033, allocations: 314.5 kB / 385.3 MB, free: 8.586 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01381/0.3171, allocations: 3.802 MB / 389.1 MB, free: 4.773 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006419/0.3236, allocations: 1.788 MB / 390.8 MB, free: 2.98 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002107/0.3257, allocations: 0.9023 MB / 391.7 MB, free: 2.078 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007645/0.3265, allocations: 428.3 kB / 392.2 MB, free: 1.645 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01478/0.3413, allocations: 9.029 MB / 401.2 MB, free: 8.609 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005368/0.3467, allocations: 3.095 MB / 404.3 MB, free: 5.512 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002119/0.3469, allocations: 28 kB / 404.3 MB, free: 5.484 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01469/0.3616, allocations: 7.23 MB / 411.5 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002983/0.362, allocations: 139.4 kB / 411.7 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003274/0.3623, allocations: 169.3 kB / 411.8 MB, free: 13.94 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006345/0.3687, allocations: 3.294 MB / 415.1 MB, free: 10.64 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3687, allocations: 0 / 415.1 MB, free: 10.64 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3687, allocations: 0 / 415.1 MB, free: 10.64 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.487e-06/0.3687, allocations: 0 / 415.1 MB, free: 10.64 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: 152 * Number of variables: 152 Notification: Performance of Generate backend data structure: time 0.003731/0.3725, allocations: 1.516 MB / 416.7 MB, free: 9.059 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.3725, allocations: 8.031 kB / 416.7 MB, free: 9.051 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00196/0.3745, allocations: 282.8 kB / 416.9 MB, free: 8.773 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008484/0.3753, allocations: 484.5 kB / 417.4 MB, free: 8.262 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.359e-05/0.3754, allocations: 49.31 kB / 417.5 MB, free: 8.215 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.735e-05/0.3755, allocations: 52 kB / 417.5 MB, free: 8.164 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001971/0.3775, allocations: 0.9102 MB / 418.4 MB, free: 7.191 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.212e-05/0.3775, allocations: 7.938 kB / 418.4 MB, free: 7.184 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.659e-05/0.3776, allocations: 28 kB / 418.5 MB, free: 7.156 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.49e-05/0.3776, allocations: 16 kB / 418.5 MB, free: 7.141 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001794/0.3794, allocations: 0.7388 MB / 419.2 MB, free: 6.398 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.004982/0.3844, allocations: 4.158 MB / 423.4 MB, free: 1.887 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00177/0.3862, allocations: 0.6651 MB / 424 MB, free: 1.195 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.303/0.6892, allocations: 55.59 MB / 479.6 MB, free: 98.48 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001524/0.6907, allocations: 0.5727 MB / 480.2 MB, free: 97.88 MB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003544/0.6911, allocations: 76.36 kB / 480.3 MB, free: 97.83 MB / 382.1 MB Notification: Performance of pre-optimization done (n=57): time 2.986e-06/0.6911, allocations: 0 / 480.3 MB, free: 97.83 MB / 382.1 MB Notification: Performance of matching and sorting (n=65): time 0.009943/0.7011, allocations: 3.473 MB / 483.8 MB, free: 94.31 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.945e-05/0.7012, allocations: 281.2 kB / 484 MB, free: 93.98 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000458/0.7016, allocations: 472.8 kB / 484.5 MB, free: 93.51 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.971e-05/0.7017, allocations: 45.77 kB / 484.5 MB, free: 93.46 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001879/0.7019, allocations: 324.6 kB / 484.8 MB, free: 93.14 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001447/0.7021, allocations: 215.9 kB / 485.1 MB, free: 92.93 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.239e-05/0.7021, allocations: 12 kB / 485.1 MB, free: 92.92 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.268e-05/0.7022, allocations: 370.8 kB / 485.4 MB, free: 92.55 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004836/0.7027, allocations: 285.5 kB / 485.7 MB, free: 92.27 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005454/0.7032, allocations: 465.5 kB / 486.2 MB, free: 91.74 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005881/0.7038, allocations: 381.5 kB / 486.5 MB, free: 91.36 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.7039, allocations: 0 / 486.5 MB, free: 91.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.00154/0.7054, allocations: 1.041 MB / 487.6 MB, free: 90.3 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.00034/0.7058, allocations: 1.81 MB / 489.4 MB, free: 88.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/0.7058, allocations: 5.875 kB / 489.4 MB, free: 88.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002692/0.7085, allocations: 353.7 kB / 489.7 MB, free: 87.99 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004593/0.7089, allocations: 135.8 kB / 489.9 MB, free: 87.86 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009119/0.7099, allocations: 0.7997 MB / 490.7 MB, free: 87.04 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007267/0.7106, allocations: 68.02 kB / 490.7 MB, free: 86.97 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.53e-05/0.7107, allocations: 43.97 kB / 490.8 MB, free: 86.93 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.7108, allocations: 4 kB / 490.8 MB, free: 86.92 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001693/0.7125, allocations: 0.9812 MB / 491.8 MB, free: 85.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.7125, allocations: 4 kB / 491.8 MB, free: 85.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00261/0.7151, allocations: 352.5 kB / 492.1 MB, free: 85.58 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004161/0.7155, allocations: 127.8 kB / 492.2 MB, free: 85.46 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008566/0.7164, allocations: 0.8039 MB / 493 MB, free: 84.63 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005799/0.717, allocations: 60.02 kB / 493.1 MB, free: 84.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.036e-05/0.7171, allocations: 51.97 kB / 493.2 MB, free: 84.52 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition1,$whenCondition2,pump.medium.phase,q_F_Tab.a,q_F_Tab.b,q_F_Tab.last,$PRE.q_F_Tab.nextEvent,q_F_Tab.nextEvent,q_F_Tab.nextEventScaled,Y_Valve_Tab.a,Y_Valve_Tab.b,Y_Valve_Tab.last,$PRE.Y_Valve_Tab.nextEvent,Y_Valve_Tab.nextEvent,Y_Valve_Tab.nextEventScaled,SteamValve.state_b.phase,SteamValve.state_a.phase,sink.state.phase,sink.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0004038/0.7175, allocations: 357.2 kB / 493.5 MB, free: 84.15 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001232/0.7176, allocations: 71.2 kB / 493.6 MB, free: 84.08 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004604/0.7222, allocations: 4.774 MB / 498.3 MB, free: 79.29 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.632e-05/0.7223, allocations: 31.95 kB / 498.4 MB, free: 79.25 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.777e-06/0.7223, allocations: 0 / 498.4 MB, free: 79.25 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-06/0.7223, allocations: 3.984 kB / 498.4 MB, free: 79.25 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006229/0.7285, allocations: 6.547 MB / 0.4931 GB, free: 72.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.027e-06/0.7286, allocations: 7.844 kB / 0.4931 GB, free: 72.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003794/0.729, allocations: 107.8 kB / 0.4932 GB, free: 72.46 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00194/0.7309, allocations: 1.084 MB / 0.4943 GB, free: 71.38 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.78e-05/0.731, allocations: 23.98 kB / 0.4943 GB, free: 71.35 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001745/0.7327, allocations: 2.347 MB / 0.4966 GB, free: 68.98 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/0.7328, allocations: 12.03 kB / 0.4966 GB, free: 68.97 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006349/0.7391, allocations: 5.517 MB / 0.502 GB, free: 63.41 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004398/0.7396, allocations: 255.1 kB / 0.5022 GB, free: 63.14 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00022/0.7398, allocations: 16 kB / 0.5022 GB, free: 63.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006999/0.7405, allocations: 63.94 kB / 0.5023 GB, free: 63.06 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001454/0.7407, allocations: 53.89 kB / 0.5023 GB, free: 63.01 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.113e-05/0.7408, allocations: 23.98 kB / 0.5024 GB, free: 62.98 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005481/0.7413, allocations: 491 kB / 0.5028 GB, free: 62.5 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7413, allocations: 0 / 0.5028 GB, free: 62.5 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.004816/0.7461, allocations: 1.294 MB / 0.5041 GB, free: 61.29 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (evaporator.p,evaporator.V_l,controller.x) * Number of discrete variables: 27 ($cse2.phase,$cse2.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$whenCondition1,$whenCondition2,pump.medium.phase,q_F_Tab.a,q_F_Tab.b,q_F_Tab.last,q_F_Tab.nextEvent,q_F_Tab.nextEventScaled,Y_Valve_Tab.a,Y_Valve_Tab.b,Y_Valve_Tab.last,Y_Valve_Tab.nextEvent,Y_Valve_Tab.nextEventScaled) * Number of discrete states: 12 (Y_Valve_Tab.nextEvent,Y_Valve_Tab.last,Y_Valve_Tab.nextEventScaled,Y_Valve_Tab.b,Y_Valve_Tab.a,$whenCondition2,q_F_Tab.nextEvent,q_F_Tab.last,q_F_Tab.nextEventScaled,q_F_Tab.b,q_F_Tab.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.006508/0.7527, allocations: 1.247 MB / 0.5053 GB, free: 60.22 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003128/0.7558, allocations: 1.84 MB / 0.5071 GB, free: 58.34 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.69e-06/0.7558, allocations: 0 / 0.5071 GB, free: 58.34 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001139/0.757, allocations: 0.9092 MB / 0.508 GB, free: 57.4 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001687/0.7587, allocations: 309.6 kB / 0.5083 GB, free: 57.11 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003385/0.7621, allocations: 2.736 MB / 0.511 GB, free: 54.35 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004888/0.7626, allocations: 1.098 MB / 0.512 GB, free: 53.22 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0009854/0.7636, allocations: 0.598 MB / 0.5126 GB, free: 52.62 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001718/0.7638, allocations: 63.42 kB / 0.5127 GB, free: 52.56 MB / 382.1 MB Notification: Performance of SimCode: time 1.122e-06/0.7638, allocations: 4 kB / 0.5127 GB, free: 52.55 MB / 382.1 MB Notification: Performance of Templates: time 0.0616/0.8254, allocations: 50.59 MB / 0.5621 GB, free: 1.902 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.makefile Environment - environmentSimulation: (rm -f Modelica_3.1_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.pipe ; mkfifo Modelica_3.1_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.pipe >> ../files/Modelica_3.1_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.sim & ./Modelica_3.1_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.pipe 2>&1) Environment - environmentSimulation: