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.6875/0.6875, allocations: 110.9 MB / 125.9 MB, free: 6.203 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001787/0.001787, allocations: 139.4 kB / 151.8 MB, free: 4.977 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002504/0.0002504, allocations: 12 kB / 184.9 MB, free: 3.902 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1416/0.1419, allocations: 25.15 MB / 210 MB, free: 29.7 MB / 170.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.433/3.575, allocations: 1.453 GB / 1.658 GB, free: 30.87 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003059/3.575, allocations: 65.59 kB / 1.658 GB, free: 30.84 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.51/5.086, allocations: 444.2 MB / 2.092 GB, free: 18.79 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.603e-06/5.086, allocations: 0 / 2.092 GB, free: 18.79 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.512e-05/5.086, allocations: 18.59 kB / 2.092 GB, free: 18.79 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.005296/5.091, allocations: 1.8 MB / 2.094 GB, free: 17.78 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/5.091, allocations: 9.594 kB / 2.094 GB, free: 17.78 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001439/5.091, allocations: 77.53 kB / 2.094 GB, free: 17.74 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006001/5.092, allocations: 476.7 kB / 2.095 GB, free: 17.49 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.976e-05/5.092, allocations: 74.59 kB / 2.095 GB, free: 17.45 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.72e-05/5.092, allocations: 52.25 kB / 2.095 GB, free: 17.45 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001207/5.093, allocations: 0.7737 MB / 2.095 GB, free: 17.3 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.596e-05/5.093, allocations: 1.094 kB / 2.095 GB, free: 17.3 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.382e-05/5.093, allocations: 24.25 kB / 2.095 GB, free: 17.3 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.608e-05/5.093, allocations: 14.47 kB / 2.095 GB, free: 17.3 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001142/5.094, allocations: 0.6641 MB / 2.096 GB, free: 17.29 MB / 266.7 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.05127/5.146, allocations: 30.43 MB / 2.126 GB, free: 14.93 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009817/5.147, allocations: 458.3 kB / 2.126 GB, free: 14.89 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3728/5.52, allocations: 121.5 MB / 2.245 GB, free: 36.7 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009439/5.521, allocations: 413.4 kB / 2.245 GB, free: 36.57 MB / 314.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004737/5.521, allocations: 63.08 kB / 2.245 GB, free: 36.57 MB / 314.7 MB Notification: Performance of pre-optimization done (n=48): time 2.164e-06/5.521, allocations: 0 / 2.245 GB, free: 36.57 MB / 314.7 MB Notification: Performance of matching and sorting (n=56): time 0.0106/5.532, allocations: 2.936 MB / 2.248 GB, free: 35.82 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.804e-05/5.532, allocations: 214.9 kB / 2.248 GB, free: 35.57 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003951/5.532, allocations: 386 kB / 2.249 GB, free: 35.46 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.871e-05/5.532, allocations: 39.67 kB / 2.249 GB, free: 35.43 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001807/5.532, allocations: 317.9 kB / 2.249 GB, free: 35.29 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001214/5.532, allocations: 183 kB / 2.249 GB, free: 35.2 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.221e-05/5.533, allocations: 14.94 kB / 2.249 GB, free: 35.2 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.328e-05/5.533, allocations: 368.5 kB / 2.25 GB, free: 34.88 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003931/5.533, allocations: 236 kB / 2.25 GB, free: 34.88 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004734/5.533, allocations: 408.7 kB / 2.25 GB, free: 34.69 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004471/5.534, allocations: 345.5 kB / 2.251 GB, free: 34.61 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-06/5.534, allocations: 1.031 kB / 2.251 GB, free: 34.61 MB / 314.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001384/5.535, allocations: 0.8955 MB / 2.251 GB, free: 34.46 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.712e-05/5.535, allocations: 71.69 kB / 2.252 GB, free: 34.39 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/5.535, allocations: 3.438 kB / 2.252 GB, free: 34.39 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004842/5.54, allocations: 338.7 kB / 2.252 GB, free: 34.39 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005156/5.541, allocations: 138.5 kB / 2.252 GB, free: 34.38 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000668/5.541, allocations: 0.682 MB / 2.253 GB, free: 33.87 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006398/5.542, allocations: 82.55 kB / 2.253 GB, free: 33.86 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.53e-05/5.542, allocations: 38.42 kB / 2.253 GB, free: 33.86 MB / 314.7 MB Warning: Assuming fixed start value for the following 1 variables: controller.x:VARIABLE(start = controller.x_start fixed = true ) "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 () * Number of clocked 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.0004361/5.543, allocations: 277.1 kB / 2.253 GB, free: 33.68 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.688e-05/5.543, allocations: 58.16 kB / 2.253 GB, free: 33.65 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002608/5.545, allocations: 1.875 MB / 2.255 GB, free: 33.44 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.871e-05/5.545, allocations: 21.47 kB / 2.255 GB, free: 33.43 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.852e-06/5.545, allocations: 4 kB / 2.255 GB, free: 33.43 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.546e-06/5.545, allocations: 3.422 kB / 2.255 GB, free: 33.43 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002519/5.548, allocations: 2.439 MB / 2.257 GB, free: 33.03 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/5.548, allocations: 8.109 kB / 2.257 GB, free: 33.02 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003769/5.548, allocations: 100.5 kB / 2.257 GB, free: 33.02 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0024/5.551, allocations: 415.9 kB / 2.258 GB, free: 33 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.645e-05/5.551, allocations: 22.95 kB / 2.258 GB, free: 33 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006725/5.552, allocations: 0.8149 MB / 2.259 GB, free: 32.48 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/5.552, allocations: 0.5469 kB / 2.259 GB, free: 32.48 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002358/5.554, allocations: 2.073 MB / 2.261 GB, free: 32.2 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002476/5.554, allocations: 171.8 kB / 2.261 GB, free: 32.06 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001073/5.554, allocations: 16.53 kB / 2.261 GB, free: 32.06 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004685/5.555, allocations: 63.62 kB / 2.261 GB, free: 32.05 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.743e-05/5.555, allocations: 48.33 kB / 2.261 GB, free: 32.05 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.303e-05/5.555, allocations: 28.66 kB / 2.261 GB, free: 32.05 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003801/5.555, allocations: 350.1 kB / 2.261 GB, free: 31.96 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.41e-07/5.555, allocations: 0 / 2.261 GB, free: 31.96 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.005536/5.561, allocations: 1.381 MB / 2.263 GB, free: 31.92 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) * Number of clocked states: 0 () * 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.008177/5.569, allocations: 2.022 MB / 2.265 GB, free: 31.62 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001998/5.571, allocations: 1.037 MB / 2.266 GB, free: 31.46 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/5.571, allocations: 0 / 2.266 GB, free: 31.46 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009497/5.572, allocations: 0.7719 MB / 2.266 GB, free: 31.34 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001338/5.573, allocations: 265.3 kB / 2.267 GB, free: 31.32 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002443/5.576, allocations: 2.089 MB / 2.269 GB, free: 30.36 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003591/5.576, allocations: 0.9917 MB / 2.27 GB, free: 29.65 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0005306/5.577, allocations: 161.2 kB / 2.27 GB, free: 29.64 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001583/5.577, allocations: 66.73 kB / 2.27 GB, free: 29.63 MB / 314.7 MB Notification: Performance of SimCode: time 1.202e-06/5.577, allocations: 0 / 2.27 GB, free: 29.63 MB / 314.7 MB Notification: Performance of Templates: time 0.2112/5.788, allocations: 43.66 MB / 2.313 GB, free: 64.61 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)