Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.DrumBoiler.DrumBoiler,fileNamePrefix="Modelica_trunk_Modelica_Fluid_Examples_DrumBoiler_DrumBoiler",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Fluid.Examples.DrumBoiler.DrumBoiler,fileNamePrefix="Modelica_trunk_Modelica_Fluid_Examples_DrumBoiler_DrumBoiler",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009726/0.0009727, allocations: 96.62 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001085/0.001086, allocations: 203.8 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.365/1.365, allocations: 227.3 MB / 245.9 MB, free: 10.3 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002563/0.0002564, allocations: 8 kB / 306.7 MB, free: 1.266 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1125, allocations: 51.48 MB / 358.2 MB, free: 13.78 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.DrumBoiler.DrumBoiler): time 0.2372/0.3497, allocations: 40.58 MB / 398.8 MB, free: 13.52 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02147/0.3712, allocations: 17.96 MB / 416.7 MB, free: 15.74 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008843/0.3722, allocations: 21.72 kB / 416.8 MB, free: 15.73 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001053/0.3732, allocations: 320.7 kB / 417.1 MB, free: 15.47 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01453/0.3878, allocations: 3.817 MB / 420.9 MB, free: 12.52 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007468/0.3953, allocations: 1.796 MB / 422.7 MB, free: 11.15 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002048/0.3973, allocations: 0.9023 MB / 423.6 MB, free: 10.25 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006985/0.398, allocations: 413.5 kB / 424 MB, free: 9.832 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0139/0.4119, allocations: 9.033 MB / 433 MB, free: 0.793 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004518/0.4165, allocations: 3.087 MB / 436.1 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001668/0.4167, allocations: 36 kB / 436.1 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01392/0.4306, allocations: 7.246 MB / 443.4 MB, free: 6.414 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003201/0.431, allocations: 131.5 kB / 443.5 MB, free: 6.285 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000464/0.4315, allocations: 165.3 kB / 443.7 MB, free: 6.117 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008632/0.4401, allocations: 3.298 MB / 447 MB, free: 2.812 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.4402, allocations: 4 kB / 447 MB, free: 2.809 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.166e-06/0.4402, allocations: 3.938 kB / 447 MB, free: 2.805 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.474e-05/0.4402, allocations: 4 kB / 447 MB, free: 2.801 MB / 350.1 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.004248/0.4444, allocations: 1.516 MB / 448.5 MB, free: 1.219 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.412e-05/0.4445, allocations: 8.031 kB / 448.5 MB, free: 1.211 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001787/0.4447, allocations: 119.7 kB / 448.6 MB, free: 1.086 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001965/0.4467, allocations: 282.8 kB / 448.9 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007301/0.4474, allocations: 488.5 kB / 449.4 MB, free: 296 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.723e-05/0.4475, allocations: 49.31 kB / 449.4 MB, free: 248 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.172e-05/0.4476, allocations: 63.91 kB / 449.5 MB, free: 184 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001993/0.4496, allocations: 0.918 MB / 450.4 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.693e-05/0.4496, allocations: 0 / 450.4 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.043e-05/0.4497, allocations: 28 kB / 450.4 MB, free: 15.17 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.951e-05/0.4497, allocations: 16 kB / 450.4 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001772/0.4515, allocations: 0.7426 MB / 451.2 MB, free: 14.41 MB / 366.1 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.004852/0.4563, allocations: 4.174 MB / 455.4 MB, free: 9.891 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001741/0.4581, allocations: 0.6496 MB / 456 MB, free: 9.215 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1164/0.5745, allocations: 61.66 MB / 0.5055 GB, free: 4.203 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001462/0.576, allocations: 0.5759 MB / 0.5061 GB, free: 3.594 MB / 430.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003461/0.5764, allocations: 75.39 kB / 0.5062 GB, free: 3.52 MB / 430.1 MB Notification: Performance of pre-optimization done (n=57): time 2.184e-06/0.5764, allocations: 0 / 0.5062 GB, free: 3.52 MB / 430.1 MB Notification: Performance of matching and sorting (n=65): time 0.01071/0.5871, allocations: 3.505 MB / 0.5096 GB, free: 15.88 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001589/0.5873, allocations: 281.4 kB / 0.5099 GB, free: 15.54 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005958/0.5879, allocations: 478 kB / 0.5103 GB, free: 15.07 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.387e-05/0.588, allocations: 37.7 kB / 0.5104 GB, free: 15.02 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000287/0.5883, allocations: 328.3 kB / 0.5107 GB, free: 14.7 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002296/0.5885, allocations: 224.8 kB / 0.5109 GB, free: 14.48 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.967e-05/0.5886, allocations: 12 kB / 0.5109 GB, free: 14.47 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.5888, allocations: 374.7 kB / 0.5113 GB, free: 14.09 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005503/0.5893, allocations: 277.5 kB / 0.5115 GB, free: 13.82 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006675/0.59, allocations: 465.6 kB / 0.512 GB, free: 13.29 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006105/0.5906, allocations: 381.4 kB / 0.5123 GB, free: 12.91 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.5906, allocations: 0 / 0.5123 GB, free: 12.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.00195/0.5926, allocations: 1.037 MB / 0.5133 GB, free: 11.85 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000844/0.5934, allocations: 1.807 MB / 0.5151 GB, free: 9.891 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/0.5935, allocations: 8 kB / 0.5151 GB, free: 9.883 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00275/0.5962, allocations: 348.3 kB / 0.5154 GB, free: 9.539 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000566/0.5968, allocations: 139.8 kB / 0.5156 GB, free: 9.402 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001056/0.5979, allocations: 0.7943 MB / 0.5163 GB, free: 8.582 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000695/0.5986, allocations: 72.02 kB / 0.5164 GB, free: 8.512 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.759e-05/0.5987, allocations: 43.97 kB / 0.5165 GB, free: 8.469 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.5987, allocations: 4 kB / 0.5165 GB, free: 8.465 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001768/0.6005, allocations: 0.9781 MB / 0.5174 GB, free: 7.473 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.6005, allocations: 4 kB / 0.5174 GB, free: 7.469 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00265/0.6031, allocations: 348.9 kB / 0.5178 GB, free: 7.125 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004773/0.6036, allocations: 135.8 kB / 0.5179 GB, free: 6.992 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001106/0.6047, allocations: 0.7943 MB / 0.5187 GB, free: 6.172 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007915/0.6055, allocations: 63.92 kB / 0.5187 GB, free: 6.109 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.95e-05/0.6056, allocations: 47.97 kB / 0.5188 GB, free: 6.062 MB / 446.1 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.0006839/0.6063, allocations: 364.5 kB / 0.5191 GB, free: 5.684 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001529/0.6065, allocations: 71.2 kB / 0.5192 GB, free: 5.613 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005813/0.6123, allocations: 4.779 MB / 0.5238 GB, free: 0.8008 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.094e-05/0.6124, allocations: 31.95 kB / 0.5239 GB, free: 0.7695 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.007e-05/0.6124, allocations: 0 / 0.5239 GB, free: 0.7695 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.086e-05/0.6124, allocations: 4 kB / 0.5239 GB, free: 0.7656 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2183/0.8308, allocations: 6.543 MB / 0.5303 GB, free: 154.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.125e-05/0.8308, allocations: 0 / 0.5303 GB, free: 154.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004284/0.8313, allocations: 106.2 kB / 0.5304 GB, free: 154.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002259/0.8335, allocations: 1.083 MB / 0.5314 GB, free: 153.9 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.287e-05/0.8336, allocations: 27.98 kB / 0.5315 GB, free: 153.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002145/0.8358, allocations: 2.35 MB / 0.5338 GB, free: 152.6 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.574e-06/0.8358, allocations: 0 / 0.5338 GB, free: 152.6 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007295/0.8431, allocations: 5.521 MB / 0.5391 GB, free: 150.3 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005054/0.8436, allocations: 239.7 kB / 0.5394 GB, free: 150.2 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001573/0.8438, allocations: 23 kB / 0.5394 GB, free: 150.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006507/0.8445, allocations: 69.8 kB / 0.5395 GB, free: 150.1 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001778/0.8447, allocations: 54.02 kB / 0.5395 GB, free: 150.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.271e-05/0.8447, allocations: 33.38 kB / 0.5395 GB, free: 150.1 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00081/0.8456, allocations: 481 kB / 0.54 GB, free: 149.9 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.8456, allocations: 3.562 kB / 0.54 GB, free: 149.9 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005134/0.8507, allocations: 1.306 MB / 0.5413 GB, free: 149.8 MB / 446.1 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 ($cse2.phase,$cse2.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.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.009409/0.8601, allocations: 4.35 MB / 0.5455 GB, free: 148 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003137/0.8633, allocations: 1.844 MB / 0.5473 GB, free: 147.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.153e-06/0.8633, allocations: 1.625 kB / 0.5473 GB, free: 147.2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00115/0.8645, allocations: 0.9042 MB / 0.5482 GB, free: 146.7 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001517/0.866, allocations: 315.3 kB / 0.5485 GB, free: 146.6 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007659/0.8737, allocations: 8.694 MB / 0.557 GB, free: 139 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003641/0.8741, allocations: 1.099 MB / 0.5581 GB, free: 137.9 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0008146/0.8749, allocations: 0.5995 MB / 0.5587 GB, free: 137.3 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003247/0.8752, allocations: 387.3 kB / 0.559 GB, free: 137 MB / 446.1 MB Notification: Performance of SimCode: time 9.81e-07/0.8752, allocations: 4 kB / 0.559 GB, free: 137 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07492/0.9502, allocations: 60.24 MB / 0.6179 GB, free: 76.9 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001459/0.9504, allocations: 248.7 kB / 0.6181 GB, free: 76.66 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.343/5.294, allocations: 3.938 kB / 0.6181 GB, free: 76.66 MB / 446.1 MB (rm -f Modelica_trunk_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.pipe ; mkfifo Modelica_trunk_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.pipe >> ../files/Modelica_trunk_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler_res.mat --tempDir=temp_Modelica_trunk_Modelica_Fluid_Examples_DrumBoiler_DrumBoiler_fmu --startTime=0 --stopTime=5400 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Fluid_Examples_DrumBoiler_DrumBoiler.fmu > Modelica_trunk_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.pipe 2>&1)