Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.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.Examples.Book.SimpleExamples.SolarCollector.TestFresnelField,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.SolarCollector.TestFresnelField") translateModel(ThermoSysPro.Examples.Book.SimpleExamples.SolarCollector.TestFresnelField,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.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.8114/0.8114, allocations: 150.9 MB / 167.2 MB, free: 14.3 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003284/0.0003284, allocations: 18.77 kB / 237.7 MB, free: 1.871 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05312/0.05346, allocations: 31.35 MB / 269.1 MB, free: 7.098 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.Examples.Book.SimpleExamples.SolarCollector.TestFresnelField): time 1.576/1.629, allocations: 296.6 MB / 0.5524 GB, free: 11.28 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.03127/1.66, allocations: 25.11 MB / 0.5769 GB, free: 2.07 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005382/1.661, allocations: 8 kB / 0.5769 GB, free: 2.062 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/HeatExchangers/DynamicTwoPhaseFlowPipe.mo:184:3-185:48:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/HeatExchangers/DynamicTwoPhaseFlowPipe.mo:188:3-189:46:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/SinkP.mo:33:3-34:47:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/SourceQ.mo:24:3-25:52:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0007453/1.662, allocations: 254.3 kB / 0.5772 GB, free: 1.812 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001209/1.663, allocations: 0.5479 MB / 0.5777 GB, free: 1.262 MB / 462.1 MB [/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. Notification: Performance of NFTyping.typeClassSections: time 0.01959/1.683, allocations: 7.916 MB / 0.5854 GB, free: 9.344 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.02039/1.703, allocations: 25.15 MB / 0.61 GB, free: 136 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01149/1.715, allocations: 8.695 MB / 0.6185 GB, free: 7.367 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0114/1.726, allocations: 8.337 MB / 0.6266 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01525/1.741, allocations: 9.526 MB / 0.6359 GB, free: 5.469 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.005377/1.747, allocations: 1.543 MB / 0.6374 GB, free: 3.926 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03532/1.782, allocations: 17.75 MB / 0.6548 GB, free: 2.152 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.009124/1.791, allocations: 6.091 MB / 0.6607 GB, free: 12.04 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.01541/1.807, allocations: 7.818 MB / 0.6684 GB, free: 4.195 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.035/1.842, allocations: 25.92 MB / 0.6937 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/1.842, allocations: 0 / 0.6937 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.204e-06/1.842, allocations: 0 / 0.6937 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0004604/1.842, allocations: 0 / 0.6937 GB, free: 10.21 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3588 * Number of variables: 3588 Notification: Performance of Generate backend data structure: time 0.09282/1.935, allocations: 20.77 MB / 0.714 GB, free: 5.348 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/1.935, allocations: 15.95 kB / 0.714 GB, free: 5.332 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005829/1.941, allocations: 1.206 MB / 0.7152 GB, free: 4.113 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3575/2.298, allocations: 4.702 MB / 0.7197 GB, free: 190.3 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00667/2.305, allocations: 5.066 MB / 0.7247 GB, free: 186.4 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005449/2.31, allocations: 0.891 MB / 0.7256 GB, free: 186.4 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06797/2.378, allocations: 26.85 MB / 0.7518 GB, free: 183.4 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004899/2.379, allocations: 3.875 kB / 0.7518 GB, free: 183.4 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005397/2.384, allocations: 346.9 kB / 0.7521 GB, free: 183.1 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003081/2.385, allocations: 379.7 kB / 0.7525 GB, free: 183 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08821/2.473, allocations: 36.65 MB / 0.7883 GB, free: 156.1 MB / 0.5919 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.1253/2.598, allocations: 69.04 MB / 0.8557 GB, free: 84.29 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.07256/2.671, allocations: 29.72 MB / 0.8847 GB, free: 54.49 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.04838/2.719, allocations: 22.07 MB / 0.9063 GB, free: 32.4 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3334/3.053, allocations: 70.75 MB / 0.9754 GB, free: 162.8 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001259/3.053, allocations: 194.6 kB / 0.9756 GB, free: 162.8 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=2995): time 2.017e-05/3.053, allocations: 0 / 0.9756 GB, free: 162.8 MB / 0.5919 GB Notification: Performance of matching and sorting (n=2995): time 0.6218/3.675, allocations: 142.9 MB / 1.115 GB, free: 35.82 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001741/3.675, allocations: 220.1 kB / 1.115 GB, free: 35.59 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001039/3.676, allocations: 0.7202 MB / 1.116 GB, free: 34.87 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.005584/3.682, allocations: 293.7 kB / 1.116 GB, free: 34.57 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005418/3.682, allocations: 1.097 MB / 1.117 GB, free: 33.5 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0107/3.693, allocations: 9.887 MB / 1.127 GB, free: 23.52 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01759/3.71, allocations: 3.623 MB / 1.131 GB, free: 19.89 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001178/3.711, allocations: 357.9 kB / 1.131 GB, free: 19.53 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.04775/3.758, allocations: 18.92 MB / 1.149 GB, free: 0.5898 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2708/4.029, allocations: 20.6 MB / 1.17 GB, free: 181 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.101/4.13, allocations: 38.88 MB / 1.208 GB, free: 174.7 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.897e-05/4.13, allocations: 0 / 1.208 GB, free: 174.7 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3123) (initialization): time 0.1856/4.316, allocations: 64.78 MB / 1.271 GB, free: 125.1 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.219e-05/4.316, allocations: 8 kB / 1.271 GB, free: 125.1 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002367/4.316, allocations: 67.97 kB / 1.271 GB, free: 125 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.9015/5.218, allocations: 321.2 MB / 1.584 GB, free: 8.754 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001164/5.219, allocations: 252.7 kB / 1.585 GB, free: 8.566 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4862/5.705, allocations: 83.48 MB / 1.666 GB, free: 183 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02629/5.731, allocations: 4.262 MB / 1.67 GB, free: 181.9 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006088/5.738, allocations: 0.7625 MB / 1.671 GB, free: 181.8 MB / 0.6232 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 4 (sourceP.C.b,sinkP.C.a,dynamicTwoPhaseFlowPipe.C2.b,dynamicTwoPhaseFlowPipe.C1.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (147): * Single equations (assignments): 143 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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,1517)} Notification: Performance of prepare postOptimizeDAE: time 0.01432/5.752, allocations: 2.989 MB / 1.674 GB, free: 180.6 MB / 0.6232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006563/5.759, allocations: 0.8981 MB / 1.675 GB, free: 180.1 MB / 0.6232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2677/6.026, allocations: 90.48 MB / 1.763 GB, free: 97.47 MB / 0.6232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006141/6.027, allocations: 79.69 kB / 1.763 GB, free: 97.39 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0003216/6.027, allocations: 55.97 kB / 1.763 GB, free: 97.34 MB / 0.6232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01491/6.042, allocations: 4.659 MB / 1.768 GB, free: 92.64 MB / 0.6232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006833/6.049, allocations: 355.8 kB / 1.768 GB, free: 92.29 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02811/6.077, allocations: 3.137 MB / 1.771 GB, free: 89.15 MB / 0.6232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.009295/6.086, allocations: 1.498 MB / 1.773 GB, free: 87.64 MB / 0.6232 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 (10): ThermoSysPro.Properties.WaterSteam.Common.ThermoProperties_ph(dynamicTwoPhaseFlowPipe.T2[2], dynamicTwoPhaseFlowPipe.rho2[2], dynamicTwoPhaseFlowPipe.pro2[2].u, dynamicTwoPhaseFlowPipe.pro2[2].s, dynamicTwoPhaseFlowPipe.pro2[2].cp, dynamicTwoPhaseFlowPipe.pro2[2].ddhp, dynamicTwoPhaseFlowPipe.pro2[2].ddph, dynamicTwoPhaseFlowPipe.pro2[2].duph, dynamicTwoPhaseFlowPipe.pro2[2].duhp, dynamicTwoPhaseFlowPipe.pro2[2].x) = $cse35 Variables: 1: dynamicTwoPhaseFlowPipe.pro2[2].x:VARIABLE(min = 0.0 max = 1.0 unit = "1" ) "Vapor mass fraction" type: Real [31] 2: dynamicTwoPhaseFlowPipe.pro2[2].cp:VARIABLE(min = 1e-9 max = 1e60 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific heat capacity at constant presure" type: Real [31] 3: dynamicTwoPhaseFlowPipe.pro2[2].ddhp:VARIABLE(unit = "kg.s2/m5" ) "Derivative of density wrt. specific enthalpy at constant pressure" type: Real [31] 4: dynamicTwoPhaseFlowPipe.pro2[2].duph:VARIABLE(unit = "m3/kg" ) "Derivative of specific inner energy wrt. pressure at constant specific enthalpy" type: Real [31] 5: dynamicTwoPhaseFlowPipe.pro2[2].s:VARIABLE(min = -1e6 max = 1e6 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific entropy" type: Real [31] 6: dynamicTwoPhaseFlowPipe.pro2[2].u:VARIABLE(min = -1e8 max = 1e8 unit = "J/kg" nominal = 1e6 ) "Specific inner energy" type: Real [31] 7: dynamicTwoPhaseFlowPipe.T2[2]:VARIABLE(min = 200.0 max = 6000.0 start = 288.15 unit = "K" nominal = 300.0 ) "Fluid temperature in hydraulic node i" type: Real [31] 8: dynamicTwoPhaseFlowPipe.pro2[2].ddph:VARIABLE(unit = "s2/m2" ) "Derivative of density wrt. pressure at constant specific enthalpy" type: Real [31] 9: dynamicTwoPhaseFlowPipe.pro2[2].duhp:VARIABLE(unit = "1" ) "Derivative of specific inner energy wrt. specific enthalpy at constant pressure" type: Real [31] 10: $cse35.duhp:VARIABLE(protected = true ) type: Real unreplaceable [/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.rhov2[2] = if noEvent(dynamicTwoPhaseFlowPipe.P[3] > dynamicTwoPhaseFlowPipe.pcrit) or noEvent(dynamicTwoPhaseFlowPipe.T2[2] > dynamicTwoPhaseFlowPipe.Tcrit) then dynamicTwoPhaseFlowPipe.rho2[2] else min(dynamicTwoPhaseFlowPipe.rho2[2], dynamicTwoPhaseFlowPipe.vsat2[2].rho) 2/2 (1): dynamicTwoPhaseFlowPipe.muv2[2] = ThermoSysPro.Properties.WaterSteam.IF97.DynamicViscosity_rhoT(dynamicTwoPhaseFlowPipe.rhov2[2], dynamicTwoPhaseFlowPipe.T2[2]) 3/3 (1): dynamicTwoPhaseFlowPipe.Rev2[2] = abs(4.0 * dynamicTwoPhaseFlowPipe.Q[2] / (3.141592653589793 * dynamicTwoPhaseFlowPipe.Di * dynamicTwoPhaseFlowPipe.muv2[2])) 4/4 (1): dynamicTwoPhaseFlowPipe.lambdav[2] = if noEvent(dynamicTwoPhaseFlowPipe.Rev2[2] > 1.0) then 0.25 / log10(13.0 / dynamicTwoPhaseFlowPipe.Rev2[2] + dynamicTwoPhaseFlowPipe.rugosrel / (3.7 * dynamicTwoPhaseFlowPipe.D)) ^ 2.0 else 0.01 5/5 (1): dynamicTwoPhaseFlowPipe.filo[2] = if noEvent(dynamicTwoPhaseFlowPipe.xv2[2] < 0.0) then 1.0 else if noEvent(dynamicTwoPhaseFlowPipe.xv2[2] >= 0.0) and noEvent(dynamicTwoPhaseFlowPipe.xv2[2] < 0.8) then 1.0 + /*Real*/(dynamicTwoPhaseFlowPipe.a) * dynamicTwoPhaseFlowPipe.xv2[2] * dynamicTwoPhaseFlowPipe.rgliss * exp((-1.1904761904761906e-7) * dynamicTwoPhaseFlowPipe.Pb[2]) / (19.0 + 1e-5 * dynamicTwoPhaseFlowPipe.Pb[2]) else (5.0 + (-5.0) * dynamicTwoPhaseFlowPipe.xv2[2] * dynamicTwoPhaseFlowPipe.rgliss) * (1.0 + /*Real*/(dynamicTwoPhaseFlowPipe.a) * dynamicTwoPhaseFlowPipe.xv2[2] * dynamicTwoPhaseFlowPipe.rgliss * exp((-1.1904761904761906e-7) * dynamicTwoPhaseFlowPipe.Pb[2]) / (19.0 + 1e-5 * dynamicTwoPhaseFlowPipe.Pb[2])) + (-4.0 + 5.0 * dynamicTwoPhaseFlowPipe.xv2[2] * dynamicTwoPhaseFlowPipe.rgliss) * dynamicTwoPhaseFlowPipe.rhol2[2] * dynamicTwoPhaseFlowPipe.lambdav[2] / (dynamicTwoPhaseFlowPipe.lambdal[2] * dynamicTwoPhaseFlowPipe.rhov2[2]) 6/6 (1): dynamicTwoPhaseFlowPipe.khi[2] = dynamicTwoPhaseFlowPipe.filo[2] * dynamicTwoPhaseFlowPipe.lambdal[2] * dynamicTwoPhaseFlowPipe.dx2 / dynamicTwoPhaseFlowPipe.D 7/7 (1): dynamicTwoPhaseFlowPipe.dpf[2] = 0.5 * dynamicTwoPhaseFlowPipe.dpfCorr * dynamicTwoPhaseFlowPipe.khi[2] * dynamicTwoPhaseFlowPipe.Q[2] * abs(dynamicTwoPhaseFlowPipe.Q[2]) / (dynamicTwoPhaseFlowPipe.A ^ 2.0 * dynamicTwoPhaseFlowPipe.rhol2[2]) 8/8 (1): dynamicTwoPhaseFlowPipe.mul2[2] = ThermoSysPro.Properties.WaterSteam.IF97.DynamicViscosity_rhoT(dynamicTwoPhaseFlowPipe.rhol2[2], dynamicTwoPhaseFlowPipe.T2[2]) 9/9 (1): dynamicTwoPhaseFlowPipe.Rel2[2] = abs(4.0 * dynamicTwoPhaseFlowPipe.Q[2] / (3.141592653589793 * dynamicTwoPhaseFlowPipe.Di * dynamicTwoPhaseFlowPipe.mul2[2])) 10/10 (1): dynamicTwoPhaseFlowPipe.lambdal[2] = if noEvent(dynamicTwoPhaseFlowPipe.Rel2[2] > 1.0) then 0.25 / log10(13.0 / dynamicTwoPhaseFlowPipe.Rel2[2] + dynamicTwoPhaseFlowPipe.rugosrel / (3.7 * dynamicTwoPhaseFlowPipe.D)) ^ 2.0 else 0.01 11/11 (1): dynamicTwoPhaseFlowPipe.rhol2[2] = if noEvent(dynamicTwoPhaseFlowPipe.P[3] > dynamicTwoPhaseFlowPipe.pcrit) or noEvent(dynamicTwoPhaseFlowPipe.T2[2] > dynamicTwoPhaseFlowPipe.Tcrit) then dynamicTwoPhaseFlowPipe.rho2[2] else max(dynamicTwoPhaseFlowPipe.rho2[2], dynamicTwoPhaseFlowPipe.lsat2[2].rho) 12/12 (1): dynamicTwoPhaseFlowPipe.dpg[2] = 9.80665 * dynamicTwoPhaseFlowPipe.rho2[2] * (dynamicTwoPhaseFlowPipe.z2 - dynamicTwoPhaseFlowPipe.z1) * dynamicTwoPhaseFlowPipe.dx2 / dynamicTwoPhaseFlowPipe.L 13/13 (1): dynamicTwoPhaseFlowPipe.P[2] + (-dynamicTwoPhaseFlowPipe.dpf[2]) - dynamicTwoPhaseFlowPipe.P[3] - dynamicTwoPhaseFlowPipe.dpg[2] = 0.0 14/14 (10): $cse35 = ThermoSysPro.Properties.WaterSteam.IF97.Water_Ph(0.5 * (dynamicTwoPhaseFlowPipe.P[2] + dynamicTwoPhaseFlowPipe.P[3]), dynamicTwoPhaseFlowPipe.hb[2], 0) 15/24 (10): ThermoSysPro.Properties.WaterSteam.Common.ThermoProperties_ph(dynamicTwoPhaseFlowPipe.T2[2], dynamicTwoPhaseFlowPipe.rho2[2], dynamicTwoPhaseFlowPipe.pro2[2].u, dynamicTwoPhaseFlowPipe.pro2[2].s, dynamicTwoPhaseFlowPipe.pro2[2].cp, dynamicTwoPhaseFlowPipe.pro2[2].ddhp, dynamicTwoPhaseFlowPipe.pro2[2].ddph, dynamicTwoPhaseFlowPipe.pro2[2].duph, dynamicTwoPhaseFlowPipe.pro2[2].duhp, dynamicTwoPhaseFlowPipe.pro2[2].x) = $cse35 16/34 (1): dynamicTwoPhaseFlowPipe.xv2[2] = if noEvent(0.5 * (dynamicTwoPhaseFlowPipe.P[2] + dynamicTwoPhaseFlowPipe.P[3]) > dynamicTwoPhaseFlowPipe.pcrit) or noEvent(dynamicTwoPhaseFlowPipe.T2[2] > dynamicTwoPhaseFlowPipe.Tcrit) then 1.0 else dynamicTwoPhaseFlowPipe.pro2[2].x 17/35 (1): 0.0 = if noEvent(dynamicTwoPhaseFlowPipe.Q[2] > dynamicTwoPhaseFlowPipe.Qeps) then dynamicTwoPhaseFlowPipe.hb[2] - dynamicTwoPhaseFlowPipe.h[2] else if noEvent(dynamicTwoPhaseFlowPipe.Q[2] < (-dynamicTwoPhaseFlowPipe.Qeps)) then dynamicTwoPhaseFlowPipe.hb[2] - dynamicTwoPhaseFlowPipe.h[3] else dynamicTwoPhaseFlowPipe.hb[2] - 0.5 * ((dynamicTwoPhaseFlowPipe.h[2] - dynamicTwoPhaseFlowPipe.h[3]) * sin(1.5707963267948966 * dynamicTwoPhaseFlowPipe.Q[2] / dynamicTwoPhaseFlowPipe.Qeps) + dynamicTwoPhaseFlowPipe.h[3] + dynamicTwoPhaseFlowPipe.h[2]) Variables: 1: dynamicTwoPhaseFlowPipe.Q[2]:VARIABLE(start = 10.0 unit = "kg/s" nominal = 10.0 ) "Mass flow rate in node i" type: Real [31] 2: dynamicTwoPhaseFlowPipe.xv2[2]:VARIABLE() "Vapor mass fraction in hydraulic node i" type: Real [31] 3: dynamicTwoPhaseFlowPipe.pro2[2].x:VARIABLE(min = 0.0 max = 1.0 unit = "1" ) "Vapor mass fraction" type: Real [31] 4: dynamicTwoPhaseFlowPipe.pro2[2].cp:VARIABLE(min = 1e-9 max = 1e60 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific heat capacity at constant presure" type: Real [31] 5: dynamicTwoPhaseFlowPipe.pro2[2].ddhp:VARIABLE(unit = "kg.s2/m5" ) "Derivative of density wrt. specific enthalpy at constant pressure" type: Real [31] 6: dynamicTwoPhaseFlowPipe.pro2[2].duph:VARIABLE(unit = "m3/kg" ) "Derivative of specific inner energy wrt. pressure at constant specific enthalpy" type: Real [31] 7: dynamicTwoPhaseFlowPipe.pro2[2].s:VARIABLE(min = -1e6 max = 1e6 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific entropy" type: Real [31] 8: dynamicTwoPhaseFlowPipe.pro2[2].u:VARIABLE(min = -1e8 max = 1e8 unit = "J/kg" nominal = 1e6 ) "Specific inner energy" type: Real [31] 9: dynamicTwoPhaseFlowPipe.T2[2]:VARIABLE(min = 200.0 max = 6000.0 start = 288.15 unit = "K" nominal = 300.0 ) "Fluid temperature in hydraulic node i" type: Real [31] 10: dynamicTwoPhaseFlowPipe.pro2[2].ddph:VARIABLE(unit = "s2/m2" ) "Derivative of density wrt. pressure at constant specific enthalpy" type: Real [31] 11: dynamicTwoPhaseFlowPipe.pro2[2].duhp:VARIABLE(unit = "1" ) "Derivative of specific inner energy wrt. specific enthalpy at constant pressure" type: Real [31] 12: $cse35.duhp:VARIABLE(protected = true ) type: Real unreplaceable 13: $cse35.duph:VARIABLE(protected = true ) type: Real unreplaceable 14: $cse35.s:VARIABLE(protected = true ) type: Real unreplaceable 15: dynamicTwoPhaseFlowPipe.hb[2]:VARIABLE(unit = "J/kg" ) "Fluid specific enthalpy at the boundary of node i" type: Real [31] 16: $cse35.x:VARIABLE(protected = true ) type: Real unreplaceable 17: $cse35.ddhp:VARIABLE(protected = true ) type: Real unreplaceable 18: $cse35.T:VARIABLE(protected = true ) type: Real unreplaceable 19: $cse35.u:VARIABLE(protected = true ) type: Real unreplaceable 20: $cse35.cp:VARIABLE(protected = true ) type: Real unreplaceable 21: $cse35.d:VARIABLE(protected = true ) type: Real unreplaceable 22: $cse35.ddph:VARIABLE(protected = true ) type: Real unreplaceable 23: dynamicTwoPhaseFlowPipe.dpf[2]:VARIABLE(unit = "Pa" ) "Friction pressure loss in node i" type: Real [31] 24: dynamicTwoPhaseFlowPipe.dpg[2]:VARIABLE(unit = "Pa" ) "Gravity pressure loss in node i" type: Real [31] 25: dynamicTwoPhaseFlowPipe.rho2[2]:VARIABLE(min = 1e-9 max = 1e5 start = 998.0 unit = "kg/m3" nominal = 1.0 ) "Fluid density in hydraulic node i" type: Real [31] 26: dynamicTwoPhaseFlowPipe.lambdal[2]:VARIABLE(start = 0.03 nominal = 0.03 ) "Friction pressure loss coefficient in node i for the liquid" type: Real [31] 27: dynamicTwoPhaseFlowPipe.Rel2[2]:VARIABLE(start = 6e4 unit = "1" nominal = 5000.0 ) "Reynolds number in hydraulic node i for the liquid" type: Real [31] 28: dynamicTwoPhaseFlowPipe.mul2[2]: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] 29: dynamicTwoPhaseFlowPipe.rhol2[2]: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] 30: dynamicTwoPhaseFlowPipe.khi[2]:VARIABLE() "Hydraulic pressure loss coefficient in node i" type: Real [31] 31: dynamicTwoPhaseFlowPipe.filo[2]:VARIABLE() "Pressure loss coefficient for two-phase flow" type: Real [31] 32: dynamicTwoPhaseFlowPipe.lambdav[2]:VARIABLE(start = 0.03 nominal = 0.03 ) "Friction pressure loss coefficient in node i for the vapor)" type: Real [31] 33: dynamicTwoPhaseFlowPipe.Rev2[2]:VARIABLE(start = 1000.0 unit = "1" nominal = 5e5 ) "Reynolds number in hydraulic node i for the vapor" type: Real [31] 34: dynamicTwoPhaseFlowPipe.muv2[2]: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] 35: dynamicTwoPhaseFlowPipe.rhov2[2]: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] [/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.01093/6.097, allocations: 4.098 MB / 1.777 GB, free: 83.46 MB / 0.6232 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model ThermoSysPro.Examples.Book.SimpleExamples.SolarCollector.TestFresnelField could not be translated