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.9906/0.9906, allocations: 110.8 MB / 123.3 MB, free: 10.78 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.002247/0.002247, allocations: 147.5 kB / 149.1 MB, free: 0.9883 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 3.014e-05/3.033e-05, allocations: 0 / 180.2 MB, free: 17.57 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07041/0.07047, allocations: 25.19 MB / 205.4 MB, free: 8.438 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.692/3.763, allocations: 1.453 GB / 1.654 GB, free: 15.67 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002629/3.763, allocations: 67.25 kB / 1.654 GB, free: 15.62 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.876/5.639, allocations: 442.6 MB / 2.086 GB, free: 19.89 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.316e-06/5.64, allocations: 0 / 2.086 GB, free: 19.89 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.658e-05/5.64, allocations: 21.66 kB / 2.086 GB, free: 19.88 MB / 266.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.006995/5.647, allocations: 1.73 MB / 2.088 GB, free: 18.88 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.14e-05/5.647, allocations: 6.906 kB / 2.088 GB, free: 18.88 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002382/5.647, allocations: 84.75 kB / 2.088 GB, free: 18.84 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008017/5.648, allocations: 471.1 kB / 2.088 GB, free: 18.59 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.707e-05/5.648, allocations: 75.47 kB / 2.088 GB, free: 18.56 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.189e-05/5.648, allocations: 56.66 kB / 2.088 GB, free: 18.56 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001214/5.649, allocations: 0.7421 MB / 2.089 GB, free: 18.4 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.849e-05/5.649, allocations: 1.969 kB / 2.089 GB, free: 18.4 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.327e-05/5.649, allocations: 26.56 kB / 2.089 GB, free: 18.4 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.432e-05/5.649, allocations: 13.53 kB / 2.089 GB, free: 18.4 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009302/5.65, allocations: 0.6098 MB / 2.09 GB, free: 18.39 MB / 266.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.05389/5.704, allocations: 30.54 MB / 2.12 GB, free: 15.88 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007546/5.705, allocations: 402.2 kB / 2.12 GB, free: 15.85 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002592/5.705, allocations: 194.2 kB / 2.12 GB, free: 15.84 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4399/6.145, allocations: 122 MB / 2.239 GB, free: 5.82 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008978/6.146, allocations: 395.5 kB / 2.24 GB, free: 5.695 MB / 298.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004794/6.146, allocations: 60.28 kB / 2.24 GB, free: 5.691 MB / 298.7 MB Notification: Performance of pre-optimization done (n=48): time 2.715e-06/6.147, allocations: 0 / 2.24 GB, free: 5.691 MB / 298.7 MB Notification: Performance of matching and sorting (n=56): time 0.009936/6.156, allocations: 2.552 MB / 2.242 GB, free: 5.141 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003462/6.157, allocations: 224.4 kB / 2.242 GB, free: 20.89 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004639/6.157, allocations: 381.3 kB / 2.243 GB, free: 20.78 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.499e-05/6.157, allocations: 38.39 kB / 2.243 GB, free: 20.75 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002209/6.158, allocations: 323.4 kB / 2.243 GB, free: 20.6 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001294/6.158, allocations: 180.5 kB / 2.243 GB, free: 20.51 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.383e-05/6.158, allocations: 12.53 kB / 2.243 GB, free: 20.51 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001694/6.158, allocations: 368.4 kB / 2.244 GB, free: 20.2 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003161/6.158, allocations: 210 kB / 2.244 GB, free: 20.2 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003895/6.159, allocations: 391.8 kB / 2.244 GB, free: 20 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004149/6.159, allocations: 317 kB / 2.245 GB, free: 19.93 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/6.159, allocations: 1.219 kB / 2.245 GB, free: 19.93 MB / 314.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001283/6.16, allocations: 0.8442 MB / 2.245 GB, free: 19.78 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.259e-05/6.16, allocations: 70.69 kB / 2.245 GB, free: 19.71 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/6.16, allocations: 8.141 kB / 2.245 GB, free: 19.71 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004972/6.165, allocations: 352.9 kB / 2.246 GB, free: 19.7 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005275/6.166, allocations: 131 kB / 2.246 GB, free: 19.7 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008426/6.167, allocations: 0.6865 MB / 2.247 GB, free: 19.18 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006985/6.168, allocations: 76.08 kB / 2.247 GB, free: 19.17 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.482e-05/6.168, allocations: 33 kB / 2.247 GB, free: 19.17 MB / 314.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.0003082/6.168, allocations: 221.8 kB / 2.247 GB, free: 19 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.715e-05/6.168, allocations: 60.72 kB / 2.247 GB, free: 18.97 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002813/6.171, allocations: 1.822 MB / 2.249 GB, free: 18.77 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.07e-05/6.171, allocations: 20.28 kB / 2.249 GB, free: 18.77 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/6.171, allocations: 0 / 2.249 GB, free: 18.77 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.958e-06/6.171, allocations: 7.375 kB / 2.249 GB, free: 18.76 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002812/6.174, allocations: 2.401 MB / 2.251 GB, free: 18.34 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/6.174, allocations: 2.312 kB / 2.251 GB, free: 18.34 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003886/6.174, allocations: 100.9 kB / 2.251 GB, free: 18.34 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002399/6.177, allocations: 407.3 kB / 2.252 GB, free: 18.33 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.263e-05/6.177, allocations: 24.28 kB / 2.252 GB, free: 18.33 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008127/6.178, allocations: 0.8126 MB / 2.252 GB, free: 17.8 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/6.178, allocations: 3.625 kB / 2.252 GB, free: 17.8 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002221/6.18, allocations: 1.996 MB / 2.254 GB, free: 17.53 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002571/6.18, allocations: 174.8 kB / 2.255 GB, free: 17.39 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001083/6.18, allocations: 21.03 kB / 2.255 GB, free: 17.39 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004744/6.181, allocations: 51.2 kB / 2.255 GB, free: 17.39 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001079/6.181, allocations: 53.2 kB / 2.255 GB, free: 17.38 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.532e-05/6.181, allocations: 32.58 kB / 2.255 GB, free: 17.38 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003748/6.181, allocations: 338.9 kB / 2.255 GB, free: 17.29 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.9e-07/6.181, allocations: 0 / 2.255 GB, free: 17.29 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.005971/6.187, allocations: 1.382 MB / 2.256 GB, free: 17.24 MB / 314.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 (58): * Single equations (assignments): 49 * 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.01048/6.198, allocations: 2.016 MB / 2.258 GB, free: 16.94 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00197/6.2, allocations: 0.9834 MB / 2.259 GB, free: 16.79 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/6.2, allocations: 2.531 kB / 2.259 GB, free: 16.79 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009604/6.201, allocations: 0.7527 MB / 2.26 GB, free: 16.66 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001486/6.202, allocations: 267 kB / 2.26 GB, free: 16.63 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00208/6.204, allocations: 1.287 MB / 2.262 GB, free: 16.27 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006088/6.205, allocations: 0.992 MB / 2.263 GB, free: 15.55 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0005891/6.205, allocations: 160 kB / 2.263 GB, free: 15.53 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001748/6.206, allocations: 64.25 kB / 2.263 GB, free: 15.52 MB / 314.7 MB Notification: Performance of SimCode: time 2.184e-06/6.206, allocations: 4 kB / 2.263 GB, free: 15.52 MB / 314.7 MB Notification: Performance of Templates: time 0.258/6.464, allocations: 46.32 MB / 2.308 GB, free: 65.81 MB / 314.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)