Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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: 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 2.125/2.125, allocations: 194.9 MB / 212.3 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003684/0.0003686, allocations: 12 kB / 264.5 MB, free: 13.62 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1082, allocations: 44.5 MB / 309 MB, free: 1.055 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.976/8.084, allocations: 2.67 GB / 2.972 GB, free: 38.8 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003052/8.085, allocations: 92.7 kB / 2.972 GB, free: 38.76 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.487/10.57, allocations: 495.7 MB / 3.456 GB, free: 24.05 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.064e-06/10.57, allocations: 3.938 kB / 3.456 GB, free: 24.04 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.335e-05/10.57, allocations: 16 kB / 3.456 GB, free: 24.03 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.00793/10.58, allocations: 1.916 MB / 3.458 GB, free: 22.21 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/10.58, allocations: 12.03 kB / 3.458 GB, free: 22.2 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00318/10.58, allocations: 247.8 kB / 3.458 GB, free: 22 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001595/10.58, allocations: 0.4938 MB / 3.459 GB, free: 21.55 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.013e-05/10.58, allocations: 49.31 kB / 3.459 GB, free: 21.5 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001366/10.59, allocations: 58.88 kB / 3.459 GB, free: 21.45 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002988/10.59, allocations: 0.9018 MB / 3.46 GB, free: 20.66 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.867e-05/10.59, allocations: 10.75 kB / 3.46 GB, free: 20.66 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001029/10.59, allocations: 35.89 kB / 3.46 GB, free: 20.62 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.668e-05/10.59, allocations: 12 kB / 3.46 GB, free: 20.61 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002811/10.59, allocations: 0.7262 MB / 3.46 GB, free: 20.03 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.006937/10.6, allocations: 4.14 MB / 3.464 GB, free: 15.86 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00272/10.6, allocations: 0.6226 MB / 3.465 GB, free: 15.22 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4974/11.1, allocations: 54.97 MB / 3.519 GB, free: 31.55 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001987/11.1, allocations: 0.5496 MB / 3.519 GB, free: 31.4 MB / 426.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006269/11.1, allocations: 86.48 kB / 3.519 GB, free: 31.4 MB / 426.7 MB Notification: Performance of pre-optimization done (n=57): time 2.995e-06/11.1, allocations: 6.312 kB / 3.519 GB, free: 31.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=65): time 0.01482/11.12, allocations: 3.27 MB / 3.523 GB, free: 30.55 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.877e-05/11.12, allocations: 271.4 kB / 3.523 GB, free: 30.24 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006328/11.12, allocations: 458.1 kB / 3.523 GB, free: 30.12 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.068e-05/11.12, allocations: 36.45 kB / 3.523 GB, free: 30.09 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002293/11.12, allocations: 366.8 kB / 3.524 GB, free: 29.88 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002104/11.12, allocations: 214.5 kB / 3.524 GB, free: 29.78 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.706e-05/11.12, allocations: 11.16 kB / 3.524 GB, free: 29.78 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.793e-05/11.12, allocations: 335.9 kB / 3.524 GB, free: 29.46 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008259/11.12, allocations: 272.6 kB / 3.524 GB, free: 29.46 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009462/11.12, allocations: 471.7 kB / 3.525 GB, free: 29.25 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009566/11.12, allocations: 376.6 kB / 3.525 GB, free: 29.18 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/11.12, allocations: 1.906 kB / 3.525 GB, free: 29.18 MB / 426.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002688/11.12, allocations: 0.9425 MB / 3.526 GB, free: 29.05 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001619/11.12, allocations: 301.7 kB / 3.526 GB, free: 28.73 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/11.12, allocations: 5.25 kB / 3.526 GB, free: 28.73 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006342/11.13, allocations: 359.4 kB / 3.527 GB, free: 28.72 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008591/11.13, allocations: 140.4 kB / 3.527 GB, free: 28.72 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001543/11.13, allocations: 0.7971 MB / 3.528 GB, free: 28.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001097/11.13, allocations: 64.78 kB / 3.528 GB, free: 28.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001262/11.13, allocations: 48.41 kB / 3.528 GB, free: 28.2 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.408e-06/11.13, allocations: 6.312 kB / 3.528 GB, free: 28.2 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002507/11.14, allocations: 0.92 MB / 3.529 GB, free: 28.12 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/11.14, allocations: 3.594 kB / 3.529 GB, free: 28.12 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006247/11.14, allocations: 350.7 kB / 3.529 GB, free: 28.11 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007907/11.14, allocations: 132.8 kB / 3.529 GB, free: 28.11 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001504/11.14, allocations: 0.802 MB / 3.53 GB, free: 27.59 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008641/11.15, allocations: 53.25 kB / 3.53 GB, free: 27.59 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001141/11.15, allocations: 52.72 kB / 3.53 GB, free: 27.59 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.0005943/11.15, allocations: 363.5 kB / 3.53 GB, free: 27.33 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001855/11.15, allocations: 73 kB / 3.53 GB, free: 27.3 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007726/11.15, allocations: 4.683 MB / 3.535 GB, free: 27.01 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.74e-05/11.15, allocations: 30.58 kB / 3.535 GB, free: 27.01 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.167e-06/11.15, allocations: 0 / 3.535 GB, free: 27.01 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.227e-05/11.15, allocations: 8.047 kB / 3.535 GB, free: 27.01 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01018/11.16, allocations: 6.454 MB / 3.541 GB, free: 26.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.125e-05/11.16, allocations: 0 / 3.541 GB, free: 26.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006934/11.16, allocations: 93.06 kB / 3.541 GB, free: 26.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003431/11.17, allocations: 1.081 MB / 3.543 GB, free: 26.29 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000107/11.17, allocations: 26.05 kB / 3.543 GB, free: 26.29 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002833/11.17, allocations: 2.349 MB / 3.545 GB, free: 25.76 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/11.17, allocations: 4.75 kB / 3.545 GB, free: 25.76 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009104/11.18, allocations: 5.409 MB / 3.55 GB, free: 25.41 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003822/11.18, allocations: 234.2 kB / 3.55 GB, free: 25.26 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002457/11.18, allocations: 23.08 kB / 3.55 GB, free: 25.26 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001107/11.18, allocations: 73.44 kB / 3.55 GB, free: 25.25 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001357/11.18, allocations: 54.16 kB / 3.55 GB, free: 25.25 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.243e-05/11.18, allocations: 36.12 kB / 3.551 GB, free: 25.25 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007466/11.18, allocations: 466.3 kB / 3.551 GB, free: 25.16 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.332e-06/11.18, allocations: 0 / 3.551 GB, free: 25.16 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006181/11.19, allocations: 1.363 MB / 3.552 GB, free: 25.16 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.008766/11.2, allocations: 1.775 MB / 3.554 GB, free: 25 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004651/11.2, allocations: 1.81 MB / 3.556 GB, free: 24.73 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.099e-06/11.2, allocations: 0 / 3.556 GB, free: 24.73 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001797/11.2, allocations: 0.8865 MB / 3.557 GB, free: 24.59 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002477/11.21, allocations: 300.5 kB / 3.557 GB, free: 24.59 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004624/11.21, allocations: 2.745 MB / 3.56 GB, free: 23.41 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005561/11.21, allocations: 1.093 MB / 3.561 GB, free: 22.71 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002785/11.21, allocations: 59.94 kB / 3.561 GB, free: 22.7 MB / 426.7 MB Notification: Performance of SimCode: time 1.062e-06/11.21, allocations: 0 / 3.561 GB, free: 22.7 MB / 426.7 MB Notification: Performance of Templates: time 0.07071/11.28, allocations: 37.57 MB / 3.597 GB, free: 19.08 MB / 426.7 MB