Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler") translateModel(Modelica.Fluid.Examples.DrumBoiler.DrumBoiler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.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.001265/0.001266, allocations: 100.1 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.001714/0.001714, 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.548/1.548, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.000516/0.0005162, allocations: 16 kB / 278.9 MB, free: 12.85 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2577/0.2582, allocations: 47.58 MB / 326.4 MB, free: 1.422 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.DrumBoiler.DrumBoiler): time 0.03853/0.2968, allocations: 40.51 MB / 366.9 MB, free: 10.94 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02147/0.3183, allocations: 17.98 MB / 384.9 MB, free: 8.918 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001207/0.3196, allocations: 15.88 kB / 384.9 MB, free: 8.902 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001131/0.3207, allocations: 322.5 kB / 385.3 MB, free: 8.586 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01261/0.3333, allocations: 3.806 MB / 389.1 MB, free: 4.77 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005708/0.339, allocations: 1.792 MB / 390.9 MB, free: 2.973 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001679/0.3407, allocations: 0.8984 MB / 391.8 MB, free: 2.074 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006087/0.3414, allocations: 420.3 kB / 392.2 MB, free: 1.648 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01411/0.3555, allocations: 9.029 MB / 401.2 MB, free: 8.613 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004986/0.3605, allocations: 3.099 MB / 404.3 MB, free: 5.512 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002242/0.3608, allocations: 32 kB / 404.3 MB, free: 5.48 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01541/0.3762, allocations: 7.226 MB / 411.5 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000276/0.3765, allocations: 135.4 kB / 411.7 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003503/0.3769, allocations: 173.3 kB / 411.8 MB, free: 13.94 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008299/0.3852, allocations: 3.294 MB / 415.1 MB, free: 10.64 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.3852, allocations: 0 / 415.1 MB, free: 10.64 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.855e-06/0.3853, allocations: 0 / 415.1 MB, free: 10.64 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.094e-05/0.3853, 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.004573/0.3899, allocations: 1.512 MB / 416.7 MB, free: 9.062 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.436e-05/0.3899, allocations: 12.03 kB / 416.7 MB, free: 9.051 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001945/0.3919, allocations: 286.8 kB / 416.9 MB, free: 8.77 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000794/0.3927, allocations: 484.5 kB / 417.4 MB, free: 8.258 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.236e-05/0.3928, allocations: 41.31 kB / 417.5 MB, free: 8.219 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.405e-05/0.3929, allocations: 60 kB / 417.5 MB, free: 8.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001952/0.3948, allocations: 0.9141 MB / 418.4 MB, free: 7.184 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.977e-05/0.3948, allocations: 3.938 kB / 418.4 MB, free: 7.18 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.404e-05/0.3949, allocations: 24 kB / 418.5 MB, free: 7.156 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.729e-05/0.3949, allocations: 16 kB / 418.5 MB, free: 7.141 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001701/0.3966, 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.004669/0.4013, allocations: 4.158 MB / 423.4 MB, free: 1.887 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001705/0.403, allocations: 0.6651 MB / 424 MB, free: 1.195 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3041/0.7072, allocations: 55.6 MB / 479.6 MB, free: 98.48 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001402/0.7086, allocations: 0.5673 MB / 480.2 MB, free: 97.88 MB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00037/0.709, allocations: 73.06 kB / 480.3 MB, free: 97.83 MB / 382.1 MB Notification: Performance of pre-optimization done (n=57): time 2.164e-06/0.709, allocations: 1.781 kB / 480.3 MB, free: 97.83 MB / 382.1 MB Notification: Performance of matching and sorting (n=65): time 0.009372/0.7184, allocations: 3.478 MB / 483.8 MB, free: 94.31 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.405e-05/0.7185, allocations: 277.2 kB / 484 MB, free: 93.98 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004388/0.719, allocations: 481.6 kB / 484.5 MB, free: 93.51 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.483e-05/0.719, allocations: 37.7 kB / 484.5 MB, free: 93.46 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001807/0.7192, allocations: 323 kB / 484.8 MB, free: 93.14 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001537/0.7194, allocations: 217.6 kB / 485.1 MB, free: 92.94 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.582e-05/0.7194, allocations: 20 kB / 485.1 MB, free: 92.92 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001091/0.7195, allocations: 366.8 kB / 485.4 MB, free: 92.55 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004911/0.72, allocations: 285.5 kB / 485.7 MB, free: 92.27 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005763/0.7206, allocations: 461.6 kB / 486.2 MB, free: 91.75 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005639/0.7212, allocations: 381.5 kB / 486.5 MB, free: 91.36 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.7212, allocations: 0 / 486.5 MB, free: 91.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001625/0.7228, allocations: 1.046 MB / 487.6 MB, free: 90.3 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000388/0.7232, allocations: 1.808 MB / 489.4 MB, free: 88.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/0.7233, allocations: 7.656 kB / 489.4 MB, free: 88.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00259/0.7259, allocations: 350.1 kB / 489.7 MB, free: 87.99 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004604/0.7263, allocations: 131.8 kB / 489.9 MB, free: 87.86 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008909/0.7272, allocations: 0.8093 MB / 490.7 MB, free: 87.04 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006072/0.7279, allocations: 68.02 kB / 490.7 MB, free: 86.97 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.274e-05/0.7279, allocations: 43.97 kB / 490.8 MB, free: 86.93 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/0.728, allocations: 8 kB / 490.8 MB, free: 86.92 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001462/0.7294, allocations: 0.9736 MB / 491.8 MB, free: 85.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.7294, allocations: 4 kB / 491.8 MB, free: 85.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002412/0.7319, allocations: 350.8 kB / 492.1 MB, free: 85.58 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004022/0.7323, allocations: 127.8 kB / 492.2 MB, free: 85.46 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008842/0.7332, allocations: 0.8117 MB / 493.1 MB, free: 84.62 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006673/0.7339, allocations: 64.02 kB / 493.1 MB, free: 84.56 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.764e-05/0.7339, allocations: 39.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.0005444/0.7345, allocations: 357.2 kB / 493.5 MB, free: 84.15 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001681/0.7347, allocations: 78.95 kB / 493.6 MB, free: 84.07 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005173/0.7399, allocations: 4.776 MB / 498.4 MB, free: 79.28 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.653e-05/0.7399, allocations: 27.95 kB / 498.4 MB, free: 79.25 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.144e-05/0.7399, allocations: 4 kB / 498.4 MB, free: 79.25 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.939e-06/0.7399, allocations: 3.984 kB / 498.4 MB, free: 79.25 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006985/0.7469, allocations: 6.544 MB / 0.4931 GB, free: 72.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.308e-06/0.747, allocations: 3.938 kB / 0.4931 GB, free: 72.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003979/0.7474, allocations: 99.88 kB / 0.4932 GB, free: 72.47 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001968/0.7494, allocations: 1.087 MB / 0.4943 GB, free: 71.38 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.352e-05/0.7494, allocations: 23.98 kB / 0.4943 GB, free: 71.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001672/0.7511, allocations: 2.349 MB / 0.4966 GB, free: 68.98 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.7511, allocations: 3.938 kB / 0.4966 GB, free: 68.98 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005805/0.757, allocations: 5.531 MB / 0.502 GB, free: 63.4 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003971/0.7574, allocations: 243.1 kB / 0.5022 GB, free: 63.14 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002128/0.7576, allocations: 20 kB / 0.5022 GB, free: 63.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000655/0.7583, allocations: 63.92 kB / 0.5023 GB, free: 63.06 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001306/0.7584, allocations: 52.48 kB / 0.5023 GB, free: 63.01 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.153e-05/0.7585, allocations: 35.98 kB / 0.5024 GB, free: 62.97 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005322/0.759, allocations: 475 kB / 0.5028 GB, free: 62.51 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.303e-06/0.759, allocations: 0 / 0.5028 GB, free: 62.51 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.004236/0.7633, allocations: 1.306 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.005842/0.7691, allocations: 1.252 MB / 0.5053 GB, free: 60.21 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003049/0.7722, allocations: 1.83 MB / 0.5071 GB, free: 58.34 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/0.7722, allocations: 4.562 kB / 0.5071 GB, free: 58.34 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001145/0.7734, 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.001651/0.775, allocations: 314.1 kB / 0.5083 GB, free: 57.1 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003222/0.7783, allocations: 2.737 MB / 0.511 GB, free: 54.34 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004242/0.7787, allocations: 1.098 MB / 0.5121 GB, free: 53.21 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0008329/0.7795, allocations: 0.5939 MB / 0.5126 GB, free: 52.61 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001261/0.7797, allocations: 55.38 kB / 0.5127 GB, free: 52.56 MB / 382.1 MB Notification: Performance of SimCode: time 5.91e-07/0.7797, allocations: 0 / 0.5127 GB, free: 52.56 MB / 382.1 MB Notification: Performance of Templates: time 0.05565/0.8353, allocations: 50.6 MB / 0.5621 GB, free: 1.898 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.1_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.pipe ; mkfifo Modelica_3.2.1_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.pipe >> ../files/Modelica_3.2.1_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.sim & ./Modelica_3.2.1_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.pipe 2>&1) Environment - environmentSimulation: