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.001566/0.001566, allocations: 114.2 kB / 16.42 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001749/0.001749, allocations: 185.7 kB / 17.35 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.526/1.526, allocations: 222.9 MB / 241 MB, free: 15.16 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.05796/0.05796, allocations: 12.05 MB / 303.3 MB, free: 3.121 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005022/0.0005022, allocations: 31.94 kB / 356.3 MB, free: 13.99 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.871/1.871, allocations: 272.3 MB / 0.6657 GB, free: 18.32 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002083/0.002083, allocations: 107.8 kB / 0.8935 GB, free: 15.09 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5882/0.5903, allocations: 109.2 MB / 1 GB, free: 8.398 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.Movers.Compressors.Examples.RotaryCompressorPressureHeatLosses): time 0.09751/0.6879, allocations: 83.52 MB / 1.082 GB, free: 12.91 MB / 0.7638 GB Notification: Performance of NFInst.instExpressions: time 0.1182/0.8061, allocations: 89.42 MB / 1.169 GB, free: 3.188 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002632/0.8088, allocations: 39.75 kB / 1.169 GB, free: 3.148 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.004553/0.8134, allocations: 1.068 MB / 1.17 GB, free: 2.078 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.03517/0.8486, allocations: 7.708 MB / 1.178 GB, free: 10.34 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0395/0.8881, allocations: 9.228 MB / 1.187 GB, free: 1.102 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.06213/0.9503, allocations: 24.09 MB / 1.21 GB, free: 8.965 MB / 0.8888 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002803/0.9531, allocations: 1.059 MB / 1.211 GB, free: 7.887 MB / 0.8888 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004379/0.9575, allocations: 1.374 MB / 1.213 GB, free: 6.512 MB / 0.8888 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02376/0.9813, allocations: 8.871 MB / 1.221 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0007582/0.9821, allocations: 172 kB / 1.221 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.08937/1.072, allocations: 27.26 MB / 1.248 GB, free: 2.141 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.001045/1.073, allocations: 466.4 kB / 1.248 GB, free: 1.684 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.002387/1.075, allocations: 0.9914 MB / 1.249 GB, free: 0.6875 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.6213/1.696, allocations: 37.77 MB / 1.286 GB, free: 72.84 MB / 0.9513 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/1.696, allocations: 0 / 1.286 GB, free: 72.84 MB / 0.9513 GB Notification: Performance of FrontEnd: time 2.826e-06/1.696, allocations: 0.5312 kB / 1.286 GB, free: 72.84 MB / 0.9513 GB Notification: Performance of Transformations before backend: time 4.318e-05/1.696, allocations: 0 / 1.286 GB, free: 72.84 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.02408/1.721, allocations: 3.731 MB / 1.29 GB, free: 71.16 MB / 0.9513 GB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/1.721, allocations: 9.594 kB / 1.29 GB, free: 71.16 MB / 0.9513 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002121/1.723, allocations: 355.6 kB / 1.29 GB, free: 71.06 MB / 0.9513 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003078/1.726, allocations: 1.789 MB / 1.292 GB, free: 70.66 MB / 0.9513 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.339e-05/1.726, allocations: 90.42 kB / 1.292 GB, free: 70.66 MB / 0.9513 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002312/1.726, allocations: 119.5 kB / 1.292 GB, free: 70.66 MB / 0.9513 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003369/1.73, allocations: 1.633 MB / 1.294 GB, free: 70.46 MB / 0.9513 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.313e-05/1.73, allocations: 7.531 kB / 1.294 GB, free: 70.46 MB / 0.9513 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001306/1.73, allocations: 53.91 kB / 1.294 GB, free: 70.46 MB / 0.9513 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.209e-05/1.73, allocations: 31.84 kB / 1.294 GB, free: 70.46 MB / 0.9513 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003971/1.734, allocations: 1.844 MB / 1.296 GB, free: 70.44 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.008224/1.742, allocations: 7.8 MB / 1.303 GB, free: 66.35 MB / 0.9513 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002295/1.744, allocations: 1.141 MB / 1.304 GB, free: 66.32 MB / 0.9513 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008969/1.745, allocations: 0.6023 MB / 1.305 GB, free: 66.32 MB / 0.9513 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01926/1.764, allocations: 28.01 MB / 1.332 GB, free: 38.52 MB / 0.9513 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.224e-05/1.765, allocations: 48.66 kB / 1.332 GB, free: 38.48 MB / 0.9513 GB Notification: Performance of pre-optimization done (n=111): time 3.497e-06/1.765, allocations: 0.5938 kB / 1.332 GB, free: 38.48 MB / 0.9513 GB Notification: Performance of matching and sorting (n=115): time 0.0161/1.781, allocations: 5.11 MB / 1.337 GB, free: 37.68 MB / 0.9513 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.498e-05/1.781, allocations: 143.9 kB / 1.338 GB, free: 37.52 MB / 0.9513 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00123/1.782, allocations: 1.116 MB / 1.339 GB, free: 37.36 MB / 0.9513 GB Notification: Performance of collectPreVariables (initialization): time 9.487e-05/1.782, allocations: 48.61 kB / 1.339 GB, free: 37.33 MB / 0.9513 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003385/1.782, allocations: 0.6464 MB / 1.339 GB, free: 37.1 MB / 0.9513 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002473/1.783, allocations: 389 kB / 1.34 GB, free: 36.85 MB / 0.9513 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000332/1.783, allocations: 224.6 kB / 1.34 GB, free: 36.83 MB / 0.9513 GB Notification: Performance of setup shared object (initialization): time 6.863e-05/1.783, allocations: 352 kB / 1.34 GB, free: 36.52 MB / 0.9513 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008733/1.784, allocations: 0.531 MB / 1.341 GB, free: 36.52 MB / 0.9513 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001016/1.785, allocations: 0.7376 MB / 1.341 GB, free: 36.32 MB / 0.9513 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05216/1.837, allocations: 8.286 MB / 1.35 GB, free: 35.56 MB / 0.9513 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/1.837, allocations: 2.734 kB / 1.35 GB, free: 35.56 MB / 0.9513 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.004697/1.842, allocations: 2.015 MB / 1.352 GB, free: 35.38 MB / 0.9513 GB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/1.842, allocations: 7.531 kB / 1.352 GB, free: 35.38 MB / 0.9513 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.807e-05/1.842, allocations: 6.219 kB / 1.352 GB, free: 35.38 MB / 0.9513 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009186/1.851, allocations: 1.098 MB / 1.353 GB, free: 35.32 MB / 0.9513 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009741/1.852, allocations: 233.6 kB / 1.353 GB, free: 35.31 MB / 0.9513 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001552/1.854, allocations: 2.139 MB / 1.355 GB, free: 33.74 MB / 0.9513 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001221/1.855, allocations: 53.56 kB / 1.355 GB, free: 33.74 MB / 0.9513 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000124/1.855, allocations: 61.28 kB / 1.355 GB, free: 33.74 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.001431/1.857, allocations: 0.8373 MB / 1.356 GB, free: 33.65 MB / 0.9513 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009967/1.858, allocations: 0.7482 MB / 1.357 GB, free: 33.43 MB / 0.9513 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0505/1.908, allocations: 7.968 MB / 1.364 GB, free: 32.61 MB / 0.9513 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.39e-06/1.908, allocations: 2.625 kB / 1.364 GB, free: 32.61 MB / 0.9513 GB Notification: Performance of matching and sorting (n=142) (initialization_lambda0): time 0.004646/1.913, allocations: 1.987 MB / 1.366 GB, free: 32.42 MB / 0.9513 GB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/1.913, allocations: 6.062 kB / 1.366 GB, free: 32.42 MB / 0.9513 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.516e-05/1.913, allocations: 5.5 kB / 1.366 GB, free: 32.42 MB / 0.9513 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008385/1.921, allocations: 0.9825 MB / 1.367 GB, free: 32.35 MB / 0.9513 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009369/1.922, allocations: 225.7 kB / 1.368 GB, free: 32.35 MB / 0.9513 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00144/1.924, allocations: 2.102 MB / 1.37 GB, free: 30.78 MB / 0.9513 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001482/1.925, allocations: 60.67 kB / 1.37 GB, free: 30.78 MB / 0.9513 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001335/1.925, allocations: 53.34 kB / 1.37 GB, free: 30.78 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.0005025/1.926, allocations: 267.6 kB / 1.37 GB, free: 30.59 MB / 0.9513 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004654/1.926, allocations: 145.4 kB / 1.37 GB, free: 30.52 MB / 0.9513 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004425/1.931, allocations: 3.359 MB / 1.373 GB, free: 30.29 MB / 0.9513 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003167/1.934, allocations: 2.973 MB / 1.376 GB, free: 29.74 MB / 0.9513 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/1.934, allocations: 0 / 1.376 GB, free: 29.74 MB / 0.9513 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009047/1.935, allocations: 409.5 kB / 1.377 GB, free: 29.54 MB / 0.9513 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002271/1.935, allocations: 25.94 kB / 1.377 GB, free: 29.54 MB / 0.9513 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007956/1.936, allocations: 60.98 kB / 1.377 GB, free: 29.54 MB / 0.9513 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001717/1.936, allocations: 88.89 kB / 1.377 GB, free: 29.53 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.001347/1.937, allocations: 1.804 MB / 1.379 GB, free: 27.82 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