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.001066/0.001066, allocations: 170.2 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.458/1.458, allocations: 170.6 MB / 183.8 MB, free: 11.43 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.001665/0.001665, allocations: 99.52 kB / 223.2 MB, free: 4.059 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.333e-05/3.335e-05, allocations: 8 kB / 268.9 MB, free: 20.93 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08436/0.08441, allocations: 38.76 MB / 307.6 MB, free: 14.14 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.984/6.069, allocations: 2.56 GB / 2.861 GB, free: 72.46 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002568/6.069, allocations: 80.38 kB / 2.861 GB, free: 72.46 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.551/7.62, allocations: 482.4 MB / 3.332 GB, free: 41.61 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.825e-06/7.62, allocations: 0 / 3.332 GB, free: 41.61 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.348e-05/7.62, allocations: 14.84 kB / 3.332 GB, free: 41.61 MB / 378.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.007541/7.628, allocations: 1.793 MB / 3.334 GB, free: 40.57 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/7.628, allocations: 7.812 kB / 3.334 GB, free: 40.57 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001913/7.63, allocations: 239.3 kB / 3.334 GB, free: 40.54 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008719/7.631, allocations: 0.4998 MB / 3.334 GB, free: 40.28 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.953e-05/7.631, allocations: 46.75 kB / 3.334 GB, free: 40.27 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.098e-05/7.631, allocations: 54.86 kB / 3.334 GB, free: 40.27 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001597/7.632, allocations: 0.8957 MB / 3.335 GB, free: 40.07 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.792e-05/7.632, allocations: 10.34 kB / 3.335 GB, free: 40.07 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.256e-05/7.633, allocations: 23.66 kB / 3.335 GB, free: 40.07 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.235e-05/7.633, allocations: 17.41 kB / 3.335 GB, free: 40.07 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001335/7.634, allocations: 0.69 MB / 3.336 GB, free: 40.07 MB / 378.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.003842/7.638, allocations: 4.142 MB / 3.34 GB, free: 37.19 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001249/7.639, allocations: 0.5879 MB / 3.341 GB, free: 37.11 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002878/7.639, allocations: 227.8 kB / 3.341 GB, free: 37.09 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.105/7.744, allocations: 55.09 MB / 3.395 GB, free: 16.94 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001514/7.746, allocations: 0.5609 MB / 3.395 GB, free: 16.58 MB / 394.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005071/7.746, allocations: 86.56 kB / 3.395 GB, free: 16.51 MB / 394.7 MB Notification: Performance of pre-optimization done (n=53): time 3.106e-06/7.746, allocations: 0 / 3.395 GB, free: 16.51 MB / 394.7 MB Notification: Performance of matching and sorting (n=61): time 0.009352/7.756, allocations: 2.897 MB / 3.398 GB, free: 14.53 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001549/7.756, allocations: 272.6 kB / 3.398 GB, free: 14.21 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005258/7.756, allocations: 396.9 kB / 3.399 GB, free: 13.84 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.899e-05/7.757, allocations: 37.77 kB / 3.399 GB, free: 13.8 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000228/7.757, allocations: 322.7 kB / 3.399 GB, free: 13.51 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000158/7.757, allocations: 204.5 kB / 3.399 GB, free: 13.33 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.383e-05/7.757, allocations: 16 kB / 3.399 GB, free: 13.32 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001771/7.757, allocations: 370 kB / 3.4 GB, free: 12.96 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003778/7.758, allocations: 237.9 kB / 3.4 GB, free: 12.75 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004473/7.758, allocations: 430.4 kB / 3.4 GB, free: 12.27 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004601/7.759, allocations: 344.2 kB / 3.401 GB, free: 11.95 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/7.759, allocations: 8 kB / 3.401 GB, free: 11.95 MB / 394.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001488/7.76, allocations: 0.9338 MB / 3.402 GB, free: 11.07 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.798e-05/7.76, allocations: 78.12 kB / 3.402 GB, free: 10.98 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/7.76, allocations: 4 kB / 3.402 GB, free: 10.98 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003717/7.764, allocations: 346.8 kB / 3.402 GB, free: 10.76 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005062/7.764, allocations: 123.2 kB / 3.402 GB, free: 10.65 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001143/7.766, allocations: 0.8013 MB / 3.403 GB, free: 9.875 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000807/7.766, allocations: 68.91 kB / 3.403 GB, free: 9.82 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000113/7.766, allocations: 43.55 kB / 3.403 GB, free: 9.785 MB / 394.7 MB 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.000297/7.767, allocations: 224.8 kB / 3.403 GB, free: 9.555 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001461/7.767, allocations: 67.34 kB / 3.403 GB, free: 9.488 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005492/7.772, allocations: 4.882 MB / 3.408 GB, free: 5.211 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.343e-05/7.772, allocations: 33.5 kB / 3.408 GB, free: 5.191 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.033e-05/7.773, allocations: 3.953 kB / 3.408 GB, free: 5.188 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.115e-05/7.773, allocations: 3.188 kB / 3.408 GB, free: 5.188 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2431/8.016, allocations: 6.702 MB / 3.415 GB, free: 57.21 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.545e-05/8.016, allocations: 0 / 3.415 GB, free: 57.21 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000486/8.016, allocations: 90.28 kB / 3.415 GB, free: 57.21 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002475/8.019, allocations: 1.278 MB / 3.416 GB, free: 57.2 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00014/8.019, allocations: 23.22 kB / 3.416 GB, free: 57.2 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001961/8.021, allocations: 2.436 MB / 3.418 GB, free: 56.68 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/8.021, allocations: 1.406 kB / 3.418 GB, free: 56.68 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00638/8.027, allocations: 5.696 MB / 3.424 GB, free: 56.38 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004065/8.028, allocations: 239.4 kB / 3.424 GB, free: 56.29 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001492/8.028, allocations: 19 kB / 3.424 GB, free: 56.29 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006684/8.028, allocations: 72.77 kB / 3.424 GB, free: 56.29 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001378/8.029, allocations: 45.92 kB / 3.424 GB, free: 56.29 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.325e-05/8.029, allocations: 28.75 kB / 3.424 GB, free: 56.29 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006579/8.029, allocations: 456.7 kB / 3.425 GB, free: 56.19 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.21e-07/8.029, allocations: 0.9062 kB / 3.425 GB, free: 56.19 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.005553/8.035, allocations: 1.209 MB / 3.426 GB, free: 56.19 MB / 394.7 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: 25 ($cse1.region3boundary,$cse2.region3boundary,$cse4.phase,$cse4.region,$cse7.phase,$cse7.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.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,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 (57): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 8 * 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.008329/8.043, allocations: 1.774 MB / 3.428 GB, free: 56.05 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00197/8.045, allocations: 1.056 MB / 3.429 GB, free: 55.92 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.803e-06/8.045, allocations: 4.094 kB / 3.429 GB, free: 55.92 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001161/8.046, allocations: 0.8051 MB / 3.429 GB, free: 55.79 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001833/8.048, allocations: 281 kB / 3.43 GB, free: 55.79 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002752/8.051, allocations: 1.67 MB / 3.431 GB, free: 55.41 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004865/8.052, allocations: 1.083 MB / 3.432 GB, free: 54.7 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0007474/8.052, allocations: 284.5 kB / 3.433 GB, free: 54.7 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001468/8.053, allocations: 56.41 kB / 3.433 GB, free: 54.69 MB / 394.7 MB Notification: Performance of SimCode: time 1.553e-06/8.053, allocations: 1.844 kB / 3.433 GB, free: 54.69 MB / 394.7 MB Notification: Performance of Templates: time 0.05728/8.11, allocations: 45.88 MB / 3.478 GB, free: 52.84 MB / 394.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)