Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.SolarCollector.TestFresnelField.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo", uses=false) Using package ThermoSysPro with version 4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo) Running command: translateModel(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.SolarCollector.TestFresnelField,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.SolarCollector.TestFresnelField") translateModel(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.SolarCollector.TestFresnelField,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.SolarCollector.TestFresnelField") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8274/0.8274, allocations: 150.9 MB / 167.2 MB, free: 14.53 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003782/0.0003785, allocations: 16.61 kB / 237.7 MB, free: 1.824 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.054/0.05439, allocations: 31.34 MB / 269.1 MB, free: 7.109 MB / 222.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.SolarCollector.TestFresnelField): time 1.629/1.684, allocations: 297.3 MB / 0.5531 GB, free: 10.61 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.4801/2.164, allocations: 193.1 MB / 0.7416 GB, free: 14.9 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007161/2.165, allocations: 16.97 kB / 0.7417 GB, free: 14.9 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/HeatExchangers/DynamicTwoPhaseFlowPipe.mo:233:3-234:54:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/HeatExchangers/DynamicTwoPhaseFlowPipe.mo:237:3-238:52:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SinkP.mo:46:3-47:67:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SourceQ.mo:62:3-63:65:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0007186/2.165, allocations: 288.3 kB / 0.7419 GB, free: 14.9 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001134/2.166, allocations: 0.6584 MB / 0.7426 GB, free: 14.89 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteam/IF97_packages.mo:783:9-783:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteam/IF97_packages.mo:850:9-850:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteam/IF97_packages.mo:1088:9-1088:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph.mo:69:3-69:60:writable] Warning: dh1satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph.mo:69:3-69:60:writable] Warning: dh2satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph_der.mo:167:3-170:49:writable] Warning: du1satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph_der.mo:167:3-170:49:writable] Warning: du2satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.02976/2.196, allocations: 12.72 MB / 0.755 GB, free: 14.51 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0196/2.216, allocations: 29.56 MB / 0.7839 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01472/2.231, allocations: 9.836 MB / 0.7935 GB, free: 2.094 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01625/2.247, allocations: 9.329 MB / 0.8026 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01827/2.265, allocations: 10.69 MB / 0.813 GB, free: 3.066 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.006028/2.271, allocations: 1.84 MB / 0.8148 GB, free: 1.227 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04406/2.315, allocations: 22.87 MB / 0.8371 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.009724/2.325, allocations: 7.223 MB / 0.8442 GB, free: 3.523 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.01952/2.345, allocations: 9.066 MB / 0.853 GB, free: 10.59 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.05014/2.395, allocations: 32.44 MB / 0.8847 GB, free: 11.38 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/2.395, allocations: 1.219 kB / 0.8847 GB, free: 11.38 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.633e-06/2.395, allocations: 4 kB / 0.8847 GB, free: 11.38 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0005902/2.395, allocations: 0 / 0.8847 GB, free: 11.38 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4263 * Number of variables: 4263 Notification: Performance of Generate backend data structure: time 0.09525/2.491, allocations: 22.84 MB / 0.907 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/2.491, allocations: 11.89 kB / 0.9071 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006183/2.497, allocations: 1.468 MB / 0.9085 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01485/2.512, allocations: 5.716 MB / 0.9141 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.008667/2.52, allocations: 6.327 MB / 0.9202 GB, free: 5.906 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007933/2.528, allocations: 1.136 MB / 0.9214 GB, free: 4.77 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08589/2.614, allocations: 32.28 MB / 0.9529 GB, free: 3.75 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003414/2.615, allocations: 35.69 kB / 0.9529 GB, free: 3.715 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00488/2.62, allocations: 476 kB / 0.9534 GB, free: 3.25 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003737/2.62, allocations: 447.8 kB / 0.9538 GB, free: 2.812 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1157/2.736, allocations: 49.67 MB / 1.002 GB, free: 1.094 MB / 0.8106 GB 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.528/3.264, allocations: 105.8 MB / 1.106 GB, free: 353.6 MB / 0.8263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.07391/3.338, allocations: 32.05 MB / 1.137 GB, free: 333.2 MB / 0.8263 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.05079/3.389, allocations: 24.49 MB / 1.161 GB, free: 308.9 MB / 0.8263 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1401/3.529, allocations: 84.69 MB / 1.244 GB, free: 215 MB / 0.8263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003202/3.529, allocations: 225.2 kB / 1.244 GB, free: 214.8 MB / 0.8263 GB Notification: Performance of pre-optimization done (n=3231): time 2.233e-05/3.529, allocations: 0 / 1.244 GB, free: 214.8 MB / 0.8263 GB Notification: Performance of matching and sorting (n=3231): time 0.6165/4.145, allocations: 147 MB / 1.387 GB, free: 65.46 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001208/4.146, allocations: 242 kB / 1.388 GB, free: 65.21 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002245/4.148, allocations: 2.096 MB / 1.39 GB, free: 63.08 MB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 0.00465/4.153, allocations: 337.7 kB / 1.39 GB, free: 62.74 MB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009683/4.154, allocations: 2.122 MB / 1.392 GB, free: 60.62 MB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 0.01047/4.164, allocations: 10.73 MB / 1.402 GB, free: 49.96 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01716/4.181, allocations: 4.349 MB / 1.407 GB, free: 45.59 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 4.488e-05/4.181, allocations: 309.1 kB / 1.407 GB, free: 45.29 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.04967/4.231, allocations: 21.27 MB / 1.428 GB, free: 24 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2686/4.5, allocations: 24.58 MB / 1.452 GB, free: 389.8 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1083/4.608, allocations: 45.6 MB / 1.496 GB, free: 382.4 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001223/4.608, allocations: 15.31 kB / 1.496 GB, free: 382.4 MB / 0.8263 GB Notification: Performance of matching and sorting (n=3611) (initialization): time 0.1817/4.79, allocations: 71.48 MB / 1.566 GB, free: 335.5 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 7.127e-05/4.79, allocations: 32.66 kB / 1.566 GB, free: 335.5 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002725/4.79, allocations: 124 kB / 1.566 GB, free: 335.4 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.8174/5.608, allocations: 329.5 MB / 1.888 GB, free: 327.8 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005696/5.613, allocations: 1.37 MB / 1.889 GB, free: 326.8 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2013/5.815, allocations: 80.46 MB / 1.968 GB, free: 271.6 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02839/5.843, allocations: 4.851 MB / 1.973 GB, free: 268.1 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005727/5.849, allocations: 0.9767 MB / 1.974 GB, free: 267.3 MB / 0.8263 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 285 * Number of states: 0 () * Number of discrete variables: 6 (sourceP.fluid1,sourceP.C.ftype,dynamicTwoPhaseFlowPipe.fluid,sinkP.fluid,dynamicTwoPhaseFlowPipe.C1.diff_on_2,dynamicTwoPhaseFlowPipe.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (584): * Single equations (assignments): 581 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(91,1577)} Notification: Performance of prepare postOptimizeDAE: time 0.01559/5.864, allocations: 3.604 MB / 1.977 GB, free: 264.5 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007151/5.872, allocations: 1.081 MB / 1.978 GB, free: 263.4 MB / 0.8263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2308/6.102, allocations: 79.41 MB / 2.056 GB, free: 190.5 MB / 0.8263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006294/6.103, allocations: 91.64 kB / 2.056 GB, free: 190.4 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002405/6.103, allocations: 59.97 kB / 2.056 GB, free: 190.4 MB / 0.8263 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01535/6.119, allocations: 5.226 MB / 2.061 GB, free: 185.1 MB / 0.8263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006657/6.125, allocations: 387.9 kB / 2.061 GB, free: 184.7 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02623/6.152, allocations: 3.332 MB / 2.065 GB, free: 181.4 MB / 0.8263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.009463/6.161, allocations: 2.066 MB / 2.067 GB, free: 179.3 MB / 0.8263 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/DAEMode.mo:528:7-530:90:writable] Error: Internal error DAEMode.traverserStrongComponents failed on equation: 1/1 (14): (dynamicTwoPhaseFlowPipe.lsat2[1], dynamicTwoPhaseFlowPipe.vsat2[1]) = ThermoSysPro.Properties.Fluid.Water_sat_P(0.5 * (dynamicTwoPhaseFlowPipe.P[1] + dynamicTwoPhaseFlowPipe.P[2]), dynamicTwoPhaseFlowPipe.fluid) Variables: 1: dynamicTwoPhaseFlowPipe.vsat2[1].cp:VARIABLE(unit = "J/(kg.K)" ) "Specific heat capacity at constant pressure" type: Real [31] 2: dynamicTwoPhaseFlowPipe.vsat2[1].T:VARIABLE(min = 0.0 start = 288.15 unit = "K" nominal = 300.0 ) "Temperature" type: Real [31] 3: dynamicTwoPhaseFlowPipe.lsat2[1].cp:VARIABLE(unit = "J/(kg.K)" ) "Specific heat capacity at constant pressure" type: Real [31] 4: dynamicTwoPhaseFlowPipe.vsat2[1].h:VARIABLE(unit = "J/kg" ) "Specific enthalpy" type: Real [31] 5: dynamicTwoPhaseFlowPipe.vsat2[1].rho:VARIABLE(min = 0.0 unit = "kg/m3" ) "Density" type: Real [31] 6: dynamicTwoPhaseFlowPipe.lsat2[1].h:VARIABLE(unit = "J/kg" ) "Specific enthalpy" type: Real [31] 7: dynamicTwoPhaseFlowPipe.vsat2[1].cv:VARIABLE(unit = "J/(kg.K)" ) "Specific heat capacity at constant volume" type: Real [31] 8: dynamicTwoPhaseFlowPipe.lsat2[1].pt:VARIABLE() "Derivative of pressure wrt. temperature" type: Real [31] 9: dynamicTwoPhaseFlowPipe.vsat2[1].P:VARIABLE(min = 0.0 unit = "Pa" nominal = 1e5 ) "Pressure" type: Real [31] 10: dynamicTwoPhaseFlowPipe.lsat2[1].T:VARIABLE(min = 0.0 start = 288.15 unit = "K" nominal = 300.0 ) "Temperature" type: Real [31] 11: dynamicTwoPhaseFlowPipe.lsat2[1].rho:VARIABLE(min = 0.0 unit = "kg/m3" ) "Density" type: Real [31] 12: dynamicTwoPhaseFlowPipe.vsat2[1].pt:VARIABLE() "Derivative of pressure wrt. temperature" type: Real [31] 13: dynamicTwoPhaseFlowPipe.lsat2[1].P:VARIABLE(min = 0.0 unit = "Pa" nominal = 1e5 ) "Pressure" type: Real [31] 14: dynamicTwoPhaseFlowPipe.lsat2[1].cv:VARIABLE(unit = "J/(kg.K)" ) "Specific heat capacity at constant volume" type: Real [31] [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/DAEMode.mo:528:7-530:90:writable] Error: Internal error DAEMode.traverserStrongComponents failed on equation: 1/1 (1): dynamicTwoPhaseFlowPipe.P[1] + (-dynamicTwoPhaseFlowPipe.dpf[1]) - dynamicTwoPhaseFlowPipe.P[2] - dynamicTwoPhaseFlowPipe.dpg[1] = 0.0 2/2 (1): dynamicTwoPhaseFlowPipe.dpg[1] = 9.80665 * dynamicTwoPhaseFlowPipe.rho2[1] * (dynamicTwoPhaseFlowPipe.z2 - dynamicTwoPhaseFlowPipe.z1) * dynamicTwoPhaseFlowPipe.dx2 / dynamicTwoPhaseFlowPipe.L 3/3 (1): dynamicTwoPhaseFlowPipe.rhov2[1] = if noEvent(dynamicTwoPhaseFlowPipe.P[2] > dynamicTwoPhaseFlowPipe.pcrit) or noEvent(dynamicTwoPhaseFlowPipe.T2[1] > dynamicTwoPhaseFlowPipe.Tcrit) then dynamicTwoPhaseFlowPipe.rho2[1] else min(dynamicTwoPhaseFlowPipe.rho2[1], dynamicTwoPhaseFlowPipe.vsat2[1].rho) 4/4 (1): dynamicTwoPhaseFlowPipe.muv2[1] = ThermoSysPro.Properties.Fluid.DynamicViscosity_rhoT(dynamicTwoPhaseFlowPipe.rhov2[1], dynamicTwoPhaseFlowPipe.T2[1], dynamicTwoPhaseFlowPipe.fluid) 5/5 (1): dynamicTwoPhaseFlowPipe.Rev2[1] = abs(4.0 * dynamicTwoPhaseFlowPipe.Q[1] / (3.141592653589793 * dynamicTwoPhaseFlowPipe.Di * dynamicTwoPhaseFlowPipe.muv2[1])) 6/6 (1): dynamicTwoPhaseFlowPipe.lambdav[1] = if noEvent(dynamicTwoPhaseFlowPipe.Rev2[1] > 1.0) then 0.25 / log10(13.0 / dynamicTwoPhaseFlowPipe.Rev2[1] + dynamicTwoPhaseFlowPipe.rugosrel / (3.7 * dynamicTwoPhaseFlowPipe.D)) ^ 2.0 else 0.01 7/7 (1): dynamicTwoPhaseFlowPipe.filo[1] = if noEvent(dynamicTwoPhaseFlowPipe.xv2[1] < 0.0) then 1.0 else if noEvent(dynamicTwoPhaseFlowPipe.xv2[1] >= 0.0) and noEvent(dynamicTwoPhaseFlowPipe.xv2[1] < 0.8) then 1.0 + /*Real*/(dynamicTwoPhaseFlowPipe.a) * dynamicTwoPhaseFlowPipe.xv2[1] * dynamicTwoPhaseFlowPipe.rgliss * exp((-1.1904761904761906e-7) * dynamicTwoPhaseFlowPipe.Pb[1]) / (19.0 + 1e-5 * dynamicTwoPhaseFlowPipe.Pb[1]) else (5.0 + (-5.0) * dynamicTwoPhaseFlowPipe.xv2[1] * dynamicTwoPhaseFlowPipe.rgliss) * (1.0 + /*Real*/(dynamicTwoPhaseFlowPipe.a) * dynamicTwoPhaseFlowPipe.xv2[1] * dynamicTwoPhaseFlowPipe.rgliss * exp((-1.1904761904761906e-7) * dynamicTwoPhaseFlowPipe.Pb[1]) / (19.0 + 1e-5 * dynamicTwoPhaseFlowPipe.Pb[1])) + (-4.0 + 5.0 * dynamicTwoPhaseFlowPipe.xv2[1] * dynamicTwoPhaseFlowPipe.rgliss) * dynamicTwoPhaseFlowPipe.rhol2[1] * dynamicTwoPhaseFlowPipe.lambdav[1] / (dynamicTwoPhaseFlowPipe.lambdal[1] * dynamicTwoPhaseFlowPipe.rhov2[1]) 8/8 (1): dynamicTwoPhaseFlowPipe.khi[1] = dynamicTwoPhaseFlowPipe.filo[1] * dynamicTwoPhaseFlowPipe.lambdal[1] * dynamicTwoPhaseFlowPipe.dx2 / dynamicTwoPhaseFlowPipe.D 9/9 (1): dynamicTwoPhaseFlowPipe.dpf[1] = 0.5 * dynamicTwoPhaseFlowPipe.dpfCorr * dynamicTwoPhaseFlowPipe.khi[1] * dynamicTwoPhaseFlowPipe.Q[1] * abs(dynamicTwoPhaseFlowPipe.Q[1]) / (dynamicTwoPhaseFlowPipe.A ^ 2.0 * dynamicTwoPhaseFlowPipe.rhol2[1]) 10/10 (1): dynamicTwoPhaseFlowPipe.rhol2[1] = if noEvent(dynamicTwoPhaseFlowPipe.P[2] > dynamicTwoPhaseFlowPipe.pcrit) or noEvent(dynamicTwoPhaseFlowPipe.T2[1] > dynamicTwoPhaseFlowPipe.Tcrit) then dynamicTwoPhaseFlowPipe.rho2[1] else max(dynamicTwoPhaseFlowPipe.rho2[1], dynamicTwoPhaseFlowPipe.lsat2[1].rho) 11/11 (1): dynamicTwoPhaseFlowPipe.mul2[1] = ThermoSysPro.Properties.Fluid.DynamicViscosity_rhoT(dynamicTwoPhaseFlowPipe.rhol2[1], dynamicTwoPhaseFlowPipe.T2[1], dynamicTwoPhaseFlowPipe.fluid) 12/12 (1): dynamicTwoPhaseFlowPipe.Rel2[1] = abs(4.0 * dynamicTwoPhaseFlowPipe.Q[1] / (3.141592653589793 * dynamicTwoPhaseFlowPipe.Di * dynamicTwoPhaseFlowPipe.mul2[1])) 13/13 (1): dynamicTwoPhaseFlowPipe.lambdal[1] = if noEvent(dynamicTwoPhaseFlowPipe.Rel2[1] > 1.0) then 0.25 / log10(13.0 / dynamicTwoPhaseFlowPipe.Rel2[1] + dynamicTwoPhaseFlowPipe.rugosrel / (3.7 * dynamicTwoPhaseFlowPipe.D)) ^ 2.0 else 0.01 14/14 (1): dynamicTwoPhaseFlowPipe.xv2[1] = if noEvent(0.5 * (dynamicTwoPhaseFlowPipe.P[1] + dynamicTwoPhaseFlowPipe.P[2]) > dynamicTwoPhaseFlowPipe.pcrit) or noEvent(dynamicTwoPhaseFlowPipe.T2[1] > dynamicTwoPhaseFlowPipe.Tcrit) then 1.0 else dynamicTwoPhaseFlowPipe.pro2[1].x 15/15 (1): $cse3 = min(dynamicTwoPhaseFlowPipe.P[1], dynamicTwoPhaseFlowPipe.pcrit - 1.0) 16/16 (1): dynamicTwoPhaseFlowPipe.Pb[1] = max($cse3, dynamicTwoPhaseFlowPipe.ptriple) 17/17 (10): $cse65 = ThermoSysPro.Properties.Fluid.Ph(0.5 * (dynamicTwoPhaseFlowPipe.P[1] + dynamicTwoPhaseFlowPipe.P[2]), dynamicTwoPhaseFlowPipe.hb[1], dynamicTwoPhaseFlowPipe.mode, dynamicTwoPhaseFlowPipe.fluid) 18/27 (10): ThermoSysPro.Properties.WaterSteam.Common.ThermoProperties_ph(dynamicTwoPhaseFlowPipe.T2[1], dynamicTwoPhaseFlowPipe.rho2[1], dynamicTwoPhaseFlowPipe.pro2[1].u, dynamicTwoPhaseFlowPipe.pro2[1].s, dynamicTwoPhaseFlowPipe.pro2[1].cp, dynamicTwoPhaseFlowPipe.pro2[1].ddhp, dynamicTwoPhaseFlowPipe.pro2[1].ddph, dynamicTwoPhaseFlowPipe.pro2[1].duph, dynamicTwoPhaseFlowPipe.pro2[1].duhp, dynamicTwoPhaseFlowPipe.pro2[1].x) = $cse65 19/37 (14): (dynamicTwoPhaseFlowPipe.lsat2[1], dynamicTwoPhaseFlowPipe.vsat2[1]) = ThermoSysPro.Properties.Fluid.Water_sat_P(0.5 * (dynamicTwoPhaseFlowPipe.P[1] + dynamicTwoPhaseFlowPipe.P[2]), dynamicTwoPhaseFlowPipe.fluid) Variables: 1: dynamicTwoPhaseFlowPipe.vsat2[1].cp:VARIABLE(unit = "J/(kg.K)" ) "Specific heat capacity at constant pressure" type: Real [31] 2: dynamicTwoPhaseFlowPipe.vsat2[1].T:VARIABLE(min = 0.0 start = 288.15 unit = "K" nominal = 300.0 ) "Temperature" type: Real [31] 3: dynamicTwoPhaseFlowPipe.lsat2[1].cp:VARIABLE(unit = "J/(kg.K)" ) "Specific heat capacity at constant pressure" type: Real [31] 4: dynamicTwoPhaseFlowPipe.vsat2[1].h:VARIABLE(unit = "J/kg" ) "Specific enthalpy" type: Real [31] 5: dynamicTwoPhaseFlowPipe.vsat2[1].rho:VARIABLE(min = 0.0 unit = "kg/m3" ) "Density" type: Real [31] 6: dynamicTwoPhaseFlowPipe.lsat2[1].h:VARIABLE(unit = "J/kg" ) "Specific enthalpy" type: Real [31] 7: dynamicTwoPhaseFlowPipe.vsat2[1].cv:VARIABLE(unit = "J/(kg.K)" ) "Specific heat capacity at constant volume" type: Real [31] 8: dynamicTwoPhaseFlowPipe.lsat2[1].pt:VARIABLE() "Derivative of pressure wrt. temperature" type: Real [31] 9: dynamicTwoPhaseFlowPipe.vsat2[1].P:VARIABLE(min = 0.0 unit = "Pa" nominal = 1e5 ) "Pressure" type: Real [31] 10: dynamicTwoPhaseFlowPipe.lsat2[1].T:VARIABLE(min = 0.0 start = 288.15 unit = "K" nominal = 300.0 ) "Temperature" type: Real [31] 11: dynamicTwoPhaseFlowPipe.lsat2[1].rho:VARIABLE(min = 0.0 unit = "kg/m3" ) "Density" type: Real [31] 12: dynamicTwoPhaseFlowPipe.vsat2[1].pt:VARIABLE() "Derivative of pressure wrt. temperature" type: Real [31] 13: dynamicTwoPhaseFlowPipe.lsat2[1].P:VARIABLE(min = 0.0 unit = "Pa" nominal = 1e5 ) "Pressure" type: Real [31] 14: dynamicTwoPhaseFlowPipe.lsat2[1].cv:VARIABLE(unit = "J/(kg.K)" ) "Specific heat capacity at constant volume" type: Real [31] 15: dynamicTwoPhaseFlowPipe.pro2[1].ddph:VARIABLE(unit = "s2/m2" ) "Derivative of density wrt. pressure at constant specific enthalpy" type: Real [31] 16: dynamicTwoPhaseFlowPipe.pro2[1].ddhp:VARIABLE(unit = "kg.s2/m5" ) "Derivative of density wrt. specific enthalpy at constant pressure" type: Real [31] 17: dynamicTwoPhaseFlowPipe.pro2[1].cp:VARIABLE(min = 1e-9 max = 1e60 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific heat capacity at constant presure" type: Real [31] 18: dynamicTwoPhaseFlowPipe.pro2[1].s:VARIABLE(min = -1e6 max = 1e6 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific entropy" type: Real [31] 19: dynamicTwoPhaseFlowPipe.pro2[1].u:VARIABLE(min = -1e8 max = 1e8 unit = "J/kg" nominal = 1e6 ) "Specific inner energy" type: Real [31] 20: $cse65.x:VARIABLE(protected = true ) type: Real unreplaceable 21: $cse65.ddph:VARIABLE(protected = true ) type: Real unreplaceable 22: dynamicTwoPhaseFlowPipe.Pb[1]:VARIABLE(min = 0.0 start = 1e5 unit = "Pa" nominal = 1e5 ) "Bounded fluid pressure in node i" type: Real [32] 23: $cse3:VARIABLE(protected = true ) type: Real unreplaceable 24: dynamicTwoPhaseFlowPipe.P[1]:VARIABLE(min = 0.0 start = 1.2512365778485337e7 unit = "Pa" nominal = 1e5 ) "Fluid pressure in node i" type: Real [32] 25: $cse65.s:VARIABLE(protected = true ) type: Real unreplaceable 26: $cse65.duph:VARIABLE(protected = true ) type: Real unreplaceable 27: $cse65.duhp:VARIABLE(protected = true ) type: Real unreplaceable 28: $cse65.ddhp:VARIABLE(protected = true ) type: Real unreplaceable 29: $cse65.u:VARIABLE(protected = true ) type: Real unreplaceable 30: $cse65.d:VARIABLE(protected = true ) type: Real unreplaceable 31: $cse65.T:VARIABLE(protected = true ) type: Real unreplaceable 32: $cse65.cp:VARIABLE(protected = true ) type: Real unreplaceable 33: dynamicTwoPhaseFlowPipe.pro2[1].x:VARIABLE(min = 0.0 max = 1.0 unit = "1" ) "Vapor mass fraction" type: Real [31] 34: dynamicTwoPhaseFlowPipe.pro2[1].duhp:VARIABLE(unit = "1" ) "Derivative of specific inner energy wrt. specific enthalpy at constant pressure" type: Real [31] 35: dynamicTwoPhaseFlowPipe.xv2[1]:VARIABLE() "Vapor mass fraction in hydraulic node i" type: Real [31] 36: dynamicTwoPhaseFlowPipe.T2[1]:VARIABLE(min = 200.0 max = 6000.0 start = 288.15 unit = "K" nominal = 300.0 ) "Fluid temperature in hydraulic node i" type: Real [31] 37: dynamicTwoPhaseFlowPipe.pro2[1].duph:VARIABLE(unit = "m3/kg" ) "Derivative of specific inner energy wrt. pressure at constant specific enthalpy" type: Real [31] 38: dynamicTwoPhaseFlowPipe.lambdal[1]:VARIABLE(start = 0.03 nominal = 0.03 ) "Friction pressure loss coefficient in node i for the liquid" type: Real [31] 39: dynamicTwoPhaseFlowPipe.Rel2[1]:VARIABLE(start = 6e4 unit = "1" nominal = 5000.0 ) "Reynolds number in hydraulic node i for the liquid" type: Real [31] 40: dynamicTwoPhaseFlowPipe.mul2[1]:VARIABLE(min = 0.0 start = 2e-4 unit = "Pa.s" nominal = 2e-4 ) "Dynamic viscosity in hydraulic node i for the liquid" type: Real [31] 41: dynamicTwoPhaseFlowPipe.rhol2[1]:VARIABLE(min = 0.0 start = 998.0 unit = "kg/m3" nominal = 998.0 ) "Fluid density in hydraulic node i for the liquid" type: Real [31] 42: dynamicTwoPhaseFlowPipe.dpf[1]:VARIABLE(unit = "Pa" ) "Friction pressure loss in node i" type: Real [31] 43: dynamicTwoPhaseFlowPipe.khi[1]:VARIABLE() "Hydraulic pressure loss coefficient in node i" type: Real [31] 44: dynamicTwoPhaseFlowPipe.filo[1]:VARIABLE() "Pressure loss coefficient for two-phase flow" type: Real [31] 45: dynamicTwoPhaseFlowPipe.lambdav[1]:VARIABLE(start = 0.03 nominal = 0.03 ) "Friction pressure loss coefficient in node i for the vapor)" type: Real [31] 46: dynamicTwoPhaseFlowPipe.Rev2[1]:VARIABLE(start = 1000.0 unit = "1" nominal = 5e5 ) "Reynolds number in hydraulic node i for the vapor" type: Real [31] 47: dynamicTwoPhaseFlowPipe.muv2[1]:VARIABLE(min = 0.0 start = 1e-5 unit = "Pa.s" nominal = 1e-4 ) "Dynamic viscosity in hydraulic node i for the vapor" type: Real [31] 48: dynamicTwoPhaseFlowPipe.rhov2[1]:VARIABLE(min = 0.0 start = 1.0 unit = "kg/m3" nominal = 1.0 ) "Fluid density in hydraulic node i for the vapor" type: Real [31] 49: dynamicTwoPhaseFlowPipe.rho2[1]:VARIABLE(min = 1e-9 max = 1e5 start = 998.0 unit = "kg/m3" nominal = 1.0 ) "Fluid density in hydraulic node i" type: Real [31] 50: dynamicTwoPhaseFlowPipe.dpg[1]:VARIABLE(unit = "Pa" ) "Gravity pressure loss in node i" type: Real [31] [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:9805:5-9806:77:writable] Error: Internal error BackendDAEUtil.traverseEqSystemStrongComponents failed with function: omc_DAEMode_traverserStrongComponents Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002867/6.164, allocations: 2.589 MB / 2.069 GB, free: 176.5 MB / 0.8263 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model ThermoSysPro.Fluid.Examples.Book.SimpleExamples.SolarCollector.TestFresnelField could not be translated