Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.DrumBoiler.DrumBoiler,fileNamePrefix="Modelica_trunk_Modelica_Fluid_Examples_DrumBoiler_DrumBoiler",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Fluid.Examples.DrumBoiler.DrumBoiler,fileNamePrefix="Modelica_trunk_Modelica_Fluid_Examples_DrumBoiler_DrumBoiler",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001378/0.001378, allocations: 196.8 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.74/1.74, allocations: 225.4 MB / 240.1 MB, free: 15.04 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001045/0.001045, allocations: 88.52 kB / 292.1 MB, free: 5.957 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 5.232e-05/5.234e-05, allocations: 0 / 350.6 MB, free: 2.441 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1481/0.1481, allocations: 51.48 MB / 402.1 MB, free: 14.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.375/8.523, allocations: 2.838 GB / 3.231 GB, free: 112.4 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002912/8.524, allocations: 79.12 kB / 3.231 GB, free: 112.4 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.705/10.23, allocations: 0.4909 GB / 3.722 GB, free: 12.06 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.304e-06/10.23, allocations: 0 / 3.722 GB, free: 12.06 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.307e-05/10.23, allocations: 16 kB / 3.722 GB, free: 12.05 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 152 * Number of variables: 152 Notification: Performance of Generate backend data structure: time 0.008161/10.24, allocations: 1.866 MB / 3.724 GB, free: 10.13 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.835e-05/10.24, allocations: 12.02 kB / 3.724 GB, free: 10.12 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003733/10.24, allocations: 115.7 kB / 3.724 GB, free: 10 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002419/10.24, allocations: 249.8 kB / 3.724 GB, free: 9.762 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001272/10.24, allocations: 0.5042 MB / 3.725 GB, free: 9.223 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.192e-05/10.24, allocations: 45.31 kB / 3.725 GB, free: 9.18 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001537/10.24, allocations: 56 kB / 3.725 GB, free: 9.125 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002305/10.24, allocations: 0.949 MB / 3.726 GB, free: 8.117 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.279e-05/10.24, allocations: 0 / 3.726 GB, free: 8.117 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-05/10.24, allocations: 35.88 kB / 3.726 GB, free: 8.082 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.059e-05/10.24, allocations: 16.34 kB / 3.726 GB, free: 8.066 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001844/10.25, allocations: 0.7232 MB / 3.727 GB, free: 7.34 MB / 474.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.006049/10.25, allocations: 4.199 MB / 3.731 GB, free: 2.816 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00158/10.25, allocations: 0.6224 MB / 3.731 GB, free: 2.168 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004113/10.25, allocations: 267.7 kB / 3.732 GB, free: 1.898 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4326/10.69, allocations: 43.2 MB / 3.774 GB, free: 22.08 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001465/10.69, allocations: 0.5929 MB / 3.774 GB, free: 21.93 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000504/10.69, allocations: 87.94 kB / 3.774 GB, free: 21.93 MB / 474.7 MB Notification: Performance of pre-optimization done (n=57): time 2.575e-06/10.69, allocations: 0 / 3.774 GB, free: 21.93 MB / 474.7 MB Notification: Performance of matching and sorting (n=65): time 0.008764/10.7, allocations: 3.063 MB / 3.777 GB, free: 21.26 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.109e-05/10.7, allocations: 271.4 kB / 3.778 GB, free: 20.95 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004649/10.7, allocations: 415.5 kB / 3.778 GB, free: 20.83 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 5.616e-05/10.7, allocations: 39.14 kB / 3.778 GB, free: 20.8 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001912/10.7, allocations: 330 kB / 3.778 GB, free: 20.66 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001518/10.7, allocations: 217 kB / 3.779 GB, free: 20.55 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.056e-05/10.7, allocations: 11.44 kB / 3.779 GB, free: 20.55 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001141/10.7, allocations: 372.2 kB / 3.779 GB, free: 20.24 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003599/10.7, allocations: 259.9 kB / 3.779 GB, free: 20.24 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004495/10.7, allocations: 436.7 kB / 3.78 GB, free: 20.05 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004371/10.7, allocations: 351.2 kB / 3.78 GB, free: 19.98 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/10.7, allocations: 0 / 3.78 GB, free: 19.98 MB / 474.7 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001433/10.7, allocations: 0.999 MB / 3.781 GB, free: 19.83 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000997/10.7, allocations: 1.808 MB / 3.783 GB, free: 33.96 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/10.7, allocations: 10.48 kB / 3.783 GB, free: 33.96 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003622/10.71, allocations: 339.1 kB / 3.783 GB, free: 33.95 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004747/10.71, allocations: 139.4 kB / 3.783 GB, free: 33.95 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001018/10.71, allocations: 0.8018 MB / 3.784 GB, free: 33.43 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006627/10.71, allocations: 66.72 kB / 3.784 GB, free: 33.43 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.757e-05/10.71, allocations: 51.81 kB / 3.784 GB, free: 33.43 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.839e-06/10.71, allocations: 5.656 kB / 3.784 GB, free: 33.43 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00146/10.71, allocations: 0.9632 MB / 3.785 GB, free: 33.34 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/10.71, allocations: 4.406 kB / 3.785 GB, free: 33.34 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003511/10.71, allocations: 345.7 kB / 3.785 GB, free: 33.34 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004906/10.71, allocations: 131.3 kB / 3.785 GB, free: 33.34 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001114/10.72, allocations: 0.8067 MB / 3.786 GB, free: 32.81 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006849/10.72, allocations: 61.27 kB / 3.786 GB, free: 32.81 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.698e-05/10.72, allocations: 50.91 kB / 3.786 GB, free: 32.81 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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.0003076/10.72, allocations: 215.2 kB / 3.787 GB, free: 32.64 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001312/10.72, allocations: 72.34 kB / 3.787 GB, free: 32.61 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006109/10.72, allocations: 4.956 MB / 3.791 GB, free: 32.32 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.56e-05/10.72, allocations: 30.33 kB / 3.791 GB, free: 32.32 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.796e-06/10.72, allocations: 0.7812 kB / 3.791 GB, free: 32.32 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.302e-05/10.72, allocations: 6.266 kB / 3.791 GB, free: 32.32 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007676/10.73, allocations: 6.822 MB / 3.798 GB, free: 31.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.764e-06/10.73, allocations: 1.438 kB / 3.798 GB, free: 31.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004477/10.73, allocations: 102.7 kB / 3.798 GB, free: 31.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002677/10.73, allocations: 1.282 MB / 3.799 GB, free: 31.59 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.293e-05/10.73, allocations: 24.95 kB / 3.8 GB, free: 31.59 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002786/10.74, allocations: 2.441 MB / 3.802 GB, free: 31.07 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/10.74, allocations: 1.359 kB / 3.802 GB, free: 31.07 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007507/10.74, allocations: 5.815 MB / 3.808 GB, free: 30.69 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005224/10.74, allocations: 248.1 kB / 3.808 GB, free: 30.54 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001541/10.74, allocations: 23.84 kB / 3.808 GB, free: 30.54 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006632/10.75, allocations: 71.23 kB / 3.808 GB, free: 30.54 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001163/10.75, allocations: 52.52 kB / 3.808 GB, free: 30.54 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-05/10.75, allocations: 32.84 kB / 3.808 GB, free: 30.54 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.00059/10.75, allocations: 470.1 kB / 3.808 GB, free: 30.44 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.5e-07/10.75, allocations: 1.5 kB / 3.808 GB, free: 30.44 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.006247/10.75, allocations: 1.388 MB / 3.81 GB, free: 30.44 MB / 490.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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 48 * 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.01315/10.77, allocations: 4.772 MB / 3.814 GB, free: 29.28 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003147/10.77, allocations: 1.762 MB / 3.816 GB, free: 29 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/10.77, allocations: 0.875 kB / 3.816 GB, free: 29 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001154/10.77, allocations: 0.8687 MB / 3.817 GB, free: 28.86 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001777/10.77, allocations: 310.5 kB / 3.817 GB, free: 28.85 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006838/10.78, allocations: 2.286 MB / 3.82 GB, free: 28.32 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008289/10.78, allocations: 1.102 MB / 3.821 GB, free: 27.6 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001378/10.78, allocations: 0.6272 MB / 3.821 GB, free: 27.58 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004314/10.78, allocations: 389.6 kB / 3.822 GB, free: 27.57 MB / 490.7 MB Notification: Performance of SimCode: time 1.272e-06/10.78, allocations: 0 / 3.822 GB, free: 27.57 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1077/10.89, allocations: 62.92 MB / 3.883 GB, free: 19.46 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001721/10.89, allocations: 216 kB / 3.883 GB, free: 19.23 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.991/14.88, allocations: 2.406 kB / 3.883 GB, free: 19.23 MB / 490.7 MB (rm -f Modelica_trunk_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.pipe ; mkfifo Modelica_trunk_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.pipe >> ../files/Modelica_trunk_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler_res.mat --tempDir=temp_Modelica_trunk_Modelica_Fluid_Examples_DrumBoiler_DrumBoiler_fmu --startTime=0 --stopTime=5400 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Fluid_Examples_DrumBoiler_DrumBoiler.fmu > Modelica_trunk_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler_res.mat does not exist to compare? outputFormat=mat