Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pipe.volume.medium.h|pipe.volume.medium.p|m_flow_initial",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization") translateModel(ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pipe.volume.medium.h|pipe.volume.medium.p|m_flow_initial",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001574/0.001574, allocations: 200.6 kB / 16.76 MB, free: 4.898 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.361/1.361, allocations: 226.5 MB / 244 MB, free: 6.5 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007483/0.0007483, allocations: 96.38 kB / 296.1 MB, free: 6.688 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3256/0.3256, allocations: 44.82 MB / 392.9 MB, free: 35.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002836/0.0002837, allocations: 8.219 kB / 465.9 MB, free: 12.68 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.334/0.3342, allocations: 62.95 MB / 0.5165 GB, free: 37.29 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization): time 0.04653/0.3808, allocations: 61.03 MB / 0.5761 GB, free: 9.469 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.03763/0.4185, allocations: 29.06 MB / 0.6045 GB, free: 15.2 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002348/0.4209, allocations: 51.56 kB / 0.6045 GB, free: 15.15 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002127/0.4231, allocations: 0.5281 MB / 0.605 GB, free: 14.62 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.01743/0.4405, allocations: 5.482 MB / 0.6104 GB, free: 9.141 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01152/0.4521, allocations: 3.561 MB / 0.6139 GB, free: 5.586 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.005631/0.4577, allocations: 4.065 MB / 0.6178 GB, free: 1.512 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001686/0.4594, allocations: 0.7278 MB / 0.6186 GB, free: 0.7695 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.07919/0.5387, allocations: 51.14 MB / 0.6685 GB, free: 13.6 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.3095/0.8482, allocations: 26.19 MB / 0.6941 GB, free: 73.72 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004344/0.8487, allocations: 64.44 kB / 0.6941 GB, free: 73.72 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01841/0.8671, allocations: 8.717 MB / 0.7026 GB, free: 73.7 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008937/0.868, allocations: 391.5 kB / 0.703 GB, free: 73.7 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001072/0.8691, allocations: 0.7048 MB / 0.7037 GB, free: 73.67 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009459/0.8786, allocations: 5.012 MB / 0.7086 GB, free: 73.53 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.8786, allocations: 0 / 0.7086 GB, free: 73.53 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.116e-06/0.8786, allocations: 2.062 kB / 0.7086 GB, free: 73.53 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.631e-05/0.8787, allocations: 2.844 kB / 0.7086 GB, free: 73.53 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 247 * Number of variables: 247 Notification: Performance of Generate backend data structure: time 0.00751/0.8862, allocations: 2.363 MB / 0.7109 GB, free: 72.36 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.8863, allocations: 11.91 kB / 0.7109 GB, free: 72.36 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002971/0.8893, allocations: 475.2 kB / 0.7114 GB, free: 72.28 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001598/0.8909, allocations: 0.9732 MB / 0.7123 GB, free: 71.73 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001249/0.891, allocations: 144.3 kB / 0.7125 GB, free: 71.62 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001525/0.8912, allocations: 95.02 kB / 0.7126 GB, free: 71.56 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003331/0.8945, allocations: 1.882 MB / 0.7144 GB, free: 70.17 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.747e-05/0.8946, allocations: 7 kB / 0.7144 GB, free: 70.17 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001209/0.8947, allocations: 46.11 kB / 0.7144 GB, free: 70.15 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.864e-05/0.8948, allocations: 74.97 kB / 0.7145 GB, free: 70.09 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003331/0.8981, allocations: 1.797 MB / 0.7163 GB, free: 68.87 MB / 490.7 MB 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.008755/0.9069, allocations: 8.55 MB / 0.7246 GB, free: 61.32 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00275/0.9096, allocations: 1.42 MB / 0.726 GB, free: 60.18 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007889/0.9105, allocations: 0.5143 MB / 0.7265 GB, free: 59.84 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1123/1.023, allocations: 71.15 MB / 0.796 GB, free: 13.01 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002784/1.026, allocations: 0.8938 MB / 0.7969 GB, free: 12.3 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=82): time 5.45e-06/1.026, allocations: 0 / 0.7969 GB, free: 12.3 MB / 0.5105 GB Notification: Performance of matching and sorting (n=86): time 0.01333/1.039, allocations: 4.626 MB / 0.8014 GB, free: 8.559 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000186/1.039, allocations: 405.6 kB / 0.8018 GB, free: 8.074 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001678/1.041, allocations: 1.052 MB / 0.8028 GB, free: 7.289 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001126/1.041, allocations: 42.58 kB / 0.8028 GB, free: 7.254 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004861/1.041, allocations: 0.5728 MB / 0.8034 GB, free: 6.875 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003288/1.042, allocations: 299.6 kB / 0.8037 GB, free: 6.625 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.189e-05/1.042, allocations: 28.06 kB / 0.8037 GB, free: 6.617 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001397/1.042, allocations: 355 kB / 0.804 GB, free: 6.285 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001185/1.043, allocations: 0.5405 MB / 0.8046 GB, free: 5.941 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00152/1.045, allocations: 1.036 MB / 0.8056 GB, free: 4.93 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002603/1.047, allocations: 1.565 MB / 0.8071 GB, free: 3.695 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-05/1.047, allocations: 4 kB / 0.8071 GB, free: 3.691 MB / 0.5105 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.004114/1.052, allocations: 1.95 MB / 0.809 GB, free: 2.418 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005037/1.052, allocations: 0.5038 MB / 0.8095 GB, free: 1.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.275e-05/1.052, allocations: 14.95 kB / 0.8095 GB, free: 1.758 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006141/1.058, allocations: 1.171 MB / 0.8107 GB, free: 0.7148 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001086/1.059, allocations: 258.5 kB / 0.8109 GB, free: 0.4922 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002386/1.062, allocations: 1.499 MB / 0.8124 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001649/1.063, allocations: 130.3 kB / 0.8125 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002745/1.064, allocations: 73.41 kB / 0.8126 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/1.064, allocations: 4 kB / 0.8126 GB, free: 15.19 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004072/1.068, allocations: 1.706 MB / 0.8142 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.774e-05/1.068, allocations: 12 kB / 0.8143 GB, free: 14.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00166/1.07, allocations: 399.9 kB / 0.8146 GB, free: 13.78 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001115/1.071, allocations: 289.1 kB / 0.8149 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001493/1.072, allocations: 1.075 MB / 0.816 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001362/1.074, allocations: 129.3 kB / 0.8161 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001571/1.074, allocations: 69.8 kB / 0.8162 GB, free: 12.48 MB / 0.5261 GB Warning: Assuming fixed start value for the following 1 variables: m_flow_initial:DISCRETE(unit = "kg/s" fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 64 * Number of states: 0 () * Number of discrete variables: 19 (source.medium.phase,$PRE.m_flow_initial,m_flow_initial,$whenCondition2,$whenCondition1,valve.state_b.phase,valve.state_a.phase,pipe.staticPipe2.flowModel.states[2].phase,pipe.staticPipe2.flowModel.states[1].phase,pipe.staticPipe1.flowModel.states[2].phase,pipe.staticPipe1.flowModel.states[1].phase,pipe.volume.regularFlow[1],pipe.volume.regularFlow[2],pipe.volume.heatTransfer.states[1].phase,pipe.volume.inFlow[2],pipe.volume.inFlow[1],sink.state.phase,sink.medium.phase,source.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (125): * Single equations (assignments): 124 * Array equations: 0 * Algorithm blocks: 0 * 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 {3 35} Notification: Performance of prepare postOptimizeDAE: time 0.0009161/1.075, allocations: 466.5 kB / 0.8166 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000308/1.075, allocations: 118.6 kB / 0.8167 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005398/1.08, allocations: 4.074 MB / 0.8207 GB, free: 9.355 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.71e-05/1.08, allocations: 3.984 kB / 0.8207 GB, free: 9.352 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/1.081, allocations: 4 kB / 0.8207 GB, free: 9.348 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008903/1.081, allocations: 0.5219 MB / 0.8212 GB, free: 8.922 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003323/1.082, allocations: 24.44 kB / 0.8212 GB, free: 8.914 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001044/1.083, allocations: 113.2 kB / 0.8213 GB, free: 8.82 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001849/1.083, allocations: 80.78 kB / 0.8214 GB, free: 8.754 MB / 0.5261 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/DAEMode.mo:522:7-524:90:writable] Error: Internal error DAEMode.traverserStrongComponents failed on equation: 1/1 (1): $cse13 = ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization.pipe.staticPipe2.flowModel.WallFriction.massFlowRate_dp_staticHead(pipe.staticPipe2.flowModel.dps_fg[1], pipe.staticPipe2.flowModel.rhos[1], pipe.staticPipe2.flowModel.rhos[2], pipe.staticPipe2.flowModel.mus[1], pipe.staticPipe2.flowModel.mus[2], pipe.staticPipe2.length, pipe.staticPipe2.flowModel.diameters[1], pipe.staticPipe2.flowModel.g * pipe.staticPipe2.flowModel.dheights[1], pipe.staticPipe2.crossArea, pipe.staticPipe2.roughness, pipe.staticPipe2.flowModel.dp_small, 4000.0) 2/2 (1): valve.m_flow = $cse13 * pipe.staticPipe2.flowModel.nParallel 3/3 (1): valve.m_flow = $cse16 * valve.Av * valve.Y * $cse17 4/4 (1): $cse17 = Modelica.Fluid.Utilities.regRoot2(valve.p * valve.xs, valve.dp_turbulent, valve.state_a.d, valve.state_b.d, false, 1.0) 5/5 (1): valve.dp_turbulent = max(valve.dp_small, 6283185.307179586 * ($cse23 + $cse24) ^ 2.0 / ($cse25 * valve.Av * valve.Y * (valve.state_a.d + valve.state_b.d))) 6/6 (1): $cse23 = Modelica.Media.Water.IF97_Utilities.dynamicViscosity(valve.state_a.d, valve.state_a.T, valve.port_a.p, 0, true) 7/7 (16): $cse12 = Modelica.Media.Water.IF97_Utilities.waterBaseProp_ph(valve.port_a.p, sink.ports[1].h_outflow, 0, 0) 8/23 (1): pipe.staticPipe2.flowModel.rhos[2] = $cse12.rho 9/24 (1): pipe.staticPipe2.flowModel.mus[2] = Modelica.Media.Water.IF97_Utilities.dynamicViscosity(pipe.staticPipe2.flowModel.rhos[2], pipe.staticPipe2.flowModel.states[2].T, valve.port_a.p, 0, true) 10/25 (1): pipe.staticPipe2.flowModel.states[2].T = $cse12.T 11/26 (1): valve.p = max(valve.port_a.p, sink.p) 12/27 (1): valve.x = valve.dp / valve.p 13/28 (1): $cse15 = min(valve.x, valve.Fxt) 14/29 (1): valve.xs = max(-valve.Fxt, $cse15) 15/30 (1): valve.Y = 1.0 + (-0.3333333333333333) * abs(valve.xs) / valve.Fxt 16/31 (16): $cse18 = Modelica.Media.Water.IF97_Utilities.waterBaseProp_ph(valve.port_a.p, pipe.port_b.h_outflow, 0, 0) 17/47 (1): valve.state_a.d = $cse18.rho 18/48 (1): valve.state_a.T = $cse18.T 19/49 (1): valve.dp = valve.port_a.p - sink.p 20/50 (1): pipe.staticPipe2.flowModel.Fs_p[1] = pipe.staticPipe2.flowModel.nParallel * pipe.staticPipe2.crossArea * (valve.port_a.p - pipe.volume.medium.p) 21/51 (1): pipe.staticPipe2.flowModel.dps_fg[1] = (-2.0) * pipe.staticPipe2.flowModel.Fs_p[1] / (2.0 * pipe.staticPipe2.crossArea * pipe.staticPipe2.flowModel.nParallel) Variables: 1: pipe.staticPipe2.flowModel.dps_fg[1]:VARIABLE(start = pipe.staticPipe2.flowModel.p_a_start - pipe.staticPipe2.flowModel.p_b_start unit = "Pa" ) "Pressure drop between states" type: Real [1] 2: pipe.staticPipe2.flowModel.Fs_p[1]:VARIABLE(unit = "N" ) "Pressure forces" type: Real [1] 3: valve.dp:VARIABLE(start = valve.dp_start unit = "Pa" ) "Pressure difference between port_a and port_b (= port_a.p - port_b.p)" type: Real 4: valve.state_a.T:VARIABLE(min = 273.15 max = 2273.15 start = 500.0 unit = "K" nominal = 500.0 protected = true ) "Temperature" type: Real 5: valve.state_a.d:VARIABLE(min = 0.0 max = 100000.0 start = 150.0 unit = "kg/m3" nominal = 500.0 protected = true ) "Density" type: Real 6: $cse18.rho:VARIABLE(protected = true ) type: Real unreplaceable 7: $cse18.vp:VARIABLE(protected = true ) type: Real unreplaceable 8: $cse18.region:DISCRETE(protected = true ) type: Integer unreplaceable 9: $cse18.s:VARIABLE(protected = true ) type: Real unreplaceable 10: $cse18.dpT:VARIABLE(protected = true ) type: Real unreplaceable 11: $cse18.T:VARIABLE(protected = true ) type: Real unreplaceable 12: $cse18.vt:VARIABLE(protected = true ) type: Real unreplaceable 13: $cse18.cp:VARIABLE(protected = true ) type: Real unreplaceable 14: $cse18.h:VARIABLE(protected = true ) type: Real unreplaceable 15: $cse18.cv:VARIABLE(protected = true ) type: Real unreplaceable 16: $cse18.phase:DISCRETE(protected = true ) type: Integer unreplaceable 17: $cse18.x:VARIABLE(protected = true ) type: Real unreplaceable 18: $cse18.R_s:VARIABLE(protected = true ) type: Real unreplaceable 19: $cse18.p:VARIABLE(protected = true ) type: Real unreplaceable 20: $cse18.pt:VARIABLE(protected = true ) type: Real unreplaceable 21: $cse18.pd:VARIABLE(protected = true ) type: Real unreplaceable 22: valve.Y:VARIABLE() "Compressibility factor" type: Real 23: valve.xs:VARIABLE() "Saturated pressure drop ratio" type: Real 24: $cse15:VARIABLE(protected = true ) type: Real unreplaceable 25: valve.x:VARIABLE() "Pressure drop ratio" type: Real 26: valve.p:VARIABLE(min = 611.657 max = 100000000.0 start = 5000000.0 unit = "Pa" nominal = 1000000.0 ) "Inlet pressure" type: Real 27: pipe.staticPipe2.flowModel.states[2].T:VARIABLE(min = 273.15 max = 2273.15 start = 500.0 unit = "K" nominal = 500.0 ) "Temperature" type: Real [2] 28: pipe.staticPipe2.flowModel.mus[2]:VARIABLE(min = 0.0 max = 100000000.0 start = 0.001 unit = "Pa.s" nominal = 0.001 ) type: Real [2] 29: pipe.staticPipe2.flowModel.rhos[2]:VARIABLE(min = 0.0 max = 100000.0 start = 150.0 unit = "kg/m3" nominal = 500.0 ) type: Real [2] 30: $cse12.dpT:VARIABLE(protected = true ) type: Real unreplaceable 31: $cse12.region:DISCRETE(protected = true ) type: Integer unreplaceable 32: $cse12.phase:DISCRETE(protected = true ) type: Integer unreplaceable 33: $cse12.rho:VARIABLE(protected = true ) type: Real unreplaceable 34: $cse12.h:VARIABLE(protected = true ) type: Real unreplaceable 35: $cse12.p:VARIABLE(protected = true ) type: Real unreplaceable 36: $cse12.s:VARIABLE(protected = true ) type: Real unreplaceable 37: $cse12.vp:VARIABLE(protected = true ) type: Real unreplaceable 38: $cse12.T:VARIABLE(protected = true ) type: Real unreplaceable 39: $cse12.cv:VARIABLE(protected = true ) type: Real unreplaceable 40: $cse12.vt:VARIABLE(protected = true ) type: Real unreplaceable 41: $cse12.pd:VARIABLE(protected = true ) type: Real unreplaceable 42: $cse12.x:VARIABLE(protected = true ) type: Real unreplaceable 43: $cse12.pt:VARIABLE(protected = true ) type: Real unreplaceable 44: $cse12.R_s:VARIABLE(protected = true ) type: Real unreplaceable 45: $cse12.cp:VARIABLE(protected = true ) type: Real unreplaceable 46: valve.port_a.p:VARIABLE(flow=false min = 611.657 max = 100000000.0 start = 5000000.0 unit = "Pa" nominal = 1000000.0 ) "Thermodynamic pressure in the connection point" type: Real 47: $cse23:VARIABLE(protected = true ) type: Real unreplaceable 48: valve.dp_turbulent:VARIABLE(min = 0.0 unit = "Pa" nominal = 100000.0 ) type: Real 49: $cse17:VARIABLE(protected = true ) type: Real unreplaceable 50: valve.m_flow:VARIABLE(min = -100000.0 max = 100000.0 start = valve.m_flow_start unit = "kg/s" ) "Mass flow rate in design flow direction" type: Real 51: $cse13:VARIABLE(protected = true ) type: Real unreplaceable [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:9741:5-9742:77:writable] Error: Internal error BackendDAEUtil.traverseEqSystemStrongComponents failed with function: omc_DAEMode_traverserStrongComponents Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0016/1.085, allocations: 1.635 MB / 0.823 GB, free: 7.059 MB / 0.5261 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed.