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.001092/0.001092, allocations: 178.5 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.157/1.157, allocations: 194.5 MB / 211.6 MB, free: 3.059 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001564/0.001564, allocations: 115.7 kB / 256.9 MB, free: 4.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002874/0.0002874, allocations: 11.98 kB / 310.6 MB, free: 14.95 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08094/0.08124, allocations: 44.51 MB / 355.1 MB, free: 2.34 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.8/4.881, allocations: 2.67 GB / 3.017 GB, free: 53.16 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002381/4.881, allocations: 88.64 kB / 3.017 GB, free: 53.11 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.315/6.197, allocations: 495.7 MB / 3.501 GB, free: 25.05 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.473e-06/6.197, allocations: 3.562 kB / 3.501 GB, free: 25.05 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.237e-05/6.197, allocations: 19.12 kB / 3.501 GB, free: 25.04 MB / 410.7 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.005267/6.202, allocations: 1.921 MB / 3.503 GB, free: 23.81 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/6.202, allocations: 7.812 kB / 3.503 GB, free: 23.81 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001738/6.204, allocations: 249.6 kB / 3.503 GB, free: 23.75 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006793/6.205, allocations: 0.5004 MB / 3.504 GB, free: 23.41 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.621e-05/6.205, allocations: 47.72 kB / 3.504 GB, free: 23.38 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.786e-05/6.205, allocations: 65.97 kB / 3.504 GB, free: 23.36 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001549/6.206, allocations: 0.9067 MB / 3.505 GB, free: 22.94 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/6.206, allocations: 1.844 kB / 3.505 GB, free: 22.94 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.29e-05/6.206, allocations: 27.59 kB / 3.505 GB, free: 22.92 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/6.206, allocations: 14.97 kB / 3.505 GB, free: 22.92 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001436/6.208, allocations: 0.7311 MB / 3.505 GB, free: 22.72 MB / 410.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.003533/6.211, allocations: 4.131 MB / 3.509 GB, free: 19.37 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001386/6.213, allocations: 0.6168 MB / 3.51 GB, free: 19.14 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2732/6.486, allocations: 54.99 MB / 3.564 GB, free: 37.04 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001291/6.487, allocations: 0.5439 MB / 3.564 GB, free: 36.89 MB / 426.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004596/6.488, allocations: 84.3 kB / 3.564 GB, free: 36.89 MB / 426.7 MB Notification: Performance of pre-optimization done (n=57): time 2.064e-06/6.488, allocations: 1.531 kB / 3.564 GB, free: 36.89 MB / 426.7 MB Notification: Performance of matching and sorting (n=65): time 0.008643/6.496, allocations: 3.268 MB / 3.568 GB, free: 36.04 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.276e-05/6.497, allocations: 277.1 kB / 3.568 GB, free: 35.72 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003785/6.497, allocations: 400.3 kB / 3.568 GB, free: 35.61 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.198e-05/6.497, allocations: 36.17 kB / 3.568 GB, free: 35.58 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001691/6.497, allocations: 328.3 kB / 3.569 GB, free: 35.43 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001318/6.497, allocations: 214.1 kB / 3.569 GB, free: 35.33 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.822e-05/6.497, allocations: 11.88 kB / 3.569 GB, free: 35.33 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.501e-05/6.497, allocations: 370.8 kB / 3.569 GB, free: 35.02 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000423/6.498, allocations: 273 kB / 3.569 GB, free: 35.02 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004825/6.498, allocations: 460.3 kB / 3.57 GB, free: 34.81 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004828/6.499, allocations: 388.9 kB / 3.57 GB, free: 34.74 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/6.499, allocations: 0 / 3.57 GB, free: 34.74 MB / 426.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.00145/6.5, allocations: 0.9691 MB / 3.571 GB, free: 34.6 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003102/6.501, allocations: 1.985 MB / 3.573 GB, free: 32.54 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/6.501, allocations: 7.438 kB / 3.573 GB, free: 32.54 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003634/6.504, allocations: 352.5 kB / 3.573 GB, free: 32.53 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004241/6.505, allocations: 132.3 kB / 3.574 GB, free: 32.53 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008595/6.506, allocations: 0.8085 MB / 3.574 GB, free: 32 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005528/6.506, allocations: 69.41 kB / 3.574 GB, free: 32 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.573e-05/6.506, allocations: 50.91 kB / 3.574 GB, free: 32 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.783e-06/6.506, allocations: 3.969 kB / 3.574 GB, free: 32 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001324/6.508, allocations: 0.9073 MB / 3.575 GB, free: 31.93 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/6.508, allocations: 3.812 kB / 3.575 GB, free: 31.93 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003598/6.511, allocations: 356.2 kB / 3.576 GB, free: 31.92 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003852/6.512, allocations: 125.3 kB / 3.576 GB, free: 31.92 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007909/6.512, allocations: 0.8116 MB / 3.577 GB, free: 31.39 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004945/6.513, allocations: 58.88 kB / 3.577 GB, free: 31.39 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.699e-05/6.513, allocations: 44.38 kB / 3.577 GB, free: 31.39 MB / 426.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: 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 () * Number of clocked 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.0003206/6.513, allocations: 364.5 kB / 3.577 GB, free: 31.14 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.047e-05/6.513, allocations: 73.39 kB / 3.577 GB, free: 31.1 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004694/6.518, allocations: 4.682 MB / 3.582 GB, free: 30.82 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.377e-05/6.518, allocations: 29.28 kB / 3.582 GB, free: 30.82 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.279e-06/6.518, allocations: 1.781 kB / 3.582 GB, free: 30.82 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.777e-06/6.518, allocations: 5.297 kB / 3.582 GB, free: 30.82 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006282/6.524, allocations: 6.455 MB / 3.588 GB, free: 30.11 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/6.524, allocations: 2.938 kB / 3.588 GB, free: 30.11 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003552/6.525, allocations: 90.44 kB / 3.588 GB, free: 30.11 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002033/6.527, allocations: 1.079 MB / 3.589 GB, free: 30.1 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.507e-05/6.527, allocations: 27.53 kB / 3.589 GB, free: 30.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0017/6.529, allocations: 2.348 MB / 3.591 GB, free: 29.58 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/6.529, allocations: 2.719 kB / 3.591 GB, free: 29.58 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00619/6.535, allocations: 5.426 MB / 3.597 GB, free: 29.2 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003368/6.535, allocations: 231.9 kB / 3.597 GB, free: 29.05 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001362/6.535, allocations: 23.66 kB / 3.597 GB, free: 29.05 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006616/6.536, allocations: 74.77 kB / 3.597 GB, free: 29.05 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/6.536, allocations: 53.83 kB / 3.597 GB, free: 29.05 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.439e-05/6.536, allocations: 34.48 kB / 3.597 GB, free: 29.05 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005135/6.537, allocations: 463.7 kB / 3.598 GB, free: 28.95 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/6.537, allocations: 0 / 3.598 GB, free: 28.95 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005504/6.542, allocations: 1.366 MB / 3.599 GB, free: 28.95 MB / 426.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: 27 ($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,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) * Number of clocked states: 0 () * 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.004529/6.547, allocations: 1.778 MB / 3.601 GB, free: 28.77 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002853/6.55, allocations: 1.808 MB / 3.602 GB, free: 28.49 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/6.55, allocations: 2.781 kB / 3.602 GB, free: 28.49 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000955/6.551, allocations: 0.8869 MB / 3.603 GB, free: 28.36 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001205/6.552, allocations: 298.2 kB / 3.604 GB, free: 28.36 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002582/6.554, allocations: 2.701 MB / 3.606 GB, free: 27.21 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003611/6.555, allocations: 1.097 MB / 3.607 GB, free: 26.51 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0007737/6.556, allocations: 0.5964 MB / 3.608 GB, free: 26.5 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000112/6.556, allocations: 60.77 kB / 3.608 GB, free: 26.5 MB / 426.7 MB Notification: Performance of SimCode: time 2.41e-07/6.556, allocations: 1.781 kB / 3.608 GB, free: 26.5 MB / 426.7 MB Notification: Performance of Templates: time 0.04993/6.606, allocations: 46.63 MB / 3.653 GB, free: 23.69 MB / 426.7 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)