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.00113/0.00113, allocations: 180.7 kB / 16.38 MB, free: 5.766 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.422/1.422, allocations: 223.2 MB / 240.3 MB, free: 10.16 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009408/0.0009407, allocations: 90.7 kB / 291.5 MB, free: 10.7 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002836/0.0002838, allocations: 8 kB / 351.2 MB, free: 15 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2869/0.2872, allocations: 50.4 MB / 401.6 MB, free: 32.52 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.451/6.738, allocations: 2.838 GB / 3.23 GB, free: 152.1 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002496/6.738, allocations: 86.61 kB / 3.23 GB, free: 152.1 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.605/8.343, allocations: 0.4923 GB / 3.722 GB, free: 7.41 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.334e-06/8.343, allocations: 0 / 3.722 GB, free: 7.41 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.659e-05/8.343, allocations: 23.83 kB / 3.722 GB, free: 7.391 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.007292/8.351, allocations: 1.926 MB / 3.724 GB, free: 5.414 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/8.351, allocations: 8.031 kB / 3.724 GB, free: 5.406 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003751/8.351, allocations: 123.7 kB / 3.724 GB, free: 5.273 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002242/8.353, allocations: 242.9 kB / 3.724 GB, free: 5.035 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001115/8.355, allocations: 0.5124 MB / 3.725 GB, free: 4.496 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.919e-05/8.355, allocations: 57.2 kB / 3.725 GB, free: 4.441 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001472/8.355, allocations: 60 kB / 3.725 GB, free: 4.383 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001941/8.357, allocations: 0.9344 MB / 3.726 GB, free: 3.387 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.719e-05/8.357, allocations: 0 / 3.726 GB, free: 3.387 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001024/8.357, allocations: 24 kB / 3.726 GB, free: 3.363 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.34e-05/8.357, allocations: 16 kB / 3.726 GB, free: 3.348 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001737/8.359, allocations: 0.7575 MB / 3.727 GB, free: 2.598 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.3246/8.683, allocations: 4.197 MB / 3.731 GB, free: 38.43 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002032/8.685, allocations: 0.6735 MB / 3.731 GB, free: 38.36 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0701/8.755, allocations: 38.88 MB / 3.769 GB, free: 32.98 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001581/8.757, allocations: 0.5862 MB / 3.77 GB, free: 32.84 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005082/8.758, allocations: 84.31 kB / 3.77 GB, free: 32.84 MB / 474.7 MB Notification: Performance of pre-optimization done (n=57): time 2.665e-06/8.758, allocations: 3.031 kB / 3.77 GB, free: 32.84 MB / 474.7 MB Notification: Performance of matching and sorting (n=65): time 0.009863/8.767, allocations: 3.467 MB / 3.773 GB, free: 31.95 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001733/8.768, allocations: 271.1 kB / 3.774 GB, free: 31.64 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005183/8.768, allocations: 415.8 kB / 3.774 GB, free: 31.53 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 6.6e-05/8.768, allocations: 37.92 kB / 3.774 GB, free: 31.5 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002765/8.769, allocations: 332.3 kB / 3.774 GB, free: 31.36 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001729/8.769, allocations: 217.3 kB / 3.775 GB, free: 31.25 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.481e-05/8.769, allocations: 16.12 kB / 3.775 GB, free: 31.25 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002103/8.769, allocations: 374.4 kB / 3.775 GB, free: 30.94 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005081/8.769, allocations: 284.2 kB / 3.775 GB, free: 30.94 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00061/8.77, allocations: 474.7 kB / 3.776 GB, free: 30.75 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006204/8.771, allocations: 395.8 kB / 3.776 GB, free: 30.68 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/8.771, allocations: 0 / 3.776 GB, free: 30.68 MB / 474.7 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001795/8.773, allocations: 1.073 MB / 3.777 GB, free: 30.53 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007551/8.773, allocations: 1.804 MB / 3.779 GB, free: 28.66 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/8.773, allocations: 6.156 kB / 3.779 GB, free: 28.66 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003723/8.777, allocations: 353.8 kB / 3.779 GB, free: 28.65 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004839/8.778, allocations: 143.2 kB / 3.779 GB, free: 28.64 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001037/8.779, allocations: 0.7994 MB / 3.78 GB, free: 28.12 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007488/8.779, allocations: 71.69 kB / 3.78 GB, free: 28.12 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.764e-05/8.779, allocations: 49.83 kB / 3.78 GB, free: 28.12 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/8.779, allocations: 2.625 kB / 3.78 GB, free: 28.12 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00164/8.781, allocations: 1.01 MB / 3.781 GB, free: 28.04 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/8.781, allocations: 3.812 kB / 3.781 GB, free: 28.04 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003557/8.785, allocations: 354.7 kB / 3.782 GB, free: 28.03 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004504/8.785, allocations: 134.8 kB / 3.782 GB, free: 28.03 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009708/8.786, allocations: 0.8006 MB / 3.783 GB, free: 27.51 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007385/8.787, allocations: 65.27 kB / 3.783 GB, free: 27.51 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.516e-05/8.787, allocations: 46.31 kB / 3.783 GB, free: 27.51 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.0005862/8.788, allocations: 365.2 kB / 3.783 GB, free: 27.25 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001283/8.788, allocations: 74.31 kB / 3.783 GB, free: 27.22 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004985/8.793, allocations: 4.787 MB / 3.788 GB, free: 26.93 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.561e-05/8.793, allocations: 31.75 kB / 3.788 GB, free: 26.93 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/8.793, allocations: 0 / 3.788 GB, free: 26.93 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.337e-06/8.793, allocations: 6.344 kB / 3.788 GB, free: 26.93 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007079/8.8, allocations: 6.586 MB / 3.794 GB, free: 26.22 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.133e-06/8.8, allocations: 0 / 3.794 GB, free: 26.22 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004024/8.8, allocations: 105.3 kB / 3.794 GB, free: 26.22 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002154/8.802, allocations: 1.077 MB / 3.795 GB, free: 26.21 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.116e-05/8.803, allocations: 28.86 kB / 3.795 GB, free: 26.21 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001891/8.804, allocations: 2.353 MB / 3.798 GB, free: 25.69 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/8.804, allocations: 2.156 kB / 3.798 GB, free: 25.69 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005909/8.81, allocations: 5.564 MB / 3.803 GB, free: 25.3 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003922/8.811, allocations: 236.3 kB / 3.803 GB, free: 25.15 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001447/8.811, allocations: 28.84 kB / 3.803 GB, free: 25.15 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006716/8.812, allocations: 76.36 kB / 3.804 GB, free: 25.14 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001055/8.812, allocations: 48.91 kB / 3.804 GB, free: 25.14 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.398e-05/8.812, allocations: 32.06 kB / 3.804 GB, free: 25.14 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0005337/8.812, allocations: 485.5 kB / 3.804 GB, free: 25.05 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.4e-07/8.812, allocations: 0 / 3.804 GB, free: 25.05 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005816/8.818, allocations: 1.372 MB / 3.805 GB, free: 25.05 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) * 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.01201/8.83, allocations: 4.868 MB / 3.81 GB, free: 23.91 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.00323/8.833, allocations: 1.837 MB / 3.812 GB, free: 23.62 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.724e-06/8.834, allocations: 3.438 kB / 3.812 GB, free: 23.62 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001242/8.835, allocations: 0.8967 MB / 3.813 GB, free: 23.49 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001671/8.836, allocations: 312.3 kB / 3.813 GB, free: 23.47 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01114/8.848, allocations: 8.753 MB / 3.822 GB, free: 18.65 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006196/8.848, allocations: 1.102 MB / 3.823 GB, free: 17.93 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001189/8.849, allocations: 0.5969 MB / 3.823 GB, free: 17.91 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004749/8.85, allocations: 394.2 kB / 3.824 GB, free: 17.91 MB / 474.7 MB Notification: Performance of SimCode: time 2.185e-06/8.85, allocations: 0 / 3.824 GB, free: 17.91 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09063/8.941, allocations: 58.81 MB / 3.881 GB, free: 6.367 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001874/8.941, allocations: 239 kB / 3.881 GB, free: 6.098 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.088/13.03, allocations: 0 / 3.881 GB, free: 6.098 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