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.001132/0.001132, allocations: 115.2 kB / 16.42 MB, free: 6.496 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.0009362/0.0009362, allocations: 185.7 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.237/1.237, allocations: 222.9 MB / 241.1 MB, free: 15.14 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.05561/0.05561, allocations: 12.05 MB / 303.3 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.0005091/0.0005092, allocations: 27.94 kB / 356.3 MB, free: 13.98 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.759/1.759, allocations: 272.3 MB / 0.6657 GB, free: 18.54 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001958/0.001958, allocations: 111.8 kB / 0.8936 GB, free: 15.05 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4319/0.4339, allocations: 109.2 MB / 1 GB, free: 8.234 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.Actuators.Valves.ExpansionValves.Examples.BaseModelStaticHeatPumps): time 0.07924/0.5131, allocations: 91.65 MB / 1.09 GB, free: 4.57 MB / 0.7638 GB Notification: Performance of NFInst.instExpressions: time 0.05892/0.5721, allocations: 58.87 MB / 1.147 GB, free: 9.508 MB / 0.8263 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001876/0.574, allocations: 67.62 kB / 1.147 GB, free: 9.441 MB / 0.8263 GB Notification: Performance of NFTyping.typeComponents: time 0.00281/0.5768, allocations: 1.513 MB / 1.149 GB, free: 7.922 MB / 0.8263 GB Notification: Performance of NFTyping.typeBindings: time 0.005896/0.5827, allocations: 2.909 MB / 1.152 GB, free: 5.004 MB / 0.8263 GB Notification: Performance of NFTyping.typeClassSections: time 0.01456/0.5973, allocations: 6.869 MB / 1.158 GB, free: 14.13 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.004156/0.6015, allocations: 3.805 MB / 1.162 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00211/0.6036, allocations: 1.676 MB / 1.164 GB, free: 8.602 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00213/0.6058, allocations: 1.428 MB / 1.165 GB, free: 7.168 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009403/0.6152, allocations: 6.426 MB / 1.171 GB, free: 0.7266 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0003038/0.6155, allocations: 155.9 kB / 1.171 GB, free: 0.5742 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02028/0.6358, allocations: 11.35 MB / 1.183 GB, free: 5.207 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0005223/0.6363, allocations: 0.5139 MB / 1.183 GB, free: 4.691 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001068/0.6374, allocations: 0.9324 MB / 1.184 GB, free: 3.754 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.03627/0.6737, allocations: 16.36 MB / 1.2 GB, free: 3.367 MB / 0.8732 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.6737, allocations: 0 / 1.2 GB, free: 3.367 MB / 0.8732 GB Notification: Performance of FrontEnd: time 1.313e-06/0.6737, allocations: 0 / 1.2 GB, free: 3.367 MB / 0.8732 GB Notification: Performance of Transformations before backend: time 5.065e-05/0.6737, allocations: 0 / 1.2 GB, free: 3.367 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.00915/0.6829, allocations: 3.013 MB / 1.203 GB, free: 288 kB / 0.8732 GB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.6829, allocations: 8.031 kB / 1.203 GB, free: 280 kB / 0.8732 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006878/0.6836, allocations: 270.4 kB / 1.203 GB, free: 8 kB / 0.8732 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001994/0.6856, allocations: 1.34 MB / 1.204 GB, free: 14.62 MB / 0.8888 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.439e-05/0.6857, allocations: 90.11 kB / 1.204 GB, free: 14.53 MB / 0.8888 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001665/0.6859, allocations: 104 kB / 1.205 GB, free: 14.43 MB / 0.8888 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00259/0.6885, allocations: 1.574 MB / 1.206 GB, free: 12.77 MB / 0.8888 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.519e-05/0.6885, allocations: 3.938 kB / 1.206 GB, free: 12.76 MB / 0.8888 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001099/0.6886, allocations: 55.92 kB / 1.206 GB, free: 12.71 MB / 0.8888 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.718e-05/0.6887, allocations: 32 kB / 1.206 GB, free: 12.68 MB / 0.8888 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002572/0.6913, allocations: 1.425 MB / 1.208 GB, free: 11.24 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.006643/0.6979, allocations: 6.865 MB / 1.214 GB, free: 3.789 MB / 0.8888 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001844/0.6998, allocations: 1.041 MB / 1.215 GB, free: 2.734 MB / 0.8888 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000766/0.7005, allocations: 492.1 kB / 1.216 GB, free: 2.25 MB / 0.8888 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003062/0.7036, allocations: 4.091 MB / 1.22 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001084/0.7047, allocations: 0.6075 MB / 1.22 GB, free: 12.65 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=86): time 2.294e-06/0.7047, allocations: 0 / 1.22 GB, free: 12.65 MB / 0.9044 GB Notification: Performance of matching and sorting (n=86): time 0.004222/0.709, allocations: 1.881 MB / 1.222 GB, free: 10.75 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.548e-05/0.7091, allocations: 243.9 kB / 1.222 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001922/0.711, allocations: 1.853 MB / 1.224 GB, free: 8.59 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 6.393e-05/0.7111, allocations: 45.69 kB / 1.224 GB, free: 8.539 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.000603/0.7117, allocations: 0.8085 MB / 1.225 GB, free: 7.723 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002217/0.7119, allocations: 313.3 kB / 1.225 GB, free: 7.414 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002439/0.7122, allocations: 154.7 kB / 1.226 GB, free: 7.258 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001165/0.7123, allocations: 346 kB / 1.226 GB, free: 6.914 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007502/0.713, allocations: 444.6 kB / 1.226 GB, free: 6.477 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008959/0.7139, allocations: 0.6072 MB / 1.227 GB, free: 5.816 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00163/0.7156, allocations: 1.023 MB / 1.228 GB, free: 4.758 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.7156, allocations: 4 kB / 1.228 GB, free: 4.754 MB / 0.9044 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.00253/0.7181, allocations: 1.448 MB / 1.229 GB, free: 3.301 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.7182, allocations: 4.094 kB / 1.229 GB, free: 3.297 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.432e-05/0.7182, allocations: 11.92 kB / 1.229 GB, free: 3.285 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001456/0.7196, allocations: 395.2 kB / 1.23 GB, free: 2.898 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004169/0.7201, allocations: 111.8 kB / 1.23 GB, free: 2.789 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001357/0.7214, allocations: 1.153 MB / 1.231 GB, free: 1.609 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005109/0.722, allocations: 83.48 kB / 1.231 GB, free: 1.527 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.5e-05/0.722, allocations: 35.98 kB / 1.231 GB, free: 1.492 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00124/0.7233, allocations: 0.9274 MB / 1.232 GB, free: 0.5586 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000839/0.7241, allocations: 0.5916 MB / 1.233 GB, free: 15.91 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001498/0.7256, allocations: 0.9799 MB / 1.233 GB, free: 14.9 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.344e-06/0.7257, allocations: 4 kB / 1.233 GB, free: 14.9 MB / 0.92 GB Notification: Performance of matching and sorting (n=105) (initialization_lambda0): time 0.002385/0.7281, allocations: 1.366 MB / 1.235 GB, free: 13.52 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 9.848e-06/0.7281, allocations: 10.09 kB / 1.235 GB, free: 13.51 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.279e-05/0.7281, allocations: 7.984 kB / 1.235 GB, free: 13.5 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005057/0.7286, allocations: 196.4 kB / 1.235 GB, free: 13.31 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004679/0.7291, allocations: 127.8 kB / 1.235 GB, free: 13.19 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003243/0.7323, allocations: 2.873 MB / 1.238 GB, free: 10.18 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005054/0.7329, allocations: 87.55 kB / 1.238 GB, free: 10.09 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.353e-05/0.7329, allocations: 35.92 kB / 1.238 GB, free: 10.05 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.0001906/0.7331, allocations: 225.9 kB / 1.238 GB, free: 9.828 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002401/0.7334, allocations: 174.9 kB / 1.238 GB, free: 9.656 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002843/0.7362, allocations: 1.794 MB / 1.24 GB, free: 7.867 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.024e-05/0.7363, allocations: 3.984 kB / 1.24 GB, free: 7.863 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.109e-06/0.7363, allocations: 3.984 kB / 1.24 GB, free: 7.859 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004154/0.7367, allocations: 379.4 kB / 1.241 GB, free: 7.469 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001422/0.7368, allocations: 24 kB / 1.241 GB, free: 7.445 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004359/0.7373, allocations: 39.95 kB / 1.241 GB, free: 7.406 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001091/0.7374, allocations: 44.59 kB / 1.241 GB, free: 7.363 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.001201/0.7386, allocations: 0.8401 MB / 1.242 GB, free: 6.473 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