Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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.2_cpp_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler") Notification: Performance of loadModel(Modelica): time 1.935/1.935, allocations: 194.9 MB / 211.7 MB, free: 2.984 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003607/0.0003609, allocations: 12 kB / 263.9 MB, free: 13.57 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08279/0.08318, allocations: 44.51 MB / 308.4 MB, free: 0.9922 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.289/6.372, allocations: 2.67 GB / 2.971 GB, free: 126.3 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002242/6.373, allocations: 88.86 kB / 2.971 GB, free: 126.3 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.083/8.456, allocations: 495.7 MB / 3.456 GB, free: 43.97 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.971e-06/8.456, allocations: 0 / 3.456 GB, free: 43.97 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.556e-05/8.456, allocations: 17.09 kB / 3.456 GB, free: 43.97 MB / 426.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.006215/8.462, allocations: 1.914 MB / 3.457 GB, free: 43.1 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/8.462, allocations: 11.33 kB / 3.457 GB, free: 43.1 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002799/8.465, allocations: 251.2 kB / 3.458 GB, free: 43.05 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001143/8.466, allocations: 0.5019 MB / 3.458 GB, free: 42.8 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.562e-05/8.466, allocations: 43.31 kB / 3.458 GB, free: 42.8 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001132/8.466, allocations: 57.97 kB / 3.458 GB, free: 42.8 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002554/8.469, allocations: 0.9054 MB / 3.459 GB, free: 42.6 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.623e-05/8.469, allocations: 8 kB / 3.459 GB, free: 42.6 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.607e-05/8.469, allocations: 27.48 kB / 3.459 GB, free: 42.6 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.587e-05/8.469, allocations: 12.81 kB / 3.459 GB, free: 42.6 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002569/8.471, allocations: 0.728 MB / 3.46 GB, free: 42.59 MB / 426.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.005448/8.477, allocations: 4.143 MB / 3.464 GB, free: 39.76 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002183/8.479, allocations: 0.6172 MB / 3.465 GB, free: 39.69 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1278/8.607, allocations: 54.99 MB / 3.518 GB, free: 23.68 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001868/8.609, allocations: 0.5461 MB / 3.519 GB, free: 23.53 MB / 442.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005611/8.609, allocations: 92.19 kB / 3.519 GB, free: 23.5 MB / 442.7 MB Notification: Performance of pre-optimization done (n=57): time 3.894e-06/8.61, allocations: 0 / 3.519 GB, free: 23.5 MB / 442.7 MB Notification: Performance of matching and sorting (n=65): time 0.0131/8.623, allocations: 3.27 MB / 3.522 GB, free: 22.56 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001775/8.623, allocations: 266.9 kB / 3.522 GB, free: 22.25 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000601/8.623, allocations: 403.7 kB / 3.523 GB, free: 22.13 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001064/8.624, allocations: 37.98 kB / 3.523 GB, free: 22.1 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002557/8.624, allocations: 369.5 kB / 3.523 GB, free: 21.86 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002092/8.624, allocations: 212.7 kB / 3.523 GB, free: 21.73 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.985e-05/8.624, allocations: 10.75 kB / 3.523 GB, free: 21.73 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000175/8.624, allocations: 345.1 kB / 3.524 GB, free: 21.41 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006973/8.625, allocations: 268.5 kB / 3.524 GB, free: 21.41 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008449/8.626, allocations: 471.8 kB / 3.524 GB, free: 21.18 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008708/8.627, allocations: 379.1 kB / 3.525 GB, free: 21.11 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.288e-06/8.627, allocations: 0 / 3.525 GB, free: 21.11 MB / 442.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002338/8.629, allocations: 0.939 MB / 3.526 GB, free: 20.98 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009647/8.63, allocations: 1.989 MB / 3.528 GB, free: 18.9 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.214e-05/8.63, allocations: 3.625 kB / 3.528 GB, free: 18.9 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003748/8.634, allocations: 352.3 kB / 3.528 GB, free: 18.89 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007179/8.635, allocations: 137.5 kB / 3.528 GB, free: 18.88 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001488/8.636, allocations: 0.8029 MB / 3.529 GB, free: 18.36 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009482/8.637, allocations: 59.66 kB / 3.529 GB, free: 18.36 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001218/8.637, allocations: 46.28 kB / 3.529 GB, free: 18.35 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/8.637, allocations: 4.938 kB / 3.529 GB, free: 18.35 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002238/8.64, allocations: 0.9121 MB / 3.53 GB, free: 18.27 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/8.64, allocations: 3.5 kB / 3.53 GB, free: 18.27 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004357/8.644, allocations: 365.5 kB / 3.53 GB, free: 18.25 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000694/8.645, allocations: 118.6 kB / 3.53 GB, free: 18.25 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001446/8.646, allocations: 0.8039 MB / 3.531 GB, free: 17.73 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007668/8.647, allocations: 63.25 kB / 3.531 GB, free: 17.72 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001233/8.647, allocations: 44.7 kB / 3.531 GB, free: 17.72 MB / 442.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.000663/8.648, allocations: 361 kB / 3.531 GB, free: 17.46 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001739/8.648, allocations: 70.62 kB / 3.532 GB, free: 17.43 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006736/8.655, allocations: 4.682 MB / 3.536 GB, free: 17.09 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.598e-05/8.655, allocations: 33.92 kB / 3.536 GB, free: 17.09 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.083e-05/8.655, allocations: 3.953 kB / 3.536 GB, free: 17.09 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.532e-05/8.655, allocations: 6.484 kB / 3.536 GB, free: 17.09 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009127/8.664, allocations: 6.451 MB / 3.542 GB, free: 16.34 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-05/8.664, allocations: 0 / 3.542 GB, free: 16.34 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005789/8.665, allocations: 88.69 kB / 3.543 GB, free: 16.34 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002831/8.668, allocations: 1.086 MB / 3.544 GB, free: 16.32 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000151/8.668, allocations: 23.11 kB / 3.544 GB, free: 16.32 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00257/8.67, allocations: 2.355 MB / 3.546 GB, free: 15.79 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.295e-06/8.67, allocations: 0 / 3.546 GB, free: 15.79 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008234/8.679, allocations: 5.422 MB / 3.551 GB, free: 15.41 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000436/8.679, allocations: 241 kB / 3.551 GB, free: 15.23 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002538/8.679, allocations: 18.69 kB / 3.551 GB, free: 15.23 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009462/8.68, allocations: 70.28 kB / 3.552 GB, free: 15.22 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001342/8.68, allocations: 45.25 kB / 3.552 GB, free: 15.22 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.01e-05/8.681, allocations: 38.44 kB / 3.552 GB, free: 15.22 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0007115/8.681, allocations: 468.4 kB / 3.552 GB, free: 15.12 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.789e-06/8.681, allocations: 0 / 3.552 GB, free: 15.12 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005447/8.687, allocations: 1.365 MB / 3.553 GB, free: 14.95 MB / 442.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.008691/8.695, allocations: 1.787 MB / 3.555 GB, free: 14.55 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004032/8.7, allocations: 1.812 MB / 3.557 GB, free: 14.26 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.693e-06/8.7, allocations: 0 / 3.557 GB, free: 14.26 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001679/8.701, allocations: 0.8865 MB / 3.558 GB, free: 14.12 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001852/8.703, allocations: 293.7 kB / 3.558 GB, free: 14.1 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004257/8.707, allocations: 2.748 MB / 3.561 GB, free: 12.82 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000815/8.708, allocations: 1.093 MB / 3.562 GB, free: 12.11 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002499/8.709, allocations: 58.44 kB / 3.562 GB, free: 12.1 MB / 442.7 MB Notification: Performance of SimCode: time 1.667e-06/8.709, allocations: 0 / 3.562 GB, free: 12.1 MB / 442.7 MB Notification: Performance of Templates: time 0.324/9.033, allocations: 37.64 MB / 3.599 GB, free: 58.45 MB / 442.7 MB