Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_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.3.2/package.mo", uses=false) Using package AixLib with version 1.3.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/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_AixLib.Fluid.Movers.Compressors.Examples.RotaryCompressorPressureHeatLosses") translateModel(AixLib.Fluid.Movers.Compressors.Examples.RotaryCompressorPressureHeatLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_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.001294/0.001294, allocations: 119.4 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.001335/0.001335, allocations: 183.9 kB / 17.35 MB, free: 5.75 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.289/1.289, 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.05519/0.05519, allocations: 12.04 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.0004793/0.0004793, allocations: 15.97 kB / 356.3 MB, free: 14 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/package.mo): time 1.484/1.484, allocations: 268.2 MB / 0.6617 GB, free: 2.637 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001931/0.001931, allocations: 115.8 kB / 0.888 GB, free: 2.836 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4998/0.5017, allocations: 108.4 MB / 0.9938 GB, free: 1.172 MB / 0.67 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.Movers.Compressors.Examples.RotaryCompressorPressureHeatLosses): time 0.06877/0.5705, allocations: 83.52 MB / 1.075 GB, free: 13.36 MB / 0.7638 GB Notification: Performance of NFInst.instExpressions: time 0.08962/0.6602, allocations: 89.43 MB / 1.163 GB, free: 3.633 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001779/0.662, allocations: 39.75 kB / 1.163 GB, free: 3.594 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.002725/0.6647, allocations: 1.111 MB / 1.164 GB, free: 2.477 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.019/0.6838, allocations: 7.918 MB / 1.172 GB, free: 10.53 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.02191/0.7057, allocations: 9.421 MB / 1.181 GB, free: 1.102 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.03275/0.7385, allocations: 24.09 MB / 1.204 GB, free: 8.953 MB / 0.8888 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001959/0.7404, allocations: 1.059 MB / 1.205 GB, free: 7.875 MB / 0.8888 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002965/0.7434, allocations: 1.373 MB / 1.207 GB, free: 6.5 MB / 0.8888 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01298/0.7564, allocations: 8.867 MB / 1.215 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0005195/0.757, allocations: 172 kB / 1.216 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.4903/1.247, allocations: 27.26 MB / 1.242 GB, free: 51.72 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.000723/1.248, allocations: 455.5 kB / 1.243 GB, free: 51.72 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001262/1.249, allocations: 0.9932 MB / 1.244 GB, free: 51.72 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.09662/1.346, allocations: 37.78 MB / 1.28 GB, free: 51.45 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 7.584e-06/1.346, allocations: 0 / 1.28 GB, free: 51.45 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.463e-06/1.346, allocations: 0 / 1.28 GB, free: 51.45 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 4.479e-05/1.346, allocations: 3.75 kB / 1.28 GB, free: 51.45 MB / 0.9044 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.02519/1.371, allocations: 3.73 MB / 1.284 GB, free: 49.29 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/1.371, allocations: 8.844 kB / 1.284 GB, free: 49.28 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001944/1.373, allocations: 356.6 kB / 1.284 GB, free: 49.01 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002666/1.376, allocations: 1.781 MB / 1.286 GB, free: 48.18 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.943e-05/1.376, allocations: 92.2 kB / 1.286 GB, free: 48.13 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001788/1.376, allocations: 126.9 kB / 1.286 GB, free: 48.05 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003195/1.379, allocations: 1.634 MB / 1.288 GB, free: 47.18 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.986e-05/1.379, allocations: 7.281 kB / 1.288 GB, free: 47.17 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000126/1.38, allocations: 56.25 kB / 1.288 GB, free: 47.16 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.109e-05/1.38, allocations: 31.88 kB / 1.288 GB, free: 47.13 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003724/1.383, allocations: 1.845 MB / 1.29 GB, free: 46.19 MB / 0.9044 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.007717/1.391, allocations: 7.804 MB / 1.297 GB, free: 40.71 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002136/1.393, allocations: 1.135 MB / 1.299 GB, free: 40.16 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008529/1.394, allocations: 0.5966 MB / 1.299 GB, free: 39.87 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01933/1.413, allocations: 28.01 MB / 1.327 GB, free: 8.676 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.654e-05/1.413, allocations: 51.47 kB / 1.327 GB, free: 8.629 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=111): time 3.506e-06/1.414, allocations: 0 / 1.327 GB, free: 8.629 MB / 0.9044 GB Notification: Performance of matching and sorting (n=115): time 0.01629/1.43, allocations: 5.116 MB / 1.332 GB, free: 4.77 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.514e-05/1.43, allocations: 141.5 kB / 1.332 GB, free: 4.598 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001182/1.431, allocations: 1.116 MB / 1.333 GB, free: 3.77 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 9.881e-05/1.431, allocations: 42.33 kB / 1.333 GB, free: 3.734 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003195/1.431, allocations: 0.6447 MB / 1.333 GB, free: 3.355 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002273/1.432, allocations: 388.5 kB / 1.334 GB, free: 3.027 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002882/1.432, allocations: 233.1 kB / 1.334 GB, free: 2.879 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 5.582e-05/1.432, allocations: 348.9 kB / 1.334 GB, free: 2.551 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000852/1.433, allocations: 0.5297 MB / 1.335 GB, free: 2.223 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001011/1.434, allocations: 0.7357 MB / 1.336 GB, free: 1.648 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05692/1.491, allocations: 8.297 MB / 1.344 GB, free: 10.31 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/1.491, allocations: 0 / 1.344 GB, free: 10.31 MB / 0.92 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.005197/1.496, allocations: 2.011 MB / 1.346 GB, free: 8.879 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/1.496, allocations: 12.09 kB / 1.346 GB, free: 8.867 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.949e-05/1.496, allocations: 7.984 kB / 1.346 GB, free: 8.859 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009228/1.505, allocations: 1.099 MB / 1.347 GB, free: 7.875 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009252/1.506, allocations: 224.3 kB / 1.347 GB, free: 7.676 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001837/1.508, allocations: 2.14 MB / 1.349 GB, free: 5.738 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009673/1.509, allocations: 63.3 kB / 1.349 GB, free: 5.695 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001122/1.509, allocations: 54.78 kB / 1.349 GB, free: 5.652 MB / 0.92 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.001487/1.511, allocations: 0.8361 MB / 1.35 GB, free: 5.145 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001094/1.512, allocations: 0.7381 MB / 1.351 GB, free: 4.551 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.05532/1.567, allocations: 7.972 MB / 1.359 GB, free: 13.5 MB / 0.9357 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.448e-06/1.567, allocations: 0 / 1.359 GB, free: 13.5 MB / 0.9357 GB Notification: Performance of matching and sorting (n=142) (initialization_lambda0): time 0.005156/1.572, allocations: 1.99 MB / 1.36 GB, free: 12.07 MB / 0.9357 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/1.572, allocations: 8 kB / 1.36 GB, free: 12.06 MB / 0.9357 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.438e-05/1.572, allocations: 4 kB / 1.36 GB, free: 12.06 MB / 0.9357 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008503/1.581, allocations: 0.9828 MB / 1.361 GB, free: 11.18 MB / 0.9357 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009093/1.582, allocations: 234 kB / 1.362 GB, free: 10.98 MB / 0.9357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001697/1.584, allocations: 2.1 MB / 1.364 GB, free: 9.055 MB / 0.9357 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000972/1.585, allocations: 57.7 kB / 1.364 GB, free: 9.016 MB / 0.9357 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001107/1.585, allocations: 54.17 kB / 1.364 GB, free: 8.977 MB / 0.9357 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.000387/1.585, allocations: 266.2 kB / 1.364 GB, free: 8.762 MB / 0.9357 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003973/1.586, allocations: 150.2 kB / 1.364 GB, free: 8.613 MB / 0.9357 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004864/1.59, allocations: 3.364 MB / 1.367 GB, free: 6.465 MB / 0.9357 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003505/1.594, allocations: 2.964 MB / 1.37 GB, free: 4.441 MB / 0.9357 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.643e-06/1.594, allocations: 96 / 1.37 GB, free: 4.441 MB / 0.9357 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006394/1.595, allocations: 420.6 kB / 1.371 GB, free: 4.109 MB / 0.9357 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001962/1.595, allocations: 22.69 kB / 1.371 GB, free: 4.105 MB / 0.9357 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007837/1.596, allocations: 66.94 kB / 1.371 GB, free: 4.059 MB / 0.9357 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001585/1.596, allocations: 83.7 kB / 1.371 GB, free: 3.992 MB / 0.9357 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.001663/1.597, allocations: 1.807 MB / 1.373 GB, free: 1.883 MB / 0.9357 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