Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001471/0.001471, allocations: 101.7 kB / 19.6 MB, free: 2.324 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001596/0.001596, allocations: 184.9 kB / 22.86 MB, free: 5.652 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.305/1.305, allocations: 225.6 MB / 251.6 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.01185/0.01185, allocations: 2.812 MB / 309.6 MB, free: 5.926 MB / 238.1 MB " [Timeout remaining time 180] Using package ExternalMedia with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/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(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit") translateModel(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.114e-05/2.114e-05, allocations: 2.281 kB / 431 MB, free: 20.41 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit): time 0.04064/0.04066, allocations: 50.66 MB / 481.7 MB, free: 1.566 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02772/0.06838, allocations: 28.94 MB / 0.4986 GB, free: 4.527 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006436/0.06902, allocations: 4 kB / 0.4986 GB, free: 4.523 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002072/0.0711, allocations: 0.6137 MB / 0.4992 GB, free: 3.906 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006417/0.07751, allocations: 2.254 MB / 0.5014 GB, free: 1.637 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/Media/BaseClasses/ExternalTwoPhaseMedium.mo:1092:15-1106:21:writable] Warning: Pure function 'ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit.medium1.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit.medium1.Medium.setSat_p'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/Media/BaseClasses/ExternalTwoPhaseMedium.mo:1092:15-1106:21:writable] Warning: Pure function 'ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit.medium2.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit.medium2.Medium.setSat_p'. Notification: Performance of NFTyping.typeClassSections: time 0.008054/0.08557, allocations: 2.925 MB / 0.5043 GB, free: 14.69 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001768/0.08733, allocations: 1.26 MB / 0.5055 GB, free: 13.43 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.962e-05/0.08742, allocations: 16.92 kB / 0.5055 GB, free: 13.41 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/Common/CheckCoolPropOptions.mo:2:1-104:25:writable] Warning: Pure function 'ExternalMedia.Common.CheckCoolPropOptions' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFEvalConstants.evaluate: time 0.5834/0.6709, allocations: 51.48 MB / 0.5558 GB, free: 10.8 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006002/0.6715, allocations: 315.4 kB / 0.5561 GB, free: 10.8 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.771e-05/0.6715, allocations: 27.25 kB / 0.5561 GB, free: 10.8 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1996/0.8711, allocations: 27.08 MB / 0.5826 GB, free: 5.449 MB / 398.1 MB Notification: Performance of combineBinaries: time 0.001438/0.8725, allocations: 1.215 MB / 0.5838 GB, free: 4.453 MB / 398.1 MB Notification: Performance of replaceArrayConstructors: time 0.0008257/0.8734, allocations: 0.8294 MB / 0.5846 GB, free: 3.715 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002161/0.8736, allocations: 99 kB / 0.5847 GB, free: 3.633 MB / 398.1 MB Notification: Performance of FrontEnd: time 0.0001017/0.8737, allocations: 4 kB / 0.5847 GB, free: 3.629 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 198 (90) * Number of variables: 198 (198) Notification: Performance of Bindings: time 0.004317/0.878, allocations: 4.046 MB / 0.5886 GB, free: 188 kB / 398.1 MB Notification: Performance of FunctionAlias: time 0.0002574/0.8782, allocations: 266.5 kB / 0.5889 GB, free: 72 kB / 398.1 MB Notification: Performance of Early Inline: time 0.002731/0.881, allocations: 2.859 MB / 0.5917 GB, free: 14.82 MB / 414.1 MB Notification: Performance of Simplify 1: time 0.0004412/0.8814, allocations: 321.5 kB / 0.592 GB, free: 14.53 MB / 414.1 MB Notification: Performance of Alias: time 0.002215/0.8836, allocations: 1.827 MB / 0.5938 GB, free: 13.23 MB / 414.1 MB Notification: Performance of Simplify 2: time 0.0004104/0.884, allocations: 306.1 kB / 0.5941 GB, free: 12.94 MB / 414.1 MB Notification: Performance of Remove Stream: time 0.0002252/0.8843, allocations: 190.8 kB / 0.5942 GB, free: 12.8 MB / 414.1 MB Notification: Performance of Detect States: time 0.0004532/0.8847, allocations: 473.5 kB / 0.5947 GB, free: 12.5 MB / 414.1 MB Notification: Performance of Events: time 0.0002024/0.8849, allocations: 137.9 kB / 0.5948 GB, free: 12.42 MB / 414.1 MB Notification: Performance of Partitioning: time 0.000922/0.8858, allocations: 0.8202 MB / 0.5956 GB, free: 11.81 MB / 414.1 MB Notification: Performance of Causalize: time 0.004437/0.8903, allocations: 3.579 MB / 0.5991 GB, free: 8.812 MB / 414.1 MB Notification: Performance of After Index Reduction Inline: time 0.001764/0.892, allocations: 1.511 MB / 0.6006 GB, free: 7.918 MB / 414.1 MB Notification: Performance of Simplify: time 0.0009107/0.893, allocations: 0.5949 MB / 0.6012 GB, free: 7.25 MB / 414.1 MB Notification: Performance of Inline: time 0.002377/0.8953, allocations: 2.25 MB / 0.6034 GB, free: 5.066 MB / 414.1 MB Notification: Performance of Partitioning: time 9.46e-05/0.8954, allocations: 48.03 kB / 0.6034 GB, free: 5.012 MB / 414.1 MB Notification: Performance of Cleanup: time 0.0003574/0.8958, allocations: 367 kB / 0.6038 GB, free: 4.676 MB / 414.1 MB Notification: Performance of Causalize: time 0.006016/0.9018, allocations: 3.625 MB / 0.6073 GB, free: 1.07 MB / 414.1 MB Notification: Performance of Tearing: time 3.303e-05/0.9018, allocations: 35 kB / 0.6073 GB, free: 1.039 MB / 414.1 MB Notification: Performance of Initialization: time 4.71e-07/0.9018, allocations: 0 / 0.6073 GB, free: 1.039 MB / 414.1 MB Notification: Performance of Remove Dummies: time 1.649e-05/0.9019, allocations: 8.875 kB / 0.6074 GB, free: 1.027 MB / 414.1 MB Notification: Performance of Tearing: time 2.673e-05/0.9019, allocations: 42.75 kB / 0.6074 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of Categorize: time 2.396e-05/0.9019, allocations: 10.7 kB / 0.6074 GB, free: 0.9805 MB / 414.1 MB Error: Internal error NBDifferentiate.differentiateFunction failed for class function 'medium1.Medium.setState_ph' input Real 'p'(nominal = 1e5, start = 1e5, max = 1e8, min = 0.0, displayUnit = \"bar\", unit = \"Pa\", quantity = \"Pressure\"); input Real 'h'(nominal = 1e6, start = 2e5, max = 1e10, min = -1e10, unit = \"J/kg\", quantity = \"SpecificEnergy\"); input Integer 'phase'(max = 2, min = 0) = 0; output 'medium1.Medium.ThermodynamicState' 'state'; end 'medium1.Medium.setState_ph'. Error: Internal error NBSolve.solveStrongComponent failed with status = Solve.UNSOLVABLE while trying to solve following strong component: BLOCK: Single Strong Component (status = Solve.UNPROCESSED) ------------------------------------------------------------- ### Variable: Real medium1.baseProperties.T_degC = Modelica.Units.Conversions.to_degC(-((-273.15) - medium1.baseProperties.T_degC)) ### Equation: [SCAL] (1) -((-273.15) - medium1.baseProperties.T_degC) = (ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit.medium1.Medium.setState_ph(8e6, 1e5 + 6e5 * time, 0)).T ($RES_SIM_27) " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 3.043015100993216] Failed to read output from testmodel.py, exit status != 0: 0.9105849619954824 0.934927763 0.056722729000000006 Calling exit ...