Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Fluid.Examples.DrumBoiler.DrumBoiler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler") translateModel(Modelica.Fluid.Examples.DrumBoiler.DrumBoiler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001777/0.001777, allocations: 188.6 kB / 8.353 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.792/1.792, allocations: 194.3 MB / 203.1 MB, free: 9.324 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001731/0.001731, allocations: 119 kB / 248.1 MB, free: 6.348 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.437e-05/1.44e-05, allocations: 4 kB / 298.1 MB, free: 8.25 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1192, allocations: 44.49 MB / 342.6 MB, free: 11.66 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.518/6.638, allocations: 2.669 GB / 3.004 GB, free: 75.43 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002667/6.638, allocations: 79.22 kB / 3.004 GB, free: 75.43 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.622/8.26, allocations: 489.6 MB / 3.482 GB, free: 34.35 MB / 411.1 MB Notification: Performance of FrontEnd: time 1.803e-06/8.26, allocations: 0 / 3.482 GB, free: 34.35 MB / 411.1 MB Notification: Performance of Transformations before backend: time 4.336e-05/8.26, allocations: 15.19 kB / 3.482 GB, free: 34.35 MB / 411.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.006472/8.267, allocations: 1.849 MB / 3.484 GB, free: 33.29 MB / 411.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/8.267, allocations: 11.09 kB / 3.484 GB, free: 33.29 MB / 411.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001901/8.269, allocations: 253.5 kB / 3.484 GB, free: 33.24 MB / 411.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000759/8.27, allocations: 0.4973 MB / 3.485 GB, free: 32.99 MB / 411.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.83e-05/8.27, allocations: 17.84 kB / 3.485 GB, free: 32.99 MB / 411.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.916e-05/8.27, allocations: 40.69 kB / 3.485 GB, free: 32.99 MB / 411.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000728/8.27, allocations: 489.3 kB / 3.485 GB, free: 32.98 MB / 411.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009814/8.271, allocations: 0.6587 MB / 3.486 GB, free: 32.78 MB / 411.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.805e-05/8.271, allocations: 3.75 kB / 3.486 GB, free: 32.78 MB / 411.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.916e-05/8.272, allocations: 10.41 kB / 3.486 GB, free: 32.78 MB / 411.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.753e-05/8.272, allocations: 14.72 kB / 3.486 GB, free: 32.78 MB / 411.1 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.1181/8.39, allocations: 66.39 MB / 3.551 GB, free: 23.2 MB / 443.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000681/8.39, allocations: 346.9 kB / 3.551 GB, free: 23.18 MB / 443.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003049/8.391, allocations: 201.3 kB / 3.551 GB, free: 23.16 MB / 443.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08008/8.471, allocations: 39.98 MB / 3.59 GB, free: 9.809 MB / 459.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006987/8.471, allocations: 342.9 kB / 3.591 GB, free: 9.566 MB / 459.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005267/8.472, allocations: 73.31 kB / 3.591 GB, free: 9.508 MB / 459.1 MB Notification: Performance of pre-optimization done (n=50): time 3.747e-06/8.472, allocations: 4 kB / 3.591 GB, free: 9.504 MB / 459.1 MB Notification: Performance of matching and sorting (n=58): time 0.009147/8.481, allocations: 2.24 MB / 3.593 GB, free: 8.047 MB / 459.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001326/8.481, allocations: 221.2 kB / 3.593 GB, free: 7.785 MB / 459.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004929/8.482, allocations: 371.4 kB / 3.593 GB, free: 7.523 MB / 459.1 MB Notification: Performance of collectPreVariables (initialization): time 8.038e-05/8.482, allocations: 29.7 kB / 3.593 GB, free: 7.488 MB / 459.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000249/8.482, allocations: 348.6 kB / 3.594 GB, free: 7.254 MB / 459.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001459/8.482, allocations: 184.7 kB / 3.594 GB, free: 7.109 MB / 459.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.614e-05/8.482, allocations: 0 / 3.594 GB, free: 7.109 MB / 459.1 MB Notification: Performance of setup shared object (initialization): time 0.0001577/8.483, allocations: 370.8 kB / 3.594 GB, free: 6.781 MB / 459.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003276/8.483, allocations: 231.9 kB / 3.595 GB, free: 6.66 MB / 459.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004038/8.483, allocations: 418 kB / 3.595 GB, free: 6.301 MB / 459.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001497/8.485, allocations: 377.2 kB / 3.595 GB, free: 6.09 MB / 459.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/8.485, allocations: 1.969 kB / 3.595 GB, free: 6.09 MB / 459.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002477/8.487, allocations: 0.8882 MB / 3.596 GB, free: 5.535 MB / 459.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008532/8.488, allocations: 1.986 MB / 3.598 GB, free: 3.441 MB / 459.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.69e-05/8.488, allocations: 4 kB / 3.598 GB, free: 3.438 MB / 459.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008775/8.489, allocations: 248 kB / 3.598 GB, free: 3.32 MB / 459.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004917/8.49, allocations: 130.6 kB / 3.598 GB, free: 3.227 MB / 459.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001607/8.491, allocations: 0.8574 MB / 3.599 GB, free: 2.523 MB / 459.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008319/8.492, allocations: 55.73 kB / 3.599 GB, free: 2.48 MB / 459.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001202/8.492, allocations: 48.98 kB / 3.599 GB, free: 2.449 MB / 459.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/8.492, allocations: 4 kB / 3.599 GB, free: 2.445 MB / 459.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002565/8.495, allocations: 0.8313 MB / 3.6 GB, free: 1.969 MB / 459.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/8.495, allocations: 4 kB / 3.6 GB, free: 1.965 MB / 459.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008491/8.496, allocations: 252.4 kB / 3.6 GB, free: 1.848 MB / 459.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004551/8.496, allocations: 126.5 kB / 3.601 GB, free: 1.758 MB / 459.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001604/8.498, allocations: 0.861 MB / 3.601 GB, free: 1.055 MB / 459.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007627/8.499, allocations: 50.5 kB / 3.602 GB, free: 1.016 MB / 459.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001137/8.499, allocations: 49.52 kB / 3.602 GB, free: 0.9883 MB / 459.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 19 ($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,q_F_Tab.nextEventScaled,Y_Valve_Tab.a,Y_Valve_Tab.b,Y_Valve_Tab.last,$PRE.Y_Valve_Tab.nextEvent,Y_Valve_Tab.nextEvent,Y_Valve_Tab.nextEventScaled,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.000348/8.499, allocations: 198.9 kB / 3.602 GB, free: 0.7891 MB / 459.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001991/8.499, allocations: 63.25 kB / 3.602 GB, free: 0.7266 MB / 459.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2687/8.768, allocations: 4.289 MB / 3.606 GB, free: 81.84 MB / 459.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.954e-05/8.768, allocations: 23.95 kB / 3.606 GB, free: 81.84 MB / 459.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/8.768, allocations: 1.688 kB / 3.606 GB, free: 81.84 MB / 459.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.2e-05/8.768, allocations: 4.391 kB / 3.606 GB, free: 81.84 MB / 459.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00614/8.774, allocations: 5.997 MB / 3.612 GB, free: 81.29 MB / 459.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.414e-06/8.774, allocations: 0 / 3.612 GB, free: 81.29 MB / 459.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003881/8.775, allocations: 75.28 kB / 3.612 GB, free: 81.29 MB / 459.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002063/8.777, allocations: 1.27 MB / 3.613 GB, free: 81.28 MB / 459.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.914e-05/8.777, allocations: 18.98 kB / 3.613 GB, free: 81.28 MB / 459.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002141/8.779, allocations: 2.86 MB / 3.616 GB, free: 80.77 MB / 459.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/8.779, allocations: 2.062 kB / 3.616 GB, free: 80.77 MB / 459.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005489/8.784, allocations: 5.415 MB / 3.621 GB, free: 80.56 MB / 459.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002225/8.785, allocations: 169.3 kB / 3.621 GB, free: 80.47 MB / 459.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001338/8.785, allocations: 11.53 kB / 3.621 GB, free: 80.47 MB / 459.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005845/8.785, allocations: 54.09 kB / 3.622 GB, free: 80.47 MB / 459.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.706e-05/8.786, allocations: 45.91 kB / 3.622 GB, free: 80.47 MB / 459.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.524e-05/8.786, allocations: 28.59 kB / 3.622 GB, free: 80.47 MB / 459.1 MB Notification: Performance of sorting global known variables: time 0.0002946/8.786, allocations: 277.7 kB / 3.622 GB, free: 80.38 MB / 459.1 MB Notification: Performance of sort global known variables: time 1.5e-07/8.786, allocations: 0 / 3.622 GB, free: 80.38 MB / 459.1 MB Notification: Performance of remove unused functions: time 0.005514/8.791, allocations: 1.288 MB / 3.623 GB, free: 80.38 MB / 459.1 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: 25 ($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,q_F_Tab.nextEventScaled,Y_Valve_Tab.a,Y_Valve_Tab.b,Y_Valve_Tab.last,Y_Valve_Tab.nextEvent,Y_Valve_Tab.nextEventScaled) * Number of discrete states: 12 (Y_Valve_Tab.nextEvent,Y_Valve_Tab.last,Y_Valve_Tab.nextEventScaled,Y_Valve_Tab.b,Y_Valve_Tab.a,$whenCondition2,q_F_Tab.nextEvent,q_F_Tab.last,q_F_Tab.nextEventScaled,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.00732/8.799, allocations: 1.909 MB / 3.625 GB, free: 80.24 MB / 459.1 MB Notification: Performance of simCode: created initialization part: time 0.002501/8.801, allocations: 1.65 MB / 3.627 GB, free: 79.98 MB / 459.1 MB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/8.801, allocations: 2.781 kB / 3.627 GB, free: 79.98 MB / 459.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009193/8.802, allocations: 0.7703 MB / 3.627 GB, free: 79.85 MB / 459.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001281/8.804, allocations: 217 kB / 3.628 GB, free: 79.84 MB / 459.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002202/8.806, allocations: 1.456 MB / 3.629 GB, free: 79.53 MB / 459.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003895/8.806, allocations: 1.038 MB / 3.63 GB, free: 78.82 MB / 459.1 MB Notification: Performance of simCode: alias equations: time 0.00108/8.807, allocations: 0.6932 MB / 3.631 GB, free: 78.82 MB / 459.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001248/8.807, allocations: 51.91 kB / 3.631 GB, free: 78.81 MB / 459.1 MB Notification: Performance of SimCode: time 1.132e-06/8.807, allocations: 3.609 kB / 3.631 GB, free: 78.81 MB / 459.1 MB Notification: Performance of Templates: time 0.05999/8.867, allocations: 40.36 MB / 3.67 GB, free: 77.08 MB / 459.1 MB make -j1 -f Modelica_3.2.2_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.makefile (rm -f Modelica_3.2.2_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.pipe ; mkfifo Modelica_3.2.2_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.pipe >> ../files/Modelica_3.2.2_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.sim & ./Modelica_3.2.2_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.pipe 2>&1)