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.0009774/0.0009773, allocations: 177.7 kB / 8.697 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.646/1.646, allocations: 205.3 MB / 214.4 MB, free: 1.742 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009546/0.0009545, allocations: 82.38 kB / 262.4 MB, free: 1.68 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.795e-05/1.799e-05, allocations: 4 kB / 315.6 MB, free: 22.63 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1083, allocations: 47.58 MB / 363.2 MB, free: 6.992 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.163/6.271, allocations: 2.832 GB / 3.187 GB, free: 28.87 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002403/6.271, allocations: 87.95 kB / 3.187 GB, free: 28.79 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.891/8.162, allocations: 492.7 MB / 3.668 GB, free: 30.44 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.613e-06/8.162, allocations: 0 / 3.668 GB, free: 30.44 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.068e-05/8.163, allocations: 15.62 kB / 3.668 GB, free: 30.44 MB / 426.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.006606/8.169, allocations: 1.857 MB / 3.67 GB, free: 28.69 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/8.169, allocations: 11.19 kB / 3.67 GB, free: 28.68 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001857/8.171, allocations: 243.6 kB / 3.67 GB, free: 28.45 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008072/8.172, allocations: 0.5194 MB / 3.67 GB, free: 27.89 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.175e-05/8.172, allocations: 20 kB / 3.67 GB, free: 27.88 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.336e-05/8.172, allocations: 35.28 kB / 3.671 GB, free: 27.84 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007296/8.173, allocations: 0.4907 MB / 3.671 GB, free: 27.35 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008706/8.174, allocations: 0.6802 MB / 3.672 GB, free: 26.61 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/8.174, allocations: 3.938 kB / 3.672 GB, free: 26.61 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.804e-05/8.174, allocations: 4 kB / 3.672 GB, free: 26.6 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.315e-05/8.174, allocations: 16 kB / 3.672 GB, free: 26.59 MB / 426.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.4605/8.634, allocations: 66.42 MB / 3.737 GB, free: 37.27 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008067/8.635, allocations: 365.5 kB / 3.737 GB, free: 37.25 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002942/8.635, allocations: 215.9 kB / 3.737 GB, free: 37.24 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04738/8.683, allocations: 23.79 MB / 3.76 GB, free: 24.3 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008305/8.684, allocations: 361.8 kB / 3.761 GB, free: 24.17 MB / 442.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006355/8.684, allocations: 68.3 kB / 3.761 GB, free: 24.17 MB / 442.7 MB Notification: Performance of pre-optimization done (n=50): time 2.585e-06/8.684, allocations: 0 / 3.761 GB, free: 24.17 MB / 442.7 MB Notification: Performance of matching and sorting (n=58): time 0.00905/8.693, allocations: 2.372 MB / 3.763 GB, free: 23.79 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.912e-05/8.693, allocations: 215.7 kB / 3.763 GB, free: 23.54 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005709/8.694, allocations: 382.7 kB / 3.764 GB, free: 23.43 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.365e-05/8.694, allocations: 33.36 kB / 3.764 GB, free: 23.39 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002869/8.694, allocations: 350.9 kB / 3.764 GB, free: 23.24 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001739/8.695, allocations: 180.1 kB / 3.764 GB, free: 23.15 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.384e-05/8.695, allocations: 2.312 kB / 3.764 GB, free: 23.15 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001289/8.695, allocations: 368.9 kB / 3.765 GB, free: 22.84 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003547/8.695, allocations: 234.9 kB / 3.765 GB, free: 22.84 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004635/8.696, allocations: 420.6 kB / 3.765 GB, free: 22.64 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001406/8.697, allocations: 380.8 kB / 3.766 GB, free: 22.62 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/8.697, allocations: 0 / 3.766 GB, free: 22.62 MB / 442.7 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002402/8.699, allocations: 0.9698 MB / 3.766 GB, free: 22.53 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004451/8.7, allocations: 1.814 MB / 3.768 GB, free: 20.64 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/8.7, allocations: 4.281 kB / 3.768 GB, free: 20.64 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008466/8.701, allocations: 238.9 kB / 3.768 GB, free: 20.63 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004818/8.701, allocations: 142.3 kB / 3.769 GB, free: 20.62 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001447/8.703, allocations: 0.8514 MB / 3.769 GB, free: 20.11 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007166/8.703, allocations: 68.81 kB / 3.769 GB, free: 20.09 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.189e-05/8.704, allocations: 48.66 kB / 3.77 GB, free: 20.09 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.01e-05/8.704, allocations: 3.719 kB / 3.77 GB, free: 20.09 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002334/8.706, allocations: 0.9182 MB / 3.77 GB, free: 20.06 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/8.706, allocations: 3.656 kB / 3.77 GB, free: 20.06 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007339/8.707, allocations: 254.4 kB / 3.771 GB, free: 20.05 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004131/8.707, allocations: 125.6 kB / 3.771 GB, free: 20.05 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001398/8.709, allocations: 0.8559 MB / 3.772 GB, free: 19.53 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006187/8.709, allocations: 57.25 kB / 3.772 GB, free: 19.52 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.123e-05/8.709, allocations: 46.59 kB / 3.772 GB, free: 19.52 MB / 442.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.0002923/8.71, allocations: 202.3 kB / 3.772 GB, free: 19.34 MB / 442.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002198/8.712, allocations: 0.8501 MB / 3.773 GB, free: 19.25 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.272e-05/8.712, allocations: 61.97 kB / 3.773 GB, free: 19.23 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005062/8.717, allocations: 4.362 MB / 3.777 GB, free: 19.04 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.467e-05/8.717, allocations: 26.62 kB / 3.777 GB, free: 19.04 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/8.717, allocations: 6.406 kB / 3.777 GB, free: 19.03 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.088e-05/8.717, allocations: 6.734 kB / 3.777 GB, free: 19.03 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007023/8.724, allocations: 6.1 MB / 3.783 GB, free: 18.43 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.554e-05/8.724, allocations: 3.312 kB / 3.783 GB, free: 18.43 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004112/8.725, allocations: 96.88 kB / 3.783 GB, free: 18.42 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002287/8.727, allocations: 1.27 MB / 3.784 GB, free: 18.41 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001181/8.727, allocations: 17.16 kB / 3.784 GB, free: 18.41 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003339/8.73, allocations: 2.858 MB / 3.787 GB, free: 17.88 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.115e-05/8.73, allocations: 0 / 3.787 GB, free: 17.88 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00729/8.738, allocations: 5.526 MB / 3.793 GB, free: 17.62 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003906/8.738, allocations: 167.3 kB / 3.793 GB, free: 17.48 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002404/8.738, allocations: 9.562 kB / 3.793 GB, free: 17.48 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000817/8.739, allocations: 56.95 kB / 3.793 GB, free: 17.47 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001483/8.739, allocations: 44.23 kB / 3.793 GB, free: 17.47 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001244/8.739, allocations: 30.5 kB / 3.793 GB, free: 17.47 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004712/8.74, allocations: 280.2 kB / 3.793 GB, free: 17.39 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.21e-07/8.74, allocations: 0 / 3.793 GB, free: 17.39 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.009137/8.749, allocations: 1.292 MB / 3.794 GB, free: 17.39 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (evaporator.p,evaporator.V_l,controller.x) * Number of discrete variables: 25 ($cse1.region3boundary,$cse2.region3boundary,$cse3.phase,$cse3.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.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 (51): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 7 * 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.01718/8.766, allocations: 4.467 MB / 3.799 GB, free: 16.45 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003804/8.77, allocations: 1.638 MB / 3.8 GB, free: 16.17 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.644e-06/8.77, allocations: 2.375 kB / 3.8 GB, free: 16.17 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001309/8.772, allocations: 0.7787 MB / 3.801 GB, free: 16.04 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001653/8.773, allocations: 221.7 kB / 3.801 GB, free: 16.03 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007768/8.781, allocations: 1.988 MB / 3.803 GB, free: 15.55 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005597/8.782, allocations: 1.042 MB / 3.804 GB, free: 14.83 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001342/8.783, allocations: 0.6962 MB / 3.805 GB, free: 14.8 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004187/8.783, allocations: 324.1 kB / 3.805 GB, free: 14.79 MB / 442.7 MB Notification: Performance of SimCode: time 1.863e-06/8.783, allocations: 3.969 kB / 3.805 GB, free: 14.79 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09694/8.88, allocations: 50.07 MB / 3.854 GB, free: 1.094 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001574/8.881, allocations: 163.9 kB / 3.854 GB, free: 0.9023 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.543/12.42, allocations: 0 / 3.854 GB, free: 0.9023 MB / 442.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