Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.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(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") translateModel(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001303/0.001303, allocations: 104.2 kB / 16.42 MB, free: 6.484 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.001263/0.001263, allocations: 192.3 kB / 17.36 MB, free: 5.703 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.542/1.542, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002296/0.002295, allocations: 292 kB / 291.5 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.001/1.001, allocations: 169.2 MB / 0.499 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.006e-05/3.007e-05, allocations: 2.281 kB / 0.6821 GB, free: 6.961 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.007553/0.007594, allocations: 4.05 MB / 0.686 GB, free: 2.887 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002882/0.01052, allocations: 2.418 MB / 0.6884 GB, free: 472 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001066/0.01064, allocations: 3.938 kB / 0.6884 GB, free: 468 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003392/0.01099, allocations: 51.67 kB / 0.6885 GB, free: 416 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003264/0.01132, allocations: 95.41 kB / 0.6886 GB, free: 320 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.4779/0.4893, allocations: 0.532 MB / 0.6891 GB, free: 12.96 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006769/0.49, allocations: 281.5 kB / 0.6893 GB, free: 12.96 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.829e-05/0.4901, allocations: 11.25 kB / 0.6894 GB, free: 12.96 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003119/0.4904, allocations: 120.5 kB / 0.6895 GB, free: 12.96 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002051/0.4907, allocations: 95.05 kB / 0.6896 GB, free: 12.96 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.501e-05/0.4907, allocations: 9 kB / 0.6896 GB, free: 12.96 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001299/0.492, allocations: 448.1 kB / 0.69 GB, free: 12.96 MB / 494.1 MB Notification: Performance of combineBinaries: time 0.0002803/0.4923, allocations: 276.9 kB / 0.6903 GB, free: 12.84 MB / 494.1 MB Notification: Performance of replaceArrayConstructors: time 0.000137/0.4924, allocations: 175.8 kB / 0.6904 GB, free: 12.73 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.757e-05/0.4925, allocations: 28 kB / 0.6905 GB, free: 12.73 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.861e-05/0.4925, allocations: 2.812 kB / 0.6905 GB, free: 12.73 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 (36) * Number of variables: 39 (39) Notification: Performance of Bindings: time 0.001068/0.4936, allocations: 0.8957 MB / 0.6913 GB, free: 12.24 MB / 494.1 MB Notification: Performance of FunctionAlias: time 5.833e-05/0.4937, allocations: 25.27 kB / 0.6914 GB, free: 12.24 MB / 494.1 MB Notification: Performance of Early Inline: time 0.001192/0.4949, allocations: 0.7657 MB / 0.6921 GB, free: 12.16 MB / 494.1 MB Notification: Performance of simplify1: time 0.0001242/0.495, allocations: 77.84 kB / 0.6922 GB, free: 12.15 MB / 494.1 MB Notification: Performance of Alias: time 0.001017/0.496, allocations: 0.603 MB / 0.6928 GB, free: 11.87 MB / 494.1 MB Notification: Performance of simplify2: time 0.0001124/0.4962, allocations: 74.22 kB / 0.6928 GB, free: 11.87 MB / 494.1 MB Notification: Performance of Detect States: time 0.0002501/0.4964, allocations: 166.2 kB / 0.693 GB, free: 11.83 MB / 494.1 MB Notification: Performance of Events: time 0.0002948/0.4967, allocations: 148.2 kB / 0.6931 GB, free: 11.8 MB / 494.1 MB Notification: Performance of Partitioning: time 0.0003409/0.4971, allocations: 255.7 kB / 0.6934 GB, free: 11.67 MB / 494.1 MB Error: Internal error NBSlice.resolveSkips failed because skip of 2 for type Real is invalid. Error: Internal error NBSlice.resolveDependency failed for: state_pTX.p. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [SCAL] (1) f = (BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.Medium.specificEnthalpy(state_pTX) - 3e5 / BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.Medium.density(state_pTX)) - state_pTX.T * (4184.0 * log(0.0036609921288669233 * state_pTX.T)) ($RES_SIM_13)