Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.706/1.706, allocations: 171.2 MB / 187.3 MB, free: 1.125 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004745/0.000475, allocations: 8 kB / 233.8 MB, free: 3.082 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08385/0.08436, allocations: 38.77 MB / 272.5 MB, free: 12.23 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.778/7.862, allocations: 2.56 GB / 2.827 GB, free: 85.01 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000311/7.863, allocations: 89.55 kB / 2.827 GB, free: 85.01 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.406/10.27, allocations: 483.8 MB / 3.299 GB, free: 23.15 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.466e-06/10.27, allocations: 0 / 3.299 GB, free: 23.15 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.57e-05/10.27, allocations: 10.75 kB / 3.299 GB, free: 23.15 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.009535/10.28, allocations: 1.862 MB / 3.301 GB, free: 21.96 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/10.28, allocations: 9.781 kB / 3.301 GB, free: 21.96 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002891/10.28, allocations: 233.6 kB / 3.301 GB, free: 21.91 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001235/10.28, allocations: 0.5097 MB / 3.302 GB, free: 21.55 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.969e-05/10.28, allocations: 48.75 kB / 3.302 GB, free: 21.54 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001294/10.28, allocations: 56.69 kB / 3.302 GB, free: 21.52 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002691/10.29, allocations: 0.8929 MB / 3.303 GB, free: 21.11 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.997e-05/10.29, allocations: 3.125 kB / 3.303 GB, free: 21.11 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.63e-05/10.29, allocations: 27.5 kB / 3.303 GB, free: 21.09 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.864e-05/10.29, allocations: 17.12 kB / 3.303 GB, free: 21.09 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002574/10.29, allocations: 0.7218 MB / 3.303 GB, free: 20.88 MB / 362.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.00619/10.29, allocations: 4.112 MB / 3.307 GB, free: 17.54 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002518/10.3, allocations: 0.6113 MB / 3.308 GB, free: 17.31 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4699/10.77, allocations: 54.9 MB / 3.362 GB, free: 33.37 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002147/10.77, allocations: 0.5376 MB / 3.362 GB, free: 33.22 MB / 378.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006641/10.77, allocations: 90.31 kB / 3.362 GB, free: 33.22 MB / 378.7 MB Notification: Performance of pre-optimization done (n=53): time 3.267e-06/10.77, allocations: 0 / 3.362 GB, free: 33.22 MB / 378.7 MB Notification: Performance of matching and sorting (n=61): time 0.0174/10.79, allocations: 3.237 MB / 3.365 GB, free: 32.37 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001166/10.79, allocations: 272.1 kB / 3.366 GB, free: 32.06 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008187/10.79, allocations: 455.5 kB / 3.366 GB, free: 31.94 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001941/10.79, allocations: 39.08 kB / 3.366 GB, free: 31.91 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002767/10.79, allocations: 356.3 kB / 3.366 GB, free: 31.7 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003022/10.79, allocations: 201.5 kB / 3.367 GB, free: 31.61 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.094e-05/10.79, allocations: 11.03 kB / 3.367 GB, free: 31.61 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.268e-05/10.79, allocations: 339 kB / 3.367 GB, free: 31.29 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009531/10.79, allocations: 262.3 kB / 3.367 GB, free: 31.29 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001088/10.79, allocations: 464.4 kB / 3.368 GB, free: 31.09 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001172/10.79, allocations: 363.8 kB / 3.368 GB, free: 31.02 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.364e-06/10.79, allocations: 2.094 kB / 3.368 GB, free: 31.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.003411/10.8, allocations: 0.9708 MB / 3.369 GB, free: 30.88 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.765e-05/10.8, allocations: 70.78 kB / 3.369 GB, free: 30.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.645e-05/10.8, allocations: 8.266 kB / 3.369 GB, free: 30.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006658/10.8, allocations: 359.5 kB / 3.369 GB, free: 30.81 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001058/10.8, allocations: 134.1 kB / 3.369 GB, free: 30.81 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001751/10.81, allocations: 0.7974 MB / 3.37 GB, free: 30.29 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001341/10.81, allocations: 64.02 kB / 3.37 GB, free: 30.29 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001687/10.81, allocations: 45.56 kB / 3.37 GB, free: 30.29 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 () * 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.0006649/10.81, allocations: 284.6 kB / 3.371 GB, free: 30.11 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002387/10.81, allocations: 65.16 kB / 3.371 GB, free: 30.08 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00905/10.82, allocations: 4.696 MB / 3.375 GB, free: 29.79 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.006e-05/10.82, allocations: 31.31 kB / 3.375 GB, free: 29.79 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.163e-05/10.82, allocations: 4.406 kB / 3.375 GB, free: 29.79 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-05/10.82, allocations: 6.5 kB / 3.375 GB, free: 29.79 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01167/10.83, allocations: 6.44 MB / 3.382 GB, free: 29.08 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.452e-05/10.83, allocations: 3.938 kB / 3.382 GB, free: 29.08 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007998/10.83, allocations: 94.55 kB / 3.382 GB, free: 29.08 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0036/10.83, allocations: 1.075 MB / 3.383 GB, free: 29.07 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001972/10.83, allocations: 23.78 kB / 3.383 GB, free: 29.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003039/10.84, allocations: 2.352 MB / 3.385 GB, free: 28.55 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/10.84, allocations: 0 / 3.385 GB, free: 28.55 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0105/10.85, allocations: 5.4 MB / 3.39 GB, free: 28.2 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004757/10.85, allocations: 235.9 kB / 3.391 GB, free: 28.05 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003479/10.85, allocations: 21.53 kB / 3.391 GB, free: 28.05 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001228/10.85, allocations: 71.5 kB / 3.391 GB, free: 28.05 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001525/10.85, allocations: 52.39 kB / 3.391 GB, free: 28.05 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.672e-05/10.85, allocations: 24.77 kB / 3.391 GB, free: 28.05 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008164/10.85, allocations: 461.6 kB / 3.391 GB, free: 27.95 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.51e-07/10.85, allocations: 0.9375 kB / 3.391 GB, free: 27.95 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.006098/10.86, allocations: 1.208 MB / 3.392 GB, free: 27.95 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) * 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.01091/10.87, allocations: 1.772 MB / 3.394 GB, free: 27.75 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003217/10.87, allocations: 1.111 MB / 3.395 GB, free: 27.61 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.564e-06/10.87, allocations: 0 / 3.395 GB, free: 27.61 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002028/10.87, allocations: 0.8316 MB / 3.396 GB, free: 27.49 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0028/10.88, allocations: 291.4 kB / 3.396 GB, free: 27.48 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005304/10.88, allocations: 2.712 MB / 3.399 GB, free: 26.3 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006023/10.88, allocations: 1.084 MB / 3.4 GB, free: 25.59 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003165/10.88, allocations: 64.59 kB / 3.4 GB, free: 25.59 MB / 378.7 MB Notification: Performance of SimCode: time 1.493e-06/10.88, allocations: 0 / 3.4 GB, free: 25.59 MB / 378.7 MB Notification: Performance of Templates: time 0.07505/10.96, allocations: 37.16 MB / 3.436 GB, free: 22.27 MB / 378.7 MB