Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_latest_AixLib.Fluid.Movers.Compressors.Examples.RotaryCompressorPressureHeatLosses.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.Movers.Compressors.Examples.RotaryCompressorPressureHeatLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Fluid.Movers.Compressors.Examples.RotaryCompressorPressureHeatLosses") translateModel(AixLib.Fluid.Movers.Compressors.Examples.RotaryCompressorPressureHeatLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Fluid.Movers.Compressors.Examples.RotaryCompressorPressureHeatLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001126/0.001126, allocations: 109.9 kB / 16.42 MB, free: 6.473 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.001132/0.001132, allocations: 190.7 kB / 17.35 MB, free: 5.711 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.321/1.321, allocations: 222.9 MB / 241.1 MB, free: 15.09 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.06112/0.06112, allocations: 12.06 MB / 303.3 MB, free: 3.086 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005176/0.0005176, allocations: 31.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.87/1.87, allocations: 272.3 MB / 0.6657 GB, free: 18.38 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002118/0.002118, allocations: 119.8 kB / 0.8935 GB, free: 15.07 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.451/0.4531, allocations: 109.2 MB / 1 GB, free: 8.484 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.Movers.Compressors.Examples.RotaryCompressorPressureHeatLosses): time 0.07285/0.526, allocations: 83.53 MB / 1.082 GB, free: 12.93 MB / 0.7638 GB Notification: Performance of NFInst.instExpressions: time 0.08886/0.6149, allocations: 89.41 MB / 1.169 GB, free: 3.211 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001811/0.6167, allocations: 43.69 kB / 1.169 GB, free: 3.168 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.002693/0.6194, allocations: 1.111 MB / 1.17 GB, free: 2.051 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.01975/0.6392, allocations: 7.921 MB / 1.178 GB, free: 10.1 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0222/0.6614, allocations: 9.42 MB / 1.187 GB, free: 0.668 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.03817/0.6996, allocations: 24.1 MB / 1.211 GB, free: 8.52 MB / 0.8888 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001755/0.7014, allocations: 1.048 MB / 1.212 GB, free: 7.453 MB / 0.8888 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00281/0.7042, allocations: 1.375 MB / 1.213 GB, free: 6.074 MB / 0.8888 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01544/0.7197, allocations: 8.867 MB / 1.222 GB, free: 13.19 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0005186/0.7202, allocations: 176 kB / 1.222 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05657/0.7768, allocations: 27.26 MB / 1.248 GB, free: 1.703 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0007411/0.7776, allocations: 462.4 kB / 1.249 GB, free: 1.25 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001708/0.7793, allocations: 0.9915 MB / 1.25 GB, free: 260 kB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.5384/1.318, allocations: 37.82 MB / 1.287 GB, free: 72.63 MB / 0.9513 GB Notification: Performance of FrontEnd - DAE generated: time 7.144e-06/1.318, allocations: 0.5625 kB / 1.287 GB, free: 72.63 MB / 0.9513 GB Notification: Performance of FrontEnd: time 2.175e-06/1.318, allocations: 0.625 kB / 1.287 GB, free: 72.63 MB / 0.9513 GB Notification: Performance of Transformations before backend: time 4.093e-05/1.318, allocations: 1.75 kB / 1.287 GB, free: 72.63 MB / 0.9513 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.02312/1.341, allocations: 3.887 MB / 1.291 GB, free: 70.6 MB / 0.9513 GB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/1.341, allocations: 9.969 kB / 1.291 GB, free: 70.6 MB / 0.9513 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00206/1.343, allocations: 362 kB / 1.291 GB, free: 70.5 MB / 0.9513 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002816/1.346, allocations: 1.795 MB / 1.293 GB, free: 70.09 MB / 0.9513 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001009/1.346, allocations: 91.83 kB / 1.293 GB, free: 70.08 MB / 0.9513 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002337/1.346, allocations: 123 kB / 1.293 GB, free: 70.08 MB / 0.9513 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003449/1.35, allocations: 1.639 MB / 1.294 GB, free: 69.88 MB / 0.9513 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.362e-05/1.35, allocations: 4.031 kB / 1.294 GB, free: 69.88 MB / 0.9513 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001255/1.35, allocations: 47.03 kB / 1.295 GB, free: 69.88 MB / 0.9513 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.125e-05/1.35, allocations: 34.67 kB / 1.295 GB, free: 69.88 MB / 0.9513 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004117/1.354, allocations: 1.848 MB / 1.296 GB, free: 69.87 MB / 0.9513 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.007938/1.362, allocations: 7.812 MB / 1.304 GB, free: 65.78 MB / 0.9513 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002253/1.364, allocations: 1.135 MB / 1.305 GB, free: 65.75 MB / 0.9513 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009114/1.365, allocations: 0.6075 MB / 1.306 GB, free: 65.75 MB / 0.9513 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01992/1.385, allocations: 28.01 MB / 1.333 GB, free: 37.94 MB / 0.9513 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.124e-05/1.385, allocations: 46.38 kB / 1.333 GB, free: 37.9 MB / 0.9513 GB Notification: Performance of pre-optimization done (n=111): time 3.777e-06/1.385, allocations: 0.6562 kB / 1.333 GB, free: 37.9 MB / 0.9513 GB Notification: Performance of matching and sorting (n=115): time 0.01674/1.402, allocations: 5.135 MB / 1.338 GB, free: 37.08 MB / 0.9513 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.393e-05/1.402, allocations: 143.7 kB / 1.338 GB, free: 36.92 MB / 0.9513 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001233/1.403, allocations: 1.117 MB / 1.339 GB, free: 36.76 MB / 0.9513 GB Notification: Performance of collectPreVariables (initialization): time 7.941e-05/1.403, allocations: 41.67 kB / 1.339 GB, free: 36.73 MB / 0.9513 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003471/1.404, allocations: 0.6601 MB / 1.34 GB, free: 36.48 MB / 0.9513 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002326/1.404, allocations: 412.6 kB / 1.34 GB, free: 36.22 MB / 0.9513 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003276/1.404, allocations: 223.5 kB / 1.341 GB, free: 36.2 MB / 0.9513 GB Notification: Performance of setup shared object (initialization): time 5.87e-05/1.404, allocations: 346 kB / 1.341 GB, free: 35.89 MB / 0.9513 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008999/1.405, allocations: 0.5354 MB / 1.341 GB, free: 35.89 MB / 0.9513 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001052/1.406, allocations: 0.7377 MB / 1.342 GB, free: 35.69 MB / 0.9513 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05381/1.46, allocations: 8.304 MB / 1.35 GB, free: 34.93 MB / 0.9513 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/1.46, allocations: 0 / 1.35 GB, free: 34.93 MB / 0.9513 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.004941/1.465, allocations: 2.012 MB / 1.352 GB, free: 34.74 MB / 0.9513 GB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/1.465, allocations: 10.73 kB / 1.352 GB, free: 34.74 MB / 0.9513 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.67e-05/1.465, allocations: 6.812 kB / 1.352 GB, free: 34.74 MB / 0.9513 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009269/1.474, allocations: 1.103 MB / 1.353 GB, free: 34.67 MB / 0.9513 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008773/1.475, allocations: 229.6 kB / 1.354 GB, free: 34.67 MB / 0.9513 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001532/1.477, allocations: 2.144 MB / 1.356 GB, free: 33.1 MB / 0.9513 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00109/1.478, allocations: 51.34 kB / 1.356 GB, free: 33.1 MB / 0.9513 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001154/1.478, allocations: 56.78 kB / 1.356 GB, free: 33.09 MB / 0.9513 GB Warning: Assuming fixed start value for the following 2 variables: sink.dynBal.medium.p:VARIABLE(flow=false min = 0.0 max = 1e8 start = sink.dynBal.p_start unit = "Pa" fixed = true nominal = 1e6 stateSelect=StateSelect.prefer protected = true ) "Absolute pressure of medium" type: Real sink.dynBal.medium.h:VARIABLE(flow=false min = -1e10 max = 1e10 start = sink.dynBal.hStart unit = "J/kg" fixed = true nominal = 5e5 stateSelect=StateSelect.prefer protected = true ) "Specific enthalpy of medium" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001433/1.48, allocations: 0.8389 MB / 1.357 GB, free: 33.01 MB / 0.9513 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001031/1.481, allocations: 0.7433 MB / 1.357 GB, free: 32.79 MB / 0.9513 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.05227/1.533, allocations: 7.969 MB / 1.365 GB, free: 31.96 MB / 0.9513 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.909e-06/1.533, allocations: 0 / 1.365 GB, free: 31.96 MB / 0.9513 GB Notification: Performance of matching and sorting (n=142) (initialization_lambda0): time 0.004935/1.538, allocations: 1.99 MB / 1.367 GB, free: 31.76 MB / 0.9513 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/1.538, allocations: 12.72 kB / 1.367 GB, free: 31.76 MB / 0.9513 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.553e-05/1.538, allocations: 8.469 kB / 1.367 GB, free: 31.76 MB / 0.9513 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008704/1.547, allocations: 0.9812 MB / 1.368 GB, free: 31.7 MB / 0.9513 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009176/1.548, allocations: 227.5 kB / 1.368 GB, free: 31.7 MB / 0.9513 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001384/1.549, allocations: 2.097 MB / 1.37 GB, free: 30.12 MB / 0.9513 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001137/1.55, allocations: 64.23 kB / 1.37 GB, free: 30.12 MB / 0.9513 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001104/1.55, allocations: 52.38 kB / 1.37 GB, free: 30.12 MB / 0.9513 GB Warning: Assuming fixed start value for the following 2 variables: sink.dynBal.medium.p:VARIABLE(flow=false min = 0.0 max = 1e8 start = sink.dynBal.p_start unit = "Pa" fixed = true nominal = 1e6 stateSelect=StateSelect.prefer protected = true ) "Absolute pressure of medium" type: Real sink.dynBal.medium.h:VARIABLE(flow=false min = -1e10 max = 1e10 start = sink.dynBal.hStart unit = "J/kg" fixed = true nominal = 5e5 stateSelect=StateSelect.prefer protected = true ) "Specific enthalpy of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 7 (rotCom.heaTraOut.staOut.phase,rotCom.heaTraOut.staInl.phase,rotCom.heaTraInl.staOut.phase,rotCom.heaTraInl.staInl.phase,rotCom.comPro.comSta.staOut.phase,rotCom.comPro.comSta.staInl.phase,sink.dynBal.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 102 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,1), (1,7), (3,19)} Notification: Performance of prepare postOptimizeDAE: time 0.0003359/1.551, allocations: 265.5 kB / 1.371 GB, free: 29.93 MB / 0.9513 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003909/1.551, allocations: 159.2 kB / 1.371 GB, free: 29.85 MB / 0.9513 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004609/1.556, allocations: 3.357 MB / 1.374 GB, free: 29.63 MB / 0.9513 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003236/1.559, allocations: 2.972 MB / 1.377 GB, free: 29.09 MB / 0.9513 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/1.559, allocations: 0 / 1.377 GB, free: 29.09 MB / 0.9513 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006445/1.559, allocations: 412.1 kB / 1.377 GB, free: 28.89 MB / 0.9513 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002053/1.56, allocations: 30.22 kB / 1.377 GB, free: 28.89 MB / 0.9513 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008148/1.561, allocations: 62.62 kB / 1.377 GB, free: 28.89 MB / 0.9513 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001538/1.561, allocations: 90.31 kB / 1.378 GB, free: 28.88 MB / 0.9513 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): simVal.m_flow = rotCom.comPro.oveIseEff.p[2] * rotCom.comPro.comSta.etaVol * rotCom.comPro.VDis * rotCom.comPro.comSta.staInl.d 2/2 (1): rotCom.comPro.comSta.staInl.d = $cse2.rho 3/3 (9): $cse2 = AixLib.Fluid.Movers.Compressors.Examples.RotaryCompressorPressureHeatLosses.rotCom.comPro.Medium.derivsOf_ph(rotCom.heaTraInl.port_a.p, rotCom.comPro.comSta.staInl.h, rotCom.comPro.comSta.staInl.phase) 4/12 (1): rotCom.comPro.comSta.staInl.T = $cse2.T 5/13 (1): rotCom.comPro.oveVolEff.p[4] = -31.2710664413267 + 0.11851193533075073 * rotCom.comPro.comSta.staInl.T 6/14 (1): rotCom.comPro.comSta.etaVol = min(1.0, 0.801790164842882 + (-0.0521044823322188) * rotCom.comPro.oveVolEff.p[2] + 3.216164809959999e-4 * rotCom.comPro.oveVolEff.p[3] + (-0.00493895583430215) * rotCom.comPro.oveVolEff.p[4] + 0.049805496348618 * rotCom.comPro.oveVolEff.p[5] + (-0.021900176265525) * rotCom.comPro.oveVolEff.p[6]) 7/15 (1): rotCom.comPro.oveVolEff.p[3] = (-263.86427961077 + rotCom.comPro.comSta.staInl.T) * (-0.329139055138456 + 0.07248643614613713 * rotCom.comPro.piPre) 8/16 (1): rotCom.comPro.comSta.staInl.phase = AixLib.Fluid.Movers.Compressors.Examples.RotaryCompressorPressureHeatLosses.rotCom.comPro.Medium.getPhase_ph(rotCom.heaTraInl.port_a.p, rotCom.comPro.comSta.staInl.h) 9/17 (9): $cse8 = AixLib.Fluid.Movers.Compressors.Examples.RotaryCompressorPressureHeatLosses.rotCom.heaTraInl.Medium.derivsOf_ph(rotCom.heaTraInl.port_a.p, rotCom.comPro.comSta.staInl.h, rotCom.heaTraInl.staOut.phase) 10/26 (1): rotCom.heaTraInl.staOut.T = $cse8.T 11/27 (1): rotCom.heaTraInl.effTemDif = 0.5 * (rotCom.heaTraInl.staOut.T + rotCom.heaTraInl.staInl.T) - rotCom.ficWal.TWal 12/28 (1): rotCom.heaTraInl.staInl.T = $cse6.T 13/29 (9): $cse6 = AixLib.Fluid.Movers.Compressors.Examples.RotaryCompressorPressureHeatLosses.rotCom.heaTraInl.Medium.derivsOf_ph(rotCom.heaTraInl.port_a.p, rotCom.heaTraInl.staInl.h, rotCom.heaTraInl.staInl.phase) 14/38 (1): rotCom.heaTraInl.staInl.phase = AixLib.Fluid.Movers.Compressors.Examples.RotaryCompressorPressureHeatLosses.rotCom.heaTraInl.Medium.getPhase_ph(rotCom.heaTraInl.port_a.p, rotCom.heaTraInl.staInl.h) 15/39 (1): rotCom.heaTraInl.staOut.phase = AixLib.Fluid.Movers.Compressors.Examples.RotaryCompressorPressureHeatLosses.rotCom.heaTraInl.Medium.getPhase_ph(rotCom.heaTraInl.port_a.p, rotCom.comPro.comSta.staInl.h) 16/40 (1): rotCom.hydResInl.dp = source.p - rotCom.heaTraInl.port_a.p 17/41 (1): rotCom.hydResInl.dp = Modelica.Fluid.Utilities.regSquare2(simVal.m_flow, rotCom.hydResInl.m_flow_small, rotCom.hydResInl.k / rotCom.hydResInl.rho_a, rotCom.hydResInl.k / rotCom.hydResInl.rho_b, false, 1.0) 18/42 (1): rotCom.hydResOut.dp = Modelica.Fluid.Utilities.regSquare2(simVal.m_flow, rotCom.hydResOut.m_flow_small, rotCom.hydResOut.k / rotCom.hydResOut.rho_a, rotCom.hydResOut.k / rotCom.hydResOut.rho_b, false, 1.0) 19/43 (1): rotCom.hydResOut.dp = rotCom.comPro.comSta.staOut.p - rotCom.port_b.p 20/44 (1): rotCom.comPro.piPre = abs(rotCom.comPro.comSta.staOut.p / rotCom.heaTraInl.port_a.p) 21/45 (1): rotCom.comPro.oveVolEff.p[2] = -2.7772650427138292 + 0.6116382788268314 * rotCom.comPro.piPre 22/46 (1): simVal.m_flow = 2.777777777777778e-4 * simVal.rho * simVal.Kvs * valOpe.y * $cse17 23/47 (1): $cse17 = Modelica.Fluid.Utilities.regRoot2(simVal.dp, 1e-60, 1e-4, 1e-4, false, 1.0) 24/48 (1): simVal.dp = rotCom.port_b.p - sink.dynBal.medium.p 25/49 (1): rotCom.comPro.comSta.staInl.h = source.ports[1].h_outflow + rotCom.heaTraInl.heatPort.Q_flow / simVal.m_flow 26/50 (1): rotCom.port_a.h_outflow = rotCom.comPro.comSta.staInl.h + rotCom.heaTraInl.heatPort.Q_flow / simVal.m_flow 27/51 (1): rotCom.heaTraInl.staInl.h = if simVal.m_flow > 0.0 then source.ports[1].h_outflow else rotCom.port_a.h_outflow 28/52 (1): -rotCom.heaTraInl.heatPort.Q_flow = rotCom.heaTraInl.kAMea * rotCom.heaTraInl.effTemDif Variables: 1: rotCom.heaTraInl.effTemDif:VARIABLE(unit = "K" protected = true ) "Effective temperature difference between medium and wall" type: Real 2: rotCom.heaTraInl.staInl.h:VARIABLE(min = -1e10 max = 1e10 start = 4.2e5 unit = "J/kg" nominal = 5e5 protected = true ) "Specific enthalpy" type: Real 3: rotCom.port_a.h_outflow:VARIABLE(min = -1e10 max = 1e10 start = 4.2e5 unit = "J/kg" nominal = 5e5 ) "Specific thermodynamic enthalpy close to the connection point if m_flow < 0" type: Real 4: rotCom.heaTraInl.heatPort.Q_flow:VARIABLE(flow=true unit = "W" ) "Heat flow rate (positive if flowing from outside into the component)" type: Real 5: rotCom.port_b.p:VARIABLE(flow=false min = 0.0 max = 1e8 start = 101325.0 unit = "Pa" nominal = 1e6 ) "Thermodynamic pressure in the connection point" type: Real 6: simVal.dp:VARIABLE(start = simVal.dp_start unit = "Pa" ) "Pressure difference between port_a and port_b (= port_a.p - port_b.p)" type: Real 7: $cse17:VARIABLE(protected = true ) type: Real unreplaceable 8: rotCom.comPro.oveVolEff.p[2]:VARIABLE() "Array that contains all coefficients used for the calculation procedure" type: Real [6] 9: rotCom.comPro.piPre:VARIABLE(min = 0.0 max = rotCom.comPro.piPreMax unit = "1" ) "Ratio of compressor's outlet and inlet pressure" type: Real 10: rotCom.comPro.comSta.staOut.p:VARIABLE(min = 0.0 max = 1e8 start = rotCom.comPro.pInl0 - rotCom.comPro.dp_start unit = "Pa" nominal = 1e6 ) "Pressure" type: Real 11: rotCom.hydResOut.dp:VARIABLE(start = rotCom.hydResOut.dp_start unit = "Pa" nominal = if rotCom.hydResOut.dp_nominal_pos > 1e-15 then rotCom.hydResOut.dp_nominal_pos else 1.0 final = true ) "Pressure difference between port_a and port_b" type: Real 12: simVal.m_flow:VARIABLE(min = -1e5 max = 1e5 start = simVal.m_flow_start unit = "kg/s" nominal = if rotCom.hydResOut.m_flow_nominal_pos > 1e-15 then rotCom.hydResOut.m_flow_nominal_pos else 1.0 ) "Mass flow rate in design flow direction" type: Real 13: rotCom.hydResInl.dp:VARIABLE(start = rotCom.hydResInl.dp_start unit = "Pa" nominal = if rotCom.hydResInl.dp_nominal_pos > 1e-15 then rotCom.hydResInl.dp_nominal_pos else 1.0 final = true ) "Pressure difference between port_a and port_b" type: Real 14: rotCom.heaTraInl.staOut.phase:DISCRETE(min = 0 max = 2 protected = true ) "Phase of the fluid: 1 for 1-phase, 2 for two-phase, 0 for not known, e.g., interactive use" type: Integer 15: rotCom.heaTraInl.staInl.phase:DISCRETE(min = 0 max = 2 protected = true ) "Phase of the fluid: 1 for 1-phase, 2 for two-phase, 0 for not known, e.g., interactive use" type: Integer 16: $cse6.h:VARIABLE(protected = true ) type: Real unreplaceable 17: $cse6.rho:VARIABLE(protected = true ) type: Real unreplaceable 18: $cse6.pt:VARIABLE(protected = true ) type: Real unreplaceable 19: $cse6.pd:VARIABLE(protected = true ) type: Real unreplaceable 20: $cse6.cv:VARIABLE(protected = true ) type: Real unreplaceable 21: $cse6.T:VARIABLE(protected = true ) type: Real unreplaceable 22: $cse6.dpT:VARIABLE(protected = true ) type: Real unreplaceable 23: $cse6.p:VARIABLE(protected = true ) type: Real unreplaceable 24: rotCom.heaTraInl.port_a.p:VARIABLE(flow=false min = 0.0 max = 1e8 start = rotCom.comPro.pInl0 unit = "Pa" nominal = 1e6 ) "Thermodynamic pressure in the connection point" type: Real 25: $cse6.phase:DISCRETE(protected = true ) type: Integer unreplaceable 26: rotCom.heaTraInl.staInl.T:VARIABLE(min = 1.0 max = 1e4 start = 293.15 unit = "K" nominal = 350.0 protected = true ) "Temperature" type: Real 27: rotCom.heaTraInl.staOut.T:VARIABLE(min = 1.0 max = 1e4 start = 293.15 unit = "K" nominal = 350.0 protected = true ) "Temperature" type: Real 28: $cse8.pd:VARIABLE(protected = true ) type: Real unreplaceable 29: $cse8.rho:VARIABLE(protected = true ) type: Real unreplaceable 30: $cse8.h:VARIABLE(protected = true ) type: Real unreplaceable 31: $cse8.T:VARIABLE(protected = true ) type: Real unreplaceable 32: $cse8.phase:DISCRETE(protected = true ) type: Integer unreplaceable 33: $cse8.pt:VARIABLE(protected = true ) type: Real unreplaceable 34: $cse8.cv:VARIABLE(protected = true ) type: Real unreplaceable 35: $cse8.p:VARIABLE(protected = true ) type: Real unreplaceable 36: $cse8.dpT:VARIABLE(protected = true ) type: Real unreplaceable 37: rotCom.comPro.comSta.staInl.h:VARIABLE(min = -1e10 max = 1e10 start = rotCom.comPro.hInl0 unit = "J/kg" nominal = 4.2e5 ) "Specific enthalpy" type: Real 38: rotCom.comPro.oveVolEff.p[3]:VARIABLE() "Array that contains all coefficients used for the calculation procedure" type: Real [6] 39: rotCom.comPro.comSta.etaVol:VARIABLE(min = 0.0 max = 1.0 unit = "1" nominal = 0.9 ) "Overall volumetric efficiency" type: Real 40: rotCom.comPro.oveVolEff.p[4]:VARIABLE() "Array that contains all coefficients used for the calculation procedure" type: Real [6] 41: rotCom.comPro.comSta.staInl.T:VARIABLE(min = 1.0 max = 1e4 start = 293.15 unit = "K" nominal = 350.0 ) "Temperature" type: Real 42: $cse2.h:VARIABLE(protected = true ) type: Real unreplaceable 43: $cse2.pt:VARIABLE(protected = true ) type: Real unreplaceable 44: $cse2.rho:VARIABLE(protected = true ) type: Real unreplaceable 45: rotCom.comPro.comSta.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 46: $cse2.pd:VARIABLE(protected = true ) type: Real unreplaceable 47: $cse2.dpT:VARIABLE(protected = true ) type: Real unreplaceable 48: $cse2.T:VARIABLE(protected = true ) type: Real unreplaceable 49: $cse2.cv:VARIABLE(protected = true ) type: Real unreplaceable 50: $cse2.phase:DISCRETE(protected = true ) type: Integer unreplaceable 51: $cse2.p:VARIABLE(protected = true ) type: Real unreplaceable 52: rotCom.comPro.comSta.staInl.d:VARIABLE(min = 0.0 max = 1e5 start = 4.0 unit = "kg/m3" nominal = 500.0 ) "Density" 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.001282/1.562, allocations: 1.808 MB / 1.379 GB, free: 27.18 MB / 0.9513 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model AixLib.Fluid.Movers.Compressors.Examples.RotaryCompressorPressureHeatLosses could not be translated