Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001499/0.001499, allocations: 112.9 kB / 19.61 MB, free: 2.332 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001702/0.001702, allocations: 218.9 kB / 22.89 MB, free: 5.629 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.542/1.542, allocations: 230.5 MB / 256.5 MB, free: 8.066 MB / 206.1 MB " [Timeout remaining time 178] 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.01334/0.01334, allocations: 2.799 MB / 315.7 MB, free: 364 kB / 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit") translateModel(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.797e-05/3.797e-05, allocations: 9.031 kB / 439.5 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit): time 0.05669/0.05673, allocations: 50.67 MB / 490.2 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.3017/0.3585, allocations: 28.87 MB / 0.5069 GB, free: 4.645 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009422/0.3594, allocations: 3 kB / 0.5069 GB, free: 4.645 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002674/0.3621, allocations: 0.6141 MB / 0.5075 GB, free: 4.641 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01075/0.3728, allocations: 2.252 MB / 0.5097 GB, free: 4.613 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_Tabular.TestBasePropertiesExplicit.medium1.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2_Tabular.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_Tabular.TestBasePropertiesExplicit.medium2.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.medium2.Medium.setSat_p'. Notification: Performance of NFTyping.typeClassSections: time 0.01453/0.3874, allocations: 2.931 MB / 0.5126 GB, free: 4.547 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002649/0.39, allocations: 1.259 MB / 0.5138 GB, free: 4.539 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001331/0.3901, allocations: 13.03 kB / 0.5138 GB, free: 4.539 MB / 366.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.7026/1.093, allocations: 52.15 MB / 0.5647 GB, free: 5.215 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001019/1.094, allocations: 306.9 kB / 0.565 GB, free: 4.992 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.329e-05/1.094, allocations: 28 kB / 0.5651 GB, free: 4.965 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2277/1.322, allocations: 27.4 MB / 0.5918 GB, free: 11.95 MB / 430.1 MB Notification: Performance of combineBinaries: time 0.002236/1.324, allocations: 1.216 MB / 0.593 GB, free: 10.95 MB / 430.1 MB Notification: Performance of replaceArrayConstructors: time 0.0008276/1.325, allocations: 0.8347 MB / 0.5938 GB, free: 10.2 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003291/1.325, allocations: 96.88 kB / 0.5939 GB, free: 10.12 MB / 430.1 MB Notification: Performance of FrontEnd: time 0.0001917/1.325, allocations: 4 kB / 0.5939 GB, free: 10.12 MB / 430.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.005192/1.33, allocations: 4.033 MB / 0.5979 GB, free: 6.688 MB / 430.1 MB Notification: Performance of FunctionAlias: time 0.0003399/1.331, allocations: 278 kB / 0.5981 GB, free: 6.562 MB / 430.1 MB Notification: Performance of Early Inline: time 0.004274/1.335, allocations: 2.856 MB / 0.6009 GB, free: 4.789 MB / 430.1 MB Notification: Performance of Simplify 1: time 0.0006008/1.336, allocations: 317.2 kB / 0.6012 GB, free: 4.422 MB / 430.1 MB Notification: Performance of Alias: time 0.003083/1.339, allocations: 1.826 MB / 0.603 GB, free: 2.457 MB / 430.1 MB Notification: Performance of Simplify 2: time 0.0005347/1.339, allocations: 306.5 kB / 0.6033 GB, free: 2.109 MB / 430.1 MB Notification: Performance of Remove Stream: time 0.0002901/1.339, allocations: 203.9 kB / 0.6035 GB, free: 1.891 MB / 430.1 MB Notification: Performance of Detect States: time 0.0006064/1.34, allocations: 465.7 kB / 0.6039 GB, free: 1.391 MB / 430.1 MB Notification: Performance of Events: time 0.0002532/1.34, allocations: 125 kB / 0.604 GB, free: 1.277 MB / 430.1 MB Notification: Performance of Partitioning: time 0.001186/1.341, allocations: 0.8289 MB / 0.6049 GB, free: 368 kB / 430.1 MB Notification: Performance of Causalize: time 0.005386/1.347, allocations: 3.596 MB / 0.6084 GB, free: 12.67 MB / 446.1 MB Notification: Performance of After Index Reduction Inline: time 0.00275/1.35, allocations: 1.507 MB / 0.6098 GB, free: 11.21 MB / 446.1 MB Notification: Performance of Simplify: time 0.001313/1.351, allocations: 0.6108 MB / 0.6104 GB, free: 10.54 MB / 446.1 MB Notification: Performance of Inline: time 0.00299/1.354, allocations: 2.254 MB / 0.6126 GB, free: 8.344 MB / 446.1 MB Notification: Performance of Partitioning: time 0.0001187/1.354, allocations: 48.03 kB / 0.6127 GB, free: 8.285 MB / 446.1 MB Notification: Performance of Cleanup: time 0.0004033/1.354, allocations: 357.1 kB / 0.613 GB, free: 7.957 MB / 446.1 MB Notification: Performance of Causalize: time 0.01118/1.366, allocations: 3.632 MB / 0.6166 GB, free: 4.34 MB / 446.1 MB Notification: Performance of Tearing: time 4.099e-05/1.366, allocations: 34.62 kB / 0.6166 GB, free: 4.309 MB / 446.1 MB Notification: Performance of Initialization: time 2.665e-06/1.366, allocations: 0 / 0.6166 GB, free: 4.309 MB / 446.1 MB Notification: Performance of Remove Dummies: time 4.111e-05/1.366, allocations: 4.875 kB / 0.6166 GB, free: 4.305 MB / 446.1 MB Notification: Performance of Tearing: time 3.258e-05/1.366, allocations: 34.72 kB / 0.6166 GB, free: 4.273 MB / 446.1 MB Notification: Performance of Categorize: time 6.867e-05/1.366, allocations: 15.19 kB / 0.6167 GB, free: 4.262 MB / 446.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_Tabular.TestBasePropertiesExplicit.medium1.Medium.setState_ph(8e6, 1e5 + 6e5 * time, 0)).T ($RES_SIM_27) " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 4.01501677557826] Failed to read output from testmodel.py, exit status != 0: 1.3747331127524376 1.393292076 0.06472976400000001 Calling exit ...