Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.DrumBoiler.DrumBoiler,fileNamePrefix="Modelica_4_0_0_Modelica_Fluid_Examples_DrumBoiler_DrumBoiler",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Fluid.Examples.DrumBoiler.DrumBoiler,fileNamePrefix="Modelica_4_0_0_Modelica_Fluid_Examples_DrumBoiler_DrumBoiler",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001185/0.001184, allocations: 175 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.616/1.616, allocations: 221.3 MB / 235.5 MB, free: 2.973 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 83.12 kB / 286.5 MB, free: 248 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.741e-05/4.783e-05, allocations: 4 kB / 343.9 MB, free: 4.227 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.1336, allocations: 50.41 MB / 394.3 MB, free: 1.773 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.1/8.233, allocations: 2.838 GB / 3.223 GB, free: 131.5 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002608/8.234, allocations: 81.78 kB / 3.223 GB, free: 131.5 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.661/9.895, allocations: 0.4909 GB / 3.714 GB, free: 2.223 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.202e-06/9.895, allocations: 0 / 3.714 GB, free: 2.223 MB / 458.7 MB Notification: Performance of Transformations before backend: time 7.708e-05/9.895, allocations: 20 kB / 3.714 GB, free: 2.203 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.006321/9.901, allocations: 1.852 MB / 3.715 GB, free: 308 kB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/9.901, allocations: 8.031 kB / 3.715 GB, free: 300 kB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002458/9.901, allocations: 115.7 kB / 3.716 GB, free: 176 kB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2714/10.17, allocations: 247.2 kB / 3.716 GB, free: 46.1 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001198/10.17, allocations: 0.5004 MB / 3.716 GB, free: 45.88 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.705e-05/10.17, allocations: 47.59 kB / 3.716 GB, free: 45.88 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.392e-05/10.17, allocations: 59.92 kB / 3.716 GB, free: 45.88 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001919/10.18, allocations: 0.9448 MB / 3.717 GB, free: 45.67 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.727e-05/10.18, allocations: 2.594 kB / 3.717 GB, free: 45.67 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.919e-05/10.18, allocations: 28.38 kB / 3.717 GB, free: 45.67 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.475e-05/10.18, allocations: 20.03 kB / 3.717 GB, free: 45.67 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001512/10.18, allocations: 0.7212 MB / 3.718 GB, free: 45.67 MB / 458.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.004014/10.18, allocations: 4.198 MB / 3.722 GB, free: 42.86 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001222/10.18, allocations: 0.6268 MB / 3.723 GB, free: 42.79 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003007/10.18, allocations: 269.5 kB / 3.723 GB, free: 42.76 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07017/10.25, allocations: 39.01 MB / 3.761 GB, free: 21.36 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001437/10.26, allocations: 0.5961 MB / 3.762 GB, free: 21.22 MB / 458.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005214/10.26, allocations: 89.03 kB / 3.762 GB, free: 21.2 MB / 458.7 MB Notification: Performance of pre-optimization done (n=57): time 2.174e-06/10.26, allocations: 0 / 3.762 GB, free: 21.2 MB / 458.7 MB Notification: Performance of matching and sorting (n=65): time 0.008572/10.26, allocations: 3.065 MB / 3.765 GB, free: 20.48 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001154/10.26, allocations: 268.1 kB / 3.765 GB, free: 20.17 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004263/10.26, allocations: 413.9 kB / 3.765 GB, free: 20.05 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 5.444e-05/10.26, allocations: 38.2 kB / 3.765 GB, free: 20.02 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001923/10.27, allocations: 328.8 kB / 3.766 GB, free: 19.88 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001366/10.27, allocations: 216.7 kB / 3.766 GB, free: 19.77 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.783e-05/10.27, allocations: 13.84 kB / 3.766 GB, free: 19.77 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 7.813e-05/10.27, allocations: 373.1 kB / 3.766 GB, free: 19.46 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003511/10.27, allocations: 254.7 kB / 3.767 GB, free: 19.46 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004434/10.27, allocations: 435.5 kB / 3.767 GB, free: 19.26 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000638/10.27, allocations: 358.1 kB / 3.767 GB, free: 19.19 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/10.27, allocations: 3.844 kB / 3.767 GB, free: 19.19 MB / 458.7 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001475/10.27, allocations: 1.002 MB / 3.768 GB, free: 19.05 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004015/10.27, allocations: 1.803 MB / 3.77 GB, free: 17.17 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/10.27, allocations: 3.812 kB / 3.77 GB, free: 17.17 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003482/10.27, allocations: 345.3 kB / 3.77 GB, free: 17.16 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004918/10.27, allocations: 137.8 kB / 3.771 GB, free: 17.16 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009059/10.27, allocations: 0.8023 MB / 3.771 GB, free: 16.64 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007106/10.27, allocations: 74.66 kB / 3.771 GB, free: 16.64 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-05/10.27, allocations: 49.44 kB / 3.771 GB, free: 16.64 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.006e-05/10.27, allocations: 2.781 kB / 3.771 GB, free: 16.64 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001447/10.28, allocations: 0.9649 MB / 3.772 GB, free: 16.55 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/10.28, allocations: 3.938 kB / 3.772 GB, free: 16.55 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003406/10.28, allocations: 349.4 kB / 3.773 GB, free: 16.54 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004207/10.28, allocations: 126.7 kB / 3.773 GB, free: 16.54 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008344/10.28, allocations: 0.8047 MB / 3.774 GB, free: 16.02 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007053/10.28, allocations: 65.86 kB / 3.774 GB, free: 16.02 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.608e-05/10.28, allocations: 46.14 kB / 3.774 GB, free: 16.02 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 () * 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.0008095/10.28, allocations: 223.5 kB / 3.774 GB, free: 31.84 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001077/10.28, allocations: 70.88 kB / 3.774 GB, free: 31.81 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004596/10.29, allocations: 4.955 MB / 3.779 GB, free: 31.52 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.456e-05/10.29, allocations: 32.17 kB / 3.779 GB, free: 31.52 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/10.29, allocations: 0 / 3.779 GB, free: 31.52 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.117e-06/10.29, allocations: 3.797 kB / 3.779 GB, free: 31.52 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005997/10.29, allocations: 6.822 MB / 3.786 GB, free: 30.81 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/10.29, allocations: 3.312 kB / 3.786 GB, free: 30.81 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003893/10.29, allocations: 105.7 kB / 3.786 GB, free: 30.81 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00203/10.3, allocations: 1.274 MB / 3.787 GB, free: 30.8 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.371e-05/10.3, allocations: 28.58 kB / 3.787 GB, free: 30.8 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001922/10.3, allocations: 2.43 MB / 3.789 GB, free: 30.28 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/10.3, allocations: 0 / 3.789 GB, free: 30.28 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005421/10.3, allocations: 5.821 MB / 3.795 GB, free: 29.89 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003951/10.3, allocations: 243.7 kB / 3.795 GB, free: 29.74 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001356/10.3, allocations: 20.25 kB / 3.795 GB, free: 29.74 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006465/10.3, allocations: 80.92 kB / 3.795 GB, free: 29.73 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001085/10.3, allocations: 50.66 kB / 3.795 GB, free: 29.73 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.705e-05/10.3, allocations: 33.81 kB / 3.795 GB, free: 29.73 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0004888/10.3, allocations: 472.7 kB / 3.796 GB, free: 29.63 MB / 474.7 MB Notification: Performance of sort global known variables: time 2e-07/10.3, allocations: 0 / 3.796 GB, free: 29.63 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005348/10.31, allocations: 1.375 MB / 3.797 GB, free: 29.63 MB / 474.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.00999/10.32, allocations: 4.761 MB / 3.802 GB, free: 28.4 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002661/10.32, allocations: 1.762 MB / 3.804 GB, free: 28.11 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/10.32, allocations: 6.969 kB / 3.804 GB, free: 28.11 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001021/10.32, allocations: 0.8727 MB / 3.804 GB, free: 27.98 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001544/10.33, allocations: 308.6 kB / 3.805 GB, free: 27.96 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004948/10.33, allocations: 2.278 MB / 3.807 GB, free: 27.41 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005315/10.33, allocations: 1.098 MB / 3.808 GB, free: 26.68 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0009163/10.33, allocations: 0.6229 MB / 3.809 GB, free: 26.66 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003389/10.33, allocations: 392.1 kB / 3.809 GB, free: 26.65 MB / 474.7 MB Notification: Performance of SimCode: time 6.61e-07/10.33, allocations: 0 / 3.809 GB, free: 26.65 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.109/11.44, allocations: 62.84 MB / 3.87 GB, free: 7.973 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002095/11.44, allocations: 220.6 kB / 3.871 GB, free: 7.742 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.115/15.56, allocations: 0 / 3.871 GB, free: 7.742 MB / 474.7 MB (rm -f Modelica_4.0.0_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.pipe ; mkfifo Modelica_4.0.0_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.pipe >> ../files/Modelica_4.0.0_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Fluid_Examples_DrumBoiler_DrumBoiler_fmu --startTime=0 --stopTime=5400 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Fluid_Examples_DrumBoiler_DrumBoiler.fmu > Modelica_4.0.0_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler_res.mat does not exist to compare? outputFormat=mat