Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.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/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p|X.1.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p|X.1.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_9_Buildings.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.001133/0.001133, allocations: 113.4 kB / 16.43 MB, free: 6.5 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.001198/0.001198, allocations: 187.7 kB / 17.36 MB, free: 5.754 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.15/1.15, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 1.889/1.889, allocations: 390.2 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.653e-05/1.653e-05, allocations: 2.281 kB / 0.9515 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.004537/0.004561, allocations: 4.058 MB / 0.9555 GB, free: 3.555 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002501/0.007074, allocations: 2.43 MB / 0.9579 GB, free: 1.117 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.992e-05/0.007174, allocations: 0 / 0.9579 GB, free: 1.117 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.000226/0.007406, allocations: 51.67 kB / 0.9579 GB, free: 1.066 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002525/0.007666, allocations: 103.3 kB / 0.958 GB, free: 0.9648 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001202/0.008888, allocations: 0.5366 MB / 0.9585 GB, free: 440 kB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003128/0.009211, allocations: 279.8 kB / 0.9588 GB, free: 160 kB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 3.705e-05/0.009255, allocations: 13.06 kB / 0.9588 GB, free: 144 kB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001866/0.009446, allocations: 123.6 kB / 0.9589 GB, free: 20 kB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001362/0.009592, allocations: 91.59 kB / 0.959 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 2.192e-05/0.00962, allocations: 12 kB / 0.959 GB, free: 15.92 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007449/0.01037, allocations: 447.3 kB / 0.9594 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of combineBinaries: time 0.0002269/0.01061, allocations: 277.2 kB / 0.9597 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of replaceArrayConstructors: time 0.0001023/0.01071, allocations: 164.9 kB / 0.9599 GB, free: 15.05 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 3.481e-05/0.01075, allocations: 31.88 kB / 0.9599 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.51e-05/0.01077, allocations: 4 kB / 0.9599 GB, free: 15.01 MB / 0.7481 GB 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.0008074/0.01159, allocations: 0.8821 MB / 0.9608 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of FunctionAlias: time 4.427e-05/0.01164, allocations: 35.89 kB / 0.9608 GB, free: 13.99 MB / 0.7481 GB Notification: Performance of Early Inline: time 0.0007802/0.01242, allocations: 0.7568 MB / 0.9615 GB, free: 13.2 MB / 0.7481 GB Notification: Performance of simplify1: time 9.182e-05/0.01252, allocations: 83.91 kB / 0.9616 GB, free: 13.12 MB / 0.7481 GB Notification: Performance of Alias: time 0.0008015/0.01333, allocations: 0.6078 MB / 0.9622 GB, free: 12.4 MB / 0.7481 GB Notification: Performance of simplify2: time 0.0001322/0.01347, allocations: 79.92 kB / 0.9623 GB, free: 12.32 MB / 0.7481 GB Notification: Performance of Detect States: time 0.0001489/0.01363, allocations: 156 kB / 0.9624 GB, free: 12.15 MB / 0.7481 GB Notification: Performance of Events: time 0.0002259/0.01386, allocations: 147.1 kB / 0.9626 GB, free: 12.01 MB / 0.7481 GB Notification: Performance of Partitioning: time 0.000273/0.01414, allocations: 252.8 kB / 0.9628 GB, free: 11.71 MB / 0.7481 GB 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 = (Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.Medium.specificEnthalpy(state_pTX) - 3e5 / Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.Medium.density(state_pTX)) - state_pTX.T * (4184.0 * log(0.0036609921288669233 * state_pTX.T)) ($RES_SIM_13)