Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.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.001434/0.001434, 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.001389/0.001389, allocations: 191.5 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.283/1.283, allocations: 225.6 MB / 251.6 MB, free: 13.02 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.01105/0.01105, allocations: 2.798 MB / 309.6 MB, free: 5.844 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_Tabular.TestBasePropertiesImplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit") translateModel(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.385e-05/1.385e-05, allocations: 6.219 kB / 431 MB, free: 20.4 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit): time 0.0379/0.03791, allocations: 50.61 MB / 481.6 MB, free: 1.605 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02512/0.06303, allocations: 28.88 MB / 0.4986 GB, free: 4.621 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004205/0.06345, allocations: 7.938 kB / 0.4986 GB, free: 4.613 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001417/0.06487, allocations: 0.6098 MB / 0.4992 GB, free: 4 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004887/0.06975, allocations: 2.269 MB / 0.5014 GB, free: 1.715 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.TestBasePropertiesImplicit.medium1.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.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.TestBasePropertiesImplicit.medium2.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.medium2.Medium.setSat_p'. Notification: Performance of NFTyping.typeClassSections: time 0.00711/0.07686, allocations: 2.923 MB / 0.5042 GB, free: 14.77 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001385/0.07825, allocations: 1.263 MB / 0.5055 GB, free: 13.51 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.081e-05/0.07832, allocations: 20.92 kB / 0.5055 GB, free: 13.48 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.7667/0.845, allocations: 52.14 MB / 0.5564 GB, free: 10.66 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001199/0.8462, allocations: 309.8 kB / 0.5567 GB, free: 10.66 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.443e-05/0.8463, allocations: 26.09 kB / 0.5567 GB, free: 10.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2047/1.051, allocations: 27.41 MB / 0.5835 GB, free: 4.754 MB / 398.1 MB Notification: Performance of combineBinaries: time 0.001783/1.053, allocations: 1.223 MB / 0.5847 GB, free: 3.754 MB / 398.1 MB Notification: Performance of replaceArrayConstructors: time 0.001009/1.054, allocations: 0.8348 MB / 0.5855 GB, free: 3.008 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000183/1.054, allocations: 98.12 kB / 0.5856 GB, free: 2.93 MB / 398.1 MB Notification: Performance of FrontEnd: time 0.000115/1.054, allocations: 11.38 kB / 0.5856 GB, free: 2.922 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.005413/1.059, allocations: 4.049 MB / 0.5896 GB, free: 15.47 MB / 414.1 MB Notification: Performance of FunctionAlias: time 0.0003494/1.06, allocations: 267.2 kB / 0.5898 GB, free: 15.36 MB / 414.1 MB Notification: Performance of Early Inline: time 0.00385/1.064, allocations: 2.863 MB / 0.5926 GB, free: 14.11 MB / 414.1 MB Notification: Performance of Simplify 1: time 0.0008049/1.064, allocations: 326 kB / 0.5929 GB, free: 13.82 MB / 414.1 MB Notification: Performance of Alias: time 0.002481/1.067, allocations: 1.74 MB / 0.5946 GB, free: 12.63 MB / 414.1 MB Notification: Performance of Simplify 2: time 0.0003719/1.067, allocations: 271.5 kB / 0.5949 GB, free: 12.38 MB / 414.1 MB Notification: Performance of Remove Stream: time 0.0001961/1.067, allocations: 191.2 kB / 0.5951 GB, free: 12.24 MB / 414.1 MB Notification: Performance of Detect States: time 0.0003937/1.068, allocations: 441.2 kB / 0.5955 GB, free: 11.99 MB / 414.1 MB Notification: Performance of Events: time 0.0001616/1.068, allocations: 112.8 kB / 0.5956 GB, free: 11.93 MB / 414.1 MB Notification: Performance of Partitioning: time 0.0008129/1.069, allocations: 0.7433 MB / 0.5963 GB, free: 11.46 MB / 414.1 MB Notification: Performance of Causalize: time 0.004826/1.074, allocations: 3.831 MB / 0.6 GB, free: 8.273 MB / 414.1 MB Notification: Performance of After Index Reduction Inline: time 0.00134/1.075, allocations: 1.43 MB / 0.6014 GB, free: 7.324 MB / 414.1 MB Notification: Performance of Simplify: time 0.0009045/1.076, allocations: 0.568 MB / 0.602 GB, free: 6.684 MB / 414.1 MB Notification: Performance of Inline: time 0.002244/1.078, allocations: 2.132 MB / 0.6041 GB, free: 4.625 MB / 414.1 MB Notification: Performance of Partitioning: time 9.951e-05/1.078, allocations: 52.02 kB / 0.6041 GB, free: 4.562 MB / 414.1 MB Notification: Performance of Cleanup: time 0.0002859/1.079, allocations: 337 kB / 0.6045 GB, free: 4.254 MB / 414.1 MB Notification: Performance of Causalize: time 0.007933/1.086, allocations: 3.962 MB / 0.6083 GB, free: 336 kB / 414.1 MB Notification: Performance of Tearing: time 3.328e-05/1.087, allocations: 31.62 kB / 0.6084 GB, free: 308 kB / 414.1 MB Notification: Performance of Initialization: time 8.62e-07/1.087, allocations: 4 kB / 0.6084 GB, free: 304 kB / 414.1 MB Notification: Performance of Remove Dummies: time 1.522e-05/1.087, allocations: 1 kB / 0.6084 GB, free: 304 kB / 414.1 MB Notification: Performance of Tearing: time 2.785e-05/1.087, allocations: 43.03 kB / 0.6084 GB, free: 264 kB / 414.1 MB Notification: Performance of Categorize: time 2.257e-05/1.087, allocations: 4 kB / 0.6084 GB, free: 260 kB / 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.h ### Equation: [SCAL] (1) 280.0 + 50.0 * time = (ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.medium1.Medium.setState_ph(8e6, medium1.baseProperties.h, 0)).T ($RES_SIM_27) " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 3.1280446518212557] Failed to read output from testmodel.py, exit status != 0: 1.0931508839130402 1.107547367 0.050646674 Calling exit ...