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/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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/Complex 3.2.1+maint.om/package.mo): time 0.002062/0.002062, allocations: 164.5 kB / 7.636 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.651/1.651, allocations: 170.7 MB / 178.7 MB, free: 15.57 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001684/0.001684, allocations: 111.4 kB / 218 MB, free: 8.34 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.466e-05/2.469e-05, allocations: 4 kB / 262.2 MB, free: 26.37 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1037, allocations: 38.77 MB / 301 MB, free: 3.613 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.186/6.29, allocations: 2.56 GB / 2.854 GB, free: 15.12 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002403/6.29, allocations: 84.75 kB / 2.854 GB, free: 15.08 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.834/8.124, allocations: 477.9 MB / 3.32 GB, free: 29.04 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.066e-06/8.124, allocations: 0 / 3.32 GB, free: 29.04 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.684e-05/8.124, allocations: 18.75 kB / 3.32 GB, free: 29.04 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 147 * Number of variables: 147 Notification: Performance of Generate backend data structure: time 0.007011/8.131, allocations: 1.794 MB / 3.322 GB, free: 28.05 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/8.131, allocations: 9.531 kB / 3.322 GB, free: 28.05 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002143/8.133, allocations: 234.5 kB / 3.322 GB, free: 28.01 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001053/8.134, allocations: 0.5009 MB / 3.323 GB, free: 27.74 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.025e-05/8.134, allocations: 24.53 kB / 3.323 GB, free: 27.74 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001266/8.135, allocations: 37.56 kB / 3.323 GB, free: 27.74 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008537/8.135, allocations: 481.2 kB / 3.323 GB, free: 27.74 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009923/8.136, allocations: 0.644 MB / 3.324 GB, free: 27.54 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.408e-05/8.137, allocations: 6.875 kB / 3.324 GB, free: 27.54 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.061e-05/8.137, allocations: 3.844 kB / 3.324 GB, free: 27.54 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.225e-05/8.137, allocations: 11.59 kB / 3.324 GB, free: 27.54 MB / 362.7 MB Warning: The model contains alias variables with conflicting start and/or 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.1261/8.263, allocations: 66.24 MB / 3.389 GB, free: 18.13 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006653/8.263, allocations: 340.2 kB / 3.389 GB, free: 18.11 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002725/8.264, allocations: 180.2 kB / 3.389 GB, free: 18.1 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08037/8.344, allocations: 39.97 MB / 3.428 GB, free: 3.348 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006253/8.345, allocations: 328.6 kB / 3.429 GB, free: 3.109 MB / 410.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004972/8.345, allocations: 61.81 kB / 3.429 GB, free: 3.059 MB / 410.7 MB Notification: Performance of pre-optimization done (n=46): time 4.649e-06/8.345, allocations: 2.953 kB / 3.429 GB, free: 3.059 MB / 410.7 MB Notification: Performance of matching and sorting (n=54): time 0.008936/8.354, allocations: 2.257 MB / 3.431 GB, free: 1.574 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000145/8.354, allocations: 223.9 kB / 3.431 GB, free: 1.312 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004874/8.355, allocations: 370 kB / 3.431 GB, free: 1.051 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.951e-05/8.355, allocations: 25.7 kB / 3.431 GB, free: 1.02 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002478/8.355, allocations: 346.7 kB / 3.432 GB, free: 0.7891 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001584/8.355, allocations: 177.2 kB / 3.432 GB, free: 0.6523 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.545e-05/8.355, allocations: 1.406 kB / 3.432 GB, free: 0.6523 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001637/8.356, allocations: 363.8 kB / 3.432 GB, free: 336 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003572/8.356, allocations: 225 kB / 3.432 GB, free: 216 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2595/8.616, allocations: 402.6 kB / 3.433 GB, free: 76.84 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00221/8.618, allocations: 365.4 kB / 3.433 GB, free: 76.84 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/8.618, allocations: 0.8125 kB / 3.433 GB, free: 76.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002894/8.621, allocations: 0.9138 MB / 3.434 GB, free: 76.79 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.853e-05/8.621, allocations: 69.39 kB / 3.434 GB, free: 76.72 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.703e-05/8.621, allocations: 4.969 kB / 3.434 GB, free: 76.72 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009971/8.622, allocations: 253.3 kB / 3.434 GB, free: 76.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000557/8.622, allocations: 132.7 kB / 3.435 GB, free: 76.71 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001674/8.624, allocations: 0.8579 MB / 3.435 GB, free: 76.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008157/8.625, allocations: 56.97 kB / 3.435 GB, free: 76.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000107/8.625, allocations: 49.33 kB / 3.435 GB, free: 76.2 MB / 410.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.evaporator.V_v:DUMMY_DER(fixed = false ) "volume of vapour phase" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 17 ($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,Y_Valve_Tab.a,Y_Valve_Tab.b,Y_Valve_Tab.last,$PRE.Y_Valve_Tab.nextEvent,Y_Valve_Tab.nextEvent,SteamValve.state_b.phase,SteamValve.state_a.phase,sink.state.phase,sink.medium.phase) * Number of discrete 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.0002919/8.625, allocations: 190.3 kB / 3.436 GB, free: 76.03 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001141/8.626, allocations: 63.72 kB / 3.436 GB, free: 76.03 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00571/8.631, allocations: 4.285 MB / 3.44 GB, free: 75.91 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.871e-05/8.631, allocations: 26.23 kB / 3.44 GB, free: 75.91 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/8.631, allocations: 0.7812 kB / 3.44 GB, free: 75.91 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.322e-05/8.631, allocations: 12.95 kB / 3.44 GB, free: 75.91 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007862/8.639, allocations: 5.977 MB / 3.446 GB, free: 75.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.203e-06/8.639, allocations: 3.219 kB / 3.446 GB, free: 75.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003787/8.64, allocations: 76.41 kB / 3.446 GB, free: 75.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002689/8.642, allocations: 1.27 MB / 3.447 GB, free: 75.34 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001002/8.642, allocations: 17.69 kB / 3.447 GB, free: 75.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002921/8.645, allocations: 2.861 MB / 3.45 GB, free: 74.82 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.225e-06/8.645, allocations: 5.984 kB / 3.45 GB, free: 74.82 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005474/8.651, allocations: 5.176 MB / 3.455 GB, free: 74.6 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002443/8.651, allocations: 164.6 kB / 3.455 GB, free: 74.46 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001223/8.651, allocations: 8.703 kB / 3.455 GB, free: 74.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000564/8.652, allocations: 51.47 kB / 3.455 GB, free: 74.46 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.696e-05/8.652, allocations: 48.52 kB / 3.455 GB, free: 74.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.406e-05/8.652, allocations: 22.56 kB / 3.455 GB, free: 74.45 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002804/8.652, allocations: 280.1 kB / 3.456 GB, free: 74.36 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/8.652, allocations: 0 / 3.456 GB, free: 74.36 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005113/8.657, allocations: 1.145 MB / 3.457 GB, free: 74.36 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (evaporator.p,evaporator.V_l,controller.x) * Number of discrete variables: 23 ($cse1.region3boundary,$cse2.region3boundary,$cse3.phase,$cse3.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$whenCondition1,$whenCondition2,pump.medium.phase,q_F_Tab.a,q_F_Tab.b,q_F_Tab.last,q_F_Tab.nextEvent,Y_Valve_Tab.a,Y_Valve_Tab.b,Y_Valve_Tab.last,Y_Valve_Tab.nextEvent) * Number of discrete states: 10 (Y_Valve_Tab.last,Y_Valve_Tab.nextEvent,Y_Valve_Tab.b,Y_Valve_Tab.a,$whenCondition2,q_F_Tab.last,q_F_Tab.nextEvent,q_F_Tab.b,q_F_Tab.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 7 * 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.008042/8.665, allocations: 1.898 MB / 3.458 GB, free: 74.22 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001745/8.667, allocations: 0.9659 MB / 3.459 GB, free: 74.09 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/8.667, allocations: 1.094 kB / 3.459 GB, free: 74.09 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008475/8.668, allocations: 0.7286 MB / 3.46 GB, free: 73.96 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001199/8.669, allocations: 204.3 kB / 3.46 GB, free: 73.95 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002113/8.671, allocations: 1.429 MB / 3.462 GB, free: 73.64 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003697/8.672, allocations: 1.027 MB / 3.463 GB, free: 72.93 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005686/8.672, allocations: 363.8 kB / 3.463 GB, free: 72.92 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001199/8.673, allocations: 51 kB / 3.463 GB, free: 72.91 MB / 410.7 MB Notification: Performance of SimCode: time 5.71e-07/8.673, allocations: 0 / 3.463 GB, free: 72.91 MB / 410.7 MB Notification: Performance of Templates: time 0.04663/8.719, allocations: 36.36 MB / 3.499 GB, free: 71.5 MB / 410.7 MB make -j1 -f Modelica_3.2.1_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.makefile (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)