Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: translateModel(Modelica.Fluid.Examples.DrumBoiler.DrumBoiler,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|controller.x|evaporator.V_l|evaporator.p",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler") Notification: Performance of loadModel(Modelica): time 1.609/1.609, allocations: 171.3 MB / 179.2 MB, free: 172 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.429e-05/2.451e-05, allocations: 7.938 kB / 222.5 MB, free: 4.754 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2122/0.2122, allocations: 38.76 MB / 261.3 MB, free: 13 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.352/6.564, allocations: 2.56 GB / 2.815 GB, free: 71.13 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002146/6.564, allocations: 83.78 kB / 2.815 GB, free: 71.12 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.925/8.489, allocations: 477.9 MB / 3.282 GB, free: 10.42 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.849e-06/8.489, allocations: 0 / 3.282 GB, free: 10.42 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.022e-05/8.489, allocations: 16 kB / 3.282 GB, free: 10.41 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 147 * Number of variables: 147 Notification: Performance of Generate backend data structure: time 0.005629/8.495, allocations: 1.791 MB / 3.283 GB, free: 8.562 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/8.495, allocations: 8.031 kB / 3.283 GB, free: 8.555 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002527/8.498, allocations: 235.8 kB / 3.284 GB, free: 8.324 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001154/8.499, allocations: 0.5078 MB / 3.284 GB, free: 7.777 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.318e-05/8.499, allocations: 23.98 kB / 3.284 GB, free: 7.754 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.958e-05/8.499, allocations: 35.94 kB / 3.284 GB, free: 7.719 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001048/8.5, allocations: 474.5 kB / 3.285 GB, free: 7.258 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001146/8.501, allocations: 0.651 MB / 3.285 GB, free: 6.543 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.294e-05/8.501, allocations: 0 / 3.285 GB, free: 6.543 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.124e-05/8.501, allocations: 4 kB / 3.285 GB, free: 6.539 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.496e-05/8.501, allocations: 16 kB / 3.285 GB, free: 6.523 MB / 362.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.3801/8.882, allocations: 66.23 MB / 3.35 GB, free: 27.37 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007592/8.882, allocations: 348.6 kB / 3.35 GB, free: 27.34 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003365/8.883, allocations: 175.3 kB / 3.35 GB, free: 27.34 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09966/8.982, allocations: 39.97 MB / 3.389 GB, free: 19.59 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006332/8.983, allocations: 332.6 kB / 3.39 GB, free: 19.46 MB / 410.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005391/8.984, allocations: 65.98 kB / 3.39 GB, free: 19.45 MB / 410.7 MB Notification: Performance of pre-optimization done (n=46): time 4.906e-06/8.984, allocations: 0 / 3.39 GB, free: 19.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=54): time 0.01186/8.996, allocations: 2.25 MB / 3.392 GB, free: 19.09 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001546/8.996, allocations: 220.7 kB / 3.392 GB, free: 18.83 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005318/8.996, allocations: 372.4 kB / 3.393 GB, free: 18.72 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.458e-05/8.996, allocations: 30.64 kB / 3.393 GB, free: 18.69 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002702/8.997, allocations: 383 kB / 3.393 GB, free: 18.46 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001669/8.997, allocations: 173.9 kB / 3.393 GB, free: 18.38 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.112e-05/8.997, allocations: 0 / 3.393 GB, free: 18.38 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001689/8.997, allocations: 337.5 kB / 3.393 GB, free: 18.06 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004628/8.998, allocations: 221.9 kB / 3.394 GB, free: 18.06 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005894/8.998, allocations: 413.6 kB / 3.394 GB, free: 17.84 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002264/9, allocations: 355 kB / 3.394 GB, free: 17.84 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.959e-06/9.001, allocations: 2.75 kB / 3.394 GB, free: 17.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.003653/9.004, allocations: 0.8814 MB / 3.395 GB, free: 17.77 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.475e-05/9.004, allocations: 67.95 kB / 3.395 GB, free: 17.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.326e-05/9.004, allocations: 9.688 kB / 3.395 GB, free: 17.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001091/9.005, allocations: 252.1 kB / 3.396 GB, free: 17.69 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006125/9.006, allocations: 134.3 kB / 3.396 GB, free: 17.69 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002163/9.008, allocations: 0.8608 MB / 3.397 GB, free: 17.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001071/9.009, allocations: 62.11 kB / 3.397 GB, free: 17.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001291/9.01, allocations: 45.41 kB / 3.397 GB, free: 17.16 MB / 410.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.evaporator.V_v:DUMMY_DER(fixed = false ) "volume of vapour phase" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 17 ($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,Y_Valve_Tab.a,Y_Valve_Tab.b,Y_Valve_Tab.last,$PRE.Y_Valve_Tab.nextEvent,Y_Valve_Tab.nextEvent,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.0003583/9.01, allocations: 189.8 kB / 3.397 GB, free: 16.99 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001369/9.01, allocations: 65.66 kB / 3.397 GB, free: 16.96 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006425/9.016, allocations: 4.287 MB / 3.401 GB, free: 16.79 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-05/9.017, allocations: 23.12 kB / 3.401 GB, free: 16.79 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.058e-06/9.017, allocations: 3.938 kB / 3.401 GB, free: 16.79 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.535e-05/9.017, allocations: 7.812 kB / 3.401 GB, free: 16.79 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008577/9.025, allocations: 5.994 MB / 3.407 GB, free: 16.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.218e-05/9.025, allocations: 0 / 3.407 GB, free: 16.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005166/9.026, allocations: 84.97 kB / 3.407 GB, free: 16.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002799/9.029, allocations: 1.269 MB / 3.408 GB, free: 16.16 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001242/9.029, allocations: 14.77 kB / 3.408 GB, free: 16.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003062/9.032, allocations: 2.86 MB / 3.411 GB, free: 15.64 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.137e-06/9.032, allocations: 4.062 kB / 3.411 GB, free: 15.63 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007196/9.039, allocations: 5.167 MB / 3.416 GB, free: 15.39 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003051/9.039, allocations: 170.1 kB / 3.416 GB, free: 15.25 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001834/9.04, allocations: 6.375 kB / 3.416 GB, free: 15.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000741/9.04, allocations: 52.52 kB / 3.416 GB, free: 15.25 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001135/9.04, allocations: 39.17 kB / 3.416 GB, free: 15.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.753e-05/9.041, allocations: 28.97 kB / 3.416 GB, free: 15.25 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003969/9.041, allocations: 274.5 kB / 3.417 GB, free: 15.16 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.64e-07/9.041, allocations: 4 kB / 3.417 GB, free: 15.16 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004639/9.046, allocations: 1.152 MB / 3.418 GB, free: 15.16 MB / 410.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: 23 ($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,Y_Valve_Tab.a,Y_Valve_Tab.b,Y_Valve_Tab.last,Y_Valve_Tab.nextEvent) * Number of discrete states: 10 (Y_Valve_Tab.last,Y_Valve_Tab.nextEvent,Y_Valve_Tab.b,Y_Valve_Tab.a,$whenCondition2,q_F_Tab.last,q_F_Tab.nextEvent,q_F_Tab.b,q_F_Tab.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 39 * 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.00827/9.054, allocations: 1.902 MB / 3.42 GB, free: 14.93 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002043/9.056, allocations: 0.9669 MB / 3.421 GB, free: 14.78 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.577e-06/9.056, allocations: 0 / 3.421 GB, free: 14.78 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001216/9.057, allocations: 0.7332 MB / 3.421 GB, free: 14.65 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001364/9.059, allocations: 203.5 kB / 3.422 GB, free: 14.64 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002831/9.062, allocations: 1.452 MB / 3.423 GB, free: 14.22 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007277/9.062, allocations: 1.032 MB / 3.424 GB, free: 13.5 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002215/9.063, allocations: 58.84 kB / 3.424 GB, free: 13.5 MB / 410.7 MB Notification: Performance of SimCode: time 9.542e-06/9.063, allocations: 0 / 3.424 GB, free: 13.5 MB / 410.7 MB Notification: Performance of Templates: time 0.2905/9.353, allocations: 35.96 MB / 3.459 GB, free: 70.62 MB / 410.7 MB