Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.1_cpp_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.conf.json Using package ModelicaServices with version 1.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/package.mo) Running command: translateModel(Modelica.Fluid.Examples.DrumBoiler.DrumBoiler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler") Notification: Performance of loadModel(Modelica): time 0.9787/0.9787, allocations: 111.2 MB / 126.7 MB, free: 6.125 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002631/0.0002632, allocations: 8 kB / 158.3 MB, free: 15.18 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04748/0.04777, allocations: 25.16 MB / 183.5 MB, free: 5.984 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.713/3.761, allocations: 1.453 GB / 1.632 GB, free: 7.344 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001901/3.761, allocations: 68.41 kB / 1.632 GB, free: 7.309 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.117/5.878, allocations: 444.2 MB / 2.066 GB, free: 17.9 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.095e-06/5.878, allocations: 0 / 2.066 GB, free: 17.9 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.37e-05/5.878, allocations: 22.97 kB / 2.066 GB, free: 17.9 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.005674/5.884, allocations: 1.786 MB / 2.068 GB, free: 16.82 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/5.884, allocations: 12.41 kB / 2.068 GB, free: 16.82 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002375/5.884, allocations: 85.25 kB / 2.068 GB, free: 16.79 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008158/5.885, allocations: 470.8 kB / 2.069 GB, free: 16.53 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.845e-05/5.885, allocations: 81.59 kB / 2.069 GB, free: 16.49 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001043/5.885, allocations: 53.91 kB / 2.069 GB, free: 16.49 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001714/5.887, allocations: 0.7707 MB / 2.069 GB, free: 16.33 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.218e-05/5.887, allocations: 0 / 2.069 GB, free: 16.33 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.554e-05/5.887, allocations: 23.47 kB / 2.069 GB, free: 16.33 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.984e-05/5.887, allocations: 14.69 kB / 2.069 GB, free: 16.33 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001775/5.889, allocations: 0.6617 MB / 2.07 GB, free: 16.32 MB / 266.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.06627/5.955, allocations: 30.44 MB / 2.1 GB, free: 13.68 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001411/5.957, allocations: 453.5 kB / 2.1 GB, free: 13.65 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4611/6.418, allocations: 121.5 MB / 2.219 GB, free: 18.86 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001085/6.419, allocations: 417.7 kB / 2.219 GB, free: 18.73 MB / 314.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004201/6.419, allocations: 58.47 kB / 2.219 GB, free: 18.73 MB / 314.7 MB Notification: Performance of pre-optimization done (n=48): time 3.601e-06/6.419, allocations: 3.469 kB / 2.219 GB, free: 18.73 MB / 314.7 MB Notification: Performance of matching and sorting (n=56): time 0.01452/6.434, allocations: 2.923 MB / 2.222 GB, free: 17.98 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001606/6.434, allocations: 222.5 kB / 2.222 GB, free: 17.73 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005728/6.435, allocations: 388.2 kB / 2.223 GB, free: 17.62 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001085/6.435, allocations: 37.83 kB / 2.223 GB, free: 17.59 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002642/6.435, allocations: 359 kB / 2.223 GB, free: 17.37 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001797/6.435, allocations: 187.8 kB / 2.223 GB, free: 17.28 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.747e-05/6.435, allocations: 11.59 kB / 2.223 GB, free: 17.28 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000177/6.435, allocations: 336.4 kB / 2.224 GB, free: 16.97 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00067/6.436, allocations: 236.6 kB / 2.224 GB, free: 16.96 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007519/6.437, allocations: 415.3 kB / 2.224 GB, free: 16.77 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007901/6.438, allocations: 339.4 kB / 2.225 GB, free: 16.7 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/6.438, allocations: 0 / 2.225 GB, free: 16.7 MB / 314.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002236/6.44, allocations: 0.8633 MB / 2.226 GB, free: 16.56 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.944e-05/6.44, allocations: 72.62 kB / 2.226 GB, free: 16.5 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/6.44, allocations: 7.594 kB / 2.226 GB, free: 16.5 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00572/6.446, allocations: 340.1 kB / 2.226 GB, free: 16.49 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007256/6.447, allocations: 133.8 kB / 2.226 GB, free: 16.49 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001105/6.448, allocations: 0.6927 MB / 2.227 GB, free: 15.96 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009315/6.449, allocations: 64.64 kB / 2.227 GB, free: 15.96 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001218/6.449, allocations: 46.91 kB / 2.227 GB, free: 15.96 MB / 314.7 MB Warning: Assuming fixed start value for the following 1 variables: controller.x:VARIABLE(start = controller.x_start fixed = true ) "State of block" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 16 (SteamValve.state_b.phase,SteamValve.state_a.phase,$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,sink.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 64 * 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.0006087/6.449, allocations: 268 kB / 2.227 GB, free: 15.78 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001642/6.45, allocations: 61.91 kB / 2.227 GB, free: 15.75 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003946/6.454, allocations: 1.874 MB / 2.229 GB, free: 15.54 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-05/6.454, allocations: 20.14 kB / 2.229 GB, free: 15.54 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.294e-06/6.454, allocations: 2.625 kB / 2.229 GB, free: 15.54 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.45e-05/6.454, allocations: 2.625 kB / 2.229 GB, free: 15.54 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004229/6.458, allocations: 2.46 MB / 2.231 GB, free: 15.12 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.374e-06/6.458, allocations: 0 / 2.231 GB, free: 15.12 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005754/6.459, allocations: 106.2 kB / 2.232 GB, free: 15.12 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002805/6.461, allocations: 415.2 kB / 2.232 GB, free: 15.1 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001668/6.462, allocations: 25.66 kB / 2.232 GB, free: 15.1 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001113/6.463, allocations: 0.8096 MB / 2.233 GB, free: 14.58 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/6.463, allocations: 7.719 kB / 2.233 GB, free: 14.57 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00374/6.467, allocations: 2.066 MB / 2.235 GB, free: 14.29 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003404/6.467, allocations: 166.8 kB / 2.235 GB, free: 14.16 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001765/6.467, allocations: 23.31 kB / 2.235 GB, free: 14.16 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000643/6.468, allocations: 59.44 kB / 2.235 GB, free: 14.15 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001179/6.468, allocations: 46.28 kB / 2.235 GB, free: 14.14 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001009/6.468, allocations: 36.41 kB / 2.235 GB, free: 14.14 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0005615/6.469, allocations: 347 kB / 2.235 GB, free: 14.06 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.46e-07/6.469, allocations: 0 / 2.235 GB, free: 14.06 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.005346/6.474, allocations: 1.383 MB / 2.237 GB, free: 14.01 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (evaporator.p,evaporator.V_l,controller.x) * Number of discrete variables: 18 ($cse1.region3boundary,$cse2.region3boundary,$cse3.phase,$cse13.phase,$cse16.phase,$cse17.phase,$cse17.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 (58): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 6 * 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.009445/6.483, allocations: 2.021 MB / 2.239 GB, free: 13.71 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002365/6.486, allocations: 1.029 MB / 2.24 GB, free: 13.56 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/6.486, allocations: 3.562 kB / 2.24 GB, free: 13.56 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001411/6.487, allocations: 0.7734 MB / 2.24 GB, free: 13.43 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001622/6.489, allocations: 259.1 kB / 2.241 GB, free: 13.41 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00337/6.492, allocations: 2.133 MB / 2.243 GB, free: 12.41 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006965/6.493, allocations: 0.9905 MB / 2.244 GB, free: 11.7 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002863/6.493, allocations: 76.31 kB / 2.244 GB, free: 11.69 MB / 314.7 MB Notification: Performance of SimCode: time 1.635e-06/6.493, allocations: 2.156 kB / 2.244 GB, free: 11.69 MB / 314.7 MB Notification: Performance of Templates: time 0.2575/6.751, allocations: 37.56 MB / 2.281 GB, free: 63.46 MB / 314.7 MB