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.00106/0.00106, allocations: 110.8 kB / 16.42 MB, free: 6.469 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.001002/0.001002, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.248/1.248, allocations: 222.9 MB / 241 MB, free: 15.07 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.05686/0.05686, allocations: 12.05 MB / 303.3 MB, free: 3.094 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005116/0.0005116, allocations: 39.92 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.832/1.832, allocations: 272.3 MB / 0.6657 GB, free: 18.39 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002015/0.002015, allocations: 119.8 kB / 0.8936 GB, free: 15.02 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4396/0.4416, allocations: 109.1 MB / 1 GB, free: 8.16 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.Actuators.Valves.ExpansionValves.Examples.StaticHeatPumpBoundaries): time 0.07492/0.5165, allocations: 91.65 MB / 1.09 GB, free: 4.566 MB / 0.7638 GB Notification: Performance of NFInst.instExpressions: time 0.06158/0.5782, allocations: 58.87 MB / 1.147 GB, free: 9.496 MB / 0.8263 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002168/0.5804, allocations: 75.56 kB / 1.147 GB, free: 9.422 MB / 0.8263 GB Notification: Performance of NFTyping.typeComponents: time 0.003067/0.5834, allocations: 1.482 MB / 1.149 GB, free: 7.934 MB / 0.8263 GB Notification: Performance of NFTyping.typeBindings: time 0.006605/0.5901, allocations: 2.835 MB / 1.151 GB, free: 5.086 MB / 0.8263 GB Notification: Performance of NFTyping.typeClassSections: time 0.01559/0.6057, allocations: 6.761 MB / 1.158 GB, free: 14.33 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.004623/0.6103, allocations: 3.79 MB / 1.162 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00214/0.6125, allocations: 1.696 MB / 1.163 GB, free: 8.793 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002095/0.6146, allocations: 1.424 MB / 1.165 GB, free: 7.363 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008428/0.623, allocations: 6.422 MB / 1.171 GB, free: 0.9258 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0003528/0.6234, allocations: 152 kB / 1.171 GB, free: 0.7773 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02117/0.6446, allocations: 11.35 MB / 1.182 GB, free: 5.41 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0007502/0.6454, allocations: 0.514 MB / 1.183 GB, free: 4.895 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001148/0.6465, allocations: 0.9285 MB / 1.184 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.03927/0.6858, allocations: 16.34 MB / 1.2 GB, free: 3.598 MB / 0.8732 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.6859, allocations: 0 / 1.2 GB, free: 3.598 MB / 0.8732 GB Notification: Performance of FrontEnd: time 1.473e-06/0.6859, allocations: 0 / 1.2 GB, free: 3.598 MB / 0.8732 GB Notification: Performance of Transformations before backend: time 2.414e-05/0.6859, allocations: 0 / 1.2 GB, free: 3.598 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.01002/0.6959, allocations: 2.915 MB / 1.203 GB, free: 0.6172 MB / 0.8732 GB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.696, allocations: 8.031 kB / 1.203 GB, free: 0.6094 MB / 0.8732 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00064/0.6966, allocations: 261.2 kB / 1.203 GB, free: 360 kB / 0.8732 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002068/0.6987, allocations: 1.315 MB / 1.204 GB, free: 14.98 MB / 0.8888 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.763e-05/0.6988, allocations: 90.11 kB / 1.204 GB, free: 14.89 MB / 0.8888 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001643/0.6989, allocations: 104 kB / 1.204 GB, free: 14.79 MB / 0.8888 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002534/0.7015, allocations: 1.578 MB / 1.206 GB, free: 13.13 MB / 0.8888 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.394e-05/0.7015, allocations: 0 / 1.206 GB, free: 13.13 MB / 0.8888 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001163/0.7016, allocations: 51.94 kB / 1.206 GB, free: 13.08 MB / 0.8888 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.024e-05/0.7017, allocations: 35.98 kB / 1.206 GB, free: 13.04 MB / 0.8888 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002538/0.7042, allocations: 1.429 MB / 1.207 GB, free: 11.61 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.007014/0.7113, allocations: 6.852 MB / 1.214 GB, free: 4.164 MB / 0.8888 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001844/0.7131, allocations: 1.041 MB / 1.215 GB, free: 3.109 MB / 0.8888 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007693/0.7139, allocations: 496 kB / 1.215 GB, free: 2.621 MB / 0.8888 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003152/0.7171, allocations: 4.091 MB / 1.219 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001088/0.7182, allocations: 0.5998 MB / 1.22 GB, free: 13.03 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=86): time 2.845e-06/0.7182, allocations: 0 / 1.22 GB, free: 13.03 MB / 0.9044 GB Notification: Performance of matching and sorting (n=86): time 0.004358/0.7225, allocations: 1.88 MB / 1.222 GB, free: 11.12 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.985e-05/0.7226, allocations: 240 kB / 1.222 GB, free: 10.84 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001987/0.7246, allocations: 1.853 MB / 1.224 GB, free: 8.973 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 6.57e-05/0.7247, allocations: 37.7 kB / 1.224 GB, free: 8.93 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.000645/0.7254, allocations: 0.7996 MB / 1.225 GB, free: 8.121 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002371/0.7256, allocations: 295.7 kB / 1.225 GB, free: 7.828 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002479/0.7259, allocations: 166.7 kB / 1.225 GB, free: 7.66 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001137/0.726, allocations: 337.9 kB / 1.225 GB, free: 7.324 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007638/0.7268, allocations: 452.6 kB / 1.226 GB, free: 6.879 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008972/0.7277, allocations: 0.6071 MB / 1.226 GB, free: 6.219 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001607/0.7293, allocations: 1.015 MB / 1.227 GB, free: 5.168 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.7293, allocations: 0 / 1.227 GB, free: 5.168 MB / 0.9044 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.002552/0.7319, allocations: 1.443 MB / 1.229 GB, free: 3.719 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.7319, allocations: 8.312 kB / 1.229 GB, free: 3.711 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.537e-05/0.7319, allocations: 11.98 kB / 1.229 GB, free: 3.699 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00146/0.7334, allocations: 388.4 kB / 1.229 GB, free: 3.316 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004173/0.7338, allocations: 123.8 kB / 1.229 GB, free: 3.195 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001374/0.7352, allocations: 1.149 MB / 1.231 GB, free: 2.023 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005311/0.7357, allocations: 83.25 kB / 1.231 GB, free: 1.941 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.247e-05/0.7358, allocations: 36.05 kB / 1.231 GB, free: 1.906 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001288/0.7371, allocations: 0.9273 MB / 1.232 GB, free: 0.9727 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008346/0.738, allocations: 0.5937 MB / 1.232 GB, free: 332 kB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001504/0.7395, allocations: 0.9801 MB / 1.233 GB, free: 15.31 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.885e-06/0.7395, allocations: 4 kB / 1.233 GB, free: 15.31 MB / 0.92 GB Notification: Performance of matching and sorting (n=105) (initialization_lambda0): time 0.002373/0.7419, allocations: 1.357 MB / 1.234 GB, free: 13.94 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.7419, allocations: 8 kB / 1.234 GB, free: 13.93 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.7419, allocations: 7.938 kB / 1.234 GB, free: 13.92 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005061/0.7424, allocations: 200.6 kB / 1.235 GB, free: 13.72 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004612/0.7429, allocations: 124.1 kB / 1.235 GB, free: 13.6 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003193/0.7461, allocations: 2.874 MB / 1.238 GB, free: 10.59 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000518/0.7466, allocations: 79.25 kB / 1.238 GB, free: 10.51 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.799e-05/0.7467, allocations: 35.98 kB / 1.238 GB, free: 10.48 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.0002286/0.7469, allocations: 233.7 kB / 1.238 GB, free: 10.25 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002455/0.7472, allocations: 158 kB / 1.238 GB, free: 10.09 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002808/0.75, allocations: 1.799 MB / 1.24 GB, free: 8.301 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.098e-05/0.75, allocations: 7.984 kB / 1.24 GB, free: 8.293 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.75, allocations: 0 / 1.24 GB, free: 8.293 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005108/0.7506, allocations: 366.4 kB / 1.24 GB, free: 7.914 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001344/0.7507, allocations: 20 kB / 1.24 GB, free: 7.895 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004156/0.7511, allocations: 35.97 kB / 1.24 GB, free: 7.859 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000116/0.7512, allocations: 56.52 kB / 1.24 GB, free: 7.805 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.001198/0.7524, allocations: 0.829 MB / 1.241 GB, free: 6.918 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