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/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.112/1.112, allocations: 111.2 MB / 119.1 MB, free: 11.18 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.317e-05/2.331e-05, allocations: 0 / 148.2 MB, free: 6.129 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05631/0.05638, allocations: 25.17 MB / 173.4 MB, free: 12.92 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.663/4.719, allocations: 1.452 GB / 1.622 GB, free: 50.48 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000256/4.719, allocations: 73.86 kB / 1.622 GB, free: 50.46 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.373/7.093, allocations: 438.5 MB / 2.05 GB, free: 5.109 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.174e-06/7.093, allocations: 0 / 2.05 GB, free: 5.109 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.045e-05/7.093, allocations: 22.28 kB / 2.05 GB, free: 5.102 MB / 250.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.007433/7.1, allocations: 1.734 MB / 2.052 GB, free: 3.883 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.181e-05/7.101, allocations: 8.031 kB / 2.052 GB, free: 3.875 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003596/7.101, allocations: 79.16 kB / 2.052 GB, free: 3.797 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001125/7.102, allocations: 463.8 kB / 2.052 GB, free: 3.328 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001016/7.102, allocations: 58.78 kB / 2.052 GB, free: 3.27 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001259/7.102, allocations: 36 kB / 2.052 GB, free: 3.234 MB / 250.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001299/7.104, allocations: 0.5297 MB / 2.053 GB, free: 2.703 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001343/7.105, allocations: 0.6341 MB / 2.054 GB, free: 2.023 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.56e-05/7.105, allocations: 0 / 2.054 GB, free: 2.023 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.841e-05/7.105, allocations: 0 / 2.054 GB, free: 2.023 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.556e-05/7.105, allocations: 16 kB / 2.054 GB, free: 2.008 MB / 250.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.4662/7.571, allocations: 62.39 MB / 2.115 GB, free: 12.31 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008826/7.572, allocations: 348.2 kB / 2.115 GB, free: 12.29 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003837/7.573, allocations: 175.8 kB / 2.115 GB, free: 12.28 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.6322/8.205, allocations: 122 MB / 2.234 GB, free: 38.29 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007573/8.206, allocations: 335.3 kB / 2.234 GB, free: 38.16 MB / 314.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004858/8.206, allocations: 54.62 kB / 2.235 GB, free: 38.16 MB / 314.7 MB Notification: Performance of pre-optimization done (n=46): time 2.955e-06/8.206, allocations: 0 / 2.235 GB, free: 38.16 MB / 314.7 MB Notification: Performance of matching and sorting (n=54): time 0.02571/8.232, allocations: 3.365 MB / 2.238 GB, free: 37.79 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.253e-05/8.232, allocations: 216.2 kB / 2.238 GB, free: 37.54 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005865/8.233, allocations: 343.5 kB / 2.238 GB, free: 37.43 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001404/8.233, allocations: 32.3 kB / 2.238 GB, free: 37.4 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002787/8.233, allocations: 372 kB / 2.239 GB, free: 37.18 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002204/8.233, allocations: 172 kB / 2.239 GB, free: 37.09 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.907e-05/8.234, allocations: 0 / 2.239 GB, free: 37.09 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.898e-05/8.234, allocations: 336.2 kB / 2.239 GB, free: 36.78 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004865/8.234, allocations: 196.2 kB / 2.239 GB, free: 36.77 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005946/8.235, allocations: 378.2 kB / 2.24 GB, free: 36.58 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006763/8.242, allocations: 0.7807 MB / 2.241 GB, free: 36.57 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.161e-05/8.242, allocations: 0 / 2.241 GB, free: 36.57 MB / 314.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.00816/8.25, allocations: 1.231 MB / 2.242 GB, free: 36.5 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.104e-05/8.25, allocations: 67.31 kB / 2.242 GB, free: 36.43 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.598e-05/8.25, allocations: 13.8 kB / 2.242 GB, free: 36.43 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001138/8.251, allocations: 154.8 kB / 2.242 GB, free: 36.42 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001004/8.252, allocations: 137.1 kB / 2.242 GB, free: 36.42 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002967/8.255, allocations: 0.8374 MB / 2.243 GB, free: 35.89 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001168/8.256, allocations: 59.3 kB / 2.243 GB, free: 35.89 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001685/8.256, allocations: 36.5 kB / 2.243 GB, free: 35.89 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.000362/8.257, allocations: 204 kB / 2.243 GB, free: 35.71 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.007436/8.264, allocations: 1.123 MB / 2.244 GB, free: 35.63 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001434/8.264, allocations: 57.22 kB / 2.244 GB, free: 35.61 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006622/8.271, allocations: 1.78 MB / 2.246 GB, free: 35.47 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.139e-05/8.271, allocations: 14.89 kB / 2.246 GB, free: 35.47 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/8.271, allocations: 3.625 kB / 2.246 GB, free: 35.47 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.455e-05/8.271, allocations: 2.578 kB / 2.246 GB, free: 35.47 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00632/8.278, allocations: 2.258 MB / 2.248 GB, free: 35.14 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.287e-06/8.278, allocations: 0 / 2.248 GB, free: 35.14 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007418/8.278, allocations: 100.5 kB / 2.248 GB, free: 35.14 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001362/8.28, allocations: 233.3 kB / 2.249 GB, free: 35.12 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001081/8.28, allocations: 19.77 kB / 2.249 GB, free: 35.12 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001578/8.281, allocations: 0.9062 MB / 2.25 GB, free: 34.6 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/8.282, allocations: 7.438 kB / 2.25 GB, free: 34.6 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005888/8.287, allocations: 2.014 MB / 2.252 GB, free: 34.38 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003061/8.288, allocations: 157 kB / 2.252 GB, free: 34.24 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001795/8.288, allocations: 9.781 kB / 2.252 GB, free: 34.24 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008313/8.289, allocations: 36.78 kB / 2.252 GB, free: 34.24 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000153/8.289, allocations: 57.09 kB / 2.252 GB, free: 34.23 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001043/8.289, allocations: 30 kB / 2.252 GB, free: 34.23 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004055/8.289, allocations: 274 kB / 2.252 GB, free: 34.14 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.81e-07/8.29, allocations: 0 / 2.252 GB, free: 34.14 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.006294/8.296, allocations: 1.332 MB / 2.253 GB, free: 34.11 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 (54): * Single equations (assignments): 45 * 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.0173/8.313, allocations: 4.563 MB / 2.258 GB, free: 33.14 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002311/8.316, allocations: 0.9359 MB / 2.259 GB, free: 33 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/8.316, allocations: 0 / 2.259 GB, free: 33 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001478/8.317, allocations: 0.7172 MB / 2.259 GB, free: 32.88 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002279/8.319, allocations: 215.1 kB / 2.26 GB, free: 32.86 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009112/8.329, allocations: 1.861 MB / 2.261 GB, free: 32.26 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006659/8.329, allocations: 0.9776 MB / 2.262 GB, free: 31.54 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008463/8.33, allocations: 297.2 kB / 2.263 GB, free: 31.54 MB / 314.7 MB Notification: Performance of SimCode: time 2.735e-06/8.33, allocations: 0 / 2.263 GB, free: 31.54 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.319/12.65, allocations: 41.28 MB / 2.303 GB, free: 70.99 MB / 314.7 MB