Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestControlValve.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.PressureLoss.TestControlValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestControlValve") translateModel(ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestControlValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestControlValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8087/0.8087, allocations: 150.9 MB / 167.2 MB, free: 14.57 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003288/0.0003288, allocations: 14.75 kB / 237.7 MB, free: 1.84 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05516/0.0555, allocations: 31.34 MB / 269.1 MB, free: 7.125 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.PressureLoss.TestControlValve): time 1.598/1.654, allocations: 294.7 MB / 0.5505 GB, free: 13.08 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.03752/1.691, allocations: 34.76 MB / 0.5844 GB, free: 10.18 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002025/1.691, allocations: 4 kB / 0.5845 GB, free: 10.17 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/SourceP.mo:30:3-31:45: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/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/PressureLosses/ControlValve.mo:45:3-47:43: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/PressureLosses/ControlValve.mo:48:3-50:38:writable] Warning: Connector C2 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.0004534/1.692, allocations: 167.2 kB / 0.5846 GB, free: 10.01 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002279/1.692, allocations: 143 kB / 0.5847 GB, free: 9.867 MB / 478.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. [/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.02281/1.715, allocations: 9.742 MB / 0.5943 GB, free: 108 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005709/1.715, allocations: 386.3 kB / 0.5946 GB, free: 15.73 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002013/1.716, allocations: 132.5 kB / 0.5948 GB, free: 15.6 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002133/1.716, allocations: 167.3 kB / 0.5949 GB, free: 15.44 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001845/1.716, allocations: 171.3 kB / 0.5951 GB, free: 15.27 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.15e-05/1.716, allocations: 20 kB / 0.5951 GB, free: 15.25 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03134/1.747, allocations: 17.96 MB / 0.6126 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001728/1.748, allocations: 67.77 kB / 0.6127 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002453/1.748, allocations: 167 kB / 0.6129 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.02037/1.768, allocations: 8.527 MB / 0.6212 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/1.768, allocations: 0 / 0.6212 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.242e-06/1.768, allocations: 0 / 0.6212 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.505e-06/1.768, allocations: 0 / 0.6212 GB, free: 4.488 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.004065/1.772, allocations: 1.52 MB / 0.6227 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/1.772, allocations: 8.031 kB / 0.6227 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.164e-05/1.773, allocations: 43.47 kB / 0.6227 GB, free: 2.867 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003346/1.773, allocations: 298 kB / 0.623 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.063e-05/1.773, allocations: 12.44 kB / 0.623 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.855e-05/1.773, allocations: 23.98 kB / 0.623 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004511/1.773, allocations: 319.4 kB / 0.6233 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/1.773, allocations: 4 kB / 0.6234 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.063e-05/1.773, allocations: 4 kB / 0.6234 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2e-05/1.773, allocations: 19.92 kB / 0.6234 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002777/1.774, allocations: 213 kB / 0.6236 GB, free: 1.934 MB / 0.4981 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.03727/1.811, allocations: 18.22 MB / 0.6414 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002286/1.811, allocations: 138.5 kB / 0.6415 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001287/1.811, allocations: 112.8 kB / 0.6416 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3358/2.147, allocations: 77.73 MB / 0.7175 GB, free: 211.8 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.559e-05/2.147, allocations: 32.34 kB / 0.7176 GB, free: 211.7 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=34): time 3.237e-06/2.147, allocations: 1.125 kB / 0.7176 GB, free: 211.7 MB / 0.5919 GB Notification: Performance of matching and sorting (n=34): time 0.001043/2.148, allocations: 0.4957 MB / 0.718 GB, free: 211.6 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.401e-05/2.148, allocations: 51.41 kB / 0.7181 GB, free: 211.5 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000298/2.149, allocations: 358.6 kB / 0.7184 GB, free: 211.4 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 9.057e-06/2.149, allocations: 28.48 kB / 0.7185 GB, free: 211.4 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 8.037e-05/2.149, allocations: 190.3 kB / 0.7186 GB, free: 211.3 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.426e-05/2.149, allocations: 105.5 kB / 0.7187 GB, free: 211.3 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.127e-05/2.149, allocations: 57.72 kB / 0.7188 GB, free: 211.2 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 5.945e-05/2.149, allocations: 347.2 kB / 0.7191 GB, free: 210.9 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001044/2.149, allocations: 92.25 kB / 0.7192 GB, free: 210.9 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001171/2.149, allocations: 128.3 kB / 0.7193 GB, free: 210.9 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002328/2.15, allocations: 251.1 kB / 0.7196 GB, free: 210.8 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/2.15, allocations: 0 / 0.7196 GB, free: 210.8 MB / 0.5919 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003778/2.15, allocations: 350.4 kB / 0.7199 GB, free: 210.8 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/2.15, allocations: 7.75 kB / 0.7199 GB, free: 210.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.952e-06/2.15, allocations: 0 / 0.7199 GB, free: 210.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007424/2.151, allocations: 137.2 kB / 0.72 GB, free: 210.8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.679e-05/2.151, allocations: 12.47 kB / 0.7201 GB, free: 210.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004103/2.151, allocations: 0.6167 MB / 0.7207 GB, free: 210.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001095/2.151, allocations: 25.53 kB / 0.7207 GB, free: 210.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.31e-05/2.151, allocations: 9.219 kB / 0.7207 GB, free: 210.2 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 (ControlValve.C2.b,ControlValve.C1.a,PuitsP1.C.a,SourceP1.C.b) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * 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 {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001068/2.151, allocations: 161.2 kB / 0.7208 GB, free: 210.1 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.698e-05/2.151, allocations: 32.25 kB / 0.7209 GB, free: 210.1 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006437/2.152, allocations: 0.655 MB / 0.7215 GB, free: 209.9 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/2.152, allocations: 0 / 0.7215 GB, free: 209.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/2.152, allocations: 0 / 0.7215 GB, free: 209.9 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 8.003e-05/2.152, allocations: 121.2 kB / 0.7216 GB, free: 209.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.937e-05/2.152, allocations: 9.266 kB / 0.7216 GB, free: 209.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.734e-05/2.152, allocations: 8.062 kB / 0.7216 GB, free: 209.7 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.814e-05/2.152, allocations: 6.469 kB / 0.7217 GB, free: 209.7 MB / 0.5919 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(ControlValve.T, ControlValve.rho, ControlValve.pro.u, ControlValve.pro.s, ControlValve.pro.cp, ControlValve.pro.ddhp, ControlValve.pro.ddph, ControlValve.pro.duph, ControlValve.pro.duhp, ControlValve.pro.x) = $cse1 Variables: 1: ControlValve.pro.x:VARIABLE(min = 0.0 max = 1.0 unit = "1" ) "Vapor mass fraction" type: Real 2: ControlValve.pro.s:VARIABLE(min = -1e6 max = 1e6 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific entropy" type: Real 3: ControlValve.pro.u:VARIABLE(min = -1e8 max = 1e8 unit = "J/kg" nominal = 1e6 ) "Specific inner energy" type: Real 4: ControlValve.pro.duhp:VARIABLE(unit = "1" ) "Derivative of specific inner energy wrt. specific enthalpy at constant pressure" type: Real 5: ControlValve.pro.ddph:VARIABLE(unit = "s2/m2" ) "Derivative of density wrt. pressure at constant specific enthalpy" type: Real 6: ControlValve.pro.duph:VARIABLE(unit = "m3/kg" ) "Derivative of specific inner energy wrt. pressure at constant specific enthalpy" type: Real 7: ControlValve.T:VARIABLE(min = 200.0 max = 6000.0 start = 290.0 unit = "K" nominal = 300.0 ) "Fluid temperature" type: Real 8: ControlValve.pro.ddhp:VARIABLE(unit = "kg.s2/m5" ) "Derivative of density wrt. specific enthalpy at constant pressure" type: Real 9: $cse1.ddph:VARIABLE(protected = true ) type: Real unreplaceable 10: $cse1.x: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): ControlValve.deltaP * ControlValve.Cv * abs(ControlValve.Cv) = 1.733e12 * $cse2 / ControlValve.rho ^ 2.0 2/2 (1): $cse2 = ThermoSysPro.Functions.ThermoSquare(ControlValve.Q, ControlValve.eps) 3/3 (1): 0.0 = if ControlValve.Q > 0.0 then ControlValve.h - SourceP1.h else ControlValve.h - PuitsP1.h 4/4 (10): $cse1 = ThermoSysPro.Properties.Fluid.Ph(ControlValve.Pm, ControlValve.h, ControlValve.mode, ControlValve.fluid) 5/14 (10): ThermoSysPro.Properties.WaterSteam.Common.ThermoProperties_ph(ControlValve.T, ControlValve.rho, ControlValve.pro.u, ControlValve.pro.s, ControlValve.pro.cp, ControlValve.pro.ddhp, ControlValve.pro.ddph, ControlValve.pro.duph, ControlValve.pro.duhp, ControlValve.pro.x) = $cse1 Variables: 1: ControlValve.pro.x:VARIABLE(min = 0.0 max = 1.0 unit = "1" ) "Vapor mass fraction" type: Real 2: ControlValve.pro.s:VARIABLE(min = -1e6 max = 1e6 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific entropy" type: Real 3: ControlValve.pro.u:VARIABLE(min = -1e8 max = 1e8 unit = "J/kg" nominal = 1e6 ) "Specific inner energy" type: Real 4: ControlValve.pro.duhp:VARIABLE(unit = "1" ) "Derivative of specific inner energy wrt. specific enthalpy at constant pressure" type: Real 5: ControlValve.pro.ddph:VARIABLE(unit = "s2/m2" ) "Derivative of density wrt. pressure at constant specific enthalpy" type: Real 6: ControlValve.pro.duph:VARIABLE(unit = "m3/kg" ) "Derivative of specific inner energy wrt. pressure at constant specific enthalpy" type: Real 7: ControlValve.T:VARIABLE(min = 200.0 max = 6000.0 start = 290.0 unit = "K" nominal = 300.0 ) "Fluid temperature" type: Real 8: ControlValve.pro.ddhp:VARIABLE(unit = "kg.s2/m5" ) "Derivative of density wrt. specific enthalpy at constant pressure" type: Real 9: $cse1.ddph:VARIABLE(protected = true ) type: Real unreplaceable 10: $cse1.x:VARIABLE(protected = true ) type: Real unreplaceable 11: $cse1.duph:VARIABLE(protected = true ) type: Real unreplaceable 12: $cse1.d:VARIABLE(protected = true ) type: Real unreplaceable 13: $cse1.u:VARIABLE(protected = true ) type: Real unreplaceable 14: $cse1.T:VARIABLE(protected = true ) type: Real unreplaceable 15: $cse1.cp:VARIABLE(protected = true ) type: Real unreplaceable 16: $cse1.s:VARIABLE(protected = true ) type: Real unreplaceable 17: $cse1.duhp:VARIABLE(protected = true ) type: Real unreplaceable 18: $cse1.ddhp:VARIABLE(protected = true ) type: Real unreplaceable 19: ControlValve.h:VARIABLE(start = 1e5 unit = "J/kg" ) "Fluid specific enthalpy" type: Real 20: ControlValve.Q:VARIABLE(start = 500.0 unit = "kg/s" ) "Mass flow rate" type: Real 21: $cse2:VARIABLE(protected = true ) type: Real unreplaceable 22: ControlValve.rho:VARIABLE(min = 1e-9 max = 1e5 start = 998.0 unit = "kg/m3" nominal = 998.0 ) "Fluid density" type: Real 23: ControlValve.pro.cp:VARIABLE(min = 1e-9 max = 1e60 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific heat capacity at constant presure" type: Real [/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.0007249/2.153, allocations: 453.4 kB / 0.7221 GB, free: 209.5 MB / 0.5919 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestControlValve could not be translated