Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.DrumBoiler.DrumBoiler,fileNamePrefix="Modelica_3_2_2_Modelica_Fluid_Examples_DrumBoiler_DrumBoiler",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.181/2.181, allocations: 194.9 MB / 211.1 MB, free: 8.555 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003583/0.0003582, allocations: 12 kB / 264 MB, free: 3.488 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3157/0.3161, allocations: 44.51 MB / 308.6 MB, free: 12.79 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.287/8.603, allocations: 2.67 GB / 2.971 GB, free: 63.22 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002527/8.603, allocations: 86.78 kB / 2.972 GB, free: 63.18 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.765/11.37, allocations: 495.7 MB / 3.456 GB, free: 29.46 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.446e-06/11.37, allocations: 0 / 3.456 GB, free: 29.46 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.981e-05/11.37, allocations: 13.53 kB / 3.456 GB, free: 29.46 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.0111/11.38, allocations: 1.917 MB / 3.457 GB, free: 28.23 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.911e-05/11.38, allocations: 10.91 kB / 3.458 GB, free: 28.23 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003836/11.38, allocations: 116.1 kB / 3.458 GB, free: 28.15 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003025/11.38, allocations: 252.1 kB / 3.458 GB, free: 28.09 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001365/11.38, allocations: 0.5038 MB / 3.458 GB, free: 27.74 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.629e-05/11.38, allocations: 47.81 kB / 3.458 GB, free: 27.72 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001399/11.39, allocations: 63.28 kB / 3.458 GB, free: 27.7 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002923/11.39, allocations: 0.9132 MB / 3.459 GB, free: 27.28 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.724e-05/11.39, allocations: 3.938 kB / 3.459 GB, free: 27.27 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001153/11.39, allocations: 35.14 kB / 3.459 GB, free: 27.25 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.699e-05/11.39, allocations: 15.53 kB / 3.459 GB, free: 27.25 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002946/11.39, allocations: 0.7282 MB / 3.46 GB, free: 27.05 MB / 410.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.006758/11.4, allocations: 4.162 MB / 3.464 GB, free: 23.68 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002532/11.4, allocations: 0.6096 MB / 3.465 GB, free: 23.46 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.511/11.91, allocations: 54.98 MB / 3.518 GB, free: 43.08 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002086/11.91, allocations: 0.5508 MB / 3.519 GB, free: 42.93 MB / 426.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006692/11.91, allocations: 82.94 kB / 3.519 GB, free: 42.93 MB / 426.7 MB Notification: Performance of pre-optimization done (n=57): time 4.018e-06/11.91, allocations: 0 / 3.519 GB, free: 42.93 MB / 426.7 MB Notification: Performance of matching and sorting (n=65): time 0.01642/11.93, allocations: 3.266 MB / 3.522 GB, free: 42.08 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.905e-05/11.93, allocations: 271 kB / 3.523 GB, free: 41.77 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006735/11.93, allocations: 397.9 kB / 3.523 GB, free: 41.66 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001625/11.93, allocations: 43.7 kB / 3.523 GB, free: 41.62 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002858/11.93, allocations: 330.7 kB / 3.523 GB, free: 41.48 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002608/11.93, allocations: 213.1 kB / 3.523 GB, free: 41.38 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.959e-05/11.93, allocations: 10.34 kB / 3.523 GB, free: 41.38 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001243/11.93, allocations: 370.5 kB / 3.524 GB, free: 41.06 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008925/11.93, allocations: 273.6 kB / 3.524 GB, free: 41.06 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001003/11.93, allocations: 463.3 kB / 3.525 GB, free: 40.85 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009941/11.94, allocations: 379 kB / 3.525 GB, free: 40.78 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.534e-06/11.94, allocations: 3.75 kB / 3.525 GB, free: 40.78 MB / 426.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002975/11.94, allocations: 0.9741 MB / 3.526 GB, free: 40.64 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004641/11.94, allocations: 1.985 MB / 3.528 GB, free: 38.57 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.701e-05/11.94, allocations: 7.719 kB / 3.528 GB, free: 38.57 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006761/11.95, allocations: 361.2 kB / 3.528 GB, free: 38.57 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001018/11.95, allocations: 131.8 kB / 3.528 GB, free: 38.57 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001672/11.95, allocations: 0.8026 MB / 3.529 GB, free: 38.04 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001301/11.95, allocations: 76.42 kB / 3.529 GB, free: 38.04 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001446/11.95, allocations: 46.36 kB / 3.529 GB, free: 38.04 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/11.95, allocations: 7.438 kB / 3.529 GB, free: 38.04 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00276/11.95, allocations: 0.9072 MB / 3.53 GB, free: 37.96 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.28e-05/11.95, allocations: 7.312 kB / 3.53 GB, free: 37.96 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006584/11.96, allocations: 354.3 kB / 3.53 GB, free: 37.95 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009246/11.96, allocations: 127.9 kB / 3.531 GB, free: 37.95 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001577/11.96, allocations: 0.7957 MB / 3.531 GB, free: 37.43 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001226/11.96, allocations: 65.47 kB / 3.531 GB, free: 37.43 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001473/11.96, allocations: 45.91 kB / 3.531 GB, free: 37.43 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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.0006572/11.96, allocations: 365.9 kB / 3.532 GB, free: 37.18 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001824/11.96, allocations: 70.52 kB / 3.532 GB, free: 37.14 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008331/11.97, allocations: 4.693 MB / 3.536 GB, free: 36.86 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-05/11.97, allocations: 33.7 kB / 3.536 GB, free: 36.86 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.999e-06/11.97, allocations: 0 / 3.536 GB, free: 36.86 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.22e-05/11.97, allocations: 0 / 3.536 GB, free: 36.86 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01078/11.98, allocations: 6.451 MB / 3.543 GB, free: 36.14 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.837e-05/11.98, allocations: 8.453 kB / 3.543 GB, free: 36.14 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007757/11.98, allocations: 93.28 kB / 3.543 GB, free: 36.14 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003542/11.99, allocations: 1.077 MB / 3.544 GB, free: 36.13 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001914/11.99, allocations: 28.86 kB / 3.544 GB, free: 36.13 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002931/11.99, allocations: 2.352 MB / 3.546 GB, free: 35.61 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/11.99, allocations: 0 / 3.546 GB, free: 35.61 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009539/12, allocations: 5.437 MB / 3.552 GB, free: 35.23 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004575/12, allocations: 237.5 kB / 3.552 GB, free: 35.08 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003319/12, allocations: 22.75 kB / 3.552 GB, free: 35.08 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001228/12, allocations: 67.12 kB / 3.552 GB, free: 35.08 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001642/12, allocations: 53.92 kB / 3.552 GB, free: 35.08 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001015/12, allocations: 27 kB / 3.552 GB, free: 35.08 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007701/12, allocations: 466 kB / 3.552 GB, free: 34.98 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.21e-07/12, allocations: 0 / 3.552 GB, free: 34.98 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006696/12.01, allocations: 1.364 MB / 3.554 GB, free: 34.97 MB / 426.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 (57): * Single equations (assignments): 46 * 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.01711/12.03, allocations: 4.747 MB / 3.558 GB, free: 33.85 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004925/12.03, allocations: 1.818 MB / 3.56 GB, free: 33.57 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.338e-06/12.03, allocations: 3.562 kB / 3.56 GB, free: 33.57 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002059/12.04, allocations: 0.8835 MB / 3.561 GB, free: 33.43 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002731/12.04, allocations: 290.5 kB / 3.561 GB, free: 33.43 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01579/12.05, allocations: 8.926 MB / 3.57 GB, free: 28.41 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006184/12.05, allocations: 1.098 MB / 3.571 GB, free: 27.7 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001638/12.06, allocations: 0.5929 MB / 3.572 GB, free: 27.69 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006296/12.06, allocations: 388.6 kB / 3.572 GB, free: 27.68 MB / 426.7 MB Notification: Performance of SimCode: time 1.212e-06/12.06, allocations: 0 / 3.572 GB, free: 27.68 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1763/12.23, allocations: 57.87 MB / 3.628 GB, free: 19.78 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000257/12.23, allocations: 245.9 kB / 3.629 GB, free: 19.5 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.596/17.83, allocations: 0 / 3.629 GB, free: 19.5 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler_res.mat does not exist to compare? outputFormat=mat