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/Modelica 3.1.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo", uses=false) Using package ModelicaServices with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo) Using package Modelica with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.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/Modelica 3.1.0+maint.om/package.mo): time 0.8598/0.8598, allocations: 110.8 MB / 118.3 MB, free: 10.57 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001686/0.001686, allocations: 155.4 kB / 144 MB, free: 9.816 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 1.949e-05/1.953e-05, allocations: 8 kB / 173.9 MB, free: 11.89 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06017/0.0602, allocations: 25.16 MB / 199 MB, free: 2.676 MB / 170.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.474/3.534, allocations: 1.453 GB / 1.647 GB, free: 26.33 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002283/3.534, allocations: 72.03 kB / 1.647 GB, free: 26.27 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.797/5.331, allocations: 438.5 MB / 2.075 GB, free: 11.6 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.462e-06/5.331, allocations: 1.625 kB / 2.075 GB, free: 11.6 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.35e-05/5.332, allocations: 16.23 kB / 2.075 GB, free: 11.6 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.006865/5.338, allocations: 1.734 MB / 2.077 GB, free: 10.57 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/5.338, allocations: 10.25 kB / 2.077 GB, free: 10.57 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003472/5.339, allocations: 77.25 kB / 2.077 GB, free: 10.54 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009325/5.34, allocations: 468.9 kB / 2.077 GB, free: 10.29 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.939e-05/5.34, allocations: 59.19 kB / 2.078 GB, free: 10.25 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001203/5.34, allocations: 36.06 kB / 2.078 GB, free: 10.25 MB / 250.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009732/5.341, allocations: 0.5283 MB / 2.078 GB, free: 10.25 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001046/5.342, allocations: 0.6347 MB / 2.079 GB, free: 10.09 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.95e-05/5.342, allocations: 1.406 kB / 2.079 GB, free: 10.09 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.58e-05/5.342, allocations: 7.219 kB / 2.079 GB, free: 10.09 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.245e-05/5.342, allocations: 12.72 kB / 2.079 GB, free: 10.09 MB / 250.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.1246/5.467, allocations: 62.38 MB / 2.14 GB, free: 3.07 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008349/5.468, allocations: 351.3 kB / 2.14 GB, free: 3.043 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003255/5.468, allocations: 178.6 kB / 2.14 GB, free: 3.031 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.6173/6.085, allocations: 122 MB / 2.259 GB, free: 45.41 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000664/6.086, allocations: 338.3 kB / 2.26 GB, free: 45.29 MB / 298.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004455/6.086, allocations: 49 kB / 2.26 GB, free: 45.29 MB / 298.7 MB Notification: Performance of pre-optimization done (n=46): time 1.924e-06/6.087, allocations: 0 / 2.26 GB, free: 45.29 MB / 298.7 MB Notification: Performance of matching and sorting (n=54): time 0.01597/6.102, allocations: 3.36 MB / 2.263 GB, free: 44.95 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.162e-05/6.103, allocations: 220.3 kB / 2.263 GB, free: 44.7 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000374/6.103, allocations: 347.4 kB / 2.263 GB, free: 44.59 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.873e-05/6.103, allocations: 25.7 kB / 2.263 GB, free: 44.56 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001997/6.103, allocations: 339.2 kB / 2.264 GB, free: 44.4 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001263/6.103, allocations: 168.9 kB / 2.264 GB, free: 44.31 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.096e-05/6.103, allocations: 0 / 2.264 GB, free: 44.31 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.817e-05/6.103, allocations: 368.9 kB / 2.264 GB, free: 44 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002642/6.104, allocations: 198.8 kB / 2.265 GB, free: 44 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003322/6.104, allocations: 368.8 kB / 2.265 GB, free: 43.82 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004346/6.108, allocations: 0.7747 MB / 2.266 GB, free: 43.81 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.63e-06/6.108, allocations: 2.797 kB / 2.266 GB, free: 43.81 MB / 298.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.005562/6.114, allocations: 1.262 MB / 2.267 GB, free: 43.73 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.317e-05/6.114, allocations: 72.28 kB / 2.267 GB, free: 43.66 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.449e-05/6.114, allocations: 7.125 kB / 2.267 GB, free: 43.66 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006948/6.115, allocations: 157 kB / 2.267 GB, free: 43.65 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004867/6.115, allocations: 134.2 kB / 2.267 GB, free: 43.65 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00198/6.117, allocations: 0.8363 MB / 2.268 GB, free: 43.13 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007156/6.118, allocations: 58.77 kB / 2.268 GB, free: 43.13 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.46e-05/6.118, allocations: 36.59 kB / 2.268 GB, free: 43.13 MB / 298.7 MB Warning: Assuming fixed start value for the following 1 variables: controller.x:VARIABLE(start = controller.x_start ) "State of block" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 16 (SteamValve.state_b.phase,SteamValve.state_a.phase,$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,sink.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 64 * 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.0002966/6.119, allocations: 199 kB / 2.268 GB, free: 42.96 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001238/6.119, allocations: 57.8 kB / 2.268 GB, free: 42.93 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004859/6.124, allocations: 1.784 MB / 2.27 GB, free: 42.82 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.187e-05/6.124, allocations: 17.23 kB / 2.27 GB, free: 42.82 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/6.124, allocations: 3.953 kB / 2.27 GB, free: 42.82 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.799e-06/6.124, allocations: 3 kB / 2.27 GB, free: 42.82 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004628/6.128, allocations: 2.247 MB / 2.272 GB, free: 42.5 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/6.128, allocations: 0 / 2.272 GB, free: 42.5 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004127/6.129, allocations: 96.38 kB / 2.272 GB, free: 42.5 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009822/6.13, allocations: 243.6 kB / 2.273 GB, free: 42.48 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.714e-05/6.13, allocations: 20.56 kB / 2.273 GB, free: 42.48 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001175/6.131, allocations: 0.9044 MB / 2.274 GB, free: 41.96 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.221e-06/6.131, allocations: 5.688 kB / 2.274 GB, free: 41.96 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004702/6.136, allocations: 2.019 MB / 2.276 GB, free: 41.74 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003247/6.136, allocations: 158.7 kB / 2.276 GB, free: 41.61 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001698/6.136, allocations: 4.969 kB / 2.276 GB, free: 41.61 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005694/6.137, allocations: 48.33 kB / 2.276 GB, free: 41.61 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/6.137, allocations: 42.48 kB / 2.276 GB, free: 41.61 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.468e-05/6.137, allocations: 35.61 kB / 2.276 GB, free: 41.61 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003232/6.137, allocations: 266.2 kB / 2.276 GB, free: 41.52 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.4e-07/6.137, allocations: 0.8438 kB / 2.276 GB, free: 41.52 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.006094/6.143, allocations: 1.33 MB / 2.277 GB, free: 41.46 MB / 298.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: 18 ($cse1.region3boundary,$cse2.region3boundary,$cse3.phase,$cse13.phase,$cse16.phase,$cse17.phase,$cse17.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 (54): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 6 * 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.009725/6.153, allocations: 2.138 MB / 2.279 GB, free: 41.26 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001618/6.155, allocations: 0.9386 MB / 2.28 GB, free: 41.12 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/6.155, allocations: 3.062 kB / 2.28 GB, free: 41.12 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009543/6.156, allocations: 0.7129 MB / 2.281 GB, free: 40.99 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0014/6.157, allocations: 221.3 kB / 2.281 GB, free: 40.98 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002087/6.159, allocations: 1.216 MB / 2.282 GB, free: 40.7 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003885/6.16, allocations: 0.9746 MB / 2.283 GB, free: 39.99 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0005931/6.16, allocations: 182.2 kB / 2.284 GB, free: 39.98 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000168/6.16, allocations: 67.27 kB / 2.284 GB, free: 39.97 MB / 298.7 MB Notification: Performance of SimCode: time 9.62e-07/6.16, allocations: 0 / 2.284 GB, free: 39.97 MB / 298.7 MB Notification: Performance of Templates: time 0.05533/6.216, allocations: 37.77 MB / 2.321 GB, free: 37.1 MB / 298.7 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)