Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.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.001533/0.001533, allocations: 102.1 kB / 19.6 MB, free: 2.328 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.001554/0.001554, allocations: 215.2 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.462/1.462, allocations: 230.5 MB / 256.5 MB, free: 8.055 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.0187/0.0187, allocations: 2.798 MB / 315.7 MB, free: 344 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.TestBasePropertiesTranscritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical") translateModel(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.268e-05/2.268e-05, allocations: 2.281 kB / 439.5 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical): time 0.0486/0.04862, allocations: 45.36 MB / 484.9 MB, free: 15.79 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.027/0.07562, allocations: 25.14 MB / 0.4981 GB, free: 6.562 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006014/0.07622, allocations: 7.938 kB / 0.4981 GB, free: 6.555 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00167/0.07789, allocations: 0.5008 MB / 0.4986 GB, free: 6.051 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006759/0.08465, allocations: 2.176 MB / 0.5007 GB, free: 3.859 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.TestBasePropertiesTranscritical.medium1.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.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.TestBasePropertiesTranscritical.medium2.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.medium2.Medium.setSat_p'. Notification: Performance of NFTyping.typeClassSections: time 0.009073/0.09372, allocations: 2.898 MB / 0.5035 GB, free: 0.9453 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.1912/0.285, allocations: 1.249 MB / 0.5047 GB, free: 11.5 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.2851, allocations: 14.31 kB / 0.5048 GB, free: 11.5 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.6805/0.9655, allocations: 52.16 MB / 0.5557 GB, free: 2.688 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008993/0.9664, allocations: 305.1 kB / 0.556 GB, free: 2.547 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.426e-05/0.9665, allocations: 28 kB / 0.556 GB, free: 2.52 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2248/1.191, allocations: 27.4 MB / 0.5828 GB, free: 9.773 MB / 414.1 MB Notification: Performance of combineBinaries: time 0.00151/1.193, allocations: 1.216 MB / 0.584 GB, free: 8.777 MB / 414.1 MB Notification: Performance of replaceArrayConstructors: time 0.0008562/1.194, allocations: 0.8303 MB / 0.5848 GB, free: 8.035 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002019/1.194, allocations: 72 kB / 0.5848 GB, free: 7.965 MB / 414.1 MB Notification: Performance of FrontEnd: time 0.0001285/1.194, allocations: 9.688 kB / 0.5848 GB, free: 7.961 MB / 414.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.004962/1.199, allocations: 4.04 MB / 0.5888 GB, free: 4.523 MB / 414.1 MB Notification: Performance of FunctionAlias: time 0.0002641/1.199, allocations: 269.9 kB / 0.589 GB, free: 4.406 MB / 414.1 MB Notification: Performance of Early Inline: time 0.00302/1.202, allocations: 2.866 MB / 0.5918 GB, free: 3.156 MB / 414.1 MB Notification: Performance of Simplify 1: time 0.0004988/1.203, allocations: 313.8 kB / 0.5921 GB, free: 2.867 MB / 414.1 MB Notification: Performance of Alias: time 0.002476/1.205, allocations: 1.833 MB / 0.5939 GB, free: 1.555 MB / 414.1 MB Notification: Performance of Simplify 2: time 0.0004473/1.206, allocations: 299.7 kB / 0.5942 GB, free: 1.277 MB / 414.1 MB Notification: Performance of Remove Stream: time 0.0002598/1.206, allocations: 213.6 kB / 0.5944 GB, free: 1.125 MB / 414.1 MB Notification: Performance of Detect States: time 0.0005045/1.206, allocations: 460.6 kB / 0.5949 GB, free: 0.832 MB / 414.1 MB Notification: Performance of Events: time 0.0002504/1.207, allocations: 144.2 kB / 0.595 GB, free: 0.75 MB / 414.1 MB Notification: Performance of Partitioning: time 0.001007/1.208, allocations: 0.8302 MB / 0.5958 GB, free: 156 kB / 414.1 MB Notification: Performance of Causalize: time 0.00836/1.216, allocations: 3.606 MB / 0.5993 GB, free: 12.77 MB / 430.1 MB Notification: Performance of After Index Reduction Inline: time 0.002379/1.218, allocations: 1.539 MB / 0.6008 GB, free: 11.28 MB / 430.1 MB Notification: Performance of Simplify: time 0.001165/1.22, allocations: 0.6207 MB / 0.6014 GB, free: 10.59 MB / 430.1 MB Notification: Performance of Inline: time 0.002738/1.222, allocations: 2.292 MB / 0.6037 GB, free: 8.371 MB / 430.1 MB Notification: Performance of Partitioning: time 0.0001103/1.222, allocations: 48.03 kB / 0.6037 GB, free: 8.312 MB / 430.1 MB Notification: Performance of Cleanup: time 0.0004114/1.223, allocations: 365.7 kB / 0.6041 GB, free: 7.977 MB / 430.1 MB Notification: Performance of Causalize: time 0.005693/1.229, allocations: 3.657 MB / 0.6076 GB, free: 4.336 MB / 430.1 MB Notification: Performance of Tearing: time 3.636e-05/1.229, allocations: 32 kB / 0.6077 GB, free: 4.305 MB / 430.1 MB Notification: Performance of Initialization: time 2.605e-06/1.229, allocations: 4 kB / 0.6077 GB, free: 4.301 MB / 430.1 MB Notification: Performance of Remove Dummies: time 2.739e-05/1.229, allocations: 4.875 kB / 0.6077 GB, free: 4.297 MB / 430.1 MB Notification: Performance of Tearing: time 2.934e-05/1.229, allocations: 35.09 kB / 0.6077 GB, free: 4.266 MB / 430.1 MB Notification: Performance of Categorize: time 3.881e-05/1.229, allocations: 11.38 kB / 0.6077 GB, free: 4.258 MB / 430.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.TestBasePropertiesTranscritical.medium1.Medium.setState_ph(1e6 + 1e7 * time, 1e5, 0)).T ($RES_SIM_27) " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 3.663180809468031] Failed to read output from testmodel.py, exit status != 0: 1.2367212753742933 1.253035631 0.055725168000000005 Calling exit ...