Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_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_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler") Notification: Performance of loadModel(Modelica): time 2.04/2.04, allocations: 194.9 MB / 211.7 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005428/0.0005431, allocations: 8 kB / 264.5 MB, free: 12.95 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.1303, allocations: 44.51 MB / 309 MB, free: 380 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.224/8.355, allocations: 2.67 GB / 2.972 GB, free: 37 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002624/8.355, allocations: 101.4 kB / 2.972 GB, free: 36.95 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.898/11.25, allocations: 495.7 MB / 3.456 GB, free: 23.31 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.506e-06/11.25, allocations: 3.938 kB / 3.456 GB, free: 23.3 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.108e-05/11.25, allocations: 19.72 kB / 3.456 GB, free: 23.29 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.009909/11.26, allocations: 1.915 MB / 3.458 GB, free: 21.46 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.189e-05/11.26, allocations: 12.03 kB / 3.458 GB, free: 21.45 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004691/11.27, allocations: 246.9 kB / 3.458 GB, free: 21.26 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001851/11.27, allocations: 0.5007 MB / 3.459 GB, free: 20.8 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.675e-05/11.27, allocations: 48.38 kB / 3.459 GB, free: 20.76 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001915/11.27, allocations: 56 kB / 3.459 GB, free: 20.71 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004104/11.27, allocations: 0.8995 MB / 3.46 GB, free: 19.8 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.642e-05/11.27, allocations: 0 / 3.46 GB, free: 19.8 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000152/11.27, allocations: 31.95 kB / 3.46 GB, free: 19.77 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.47e-05/11.27, allocations: 19.94 kB / 3.46 GB, free: 19.75 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003869/11.28, allocations: 0.7291 MB / 3.46 GB, free: 19.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.008355/11.29, allocations: 4.138 MB / 3.464 GB, free: 14.61 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003577/11.29, allocations: 0.6184 MB / 3.465 GB, free: 13.96 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.6975/11.99, allocations: 54.98 MB / 3.519 GB, free: 30.76 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003233/11.99, allocations: 0.5466 MB / 3.519 GB, free: 30.61 MB / 426.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001136/11.99, allocations: 88.19 kB / 3.519 GB, free: 30.61 MB / 426.7 MB Notification: Performance of pre-optimization done (n=57): time 1.076e-05/11.99, allocations: 4.656 kB / 3.519 GB, free: 30.61 MB / 426.7 MB Notification: Performance of matching and sorting (n=65): time 0.02762/12.02, allocations: 3.271 MB / 3.523 GB, free: 29.76 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001275/12.02, allocations: 270.1 kB / 3.523 GB, free: 29.45 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001037/12.02, allocations: 462.4 kB / 3.523 GB, free: 29.33 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002432/12.02, allocations: 36.58 kB / 3.523 GB, free: 29.3 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003928/12.02, allocations: 331 kB / 3.524 GB, free: 29.16 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003921/12.02, allocations: 212.6 kB / 3.524 GB, free: 29.05 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001057/12.02, allocations: 13.84 kB / 3.524 GB, free: 29.05 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001707/12.02, allocations: 368.6 kB / 3.524 GB, free: 28.74 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001287/12.02, allocations: 272 kB / 3.524 GB, free: 28.74 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001479/12.03, allocations: 467.6 kB / 3.525 GB, free: 28.53 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001508/12.03, allocations: 380.4 kB / 3.525 GB, free: 28.46 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.084e-05/12.03, allocations: 0 / 3.525 GB, free: 28.46 MB / 426.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.00448/12.03, allocations: 0.9821 MB / 3.526 GB, free: 28.31 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002667/12.03, allocations: 301.4 kB / 3.527 GB, free: 27.98 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.958e-05/12.03, allocations: 7.875 kB / 3.527 GB, free: 27.98 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009419/12.04, allocations: 350.9 kB / 3.527 GB, free: 27.98 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001405/12.04, allocations: 132 kB / 3.527 GB, free: 27.98 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002517/12.05, allocations: 0.7997 MB / 3.528 GB, free: 27.46 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001985/12.05, allocations: 68.77 kB / 3.528 GB, free: 27.46 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003264/12.05, allocations: 48.59 kB / 3.528 GB, free: 27.46 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/12.05, allocations: 3.781 kB / 3.528 GB, free: 27.46 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004101/12.05, allocations: 0.9173 MB / 3.529 GB, free: 27.38 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.73e-05/12.05, allocations: 4.531 kB / 3.529 GB, free: 27.38 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009489/12.06, allocations: 360.1 kB / 3.529 GB, free: 27.37 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001341/12.06, allocations: 123.1 kB / 3.529 GB, free: 27.37 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002402/12.07, allocations: 0.8082 MB / 3.53 GB, free: 26.85 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001842/12.07, allocations: 57.2 kB / 3.53 GB, free: 26.85 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002238/12.07, allocations: 49.2 kB / 3.53 GB, free: 26.85 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.0009628/12.07, allocations: 364.9 kB / 3.531 GB, free: 26.59 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003447/12.07, allocations: 68.31 kB / 3.531 GB, free: 26.56 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01357/12.08, allocations: 4.692 MB / 3.535 GB, free: 26.27 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.781e-05/12.08, allocations: 31.58 kB / 3.535 GB, free: 26.27 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.366e-05/12.08, allocations: 0 / 3.535 GB, free: 26.27 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.472e-05/12.08, allocations: 3.281 kB / 3.535 GB, free: 26.27 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01321/12.1, allocations: 6.446 MB / 3.541 GB, free: 25.55 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.738e-05/12.1, allocations: 3.562 kB / 3.541 GB, free: 25.55 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000774/12.1, allocations: 91.56 kB / 3.542 GB, free: 25.55 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003603/12.1, allocations: 1.077 MB / 3.543 GB, free: 25.54 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002128/12.1, allocations: 29.05 kB / 3.543 GB, free: 25.54 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003102/12.1, allocations: 2.358 MB / 3.545 GB, free: 25.02 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/12.1, allocations: 0 / 3.545 GB, free: 25.02 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009876/12.11, allocations: 5.404 MB / 3.55 GB, free: 24.67 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000472/12.11, allocations: 238.7 kB / 3.55 GB, free: 24.52 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003197/12.11, allocations: 20.41 kB / 3.55 GB, free: 24.52 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001197/12.12, allocations: 73.8 kB / 3.551 GB, free: 24.52 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001684/12.12, allocations: 53.67 kB / 3.551 GB, free: 24.52 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.333e-05/12.12, allocations: 30.36 kB / 3.551 GB, free: 24.52 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0008044/12.12, allocations: 466.1 kB / 3.551 GB, free: 24.42 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.61e-07/12.12, allocations: 2.078 kB / 3.551 GB, free: 24.42 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00739/12.12, allocations: 1.359 MB / 3.552 GB, free: 24.42 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.01162/12.14, allocations: 1.783 MB / 3.554 GB, free: 24.27 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004977/12.14, allocations: 1.815 MB / 3.556 GB, free: 23.99 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.027e-06/12.14, allocations: 3.5 kB / 3.556 GB, free: 23.99 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001983/12.14, allocations: 0.8873 MB / 3.557 GB, free: 23.86 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002666/12.15, allocations: 295.8 kB / 3.557 GB, free: 23.85 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005109/12.15, allocations: 2.71 MB / 3.56 GB, free: 22.69 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005744/12.15, allocations: 1.091 MB / 3.561 GB, free: 21.97 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001676/12.15, allocations: 0.5996 MB / 3.561 GB, free: 21.94 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002412/12.15, allocations: 55.5 kB / 3.561 GB, free: 21.93 MB / 426.7 MB Notification: Performance of SimCode: time 1.162e-06/12.15, allocations: 3.281 kB / 3.561 GB, free: 21.93 MB / 426.7 MB Notification: Performance of Templates: time 0.1092/12.26, allocations: 49.22 MB / 3.609 GB, free: 18.81 MB / 426.7 MB