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.001516/0.001516, allocations: 97.33 kB / 15.36 MB, free: 0.7344 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.01049/0.01049, allocations: 169.8 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.662/1.662, allocations: 205.4 MB / 222.4 MB, free: 5.555 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.0005249/0.0005248, allocations: 12.52 kB / 279.4 MB, free: 12.51 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2604/0.2609, allocations: 47.57 MB / 327 MB, free: 1.531 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.DrumBoiler.DrumBoiler): time 0.05628/0.3173, allocations: 48.1 MB / 375.1 MB, free: 3.227 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02781/0.3451, allocations: 21.85 MB / 397 MB, free: 13.31 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001115/0.3463, allocations: 23.81 kB / 397 MB, free: 13.29 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001304/0.3476, allocations: 330.3 kB / 397.3 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01473/0.3624, allocations: 3.92 MB / 401.2 MB, free: 9.027 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006985/0.3694, allocations: 1.868 MB / 403.1 MB, free: 7.152 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002715/0.3721, allocations: 1.886 MB / 405 MB, free: 5.262 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001046/0.3732, allocations: 439 kB / 405.4 MB, free: 4.816 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01289/0.3861, allocations: 5.594 MB / 411 MB, free: 15.14 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004146/0.3903, allocations: 2.072 MB / 413.1 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001706/0.3905, allocations: 28 kB / 413.1 MB, free: 13.01 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01545/0.406, allocations: 7.347 MB / 420.5 MB, free: 5.656 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003244/0.4063, allocations: 155.2 kB / 420.6 MB, free: 5.504 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000648/0.407, allocations: 399.8 kB / 421 MB, free: 5.105 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01384/0.4209, allocations: 4.853 MB / 425.9 MB, free: 248 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.4209, allocations: 4 kB / 425.9 MB, free: 244 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.4209, allocations: 0 / 425.9 MB, free: 244 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.161e-05/0.4209, allocations: 0 / 425.9 MB, free: 244 kB / 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.004353/0.4253, allocations: 1.508 MB / 427.4 MB, free: 14.67 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.4254, allocations: 12.03 kB / 427.4 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002006/0.4274, allocations: 283.8 kB / 427.7 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006747/0.4281, allocations: 493.5 kB / 428.1 MB, free: 13.86 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.124e-05/0.4281, allocations: 49.62 kB / 428.2 MB, free: 13.81 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.981e-05/0.4282, allocations: 56.38 kB / 428.2 MB, free: 13.75 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001969/0.4302, allocations: 0.9296 MB / 429.2 MB, free: 12.76 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.909e-05/0.4302, allocations: 3.938 kB / 429.2 MB, free: 12.76 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.401e-05/0.4303, allocations: 24 kB / 429.2 MB, free: 12.73 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.468e-05/0.4303, allocations: 16 kB / 429.2 MB, free: 12.72 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001787/0.4321, allocations: 0.7427 MB / 430 MB, free: 11.97 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.004683/0.4368, allocations: 4.153 MB / 434.1 MB, free: 7.469 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0019/0.4387, allocations: 0.6565 MB / 434.8 MB, free: 6.785 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005206/0.4393, allocations: 295.4 kB / 435.1 MB, free: 6.488 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3362/0.7755, allocations: 55.61 MB / 490.7 MB, free: 87.53 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001572/0.7771, allocations: 0.5697 MB / 491.2 MB, free: 86.93 MB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004219/0.7775, allocations: 73.33 kB / 491.3 MB, free: 86.88 MB / 382.1 MB Notification: Performance of pre-optimization done (n=57): time 2.484e-06/0.7775, allocations: 0 / 491.3 MB, free: 86.88 MB / 382.1 MB Notification: Performance of matching and sorting (n=65): time 0.0101/0.7876, allocations: 3.337 MB / 494.6 MB, free: 83.54 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001745/0.7879, allocations: 277.5 kB / 494.9 MB, free: 83.2 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006864/0.7886, allocations: 482.7 kB / 495.4 MB, free: 82.73 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.961e-05/0.7886, allocations: 37.7 kB / 495.4 MB, free: 82.68 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003265/0.789, allocations: 322.7 kB / 495.7 MB, free: 82.36 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001851/0.7892, allocations: 210.5 kB / 495.9 MB, free: 82.16 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001205/0.7893, allocations: 69.67 kB / 496 MB, free: 82.09 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000194/0.7895, allocations: 378.5 kB / 496.4 MB, free: 81.71 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005278/0.79, allocations: 289.4 kB / 496.7 MB, free: 81.43 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006852/0.7907, allocations: 469.6 kB / 497.1 MB, free: 80.89 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001204/0.7919, allocations: 0.8518 MB / 498 MB, free: 79.96 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.792, allocations: 0 / 498 MB, free: 79.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001796/0.7938, allocations: 1.045 MB / 499 MB, free: 78.89 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002429/0.794, allocations: 290.9 kB / 499.3 MB, free: 78.53 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.722e-05/0.7941, allocations: 4 kB / 499.3 MB, free: 78.53 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00285/0.7969, allocations: 350.5 kB / 499.6 MB, free: 78.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000458/0.7974, allocations: 135.8 kB / 499.8 MB, free: 78.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009549/0.7983, allocations: 0.8005 MB / 0.4888 GB, free: 77.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007068/0.7991, allocations: 75.86 kB / 0.4889 GB, free: 77.15 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.431e-05/0.7992, allocations: 43.97 kB / 0.489 GB, free: 77.11 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.7992, allocations: 4 kB / 0.489 GB, free: 77.11 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001531/0.8007, allocations: 0.978 MB / 0.4899 GB, free: 76.11 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.8007, allocations: 8.094 kB / 0.4899 GB, free: 76.11 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002563/0.8033, allocations: 346.5 kB / 0.4903 GB, free: 75.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004191/0.8037, allocations: 131.8 kB / 0.4904 GB, free: 75.64 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008757/0.8046, allocations: 0.7991 MB / 0.4912 GB, free: 74.81 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000667/0.8053, allocations: 73.42 kB / 0.4912 GB, free: 74.74 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.719e-05/0.8054, allocations: 46.78 kB / 0.4913 GB, free: 74.7 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 (Y_Valve_Tab.nextEventScaled,Y_Valve_Tab.nextEvent,$PRE.Y_Valve_Tab.nextEvent,Y_Valve_Tab.last,Y_Valve_Tab.b,Y_Valve_Tab.a,q_F_Tab.nextEventScaled,q_F_Tab.nextEvent,$PRE.q_F_Tab.nextEvent,q_F_Tab.last,q_F_Tab.b,q_F_Tab.a,pump.medium.phase,$whenCondition2,$whenCondition1,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 (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,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0005831/0.806, allocations: 354.7 kB / 0.4916 GB, free: 74.33 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001306/0.8061, allocations: 71.19 kB / 0.4917 GB, free: 74.26 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004961/0.8111, allocations: 4.778 MB / 0.4964 GB, free: 69.48 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.782e-05/0.8111, allocations: 27.95 kB / 0.4964 GB, free: 69.45 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.003e-05/0.8111, allocations: 8.062 kB / 0.4964 GB, free: 69.44 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.213e-05/0.8112, allocations: 7.922 kB / 0.4964 GB, free: 69.43 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006484/0.8176, allocations: 6.541 MB / 0.5028 GB, free: 62.76 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.828e-06/0.8177, allocations: 4 kB / 0.5028 GB, free: 62.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000394/0.8181, allocations: 103.9 kB / 0.5029 GB, free: 62.65 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00203/0.8201, allocations: 1.089 MB / 0.5039 GB, free: 61.57 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.862e-05/0.8202, allocations: 27.92 kB / 0.504 GB, free: 61.54 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001755/0.822, allocations: 2.35 MB / 0.5063 GB, free: 59.16 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.822, allocations: 3.656 kB / 0.5063 GB, free: 59.16 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005974/0.828, allocations: 5.512 MB / 0.5117 GB, free: 53.61 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004703/0.8285, allocations: 239.2 kB / 0.5119 GB, free: 53.36 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001473/0.8286, allocations: 20 kB / 0.5119 GB, free: 53.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006209/0.8292, allocations: 75.14 kB / 0.512 GB, free: 53.27 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001292/0.8294, allocations: 48.44 kB / 0.512 GB, free: 53.22 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.388e-05/0.8294, allocations: 35.97 kB / 0.5121 GB, free: 53.19 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006674/0.8301, allocations: 487 kB / 0.5125 GB, free: 52.71 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.8301, allocations: 0 / 0.5125 GB, free: 52.71 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.004583/0.8347, allocations: 1.289 MB / 0.5138 GB, free: 51.5 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 (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,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004684/0.8394, allocations: 1.249 MB / 0.515 GB, free: 50.41 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003045/0.8425, allocations: 1.855 MB / 0.5168 GB, free: 48.51 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/0.8425, allocations: 0 / 0.5168 GB, free: 48.51 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001137/0.8436, allocations: 0.9054 MB / 0.5177 GB, free: 47.57 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001955/0.8456, allocations: 320.9 kB / 0.518 GB, free: 47.26 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003188/0.8488, allocations: 2.781 MB / 0.5207 GB, free: 44.46 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004048/0.8492, allocations: 1.074 MB / 0.5218 GB, free: 43.35 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0008883/0.8501, allocations: 0.6013 MB / 0.5224 GB, free: 42.75 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001369/0.8503, allocations: 59.44 kB / 0.5224 GB, free: 42.69 MB / 382.1 MB Notification: Performance of SimCode: time 9.02e-07/0.8503, allocations: 0 / 0.5224 GB, free: 42.69 MB / 382.1 MB Notification: Performance of Templates: time 0.06271/0.913, allocations: 50.49 MB / 0.5717 GB, free: 8.141 MB / 398.1 MB make -j1 -f Modelica_3.1_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.makefile (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)