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.661/1.661, allocations: 171.2 MB / 184.3 MB, free: 11.95 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.059e-05/3.078e-05, allocations: 7.938 kB / 228.8 MB, free: 15.33 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2129/0.213, allocations: 38.77 MB / 267.6 MB, free: 9.43 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.142/6.355, allocations: 2.56 GB / 2.822 GB, free: 109.7 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002207/6.355, allocations: 80.27 kB / 2.822 GB, free: 109.6 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.965/8.32, allocations: 482.4 MB / 3.293 GB, free: 22.76 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.234e-06/8.32, allocations: 0 / 3.293 GB, free: 22.76 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.833e-05/8.32, allocations: 10 kB / 3.293 GB, free: 22.76 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.005601/8.326, allocations: 1.794 MB / 3.295 GB, free: 21.63 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/8.326, allocations: 15.78 kB / 3.295 GB, free: 21.62 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002594/8.329, allocations: 230.1 kB / 3.295 GB, free: 21.57 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00109/8.33, allocations: 0.5109 MB / 3.295 GB, free: 21.22 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.236e-05/8.33, allocations: 44.5 kB / 3.295 GB, free: 21.2 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000113/8.33, allocations: 58.78 kB / 3.295 GB, free: 21.18 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002282/8.332, allocations: 0.8929 MB / 3.296 GB, free: 20.75 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.37e-05/8.332, allocations: 0 / 3.296 GB, free: 20.75 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.184e-05/8.332, allocations: 35.31 kB / 3.296 GB, free: 20.73 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.602e-05/8.332, allocations: 11.88 kB / 3.296 GB, free: 20.73 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002056/8.334, allocations: 0.6973 MB / 3.297 GB, free: 20.52 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.005446/8.34, allocations: 4.109 MB / 3.301 GB, free: 17.17 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001828/8.342, allocations: 0.5927 MB / 3.302 GB, free: 16.93 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004438/8.342, allocations: 229.1 kB / 3.302 GB, free: 16.82 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3668/8.709, allocations: 55.1 MB / 3.356 GB, free: 32.66 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001724/8.711, allocations: 0.5591 MB / 3.356 GB, free: 32.51 MB / 378.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005275/8.711, allocations: 87.97 kB / 3.356 GB, free: 32.51 MB / 378.7 MB Notification: Performance of pre-optimization done (n=53): time 4.27e-06/8.711, allocations: 0 / 3.356 GB, free: 32.51 MB / 378.7 MB Notification: Performance of matching and sorting (n=61): time 0.01188/8.723, allocations: 2.898 MB / 3.359 GB, free: 31.85 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.011e-05/8.723, allocations: 273.8 kB / 3.359 GB, free: 31.54 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005416/8.724, allocations: 394 kB / 3.36 GB, free: 31.43 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.203e-05/8.724, allocations: 37.95 kB / 3.36 GB, free: 31.4 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002011/8.724, allocations: 353.4 kB / 3.36 GB, free: 31.19 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001773/8.724, allocations: 209 kB / 3.36 GB, free: 31.09 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.624e-05/8.724, allocations: 11.44 kB / 3.36 GB, free: 31.09 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.311e-05/8.725, allocations: 341.2 kB / 3.361 GB, free: 30.78 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000533/8.725, allocations: 236.1 kB / 3.361 GB, free: 30.78 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006304/8.726, allocations: 432.1 kB / 3.361 GB, free: 30.56 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006326/8.726, allocations: 344.9 kB / 3.362 GB, free: 30.49 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.585e-06/8.726, allocations: 3.844 kB / 3.362 GB, free: 30.49 MB / 378.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00211/8.729, allocations: 0.9119 MB / 3.362 GB, free: 30.36 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.33e-05/8.729, allocations: 72.53 kB / 3.363 GB, free: 30.29 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/8.729, allocations: 3.938 kB / 3.363 GB, free: 30.29 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003812/8.732, allocations: 344.5 kB / 3.363 GB, free: 30.29 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006835/8.733, allocations: 131.1 kB / 3.363 GB, free: 30.29 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001255/8.734, allocations: 0.8008 MB / 3.364 GB, free: 29.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001032/8.736, allocations: 73.2 kB / 3.364 GB, free: 29.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001243/8.736, allocations: 42.2 kB / 3.364 GB, free: 29.77 MB / 378.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 () * 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.000278/8.736, allocations: 223.2 kB / 3.364 GB, free: 29.59 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001532/8.736, allocations: 68.12 kB / 3.364 GB, free: 29.56 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006676/8.743, allocations: 4.869 MB / 3.369 GB, free: 29.29 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.986e-05/8.743, allocations: 34.02 kB / 3.369 GB, free: 29.29 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.722e-06/8.743, allocations: 3.375 kB / 3.369 GB, free: 29.29 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.839e-05/8.743, allocations: 7.281 kB / 3.369 GB, free: 29.29 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00913/8.752, allocations: 6.704 MB / 3.375 GB, free: 28.58 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-05/8.752, allocations: 2.312 kB / 3.375 GB, free: 28.58 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005887/8.753, allocations: 94.33 kB / 3.376 GB, free: 28.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002967/8.756, allocations: 1.275 MB / 3.377 GB, free: 28.57 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001378/8.756, allocations: 21.89 kB / 3.377 GB, free: 28.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002546/8.758, allocations: 2.435 MB / 3.379 GB, free: 28.05 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.571e-06/8.758, allocations: 5.688 kB / 3.379 GB, free: 28.05 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008003/8.767, allocations: 5.702 MB / 3.385 GB, free: 27.66 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003877/8.767, allocations: 240.6 kB / 3.385 GB, free: 27.51 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002247/8.767, allocations: 21.23 kB / 3.385 GB, free: 27.51 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009705/8.768, allocations: 67.53 kB / 3.385 GB, free: 27.51 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001307/8.768, allocations: 60.39 kB / 3.385 GB, free: 27.51 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.617e-05/8.768, allocations: 26.47 kB / 3.385 GB, free: 27.51 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006969/8.769, allocations: 455.6 kB / 3.386 GB, free: 27.41 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.47e-07/8.769, allocations: 0 / 3.386 GB, free: 27.41 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004777/8.774, allocations: 1.206 MB / 3.387 GB, free: 27.4 MB / 378.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) * 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.008077/8.782, allocations: 1.777 MB / 3.389 GB, free: 27.21 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002274/8.784, allocations: 1.058 MB / 3.39 GB, free: 27.06 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.225e-06/8.784, allocations: 3.969 kB / 3.39 GB, free: 27.06 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001449/8.786, allocations: 0.8078 MB / 3.39 GB, free: 26.93 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002039/8.788, allocations: 287 kB / 3.391 GB, free: 26.92 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003281/8.791, allocations: 1.703 MB / 3.392 GB, free: 26.49 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005616/8.792, allocations: 1.084 MB / 3.393 GB, free: 25.79 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002222/8.792, allocations: 58.94 kB / 3.393 GB, free: 25.78 MB / 378.7 MB Notification: Performance of SimCode: time 1.733e-06/8.792, allocations: 3.531 kB / 3.393 GB, free: 25.78 MB / 378.7 MB Notification: Performance of Templates: time 0.05723/8.849, allocations: 36.88 MB / 3.429 GB, free: 22.63 MB / 378.7 MB