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.00121/0.00121, allocations: 177.1 kB / 8.35 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.556/1.556, allocations: 221.5 MB / 230.3 MB, free: 7.574 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.001007/0.001007, allocations: 96.2 kB / 281.2 MB, free: 5.324 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.928e-05/1.93e-05, allocations: 0 / 337.1 MB, free: 9.941 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1328, allocations: 50.41 MB / 387.5 MB, free: 7.488 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.883/8.016, allocations: 2.837 GB / 3.215 GB, free: 74.45 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002271/8.016, allocations: 80.47 kB / 3.215 GB, free: 74.39 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.821/9.837, allocations: 498 MB / 3.702 GB, free: 32.55 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.994e-06/9.837, allocations: 3.25 kB / 3.702 GB, free: 32.55 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.739e-05/9.837, allocations: 18 kB / 3.702 GB, free: 32.55 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.007706/9.845, allocations: 1.86 MB / 3.704 GB, free: 31.46 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.198e-05/9.845, allocations: 9.812 kB / 3.704 GB, free: 31.46 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002178/9.847, allocations: 244 kB / 3.704 GB, free: 31.42 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001024/9.848, allocations: 0.4993 MB / 3.704 GB, free: 31.16 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.356e-05/9.848, allocations: 30.62 kB / 3.704 GB, free: 31.16 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.155e-05/9.848, allocations: 37.83 kB / 3.704 GB, free: 31.16 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008019/9.849, allocations: 496.5 kB / 3.705 GB, free: 31.16 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000915/9.85, allocations: 0.6806 MB / 3.706 GB, free: 30.95 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.909e-05/9.85, allocations: 7.5 kB / 3.706 GB, free: 30.95 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.57e-05/9.85, allocations: 0 / 3.706 GB, free: 30.95 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.291e-05/9.85, allocations: 16.59 kB / 3.706 GB, free: 30.95 MB / 442.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.1205/9.971, allocations: 66.45 MB / 3.77 GB, free: 20.24 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006533/9.971, allocations: 356.2 kB / 3.771 GB, free: 20.02 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002667/9.972, allocations: 211.8 kB / 3.771 GB, free: 19.9 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3889/10.36, allocations: 23.8 MB / 3.794 GB, free: 61.07 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008284/10.36, allocations: 358.8 kB / 3.795 GB, free: 60.95 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005506/10.36, allocations: 69.28 kB / 3.795 GB, free: 60.95 MB / 474.7 MB Notification: Performance of pre-optimization done (n=50): time 2.445e-06/10.36, allocations: 0 / 3.795 GB, free: 60.95 MB / 474.7 MB Notification: Performance of matching and sorting (n=58): time 0.01003/10.37, allocations: 2.375 MB / 3.797 GB, free: 60.6 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.415e-05/10.37, allocations: 219.6 kB / 3.797 GB, free: 60.35 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000628/10.37, allocations: 374.2 kB / 3.798 GB, free: 60.24 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 5.969e-05/10.37, allocations: 28.2 kB / 3.798 GB, free: 60.21 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000328/10.37, allocations: 359.6 kB / 3.798 GB, free: 60.05 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001821/10.37, allocations: 182.7 kB / 3.798 GB, free: 59.96 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.505e-05/10.37, allocations: 2.406 kB / 3.798 GB, free: 59.96 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.00014/10.37, allocations: 369.2 kB / 3.798 GB, free: 59.64 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004061/10.37, allocations: 246.2 kB / 3.799 GB, free: 59.64 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005375/10.37, allocations: 419.2 kB / 3.799 GB, free: 59.45 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001565/10.38, allocations: 372.1 kB / 3.799 GB, free: 59.44 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/10.38, allocations: 4.469 kB / 3.799 GB, free: 59.44 MB / 474.7 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002708/10.38, allocations: 0.9683 MB / 3.8 GB, free: 59.36 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005147/10.38, allocations: 1.807 MB / 3.802 GB, free: 57.48 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.406e-05/10.38, allocations: 4.438 kB / 3.802 GB, free: 57.48 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009708/10.38, allocations: 250.7 kB / 3.802 GB, free: 57.47 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005565/10.38, allocations: 134.6 kB / 3.803 GB, free: 57.47 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001544/10.38, allocations: 0.8561 MB / 3.803 GB, free: 56.95 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007949/10.38, allocations: 69.11 kB / 3.803 GB, free: 56.95 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.929e-05/10.38, allocations: 46.03 kB / 3.803 GB, free: 56.95 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/10.38, allocations: 4.344 kB / 3.803 GB, free: 56.95 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00233/10.39, allocations: 0.9144 MB / 3.804 GB, free: 56.93 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/10.39, allocations: 6.812 kB / 3.804 GB, free: 56.93 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007559/10.39, allocations: 245.2 kB / 3.805 GB, free: 56.92 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004351/10.39, allocations: 129.3 kB / 3.805 GB, free: 56.92 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001445/10.39, allocations: 0.8563 MB / 3.806 GB, free: 56.4 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006842/10.39, allocations: 57.36 kB / 3.806 GB, free: 56.39 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.789e-05/10.39, allocations: 48.53 kB / 3.806 GB, free: 56.39 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 () * 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.0003616/10.39, allocations: 200.8 kB / 3.806 GB, free: 56.22 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002351/10.39, allocations: 0.8418 MB / 3.807 GB, free: 56.14 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001223/10.39, allocations: 63.22 kB / 3.807 GB, free: 56.12 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007133/10.4, allocations: 4.374 MB / 3.811 GB, free: 55.94 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.403e-05/10.4, allocations: 25.42 kB / 3.811 GB, free: 55.94 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/10.4, allocations: 4.031 kB / 3.811 GB, free: 55.94 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.229e-05/10.4, allocations: 2.953 kB / 3.811 GB, free: 55.94 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009324/10.41, allocations: 6.094 MB / 3.817 GB, free: 55.34 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.723e-06/10.41, allocations: 0 / 3.817 GB, free: 55.34 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004127/10.41, allocations: 94.22 kB / 3.817 GB, free: 55.34 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002302/10.41, allocations: 1.271 MB / 3.818 GB, free: 55.32 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.76e-05/10.41, allocations: 18.25 kB / 3.818 GB, free: 55.32 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002387/10.41, allocations: 2.854 MB / 3.821 GB, free: 54.8 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/10.41, allocations: 1.125 kB / 3.821 GB, free: 54.8 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006767/10.42, allocations: 5.517 MB / 3.827 GB, free: 54.55 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003624/10.42, allocations: 167.4 kB / 3.827 GB, free: 54.41 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001495/10.42, allocations: 10.31 kB / 3.827 GB, free: 54.41 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006567/10.42, allocations: 57.19 kB / 3.827 GB, free: 54.41 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001333/10.42, allocations: 46.3 kB / 3.827 GB, free: 54.41 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.007e-05/10.42, allocations: 29.75 kB / 3.827 GB, free: 54.41 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0003497/10.42, allocations: 280.8 kB / 3.827 GB, free: 54.32 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.3e-07/10.42, allocations: 5.547 kB / 3.827 GB, free: 54.32 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006465/10.43, allocations: 1.297 MB / 3.828 GB, free: 54.32 MB / 474.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.01257/10.44, allocations: 4.449 MB / 3.833 GB, free: 53.45 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003054/10.44, allocations: 1.645 MB / 3.834 GB, free: 53.18 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.504e-06/10.44, allocations: 0 / 3.834 GB, free: 53.18 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001027/10.45, allocations: 0.7817 MB / 3.835 GB, free: 53.05 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001435/10.45, allocations: 227.1 kB / 3.835 GB, free: 53.05 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006174/10.45, allocations: 1.989 MB / 3.837 GB, free: 52.64 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004504/10.45, allocations: 1.035 MB / 3.838 GB, free: 51.93 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001083/10.46, allocations: 0.695 MB / 3.839 GB, free: 51.93 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004035/10.46, allocations: 327 kB / 3.839 GB, free: 51.92 MB / 474.7 MB Notification: Performance of SimCode: time 1.112e-06/10.46, allocations: 0 / 3.839 GB, free: 51.92 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09169/10.55, allocations: 50.08 MB / 3.888 GB, free: 49.84 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002005/10.55, allocations: 166.9 kB / 3.888 GB, free: 49.64 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.713/14.26, allocations: 0 / 3.888 GB, free: 49.64 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