Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.DrumBoiler.DrumBoiler,fileNamePrefix="Modelica_3_2_3_Modelica_Fluid_Examples_DrumBoiler_DrumBoiler",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Fluid.Examples.DrumBoiler.DrumBoiler,fileNamePrefix="Modelica_3_2_3_Modelica_Fluid_Examples_DrumBoiler_DrumBoiler",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001146/0.001146, allocations: 180.9 kB / 17.01 MB, free: 5.125 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.464/1.464, allocations: 205.4 MB / 223.1 MB, free: 9.117 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008333/0.0008333, allocations: 104.1 kB / 271.5 MB, free: 8.359 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003225/0.0003225, allocations: 7.984 kB / 328.3 MB, free: 15.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2961/0.2965, allocations: 47.57 MB / 375.9 MB, free: 45.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.989/6.285, allocations: 2.832 GB / 3.2 GB, free: 51.89 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002386/6.286, allocations: 93.75 kB / 3.2 GB, free: 51.8 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.598/7.883, allocations: 498.8 MB / 3.687 GB, free: 42.08 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.184e-06/7.883, allocations: 3.938 kB / 3.687 GB, free: 42.08 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.352e-05/7.883, allocations: 23.44 kB / 3.687 GB, free: 42.07 MB / 442.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.007248/7.891, allocations: 1.929 MB / 3.689 GB, free: 40.83 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.485e-05/7.891, allocations: 10.69 kB / 3.689 GB, free: 40.83 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002797/7.891, allocations: 115.3 kB / 3.689 GB, free: 40.75 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002213/7.893, allocations: 252.2 kB / 3.689 GB, free: 40.7 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001245/7.895, allocations: 0.5157 MB / 3.69 GB, free: 40.34 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.945e-05/7.895, allocations: 47.88 kB / 3.69 GB, free: 40.32 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001027/7.895, allocations: 61.5 kB / 3.69 GB, free: 40.3 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002101/7.897, allocations: 0.9436 MB / 3.691 GB, free: 39.86 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.39e-05/7.897, allocations: 6.031 kB / 3.691 GB, free: 39.86 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.008e-05/7.897, allocations: 28.16 kB / 3.691 GB, free: 39.84 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.623e-05/7.897, allocations: 17.06 kB / 3.691 GB, free: 39.84 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001589/7.899, allocations: 0.7498 MB / 3.691 GB, free: 39.64 MB / 442.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.004288/7.903, allocations: 4.198 MB / 3.695 GB, free: 36.26 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001554/7.904, allocations: 0.6648 MB / 3.696 GB, free: 36.03 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06485/7.969, allocations: 38.87 MB / 3.734 GB, free: 8.184 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001584/7.971, allocations: 0.5792 MB / 3.735 GB, free: 7.699 MB / 442.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005359/7.971, allocations: 89.16 kB / 3.735 GB, free: 7.625 MB / 442.7 MB Notification: Performance of pre-optimization done (n=57): time 2.214e-06/7.971, allocations: 0 / 3.735 GB, free: 7.625 MB / 442.7 MB Notification: Performance of matching and sorting (n=65): time 0.009643/7.981, allocations: 3.473 MB / 3.738 GB, free: 4.496 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.644e-05/7.981, allocations: 273 kB / 3.738 GB, free: 4.168 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004434/7.982, allocations: 417 kB / 3.739 GB, free: 3.809 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.057e-05/7.982, allocations: 45.64 kB / 3.739 GB, free: 3.758 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001903/7.982, allocations: 325.6 kB / 3.739 GB, free: 3.457 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001446/7.982, allocations: 214.5 kB / 3.739 GB, free: 3.273 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.188e-05/7.982, allocations: 12 kB / 3.739 GB, free: 3.262 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.96e-05/7.982, allocations: 375.1 kB / 3.74 GB, free: 2.906 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004734/7.983, allocations: 285 kB / 3.74 GB, free: 2.664 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005424/7.983, allocations: 478.4 kB / 3.74 GB, free: 2.184 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000522/7.984, allocations: 389.7 kB / 3.741 GB, free: 1.809 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/7.984, allocations: 4 kB / 3.741 GB, free: 1.805 MB / 442.7 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001671/7.986, allocations: 1.07 MB / 3.742 GB, free: 0.8203 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006781/7.986, allocations: 1.813 MB / 3.744 GB, free: 14.87 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/7.986, allocations: 4 kB / 3.744 GB, free: 14.86 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003618/7.99, allocations: 351.1 kB / 3.744 GB, free: 14.64 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005275/7.99, allocations: 137.2 kB / 3.744 GB, free: 14.52 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001104/7.992, allocations: 0.8111 MB / 3.745 GB, free: 13.74 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000767/7.992, allocations: 73.88 kB / 3.745 GB, free: 13.68 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.653e-05/7.992, allocations: 47.11 kB / 3.745 GB, free: 13.64 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/7.992, allocations: 4 kB / 3.745 GB, free: 13.64 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00189/7.994, allocations: 1.008 MB / 3.746 GB, free: 12.72 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/7.994, allocations: 4 kB / 3.746 GB, free: 12.71 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003647/7.998, allocations: 359 kB / 3.746 GB, free: 12.49 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004912/7.999, allocations: 128.5 kB / 3.746 GB, free: 12.38 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001094/8, allocations: 0.8009 MB / 3.747 GB, free: 11.6 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008184/8, allocations: 64.19 kB / 3.747 GB, free: 11.55 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001004/8.001, allocations: 48.91 kB / 3.747 GB, free: 11.51 MB / 458.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.0006438/8.001, allocations: 363.8 kB / 3.748 GB, free: 11.14 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001379/8.001, allocations: 71.16 kB / 3.748 GB, free: 11.07 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005976/8.007, allocations: 4.795 MB / 3.752 GB, free: 6.848 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.171e-05/8.007, allocations: 31.2 kB / 3.752 GB, free: 6.828 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/8.007, allocations: 0 / 3.752 GB, free: 6.828 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.108e-06/8.007, allocations: 3.75 kB / 3.752 GB, free: 6.828 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0081/8.016, allocations: 6.576 MB / 3.759 GB, free: 1.004 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.603e-06/8.016, allocations: 0 / 3.759 GB, free: 1.004 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004316/8.016, allocations: 99.45 kB / 3.759 GB, free: 0.9219 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002272/8.018, allocations: 1.081 MB / 3.76 GB, free: 80 kB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.943e-05/8.018, allocations: 22.72 kB / 3.76 GB, free: 60 kB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2659/8.284, allocations: 2.35 MB / 3.762 GB, free: 59.17 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/8.284, allocations: 4.5 kB / 3.762 GB, free: 59.17 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006078/8.29, allocations: 5.562 MB / 3.768 GB, free: 58.88 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003981/8.291, allocations: 248.2 kB / 3.768 GB, free: 58.78 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000149/8.291, allocations: 21.73 kB / 3.768 GB, free: 58.78 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006636/8.292, allocations: 71.27 kB / 3.768 GB, free: 58.78 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001071/8.292, allocations: 48.58 kB / 3.768 GB, free: 58.78 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.274e-05/8.292, allocations: 39.69 kB / 3.768 GB, free: 58.78 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.000502/8.292, allocations: 480.1 kB / 3.769 GB, free: 58.68 MB / 458.7 MB Notification: Performance of sort global known variables: time 7.02e-07/8.292, allocations: 1.125 kB / 3.769 GB, free: 58.68 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005442/8.298, allocations: 1.369 MB / 3.77 GB, free: 58.68 MB / 458.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.01082/8.309, allocations: 4.871 MB / 3.775 GB, free: 57.68 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003023/8.312, allocations: 1.836 MB / 3.777 GB, free: 57.41 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.748e-06/8.312, allocations: 0 / 3.777 GB, free: 57.41 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00111/8.313, allocations: 0.9049 MB / 3.777 GB, free: 57.27 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001555/8.314, allocations: 311.4 kB / 3.778 GB, free: 57.27 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01013/8.325, allocations: 8.776 MB / 3.786 GB, free: 52.61 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004427/8.325, allocations: 1.1 MB / 3.787 GB, free: 51.9 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0009281/8.326, allocations: 0.6035 MB / 3.788 GB, free: 51.9 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003555/8.326, allocations: 390.8 kB / 3.788 GB, free: 51.89 MB / 458.7 MB Notification: Performance of SimCode: time 6.81e-07/8.326, allocations: 0 / 3.788 GB, free: 51.89 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08662/8.413, allocations: 58.81 MB / 3.846 GB, free: 49.34 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001524/8.413, allocations: 241.5 kB / 3.846 GB, free: 49.09 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.783/12.2, allocations: 0 / 3.846 GB, free: 49.09 MB / 458.7 MB (rm -f Modelica_3.2.3_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.pipe ; mkfifo Modelica_3.2.3_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.pipe >> ../files/Modelica_3.2.3_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Fluid_Examples_DrumBoiler_DrumBoiler_fmu --startTime=0 --stopTime=5400 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Fluid_Examples_DrumBoiler_DrumBoiler.fmu > Modelica_3.2.3_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler_res.mat does not exist to compare? outputFormat=mat