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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/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.569/1.569, allocations: 171.2 MB / 186.7 MB, free: 1.125 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003515/0.0003516, allocations: 8 kB / 233.2 MB, free: 3.02 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06951/0.06988, allocations: 38.76 MB / 272 MB, free: 12.18 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.048/6.118, allocations: 2.56 GB / 2.826 GB, free: 60.89 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002122/6.118, allocations: 88.14 kB / 2.826 GB, free: 60.84 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.943/8.061, allocations: 483.8 MB / 3.299 GB, free: 14.8 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.499e-06/8.061, allocations: 0 / 3.299 GB, free: 14.8 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.991e-05/8.061, allocations: 16 kB / 3.299 GB, free: 14.79 MB / 378.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.006999/8.068, allocations: 1.858 MB / 3.3 GB, free: 12.87 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/8.068, allocations: 8.031 kB / 3.3 GB, free: 12.86 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002847/8.071, allocations: 238.3 kB / 3.301 GB, free: 12.63 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001496/8.073, allocations: 0.5051 MB / 3.301 GB, free: 12.09 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.848e-05/8.073, allocations: 45.31 kB / 3.301 GB, free: 12.05 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000159/8.073, allocations: 52 kB / 3.301 GB, free: 12 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00295/8.076, allocations: 0.8909 MB / 3.302 GB, free: 11.04 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.393e-05/8.076, allocations: 0 / 3.302 GB, free: 11.04 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001084/8.076, allocations: 32 kB / 3.302 GB, free: 11.01 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.149e-05/8.076, allocations: 16 kB / 3.302 GB, free: 11 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002612/8.079, allocations: 0.7221 MB / 3.303 GB, free: 10.27 MB / 378.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.006617/8.085, allocations: 4.113 MB / 3.307 GB, free: 5.836 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002372/8.088, allocations: 0.621 MB / 3.307 GB, free: 5.191 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3629/8.451, allocations: 54.91 MB / 3.361 GB, free: 18.59 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001703/8.452, allocations: 0.5409 MB / 3.362 GB, free: 18.43 MB / 394.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005073/8.453, allocations: 82.42 kB / 3.362 GB, free: 18.43 MB / 394.7 MB Notification: Performance of pre-optimization done (n=53): time 3.643e-06/8.453, allocations: 0 / 3.362 GB, free: 18.43 MB / 394.7 MB Notification: Performance of matching and sorting (n=61): time 0.01271/8.466, allocations: 3.24 MB / 3.365 GB, free: 17.57 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001745/8.466, allocations: 274 kB / 3.365 GB, free: 17.26 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005579/8.466, allocations: 392.7 kB / 3.365 GB, free: 17.15 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.391e-05/8.467, allocations: 42.08 kB / 3.366 GB, free: 17.12 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002545/8.467, allocations: 361.3 kB / 3.366 GB, free: 16.9 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001764/8.467, allocations: 206.6 kB / 3.366 GB, free: 16.8 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.68e-05/8.467, allocations: 16.16 kB / 3.366 GB, free: 16.8 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001671/8.467, allocations: 335.2 kB / 3.366 GB, free: 16.49 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006491/8.468, allocations: 256.6 kB / 3.367 GB, free: 16.49 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000748/8.469, allocations: 453.8 kB / 3.367 GB, free: 16.28 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007834/8.47, allocations: 373.8 kB / 3.367 GB, free: 16.2 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.547e-06/8.47, allocations: 0 / 3.367 GB, free: 16.2 MB / 394.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00238/8.472, allocations: 0.9585 MB / 3.368 GB, free: 16.06 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.436e-05/8.472, allocations: 72.98 kB / 3.368 GB, free: 16 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.316e-05/8.472, allocations: 7.531 kB / 3.368 GB, free: 16 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004215/8.476, allocations: 352 kB / 3.369 GB, free: 15.99 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006647/8.477, allocations: 130.6 kB / 3.369 GB, free: 15.99 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001466/8.478, allocations: 0.8049 MB / 3.37 GB, free: 15.46 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009515/8.479, allocations: 61.42 kB / 3.37 GB, free: 15.46 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001204/8.48, allocations: 47.98 kB / 3.37 GB, free: 15.46 MB / 394.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: 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 () * 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.0005511/8.48, allocations: 284.1 kB / 3.37 GB, free: 15.27 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001384/8.48, allocations: 66.53 kB / 3.37 GB, free: 15.25 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006556/8.487, allocations: 4.691 MB / 3.375 GB, free: 14.94 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.342e-05/8.487, allocations: 30.05 kB / 3.375 GB, free: 14.94 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.963e-06/8.487, allocations: 0 / 3.375 GB, free: 14.94 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.396e-05/8.487, allocations: 7.625 kB / 3.375 GB, free: 14.93 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008889/8.496, allocations: 6.439 MB / 3.381 GB, free: 14.21 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.26e-05/8.496, allocations: 2.391 kB / 3.381 GB, free: 14.21 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005604/8.496, allocations: 92.19 kB / 3.381 GB, free: 14.21 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002798/8.499, allocations: 1.078 MB / 3.382 GB, free: 14.2 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001197/8.499, allocations: 28.95 kB / 3.382 GB, free: 14.2 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002586/8.502, allocations: 2.351 MB / 3.384 GB, free: 13.68 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.12e-06/8.502, allocations: 1.406 kB / 3.384 GB, free: 13.68 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007813/8.51, allocations: 5.417 MB / 3.39 GB, free: 13.29 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000403/8.51, allocations: 239.7 kB / 3.39 GB, free: 13.14 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001913/8.511, allocations: 20.94 kB / 3.39 GB, free: 13.14 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008589/8.511, allocations: 58.81 kB / 3.39 GB, free: 13.13 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001346/8.512, allocations: 55.75 kB / 3.39 GB, free: 13.12 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.37e-05/8.512, allocations: 37.94 kB / 3.39 GB, free: 13.12 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006958/8.512, allocations: 463.3 kB / 3.391 GB, free: 13.03 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.6e-07/8.512, allocations: 0 / 3.391 GB, free: 13.03 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004686/8.517, allocations: 1.207 MB / 3.392 GB, free: 13.03 MB / 394.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: 25 ($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,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) * 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.007018/8.524, allocations: 1.764 MB / 3.394 GB, free: 12.8 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00244/8.527, allocations: 1.11 MB / 3.395 GB, free: 12.65 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.955e-06/8.527, allocations: 2.656 kB / 3.395 GB, free: 12.65 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001493/8.528, allocations: 0.8383 MB / 3.395 GB, free: 12.51 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001904/8.53, allocations: 285.8 kB / 3.396 GB, free: 12.5 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003923/8.534, allocations: 2.714 MB / 3.398 GB, free: 11.23 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007733/8.535, allocations: 1.087 MB / 3.399 GB, free: 10.51 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002116/8.535, allocations: 59.73 kB / 3.399 GB, free: 10.5 MB / 394.7 MB Notification: Performance of SimCode: time 1.654e-06/8.535, allocations: 0 / 3.399 GB, free: 10.5 MB / 394.7 MB Notification: Performance of Templates: time 0.05552/8.591, allocations: 37.16 MB / 3.436 GB, free: 5.5 MB / 394.7 MB