Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/package.mo) Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.DrumBoiler.DrumBoiler,fileNamePrefix="Modelica_3_1_cpp_Modelica_Fluid_Examples_DrumBoiler_DrumBoiler",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.001/1.001, allocations: 111.2 MB / 124.2 MB, free: 11.21 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.712e-05/2.724e-05, allocations: 4 kB / 154.4 MB, free: 13.11 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1707/0.1707, allocations: 25.15 MB / 179.5 MB, free: 0.8359 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.355/4.526, allocations: 1.453 GB / 1.628 GB, free: 22.18 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002146/4.526, allocations: 71.92 kB / 1.629 GB, free: 22.14 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.432/6.958, allocations: 442.6 MB / 2.061 GB, free: 19.06 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.887e-06/6.958, allocations: 0 / 2.061 GB, free: 19.06 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.349e-05/6.958, allocations: 15.38 kB / 2.061 GB, free: 19.05 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.00833/6.966, allocations: 1.73 MB / 2.062 GB, free: 18.07 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.993e-05/6.966, allocations: 10.66 kB / 2.062 GB, free: 18.07 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000329/6.967, allocations: 110.2 kB / 2.063 GB, free: 18.02 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003195/6.967, allocations: 77.88 kB / 2.063 GB, free: 17.98 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001356/6.968, allocations: 477.3 kB / 2.063 GB, free: 17.73 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001299/6.969, allocations: 78.58 kB / 2.063 GB, free: 17.7 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001672/6.969, allocations: 55.41 kB / 2.063 GB, free: 17.7 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00258/6.971, allocations: 0.75 MB / 2.064 GB, free: 17.54 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.451e-05/6.971, allocations: 7.266 kB / 2.064 GB, free: 17.54 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001367/6.972, allocations: 26.31 kB / 2.064 GB, free: 17.54 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.393e-05/6.972, allocations: 15.53 kB / 2.064 GB, free: 17.54 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002197/6.974, allocations: 0.6084 MB / 2.065 GB, free: 17.54 MB / 266.7 MB Warning: The model contains alias variables with conflicting start and/or 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.1031/7.077, allocations: 30.55 MB / 2.094 GB, free: 15.07 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001088/7.078, allocations: 403.9 kB / 2.095 GB, free: 15.05 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004354/7.079, allocations: 200.5 kB / 2.095 GB, free: 15.04 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.6251/7.704, allocations: 122 MB / 2.214 GB, free: 20.43 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001035/7.705, allocations: 402.4 kB / 2.215 GB, free: 20.3 MB / 314.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004949/7.705, allocations: 56.97 kB / 2.215 GB, free: 20.3 MB / 314.7 MB Notification: Performance of pre-optimization done (n=48): time 3.737e-06/7.705, allocations: 0.5625 kB / 2.215 GB, free: 20.3 MB / 314.7 MB Notification: Performance of matching and sorting (n=56): time 0.01572/7.721, allocations: 2.568 MB / 2.217 GB, free: 19.75 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001466/7.721, allocations: 221.5 kB / 2.217 GB, free: 19.5 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006134/7.722, allocations: 378.7 kB / 2.218 GB, free: 19.39 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.63e-05/7.722, allocations: 36.08 kB / 2.218 GB, free: 19.36 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002778/7.722, allocations: 367.4 kB / 2.218 GB, free: 19.14 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001859/7.722, allocations: 184.9 kB / 2.218 GB, free: 19.05 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.479e-05/7.723, allocations: 13.88 kB / 2.218 GB, free: 19.05 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001641/7.723, allocations: 334.4 kB / 2.219 GB, free: 18.74 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005396/7.723, allocations: 215.7 kB / 2.219 GB, free: 18.73 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000639/7.724, allocations: 389 kB / 2.219 GB, free: 18.54 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000674/7.725, allocations: 314.8 kB / 2.219 GB, free: 18.46 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/7.725, allocations: 2.906 kB / 2.219 GB, free: 18.46 MB / 314.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002053/7.727, allocations: 0.8074 MB / 2.22 GB, free: 18.34 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.142e-05/7.727, allocations: 72.12 kB / 2.22 GB, free: 18.27 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.287e-05/7.727, allocations: 5.719 kB / 2.22 GB, free: 18.27 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008608/7.735, allocations: 352.4 kB / 2.221 GB, free: 18.26 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00101/7.737, allocations: 134.1 kB / 2.221 GB, free: 18.26 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001213/7.738, allocations: 0.6937 MB / 2.221 GB, free: 17.73 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001104/7.739, allocations: 65.09 kB / 2.222 GB, free: 17.73 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001295/7.739, allocations: 35.61 kB / 2.222 GB, free: 17.73 MB / 314.7 MB Warning: Assuming fixed start value for the following 1 variables: controller.x:VARIABLE(start = controller.x_start ) "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 () * 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.0003774/7.739, allocations: 222.2 kB / 2.222 GB, free: 17.55 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001569/7.74, allocations: 63.78 kB / 2.222 GB, free: 17.52 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004403/7.744, allocations: 1.825 MB / 2.224 GB, free: 17.32 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.764e-05/7.744, allocations: 17.11 kB / 2.224 GB, free: 17.32 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.305e-06/7.744, allocations: 0 / 2.224 GB, free: 17.32 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.322e-05/7.744, allocations: 6.109 kB / 2.224 GB, free: 17.32 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00439/7.748, allocations: 2.408 MB / 2.226 GB, free: 16.9 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.364e-06/7.749, allocations: 0 / 2.226 GB, free: 16.9 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007628/7.749, allocations: 101.2 kB / 2.226 GB, free: 16.9 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004227/7.754, allocations: 413.4 kB / 2.226 GB, free: 16.88 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001652/7.754, allocations: 23.25 kB / 2.226 GB, free: 16.88 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00144/7.755, allocations: 0.8179 MB / 2.227 GB, free: 16.36 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.454e-06/7.755, allocations: 0 / 2.227 GB, free: 16.36 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00416/7.759, allocations: 1.991 MB / 2.229 GB, free: 16.09 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000369/7.76, allocations: 174.4 kB / 2.229 GB, free: 15.95 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001953/7.76, allocations: 21.12 kB / 2.229 GB, free: 15.95 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009068/7.761, allocations: 60.27 kB / 2.229 GB, free: 15.94 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001465/7.761, allocations: 50.91 kB / 2.23 GB, free: 15.94 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001077/7.761, allocations: 31.78 kB / 2.23 GB, free: 15.94 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0005856/7.762, allocations: 342.2 kB / 2.23 GB, free: 15.85 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.01e-07/7.762, allocations: 0 / 2.23 GB, free: 15.85 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.006176/7.768, allocations: 1.382 MB / 2.231 GB, free: 15.8 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) * 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.01437/7.782, allocations: 4.427 MB / 2.236 GB, free: 14.79 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002444/7.785, allocations: 0.9849 MB / 2.237 GB, free: 14.65 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/7.785, allocations: 0 / 2.237 GB, free: 14.65 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001466/7.786, allocations: 0.744 MB / 2.237 GB, free: 14.52 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002376/7.789, allocations: 269.3 kB / 2.237 GB, free: 14.5 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006898/7.796, allocations: 1.96 MB / 2.239 GB, free: 13.85 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006279/7.796, allocations: 0.9906 MB / 2.24 GB, free: 13.14 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005702/7.797, allocations: 315.1 kB / 2.241 GB, free: 13.12 MB / 314.7 MB Notification: Performance of SimCode: time 1.292e-06/7.797, allocations: 0 / 2.241 GB, free: 13.12 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.081/11.88, allocations: 40.73 MB / 2.28 GB, free: 65.21 MB / 314.7 MB