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.001294/0.001294, allocations: 197.6 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.238/1.238, allocations: 227.2 MB / 245 MB, free: 5.852 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000986/0.0009859, allocations: 103 kB / 297.3 MB, free: 5.953 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002466/0.0002466, allocations: 8 kB / 358 MB, free: 9.215 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2203/0.2206, allocations: 51.48 MB / 409.5 MB, free: 26.69 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.706/5.926, allocations: 2.838 GB / 3.238 GB, free: 70.05 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002423/5.927, allocations: 93.55 kB / 3.238 GB, free: 69.96 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.602/7.528, allocations: 0.4923 GB / 3.731 GB, free: 37.99 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.465e-06/7.528, allocations: 0 / 3.731 GB, free: 37.99 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.68e-05/7.528, allocations: 30.47 kB / 3.731 GB, free: 37.98 MB / 458.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.006693/7.535, allocations: 1.915 MB / 3.733 GB, free: 36.82 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/7.535, allocations: 15 kB / 3.733 GB, free: 36.82 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003199/7.536, allocations: 119.1 kB / 3.733 GB, free: 36.78 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002155/7.538, allocations: 250 kB / 3.733 GB, free: 36.74 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001035/7.539, allocations: 0.5163 MB / 3.734 GB, free: 36.48 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.492e-05/7.539, allocations: 49 kB / 3.734 GB, free: 36.47 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001442/7.539, allocations: 61.81 kB / 3.734 GB, free: 36.47 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002123/7.541, allocations: 0.9346 MB / 3.735 GB, free: 36.26 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.244e-05/7.541, allocations: 8.562 kB / 3.735 GB, free: 36.26 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.969e-05/7.541, allocations: 25.62 kB / 3.735 GB, free: 36.26 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.502e-05/7.541, allocations: 15.5 kB / 3.735 GB, free: 36.26 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001799/7.543, allocations: 0.7603 MB / 3.735 GB, free: 36.25 MB / 458.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.004521/7.548, allocations: 4.197 MB / 3.739 GB, free: 33.41 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00164/7.549, allocations: 0.6582 MB / 3.74 GB, free: 33.34 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07452/7.624, allocations: 43.08 MB / 3.782 GB, free: 22.58 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001619/7.625, allocations: 0.588 MB / 3.783 GB, free: 22.42 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005572/7.626, allocations: 87.08 kB / 3.783 GB, free: 22.39 MB / 474.7 MB Notification: Performance of pre-optimization done (n=57): time 4.569e-06/7.626, allocations: 0 / 3.783 GB, free: 22.39 MB / 474.7 MB Notification: Performance of matching and sorting (n=65): time 0.01059/7.637, allocations: 3.475 MB / 3.786 GB, free: 20.78 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001638/7.637, allocations: 271.4 kB / 3.786 GB, free: 20.46 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005609/7.637, allocations: 418.3 kB / 3.787 GB, free: 20.27 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 8.847e-05/7.638, allocations: 37.61 kB / 3.787 GB, free: 20.23 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002391/7.638, allocations: 325.7 kB / 3.787 GB, free: 19.97 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001772/7.638, allocations: 218.3 kB / 3.787 GB, free: 19.8 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.596e-05/7.638, allocations: 11.28 kB / 3.787 GB, free: 19.8 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001812/7.638, allocations: 375.4 kB / 3.788 GB, free: 19.46 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005216/7.639, allocations: 293.3 kB / 3.788 GB, free: 19.35 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000594/7.639, allocations: 482.1 kB / 3.789 GB, free: 19.03 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006462/7.64, allocations: 386.8 kB / 3.789 GB, free: 18.83 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/7.64, allocations: 0 / 3.789 GB, free: 18.83 MB / 474.7 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001783/7.642, allocations: 1.071 MB / 3.79 GB, free: 18.35 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007569/7.643, allocations: 1.802 MB / 3.792 GB, free: 16.43 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.435e-05/7.643, allocations: 3.75 kB / 3.792 GB, free: 16.43 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003758/7.646, allocations: 353.2 kB / 3.792 GB, free: 16.35 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005083/7.647, allocations: 139.7 kB / 3.792 GB, free: 16.33 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001115/7.648, allocations: 0.8073 MB / 3.793 GB, free: 15.69 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008791/7.649, allocations: 74.62 kB / 3.793 GB, free: 15.67 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001278/7.649, allocations: 52.95 kB / 3.793 GB, free: 15.66 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/7.649, allocations: 3.5 kB / 3.793 GB, free: 15.66 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001753/7.651, allocations: 1.005 MB / 3.794 GB, free: 15.23 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/7.651, allocations: 7.938 kB / 3.794 GB, free: 15.23 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003621/7.654, allocations: 354.9 kB / 3.794 GB, free: 15.14 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004448/7.655, allocations: 134.8 kB / 3.795 GB, free: 15.11 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001023/7.656, allocations: 0.7969 MB / 3.795 GB, free: 14.33 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007819/7.657, allocations: 70.41 kB / 3.795 GB, free: 14.28 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.091e-05/7.657, allocations: 43.17 kB / 3.795 GB, free: 14.24 MB / 474.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 () * 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.000596/7.657, allocations: 364.8 kB / 3.796 GB, free: 13.88 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001757/7.658, allocations: 71.25 kB / 3.796 GB, free: 13.81 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005056/7.663, allocations: 4.788 MB / 3.8 GB, free: 9.578 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-05/7.663, allocations: 35.23 kB / 3.801 GB, free: 9.559 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-05/7.663, allocations: 0 / 3.801 GB, free: 9.559 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.756e-06/7.663, allocations: 0 / 3.801 GB, free: 9.559 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006885/7.67, allocations: 6.583 MB / 3.807 GB, free: 3.742 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/7.67, allocations: 0 / 3.807 GB, free: 3.742 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003885/7.67, allocations: 102.6 kB / 3.807 GB, free: 3.656 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00204/7.672, allocations: 1.084 MB / 3.808 GB, free: 2.812 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.785e-05/7.672, allocations: 27.55 kB / 3.808 GB, free: 2.789 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002023/7.674, allocations: 2.343 MB / 3.81 GB, free: 0.6719 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/7.674, allocations: 11.91 kB / 3.81 GB, free: 0.6641 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01077/7.685, allocations: 5.873 MB / 3.816 GB, free: 12.45 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004703/7.686, allocations: 240.7 kB / 3.816 GB, free: 12.21 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002369/7.686, allocations: 20 kB / 3.816 GB, free: 12.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008489/7.687, allocations: 80.7 kB / 3.817 GB, free: 12.14 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001311/7.687, allocations: 46.61 kB / 3.817 GB, free: 12.11 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.079e-05/7.687, allocations: 35.89 kB / 3.817 GB, free: 12.08 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007594/7.688, allocations: 477.7 kB / 3.817 GB, free: 11.68 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.2e-07/7.688, allocations: 0 / 3.817 GB, free: 11.68 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.006539/7.694, allocations: 1.384 MB / 3.818 GB, free: 10.32 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) * Number of clocked states: 0 () * 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.01393/7.708, allocations: 4.877 MB / 3.823 GB, free: 6.066 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003986/7.712, allocations: 1.847 MB / 3.825 GB, free: 4.355 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.072e-06/7.712, allocations: 0 / 3.825 GB, free: 4.355 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001557/7.714, allocations: 0.8968 MB / 3.826 GB, free: 3.508 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001884/7.716, allocations: 310 kB / 3.826 GB, free: 3.289 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2646/7.98, allocations: 8.757 MB / 3.835 GB, free: 64.61 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006036/7.981, allocations: 1.102 MB / 3.836 GB, free: 63.9 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001113/7.982, allocations: 0.5929 MB / 3.836 GB, free: 63.89 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004497/7.983, allocations: 394.1 kB / 3.837 GB, free: 63.89 MB / 490.7 MB Notification: Performance of SimCode: time 1.322e-06/7.983, allocations: 0 / 3.837 GB, free: 63.89 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09373/8.076, allocations: 58.88 MB / 3.894 GB, free: 62.08 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001592/8.077, allocations: 239.4 kB / 3.894 GB, free: 61.84 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.711/11.79, allocations: 4.984 kB / 3.894 GB, free: 61.84 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