Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_latest_AixLib.Fluid.Actuators.Valves.ExpansionValves.Examples.StaticHeatPumpBoundaries.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.StaticHeatPumpBoundaries,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Fluid.Actuators.Valves.ExpansionValves.Examples.StaticHeatPumpBoundaries") translateModel(AixLib.Fluid.Actuators.Valves.ExpansionValves.Examples.StaticHeatPumpBoundaries,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Fluid.Actuators.Valves.ExpansionValves.Examples.StaticHeatPumpBoundaries") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001219/0.001219, allocations: 116.2 kB / 16.42 MB, free: 6.5 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.0009678/0.0009678, allocations: 183.9 kB / 17.34 MB, free: 5.758 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.235/1.235, allocations: 222.9 MB / 241.1 MB, free: 15.19 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.05623/0.05623, allocations: 12.06 MB / 303.3 MB, free: 3.09 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005271/0.0005271, allocations: 35.89 kB / 356.3 MB, free: 13.96 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.776/1.776, allocations: 272.3 MB / 0.6657 GB, free: 18.35 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00196/0.00196, allocations: 115.8 kB / 0.8936 GB, free: 15.03 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4397/0.4417, allocations: 109.1 MB / 1 GB, free: 8.258 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.Actuators.Valves.ExpansionValves.Examples.StaticHeatPumpBoundaries): time 0.07538/0.5171, allocations: 91.65 MB / 1.09 GB, free: 4.559 MB / 0.7638 GB Notification: Performance of NFInst.instExpressions: time 0.0572/0.5743, allocations: 58.87 MB / 1.147 GB, free: 9.492 MB / 0.8263 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001902/0.5762, allocations: 67.56 kB / 1.147 GB, free: 9.426 MB / 0.8263 GB Notification: Performance of NFTyping.typeComponents: time 0.002456/0.5787, allocations: 1.513 MB / 1.149 GB, free: 7.906 MB / 0.8263 GB Notification: Performance of NFTyping.typeBindings: time 0.005325/0.5841, allocations: 2.91 MB / 1.152 GB, free: 4.984 MB / 0.8263 GB Notification: Performance of NFTyping.typeClassSections: time 0.01471/0.5988, allocations: 6.874 MB / 1.158 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.003751/0.6025, allocations: 3.794 MB / 1.162 GB, free: 10.31 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001807/0.6044, allocations: 1.692 MB / 1.164 GB, free: 8.578 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001683/0.6061, allocations: 1.424 MB / 1.165 GB, free: 7.148 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008917/0.615, allocations: 6.418 MB / 1.171 GB, free: 0.7148 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0002303/0.6152, allocations: 152 kB / 1.171 GB, free: 0.5664 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02045/0.6357, allocations: 11.35 MB / 1.183 GB, free: 5.191 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0004693/0.6362, allocations: 0.5062 MB / 1.183 GB, free: 4.684 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0009161/0.6371, allocations: 0.9363 MB / 1.184 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.03642/0.6735, allocations: 16.37 MB / 1.2 GB, free: 3.352 MB / 0.8732 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.6735, allocations: 0 / 1.2 GB, free: 3.352 MB / 0.8732 GB Notification: Performance of FrontEnd: time 1.192e-06/0.6735, allocations: 0 / 1.2 GB, free: 3.352 MB / 0.8732 GB Notification: Performance of Transformations before backend: time 1.645e-05/0.6736, allocations: 4 kB / 1.2 GB, free: 3.348 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.008307/0.6819, allocations: 3.005 MB / 1.203 GB, free: 276 kB / 0.8732 GB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.6819, allocations: 8.031 kB / 1.203 GB, free: 268 kB / 0.8732 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006415/0.6826, allocations: 274.6 kB / 1.203 GB, free: 15.99 MB / 0.8888 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001824/0.6844, allocations: 1.332 MB / 1.204 GB, free: 14.61 MB / 0.8888 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.796e-05/0.6845, allocations: 82.12 kB / 1.204 GB, free: 14.52 MB / 0.8888 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001612/0.6847, allocations: 108 kB / 1.205 GB, free: 14.42 MB / 0.8888 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002512/0.6872, allocations: 1.582 MB / 1.206 GB, free: 12.75 MB / 0.8888 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.539e-05/0.6872, allocations: 3.938 kB / 1.206 GB, free: 12.75 MB / 0.8888 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.837e-05/0.6873, allocations: 44 kB / 1.206 GB, free: 12.7 MB / 0.8888 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.049e-05/0.6874, allocations: 39.91 kB / 1.206 GB, free: 12.66 MB / 0.8888 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002556/0.6899, allocations: 1.433 MB / 1.208 GB, free: 11.22 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.006596/0.6965, allocations: 6.865 MB / 1.214 GB, free: 3.77 MB / 0.8888 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001826/0.6984, allocations: 1.038 MB / 1.215 GB, free: 2.723 MB / 0.8888 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007665/0.6991, allocations: 498.5 kB / 1.216 GB, free: 2.234 MB / 0.8888 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003064/0.7022, allocations: 4.091 MB / 1.22 GB, free: 13.26 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001099/0.7033, allocations: 0.6115 MB / 1.22 GB, free: 12.63 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=86): time 2.675e-06/0.7033, allocations: 0 / 1.22 GB, free: 12.63 MB / 0.9044 GB Notification: Performance of matching and sorting (n=86): time 0.004221/0.7076, allocations: 1.873 MB / 1.222 GB, free: 10.73 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.71e-05/0.7077, allocations: 244 kB / 1.222 GB, free: 10.44 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001909/0.7096, allocations: 1.857 MB / 1.224 GB, free: 8.574 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 6.689e-05/0.7097, allocations: 41.7 kB / 1.224 GB, free: 8.527 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005944/0.7103, allocations: 0.8086 MB / 1.225 GB, free: 7.711 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002275/0.7105, allocations: 313.3 kB / 1.225 GB, free: 7.402 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002367/0.7108, allocations: 154.6 kB / 1.226 GB, free: 7.246 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000118/0.7109, allocations: 341.9 kB / 1.226 GB, free: 6.906 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007494/0.7116, allocations: 448.5 kB / 1.226 GB, free: 6.465 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008955/0.7125, allocations: 0.6111 MB / 1.227 GB, free: 5.801 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001619/0.7142, allocations: 1.019 MB / 1.228 GB, free: 4.746 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/0.7142, allocations: 3.938 kB / 1.228 GB, free: 4.742 MB / 0.9044 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.002533/0.7167, allocations: 1.452 MB / 1.229 GB, free: 3.285 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.7167, allocations: 4 kB / 1.229 GB, free: 3.281 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.296e-05/0.7168, allocations: 4 kB / 1.229 GB, free: 3.277 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001443/0.7182, allocations: 406.9 kB / 1.23 GB, free: 2.879 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004014/0.7186, allocations: 111.8 kB / 1.23 GB, free: 2.77 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001361/0.72, allocations: 1.149 MB / 1.231 GB, free: 1.594 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00048/0.7205, allocations: 83.55 kB / 1.231 GB, free: 1.512 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.537e-05/0.7206, allocations: 35.98 kB / 1.231 GB, free: 1.477 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001226/0.7218, allocations: 0.9195 MB / 1.232 GB, free: 0.5508 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008418/0.7227, allocations: 0.5955 MB / 1.233 GB, free: 15.9 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001515/0.7242, allocations: 0.9877 MB / 1.234 GB, free: 14.88 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.355e-06/0.7242, allocations: 0 / 1.234 GB, free: 14.88 MB / 0.92 GB Notification: Performance of matching and sorting (n=105) (initialization_lambda0): time 0.00238/0.7266, allocations: 1.366 MB / 1.235 GB, free: 13.5 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.051e-05/0.7266, allocations: 11.94 kB / 1.235 GB, free: 13.49 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.7266, allocations: 0 / 1.235 GB, free: 13.49 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005117/0.7271, allocations: 204.5 kB / 1.235 GB, free: 13.29 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000461/0.7276, allocations: 127.8 kB / 1.235 GB, free: 13.17 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003168/0.7308, allocations: 2.876 MB / 1.238 GB, free: 10.16 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004781/0.7313, allocations: 83.48 kB / 1.238 GB, free: 10.07 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.006e-05/0.7314, allocations: 35.97 kB / 1.238 GB, free: 10.04 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.0002003/0.7316, allocations: 225.8 kB / 1.238 GB, free: 9.812 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002382/0.7318, allocations: 166.9 kB / 1.238 GB, free: 9.648 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00281/0.7346, allocations: 1.803 MB / 1.24 GB, free: 7.852 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.969e-06/0.7347, allocations: 3.984 kB / 1.24 GB, free: 7.848 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.7347, allocations: 4 kB / 1.24 GB, free: 7.844 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004204/0.7351, allocations: 375.4 kB / 1.241 GB, free: 7.457 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001441/0.7352, allocations: 23.98 kB / 1.241 GB, free: 7.434 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004131/0.7357, allocations: 32.16 kB / 1.241 GB, free: 7.402 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001165/0.7358, allocations: 52.58 kB / 1.241 GB, free: 7.352 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.StaticHeatPumpBoundaries.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.StaticHeatPumpBoundaries.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.StaticHeatPumpBoundaries.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.StaticHeatPumpBoundaries.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.001194/0.737, allocations: 0.8523 MB / 1.242 GB, free: 6.445 MB / 0.92 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model AixLib.Fluid.Actuators.Valves.ExpansionValves.Examples.StaticHeatPumpBoundaries could not be translated