Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_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_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler") Notification: Performance of loadModel(Modelica): time 1.786/1.786, allocations: 171.1 MB / 186.7 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005125/0.0005127, allocations: 8 kB / 233.8 MB, free: 2.398 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09448/0.09502, allocations: 38.78 MB / 272.6 MB, free: 11.55 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.948/8.043, allocations: 2.56 GB / 2.827 GB, free: 84.73 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003163/8.043, allocations: 93.58 kB / 2.827 GB, free: 84.73 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.551/10.59, allocations: 483.8 MB / 3.299 GB, free: 22.94 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.454e-06/10.59, allocations: 0 / 3.299 GB, free: 22.94 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.916e-05/10.59, allocations: 10.59 kB / 3.299 GB, free: 22.94 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.00741/10.6, allocations: 1.859 MB / 3.301 GB, free: 21.75 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/10.6, allocations: 9.25 kB / 3.301 GB, free: 21.75 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003214/10.61, allocations: 237.9 kB / 3.301 GB, free: 21.7 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001474/10.61, allocations: 0.5055 MB / 3.302 GB, free: 21.34 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.228e-05/10.61, allocations: 46.84 kB / 3.302 GB, free: 21.32 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001381/10.61, allocations: 60.66 kB / 3.302 GB, free: 21.3 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003034/10.61, allocations: 0.8915 MB / 3.303 GB, free: 20.89 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.873e-05/10.61, allocations: 3.938 kB / 3.303 GB, free: 20.89 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000104/10.61, allocations: 27.47 kB / 3.303 GB, free: 20.87 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.98e-05/10.61, allocations: 19.47 kB / 3.303 GB, free: 20.87 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002872/10.61, allocations: 0.7168 MB / 3.303 GB, free: 20.67 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.006813/10.62, allocations: 4.113 MB / 3.307 GB, free: 17.32 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002615/10.62, allocations: 0.6046 MB / 3.308 GB, free: 17.1 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5056/11.13, allocations: 54.9 MB / 3.362 GB, free: 33.17 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002077/11.13, allocations: 0.539 MB / 3.362 GB, free: 33.02 MB / 378.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007011/11.13, allocations: 86.64 kB / 3.362 GB, free: 33.02 MB / 378.7 MB Notification: Performance of pre-optimization done (n=53): time 3.256e-06/11.13, allocations: 0 / 3.362 GB, free: 33.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=61): time 0.01653/11.15, allocations: 3.25 MB / 3.365 GB, free: 32.18 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.802e-05/11.15, allocations: 276 kB / 3.366 GB, free: 31.86 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007354/11.15, allocations: 449.8 kB / 3.366 GB, free: 31.75 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.871e-05/11.15, allocations: 36.95 kB / 3.366 GB, free: 31.71 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002858/11.15, allocations: 324 kB / 3.366 GB, free: 31.57 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002222/11.15, allocations: 202.8 kB / 3.367 GB, free: 31.48 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.932e-05/11.15, allocations: 12.09 kB / 3.367 GB, free: 31.48 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001276/11.15, allocations: 373.8 kB / 3.367 GB, free: 31.16 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008867/11.15, allocations: 261.5 kB / 3.367 GB, free: 31.16 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001055/11.15, allocations: 458.2 kB / 3.368 GB, free: 30.96 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001046/11.15, allocations: 365 kB / 3.368 GB, free: 30.89 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/11.15, allocations: 2.094 kB / 3.368 GB, free: 30.89 MB / 378.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.003118/11.16, allocations: 0.9984 MB / 3.369 GB, free: 30.74 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.042e-05/11.16, allocations: 75.8 kB / 3.369 GB, free: 30.68 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.48e-05/11.16, allocations: 8.203 kB / 3.369 GB, free: 30.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006858/11.16, allocations: 352.2 kB / 3.369 GB, free: 30.67 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001043/11.16, allocations: 133.8 kB / 3.37 GB, free: 30.67 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001682/11.17, allocations: 0.7997 MB / 3.37 GB, free: 30.15 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001258/11.17, allocations: 72.06 kB / 3.37 GB, free: 30.14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001451/11.17, allocations: 47.77 kB / 3.37 GB, free: 30.14 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.0006151/11.17, allocations: 278.5 kB / 3.371 GB, free: 29.96 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000192/11.17, allocations: 61.31 kB / 3.371 GB, free: 29.94 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008516/11.18, allocations: 4.7 MB / 3.375 GB, free: 29.64 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.191e-05/11.18, allocations: 33 kB / 3.375 GB, free: 29.64 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-05/11.18, allocations: 1.25 kB / 3.375 GB, free: 29.64 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.026e-05/11.18, allocations: 6.703 kB / 3.375 GB, free: 29.64 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01102/11.19, allocations: 6.437 MB / 3.382 GB, free: 28.94 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.576e-05/11.19, allocations: 3.812 kB / 3.382 GB, free: 28.94 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007603/11.19, allocations: 93.52 kB / 3.382 GB, free: 28.94 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003549/11.19, allocations: 1.075 MB / 3.383 GB, free: 28.93 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001725/11.19, allocations: 31.47 kB / 3.383 GB, free: 28.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002958/11.2, allocations: 2.35 MB / 3.385 GB, free: 28.41 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/11.2, allocations: 0 / 3.385 GB, free: 28.41 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009602/11.2, allocations: 5.402 MB / 3.39 GB, free: 28.05 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004984/11.21, allocations: 236 kB / 3.391 GB, free: 27.9 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002764/11.21, allocations: 28.44 kB / 3.391 GB, free: 27.9 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001141/11.21, allocations: 60.23 kB / 3.391 GB, free: 27.9 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001594/11.21, allocations: 46.91 kB / 3.391 GB, free: 27.9 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.238e-05/11.21, allocations: 34.02 kB / 3.391 GB, free: 27.9 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007628/11.21, allocations: 463.2 kB / 3.391 GB, free: 27.8 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.714e-06/11.21, allocations: 0 / 3.391 GB, free: 27.8 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.006081/11.21, allocations: 1.21 MB / 3.392 GB, free: 27.8 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.009909/11.22, allocations: 1.777 MB / 3.394 GB, free: 27.6 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003136/11.23, allocations: 1.106 MB / 3.395 GB, free: 27.46 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/11.23, allocations: 0 / 3.395 GB, free: 27.46 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001927/11.23, allocations: 0.8415 MB / 3.396 GB, free: 27.33 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0026/11.23, allocations: 285.3 kB / 3.396 GB, free: 27.32 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004898/11.24, allocations: 2.672 MB / 3.399 GB, free: 26.18 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005689/11.24, allocations: 1.088 MB / 3.4 GB, free: 25.47 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001022/11.24, allocations: 290.8 kB / 3.4 GB, free: 25.46 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002096/11.24, allocations: 59 kB / 3.4 GB, free: 25.46 MB / 378.7 MB Notification: Performance of SimCode: time 1.273e-06/11.24, allocations: 0 / 3.4 GB, free: 25.46 MB / 378.7 MB Notification: Performance of Templates: time 0.09314/11.33, allocations: 45.88 MB / 3.445 GB, free: 22.94 MB / 378.7 MB