Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr SiemensPower_SiemensPower.Components.Pipes.Tests.TubeWithoutWall.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package SiemensPower with version 2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/SiemensPower 2.2/package.mo) Running command: "" <> buildModelFMU(SiemensPower.Components.Pipes.Tests.TubeWithoutWall,fileNamePrefix="SiemensPower_SiemensPower_Components_Pipes_Tests_TubeWithoutWall",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(SiemensPower): time 1.967/1.967, allocations: 177 MB / 184.5 MB, free: 1.039 MB / 154.9 MB Notification: Performance of FrontEnd - loaded program: time 1.732e-05/1.724e-05, allocations: 0 / 230.3 MB, free: 1.504 MB / 186.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09407/0.09411, allocations: 40.04 MB / 270.4 MB, free: 9.379 MB / 234.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.764/8.858, allocations: 2.901 GB / 3.165 GB, free: 13.9 MB / 362.9 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001697/8.858, allocations: 55.97 kB / 3.165 GB, free: 13.88 MB / 362.9 MB Notification: Performance of FrontEnd - DAE generated: time 5.394/14.25, allocations: 0.9403 GB / 4.105 GB, free: 50.73 MB / 394.9 MB Notification: Performance of FrontEnd: time 2.755e-06/14.25, allocations: 0 / 4.105 GB, free: 50.73 MB / 394.9 MB Notification: Performance of Transformations before backend: time 0.0003257/14.25, allocations: 66.34 kB / 4.105 GB, free: 50.72 MB / 394.9 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 725 * Number of variables: 725 Notification: Performance of Generate backend data structure: time 0.03016/14.28, allocations: 4.162 MB / 4.109 GB, free: 48.72 MB / 394.9 MB Notification: Performance of prepare preOptimizeDAE: time 6.203e-05/14.28, allocations: 7.281 kB / 4.109 GB, free: 48.72 MB / 394.9 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03039/14.31, allocations: 1.632 MB / 4.111 GB, free: 48.42 MB / 394.9 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0217/14.33, allocations: 3.171 MB / 4.114 GB, free: 47.13 MB / 394.9 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008656/14.34, allocations: 347.9 kB / 4.114 GB, free: 46.96 MB / 394.9 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001731/14.34, allocations: 162.7 kB / 4.115 GB, free: 46.96 MB / 394.9 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01543/14.35, allocations: 5.235 MB / 4.12 GB, free: 45.27 MB / 394.9 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01578/14.37, allocations: 4.631 MB / 4.124 GB, free: 42.01 MB / 394.9 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001216/14.37, allocations: 11.88 kB / 4.124 GB, free: 42 MB / 394.9 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001164/14.37, allocations: 12 kB / 4.124 GB, free: 41.98 MB / 394.9 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001445/14.37, allocations: 115.5 kB / 4.124 GB, free: 41.87 MB / 394.9 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.04523/14.42, allocations: 21.9 MB / 4.146 GB, free: 21.88 MB / 394.9 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008828/14.42, allocations: 3.816 MB / 4.149 GB, free: 18.52 MB / 394.9 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00583/14.43, allocations: 2.501 MB / 4.152 GB, free: 16.08 MB / 394.9 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004885/14.44, allocations: 1.466 MB / 4.153 GB, free: 14.4 MB / 394.9 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009279/14.44, allocations: 2.744 MB / 4.156 GB, free: 11.61 MB / 394.9 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003612/14.45, allocations: 193.2 kB / 4.156 GB, free: 11.42 MB / 394.9 MB Notification: Performance of pre-optimization done (n=358): time 2.33e-05/14.45, allocations: 0 / 4.156 GB, free: 11.42 MB / 394.9 MB Notification: Performance of matching and sorting (n=382): time 0.394/14.84, allocations: 13.94 MB / 4.17 GB, free: 47.08 MB / 394.9 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001339/14.84, allocations: 176.7 kB / 4.17 GB, free: 46.92 MB / 394.9 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004428/14.85, allocations: 1.697 MB / 4.172 GB, free: 46.77 MB / 394.9 MB Notification: Performance of collectPreVariables (initialization): time 0.001142/14.85, allocations: 28.73 kB / 4.172 GB, free: 46.74 MB / 394.9 MB Notification: Performance of collectInitialEqns (initialization): time 0.001224/14.85, allocations: 1.109 MB / 4.173 GB, free: 46.48 MB / 394.9 MB Notification: Performance of collectInitialBindings (initialization): time 0.002508/14.85, allocations: 1.267 MB / 4.174 GB, free: 45.72 MB / 394.9 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003937/14.85, allocations: 3.172 kB / 4.174 GB, free: 45.72 MB / 394.9 MB Notification: Performance of setup shared object (initialization): time 0.0002935/14.85, allocations: 473.6 kB / 4.174 GB, free: 45.41 MB / 394.9 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004998/14.86, allocations: 2.204 MB / 4.177 GB, free: 45.39 MB / 394.9 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006345/14.86, allocations: 3.03 MB / 4.179 GB, free: 44.5 MB / 394.9 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01069/14.87, allocations: 2.693 MB / 4.182 GB, free: 44.45 MB / 394.9 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.144e-05/14.87, allocations: 7.469 kB / 4.182 GB, free: 44.45 MB / 394.9 MB Notification: Performance of matching and sorting (n=521) (initialization): time 0.02274/14.9, allocations: 7.057 MB / 4.189 GB, free: 44.19 MB / 394.9 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001189/14.9, allocations: 116.5 kB / 4.189 GB, free: 44.1 MB / 394.9 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.473e-05/14.9, allocations: 26.03 kB / 4.189 GB, free: 44.1 MB / 394.9 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0192/14.92, allocations: 2.988 MB / 4.192 GB, free: 44.07 MB / 394.9 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004951/14.92, allocations: 0.6506 MB / 4.193 GB, free: 44.07 MB / 394.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01666/14.94, allocations: 5.737 MB / 4.198 GB, free: 43.47 MB / 394.9 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008788/14.95, allocations: 420.7 kB / 4.199 GB, free: 43.45 MB / 394.9 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001503/14.95, allocations: 211.4 kB / 4.199 GB, free: 43.45 MB / 394.9 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 108 * Number of states: 0 () * Number of discrete variables: 47 (tube1.friction.DPMFLOW_IN_con.roughness,tube2.friction.DPMFLOW_IN_con.roughness,$whenCondition1,$whenCondition2,$whenCondition3,tube2.fluid[1].phase,tube2.fluid[2].phase,tube2.fluid[3].phase,tube2.fluid[4].phase,tube2.fluid[5].phase,tube2.fluid[6].phase,tube2.fluid[7].phase,tube2.fluid[8].phase,tube2.fluid[9].phase,tube2.fluid[10].phase,watersource_mh.medium.phase,watersink_ph.water.phase,InletMassFlowRate.originalTable.a,InletMassFlowRate.originalTable.b,InletMassFlowRate.originalTable.last,$PRE.InletMassFlowRate.originalTable.nextEvent,InletMassFlowRate.originalTable.nextEvent,OutletPressure.originalTable.a,OutletPressure.originalTable.b,OutletPressure.originalTable.last,$PRE.OutletPressure.originalTable.nextEvent,OutletPressure.originalTable.nextEvent,InletEnthalpy.originalTable.a,InletEnthalpy.originalTable.b,InletEnthalpy.originalTable.last,$PRE.InletEnthalpy.originalTable.nextEvent,InletEnthalpy.originalTable.nextEvent,tube1.fluid[1].phase,tube1.fluid[2].phase,tube1.fluid[3].phase,tube1.fluid[4].phase,tube1.fluid[5].phase,tube1.fluid[6].phase,tube1.fluid[7].phase,tube1.fluid[8].phase,tube1.fluid[9].phase,tube1.fluid[10].phase,watersource_add.medium.phase,tube1.state_from_b.phase,tube1.state_from_a.phase,tube2.state_from_b.phase,tube2.state_from_a.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (367): * Single equations (assignments): 363 * Array equations: 0 * Algorithm blocks: 3 * 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 {22 121} Notification: Performance of prepare postOptimizeDAE: time 0.001634/14.95, allocations: 327.1 kB / 4.199 GB, free: 43.23 MB / 394.9 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01902/14.97, allocations: 5.383 MB / 4.204 GB, free: 42.96 MB / 394.9 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002112/14.97, allocations: 282.5 kB / 4.205 GB, free: 42.83 MB / 394.9 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03321/15.01, allocations: 15.59 MB / 4.22 GB, free: 41.84 MB / 394.9 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001668/15.01, allocations: 150.7 kB / 4.22 GB, free: 41.84 MB / 394.9 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.554e-05/15.01, allocations: 0 / 4.22 GB, free: 41.84 MB / 394.9 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001258/15.01, allocations: 21.56 kB / 4.22 GB, free: 41.84 MB / 394.9 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 postOpt removeSimpleEquations (simulation): time 0.05038/15.06, allocations: 25.35 MB / 4.245 GB, free: 31.96 MB / 394.9 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.926e-05/15.06, allocations: 3.875 kB / 4.245 GB, free: 31.96 MB / 394.9 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01295/15.07, allocations: 1.127 MB / 4.246 GB, free: 31.93 MB / 394.9 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00312/15.07, allocations: 0.8294 MB / 4.247 GB, free: 31.66 MB / 394.9 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001223/15.07, allocations: 107.4 kB / 4.247 GB, free: 31.64 MB / 394.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006501/15.08, allocations: 3.46 MB / 4.25 GB, free: 29.55 MB / 394.9 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.786e-05/15.08, allocations: 6.438 kB / 4.25 GB, free: 29.55 MB / 394.9 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03966/15.12, allocations: 14.22 MB / 4.264 GB, free: 23.1 MB / 394.9 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005228/15.13, allocations: 1.216 MB / 4.265 GB, free: 22.45 MB / 394.9 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001324/15.13, allocations: 66.28 kB / 4.265 GB, free: 22.43 MB / 394.9 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007907/15.13, allocations: 436.6 kB / 4.266 GB, free: 22.4 MB / 394.9 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002134/15.14, allocations: 0.5515 MB / 4.266 GB, free: 22.35 MB / 394.9 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005931/15.14, allocations: 172.9 kB / 4.267 GB, free: 22.31 MB / 394.9 MB Notification: Performance of sorting global known variables: time 0.002753/15.14, allocations: 1.243 MB / 4.268 GB, free: 21.83 MB / 394.9 MB Notification: Performance of sort global known variables: time 4.41e-07/15.14, allocations: 0 / 4.268 GB, free: 21.83 MB / 394.9 MB Notification: Performance of remove unused functions: time 0.01218/15.15, allocations: 2.352 MB / 4.27 GB, free: 21.67 MB / 394.9 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 27 (tube2.fluid[1].h,tube2.fluid[2].h,tube2.fluid[3].h,tube2.fluid[4].h,tube2.fluid[5].h,tube2.fluid[6].h,tube2.fluid[7].h,tube2.fluid[8].h,tube2.fluid[9].p,tube2.fluid[9].h,tube2.fluid[10].h,tube2.m_flows[1],InletMassFlowRate.C1signal.y,OutletPressure.C1signal.y,InletEnthalpy.C1signal.y,tube1.fluid[1].h,tube1.fluid[2].h,tube1.fluid[3].h,tube1.fluid[4].h,tube1.fluid[5].h,tube1.fluid[6].h,tube1.fluid[7].h,tube1.fluid[8].h,tube1.fluid[9].p,tube1.fluid[9].h,tube1.fluid[10].h,tube1.m_flows[1]) * Number of discrete variables: 102 ($cse1.phase,$cse1.region,$cse2.region3boundary,$cse3.region3boundary,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse27.phase,$cse27.region,$cse28.phase,$cse28.region,$cse29.phase,$cse29.region,$cse30.phase,$cse30.region,$cse31.phase,$cse31.region,$cse32.phase,$cse32.region,$cse33.phase,$cse33.region,$cse34.phase,$cse34.region,$cse35.phase,$cse35.region,$cse36.phase,$cse36.region,$cse39.region3boundary,$cse40.region3boundary,$cse41.phase,$cse41.region,$cse42.region3boundary,$cse43.region3boundary,$cse44.phase,$cse44.region,$cse45.region3boundary,$cse46.region3boundary,$cse47.phase,$cse47.region,$cse49.phase,$cse49.region,$cse69.phase,$cse69.region,$cse70.phase,$cse70.region,$cse71.phase,$cse71.region,$cse72.phase,$cse72.region,$cse73.phase,$cse73.region,$cse74.phase,$cse74.region,$cse75.phase,$cse75.region,$cse76.phase,$cse76.region,$cse77.phase,$cse77.region,$cse78.phase,$cse78.region,$cse81.region3boundary,$cse82.region3boundary,$whenCondition1,$whenCondition2,$whenCondition3,tube2.fluid[1].phase,tube2.fluid[2].phase,tube2.fluid[3].phase,tube2.fluid[4].phase,tube2.fluid[5].phase,tube2.fluid[6].phase,tube2.fluid[7].phase,tube2.fluid[8].phase,tube2.fluid[9].phase,tube2.fluid[10].phase,watersource_mh.medium.phase,watersink_ph.water.phase,InletMassFlowRate.originalTable.a,InletMassFlowRate.originalTable.b,InletMassFlowRate.originalTable.last,InletMassFlowRate.originalTable.nextEvent,OutletPressure.originalTable.a,OutletPressure.originalTable.b,OutletPressure.originalTable.last,OutletPressure.originalTable.nextEvent,InletEnthalpy.originalTable.a,InletEnthalpy.originalTable.b,InletEnthalpy.originalTable.last,InletEnthalpy.originalTable.nextEvent,tube1.fluid[1].phase,tube1.fluid[2].phase,tube1.fluid[3].phase,tube1.fluid[4].phase,tube1.fluid[5].phase,tube1.fluid[6].phase,tube1.fluid[7].phase,tube1.fluid[8].phase,tube1.fluid[9].phase,tube1.fluid[10].phase,watersource_add.medium.phase) * Number of discrete states: 15 (InletMassFlowRate.originalTable.last,InletMassFlowRate.originalTable.nextEvent,InletMassFlowRate.originalTable.b,InletMassFlowRate.originalTable.a,$whenCondition3,OutletPressure.originalTable.last,OutletPressure.originalTable.nextEvent,OutletPressure.originalTable.b,OutletPressure.originalTable.a,$whenCondition2,InletEnthalpy.originalTable.last,InletEnthalpy.originalTable.nextEvent,InletEnthalpy.originalTable.b,InletEnthalpy.originalTable.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (431): * Single equations (assignments): 389 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 37 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 10,1 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.06017/15.21, allocations: 18.2 MB / 4.288 GB, free: 9.176 MB / 394.9 MB Notification: Performance of simCode: created initialization part: time 0.04525/15.26, allocations: 7.426 MB / 4.295 GB, free: 2.609 MB / 394.9 MB Notification: Performance of simCode: created event and clocks part: time 1.97e-05/15.26, allocations: 7.188 kB / 4.295 GB, free: 2.605 MB / 394.9 MB Notification: Performance of simCode: created simulation system equations: time 0.03767/15.3, allocations: 6.627 MB / 4.302 GB, free: 15.27 MB / 410.9 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02219/15.32, allocations: 1.463 MB / 4.303 GB, free: 14.27 MB / 410.9 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05638/15.37, allocations: 12.29 MB / 4.315 GB, free: 4.684 MB / 410.9 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3525/15.73, allocations: 2.988 MB / 4.318 GB, free: 59.88 MB / 410.9 MB Notification: Performance of simCode: alias equations: time 0.01029/15.74, allocations: 2.184 MB / 4.32 GB, free: 59.84 MB / 410.9 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005134/15.74, allocations: 1.792 MB / 4.322 GB, free: 59.84 MB / 410.9 MB Notification: Performance of SimCode: time 2.985e-06/15.74, allocations: 0 / 4.322 GB, free: 59.84 MB / 410.9 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.808/16.55, allocations: 147.7 MB / 4.466 GB, free: 57.95 MB / 426.9 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001952/16.55, allocations: 147.2 kB / 4.466 GB, free: 57.77 MB / 426.9 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.38/26.93, allocations: 0 / 4.466 GB, free: 57.77 MB / 426.9 MB