Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_latest_AixLib.Fluid.Actuators.Valves.ExpansionValves.Examples.BaseModelStaticHeatPumps.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/package.mo", uses=false) Using package AixLib with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/package.mo) Using package SDF with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo) Using package Modelica_DeviceDrivers with version 2.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(AixLib.Fluid.Actuators.Valves.ExpansionValves.Examples.BaseModelStaticHeatPumps,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Fluid.Actuators.Valves.ExpansionValves.Examples.BaseModelStaticHeatPumps") translateModel(AixLib.Fluid.Actuators.Valves.ExpansionValves.Examples.BaseModelStaticHeatPumps,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Fluid.Actuators.Valves.ExpansionValves.Examples.BaseModelStaticHeatPumps") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001248/0.001248, allocations: 116.8 kB / 16.42 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001027/0.001027, allocations: 186.6 kB / 17.35 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.236/1.236, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.05613/0.05613, allocations: 12.04 MB / 303.2 MB, free: 3.105 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005215/0.0005212, allocations: 31.88 kB / 356.3 MB, free: 13.97 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:6228:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:6853:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:8435:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:9369:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:11505:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:12875:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/ThermalZones/HighOrder/Components/Examples/DryAir/DryAir_test.mo:71:18-71:405:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/ThermalZones/HighOrder/Components/DryAir/InfiltrationRate_DIN12831.mo:20:192-20:2066:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/ThermalZones/HighOrder/Components/DryAir/InfiltrationRate_DIN12831.mo:20:192-20:4252:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_N_E_S_W_RoofN_Roof_S.mo:5:35-5:362:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_N_E_S_W_Hor.mo:5:35-5:320:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_NE_SE_SW_NW_Hor.mo:5:35-5:324:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/CHP/CHPDataSimple/CHP_XRGI_9kWel.mo:25:34-25:588:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/CHP/CHPDataSimple/CHP_XRGI_9kWel.mo:25:34-25:3852:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/CHP/CHPDataSimple/CHP_Cleanergy_C9G.mo:36:34-36:594:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/BoundaryConditions/InternalGains/Examples/InternalGains/Machines.mo:31:20-31:400:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/BoundaryConditions/InternalGains/Examples/InternalGains/Lights.mo:27:20-27:398:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/package.mo): time 1.764/1.764, allocations: 272.3 MB / 0.6657 GB, free: 18.36 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002032/0.002032, allocations: 111.8 kB / 0.8936 GB, free: 15.05 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4263/0.4284, allocations: 109.1 MB / 1 GB, free: 8.246 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.Actuators.Valves.ExpansionValves.Examples.BaseModelStaticHeatPumps): time 0.07564/0.504, allocations: 91.65 MB / 1.09 GB, free: 4.598 MB / 0.7638 GB Notification: Performance of NFInst.instExpressions: time 0.05825/0.5623, allocations: 58.88 MB / 1.147 GB, free: 9.523 MB / 0.8263 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001905/0.5643, allocations: 67.56 kB / 1.147 GB, free: 9.457 MB / 0.8263 GB Notification: Performance of NFTyping.typeComponents: time 0.002505/0.5668, allocations: 1.485 MB / 1.149 GB, free: 7.965 MB / 0.8263 GB Notification: Performance of NFTyping.typeBindings: time 0.00539/0.5722, allocations: 2.838 MB / 1.151 GB, free: 5.117 MB / 0.8263 GB Notification: Performance of NFTyping.typeClassSections: time 0.01476/0.587, allocations: 6.753 MB / 1.158 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.003968/0.591, allocations: 3.786 MB / 1.162 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001882/0.5929, allocations: 1.704 MB / 1.163 GB, free: 8.824 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001747/0.5946, allocations: 1.42 MB / 1.165 GB, free: 7.398 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008066/0.6027, allocations: 6.426 MB / 1.171 GB, free: 0.957 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0002536/0.603, allocations: 152 kB / 1.171 GB, free: 0.8086 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02093/0.6239, allocations: 11.35 MB / 1.182 GB, free: 5.441 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0005751/0.6245, allocations: 0.5139 MB / 1.183 GB, free: 4.926 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001021/0.6255, allocations: 0.9285 MB / 1.184 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.03659/0.6621, allocations: 16.34 MB / 1.2 GB, free: 3.625 MB / 0.8732 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.6622, allocations: 0 / 1.2 GB, free: 3.625 MB / 0.8732 GB Notification: Performance of FrontEnd: time 1.273e-06/0.6622, allocations: 0 / 1.2 GB, free: 3.625 MB / 0.8732 GB Notification: Performance of Transformations before backend: time 1.743e-05/0.6622, allocations: 0 / 1.2 GB, free: 3.625 MB / 0.8732 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 283 * Number of variables: 283 Notification: Performance of Generate backend data structure: time 0.009416/0.6716, allocations: 2.911 MB / 1.202 GB, free: 0.6484 MB / 0.8732 GB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.6717, allocations: 8.031 kB / 1.203 GB, free: 0.6406 MB / 0.8732 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006265/0.6723, allocations: 261.2 kB / 1.203 GB, free: 392 kB / 0.8732 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002062/0.6744, allocations: 1.315 MB / 1.204 GB, free: 15.02 MB / 0.8888 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.197e-05/0.6744, allocations: 82.12 kB / 1.204 GB, free: 14.93 MB / 0.8888 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001704/0.6746, allocations: 104 kB / 1.204 GB, free: 14.83 MB / 0.8888 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002584/0.6772, allocations: 1.586 MB / 1.206 GB, free: 13.16 MB / 0.8888 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.486e-05/0.6772, allocations: 3.938 kB / 1.206 GB, free: 13.16 MB / 0.8888 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001109/0.6774, allocations: 51.94 kB / 1.206 GB, free: 13.11 MB / 0.8888 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.854e-05/0.6774, allocations: 31.98 kB / 1.206 GB, free: 13.07 MB / 0.8888 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00263/0.68, allocations: 1.429 MB / 1.207 GB, free: 11.64 MB / 0.8888 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.006789/0.6868, allocations: 6.859 MB / 1.214 GB, free: 4.188 MB / 0.8888 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001834/0.6887, allocations: 1.034 MB / 1.215 GB, free: 3.141 MB / 0.8888 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007736/0.6895, allocations: 490.5 kB / 1.215 GB, free: 2.66 MB / 0.8888 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003113/0.6926, allocations: 4.095 MB / 1.219 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001084/0.6937, allocations: 0.6075 MB / 1.22 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=86): time 2.715e-06/0.6937, allocations: 0 / 1.22 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of matching and sorting (n=86): time 0.004202/0.6979, allocations: 1.872 MB / 1.222 GB, free: 11.16 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001052/0.698, allocations: 243.9 kB / 1.222 GB, free: 10.87 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001894/0.6999, allocations: 1.856 MB / 1.224 GB, free: 9 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 6.194e-05/0.7, allocations: 37.7 kB / 1.224 GB, free: 8.957 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006092/0.7006, allocations: 0.8035 MB / 1.225 GB, free: 8.145 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002279/0.7009, allocations: 295.9 kB / 1.225 GB, free: 7.852 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002409/0.7011, allocations: 162.6 kB / 1.225 GB, free: 7.688 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001285/0.7012, allocations: 341.9 kB / 1.225 GB, free: 7.348 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007442/0.702, allocations: 444.6 kB / 1.226 GB, free: 6.91 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008849/0.7029, allocations: 0.6089 MB / 1.226 GB, free: 6.25 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00161/0.7045, allocations: 1.023 MB / 1.227 GB, free: 5.191 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.7045, allocations: 96 / 1.227 GB, free: 5.191 MB / 0.9044 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.002508/0.707, allocations: 1.443 MB / 1.229 GB, free: 3.742 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.7071, allocations: 8.312 kB / 1.229 GB, free: 3.734 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.41e-05/0.7071, allocations: 4 kB / 1.229 GB, free: 3.73 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001462/0.7085, allocations: 396.4 kB / 1.229 GB, free: 3.34 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004033/0.709, allocations: 111.8 kB / 1.229 GB, free: 3.23 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001352/0.7103, allocations: 1.151 MB / 1.231 GB, free: 2.055 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004912/0.7108, allocations: 83.31 kB / 1.231 GB, free: 1.973 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.948e-05/0.7109, allocations: 39.98 kB / 1.231 GB, free: 1.934 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001217/0.7121, allocations: 0.9195 MB / 1.232 GB, free: 1.008 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008297/0.713, allocations: 0.5916 MB / 1.232 GB, free: 368 kB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001499/0.7145, allocations: 0.9877 MB / 1.233 GB, free: 15.34 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.615e-06/0.7145, allocations: 0 / 1.233 GB, free: 15.34 MB / 0.92 GB Notification: Performance of matching and sorting (n=105) (initialization_lambda0): time 0.002392/0.7169, allocations: 1.357 MB / 1.234 GB, free: 13.97 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.7169, allocations: 8 kB / 1.234 GB, free: 13.96 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/0.7169, allocations: 7.938 kB / 1.234 GB, free: 13.96 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005063/0.7175, allocations: 196.9 kB / 1.235 GB, free: 13.76 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004537/0.7179, allocations: 131.8 kB / 1.235 GB, free: 13.63 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003291/0.7212, allocations: 2.87 MB / 1.238 GB, free: 10.63 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000501/0.7217, allocations: 83.25 kB / 1.238 GB, free: 10.55 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.832e-05/0.7218, allocations: 35.98 kB / 1.238 GB, free: 10.51 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.inpDat.nextTimeEvent,$whenCondition1,con.staOut.phase,modExpVal.modExpVal[1].staOut.phase,modExpVal.modExpVal[1].staInl.phase,eva.staOut.phase,inpDat.nextTimeEventScaled,$PRE.inpDat.nextTimeEventScaled,inpDat.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 59 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 8 * 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,21)} Notification: Performance of prepare postOptimizeDAE: time 0.0002019/0.722, allocations: 225.8 kB / 1.238 GB, free: 10.29 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002432/0.7223, allocations: 158 kB / 1.238 GB, free: 10.13 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002811/0.7251, allocations: 1.803 MB / 1.24 GB, free: 8.332 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.1e-05/0.7251, allocations: 3.984 kB / 1.24 GB, free: 8.328 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.7251, allocations: 0 / 1.24 GB, free: 8.328 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005102/0.7256, allocations: 366.4 kB / 1.24 GB, free: 7.949 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001344/0.7258, allocations: 23.98 kB / 1.24 GB, free: 7.926 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004146/0.7262, allocations: 35.97 kB / 1.24 GB, free: 7.891 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001143/0.7263, allocations: 52.58 kB / 1.24 GB, free: 7.84 MB / 0.92 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 (1): eva.hInl = eva.hOut - eva.Q_flow / eva.m_flow 2/2 (1): modExpVal.modExpVal[1].staOut.h = if (-eva.m_flow) > 0.0 then eva.hInl else modExpVal.ports_b[1].h_outflow 3/3 (1): modExpVal.modExpVal[1].staInl.h = if eva.m_flow > 0.0 then modExpVal.ports_b[1].h_outflow else eva.hInl 4/4 (9): $cse2 = AixLib.Fluid.Actuators.Valves.ExpansionValves.Examples.BaseModelStaticHeatPumps.modExpVal.modExpVal.Medium.derivsOf_ph(con.pSat, modExpVal.modExpVal[1].staInl.h, modExpVal.modExpVal[1].staInl.phase) 5/13 (1): modExpVal.modExpVal[1].staInl.d = $cse2.rho 6/14 (1): eva.m_flow = modExpVal.modExpVal[1].C * modExpVal.modExpVal[1].AThr * sqrt(abs(2.0 * modExpVal.modExpVal[1].staInl.d * modExpVal.modExpVal[1].dp)) 7/15 (1): modExpVal.modExpVal[1].C = -0.006778 + (-16150.0) * modExpVal.modExpVal[1].flowCoefficient.P[1] + 3.328e-4 * modExpVal.modExpVal[1].flowCoefficient.P[2] + 0.0014465 * modExpVal.modExpVal[1].flowCoefficient.P[3] + 0.0029968 * modExpVal.modExpVal[1].flowCoefficient.P[4] + 7.0925e-5 * modExpVal.modExpVal[1].flowCoefficient.P[6] 8/16 (1): modExpVal.modExpVal[1].flowCoefficient.P[3] = $cse4.rho 9/17 (9): $cse4 = AixLib.Fluid.Actuators.Valves.ExpansionValves.Examples.BaseModelStaticHeatPumps.modExpVal.modExpVal.Medium.derivsOf_ph(eva.pSat, modExpVal.modExpVal[1].staOut.h, modExpVal.modExpVal[1].staOut.phase) 10/26 (1): modExpVal.modExpVal[1].staOut.phase = AixLib.Fluid.Actuators.Valves.ExpansionValves.Examples.BaseModelStaticHeatPumps.modExpVal.modExpVal.Medium.getPhase_ph(eva.pSat, modExpVal.modExpVal[1].staOut.h) 11/27 (1): modExpVal.modExpVal[1].staInl.T = $cse2.T 12/28 (1): modExpVal.modExpVal[1].flowCoefficient.P[4] = modExpVal.modExpVal[1].flowCoefficient.satInl.Tsat - modExpVal.modExpVal[1].staInl.T 13/29 (1): modExpVal.modExpVal[1].staInl.phase = AixLib.Fluid.Actuators.Valves.ExpansionValves.Examples.BaseModelStaticHeatPumps.modExpVal.modExpVal.Medium.getPhase_ph(con.pSat, modExpVal.modExpVal[1].staInl.h) Variables: 1: modExpVal.modExpVal[1].staInl.phase:DISCRETE(min = 0 max = 2 ) "Phase of the fluid: 1 for 1-phase, 2 for two-phase, 0 for not known, e.g., interactive use" type: Integer [1] 2: modExpVal.modExpVal[1].flowCoefficient.P[4]:VARIABLE() "Array that contains all coefficients used for the calculation procedure" type: Real [1,6] 3: modExpVal.modExpVal[1].staInl.T:VARIABLE(min = 1.0 max = 1e4 start = 293.15 unit = "K" nominal = 350.0 ) "Temperature" type: Real [1] 4: modExpVal.modExpVal[1].staOut.h:VARIABLE(min = -1e10 max = 1e10 start = 4.2e5 unit = "J/kg" nominal = 5e5 ) "Specific enthalpy" type: Real [1] 5: $cse4.cv:VARIABLE(protected = true ) type: Real unreplaceable 6: modExpVal.modExpVal[1].staOut.phase:DISCRETE(min = 0 max = 2 ) "Phase of the fluid: 1 for 1-phase, 2 for two-phase, 0 for not known, e.g., interactive use" type: Integer [1] 7: $cse4.h:VARIABLE(protected = true ) type: Real unreplaceable 8: $cse4.T:VARIABLE(protected = true ) type: Real unreplaceable 9: $cse4.rho:VARIABLE(protected = true ) type: Real unreplaceable 10: $cse4.dpT:VARIABLE(protected = true ) type: Real unreplaceable 11: $cse4.p:VARIABLE(protected = true ) type: Real unreplaceable 12: $cse4.pt:VARIABLE(protected = true ) type: Real unreplaceable 13: $cse4.pd:VARIABLE(protected = true ) type: Real unreplaceable 14: $cse4.phase:DISCRETE(protected = true ) type: Integer unreplaceable 15: modExpVal.modExpVal[1].flowCoefficient.P[3]:VARIABLE(min = 0.0 max = 1e5 start = 4.0 nominal = 500.0 ) "Array that contains all coefficients used for the calculation procedure" type: Real [1,6] 16: modExpVal.modExpVal[1].C:VARIABLE(min = 0.0 max = 100.0 nominal = 25.0 ) "Flow coefficient used to calculate mass flow and pressure drop" type: Real [1] 17: modExpVal.modExpVal[1].staInl.d:VARIABLE(min = 0.0 max = 1e5 start = 4.0 unit = "kg/m3" nominal = 500.0 ) "Density" type: Real [1] 18: $cse2.phase:DISCRETE(protected = true ) type: Integer unreplaceable 19: $cse2.T:VARIABLE(protected = true ) type: Real unreplaceable 20: $cse2.rho:VARIABLE(protected = true ) type: Real unreplaceable 21: $cse2.dpT:VARIABLE(protected = true ) type: Real unreplaceable 22: $cse2.pt:VARIABLE(protected = true ) type: Real unreplaceable 23: $cse2.pd:VARIABLE(protected = true ) type: Real unreplaceable 24: $cse2.cv:VARIABLE(protected = true ) type: Real unreplaceable 25: $cse2.p:VARIABLE(protected = true ) type: Real unreplaceable 26: $cse2.h:VARIABLE(protected = true ) type: Real unreplaceable 27: modExpVal.modExpVal[1].staInl.h:VARIABLE(min = -1e10 max = 1e10 start = 4.2e5 unit = "J/kg" nominal = 5e5 ) "Specific enthalpy" type: Real [1] 28: eva.hInl:VARIABLE(min = -1e10 max = 1e10 start = 4.2e5 unit = "J/kg" nominal = 5e5 ) "Specific enthalpy at evaporator's inlet" type: Real 29: eva.m_flow:VARIABLE(min = 0.0 max = 1e5 start = modExpVal.modExpVal[1].m_flow_start unit = "kg/s" ) "Mass flow rate" 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.001198/0.7275, allocations: 0.8384 MB / 1.241 GB, free: 6.945 MB / 0.92 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model AixLib.Fluid.Actuators.Valves.ExpansionValves.Examples.BaseModelStaticHeatPumps could not be translated