Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.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.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy") translateModel(BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009055/0.0009055, allocations: 112 kB / 16.42 MB, free: 6.531 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.0008597/0.0008598, allocations: 190 kB / 17.35 MB, free: 5.73 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.139/1.139, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001881/0.001881, allocations: 285.3 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8185/0.8185, allocations: 169.3 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.934e-05/1.934e-05, allocations: 6.219 kB / 0.682 GB, free: 7.051 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy): time 0.3816/0.3816, allocations: 163.2 MB / 0.8414 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004487/0.3861, allocations: 4.583 MB / 0.8459 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002588/0.3864, allocations: 7.938 kB / 0.8459 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003656/0.3868, allocations: 135 kB / 0.846 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001029/0.3878, allocations: 0.5367 MB / 0.8466 GB, free: 5.488 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001443/0.3893, allocations: 0.7754 MB / 0.8473 GB, free: 4.715 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005534/0.3899, allocations: 0.5803 MB / 0.8479 GB, free: 4.133 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003186/0.3902, allocations: 233.1 kB / 0.8481 GB, free: 3.902 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007383/0.3909, allocations: 482.2 kB / 0.8486 GB, free: 3.43 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004523/0.3914, allocations: 290.5 kB / 0.8488 GB, free: 3.148 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.853e-05/0.3914, allocations: 16 kB / 0.8489 GB, free: 3.133 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001118/0.3926, allocations: 0.9664 MB / 0.8498 GB, free: 2.164 MB / 0.6075 GB Notification: Performance of combineBinaries: time 0.0002746/0.3929, allocations: 432.3 kB / 0.8502 GB, free: 1.738 MB / 0.6075 GB Notification: Performance of replaceArrayConstructors: time 0.0001572/0.393, allocations: 292.4 kB / 0.8505 GB, free: 1.449 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.291e-05/0.3931, allocations: 43.81 kB / 0.8505 GB, free: 1.406 MB / 0.6075 GB Notification: Performance of FrontEnd: time 5.077e-05/0.3931, allocations: 12 kB / 0.8506 GB, free: 1.395 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 (39) * Number of variables: 44 (38) Notification: Performance of Bindings: time 0.0009357/0.3941, allocations: 1.182 MB / 0.8517 GB, free: 112 kB / 0.6075 GB Notification: Performance of FunctionAlias: time 9.321e-05/0.3942, allocations: 74.02 kB / 0.8518 GB, free: 48 kB / 0.6075 GB Notification: Performance of Early Inline: time 0.0007176/0.3949, allocations: 0.8115 MB / 0.8526 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of simplify1: time 6.328e-05/0.395, allocations: 63.91 kB / 0.8526 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of Alias: time 0.0007657/0.3957, allocations: 0.7819 MB / 0.8534 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of simplify2: time 5.795e-05/0.3958, allocations: 59.92 kB / 0.8535 GB, free: 14.19 MB / 0.6231 GB Notification: Performance of Events: time 0.0001432/0.396, allocations: 115.2 kB / 0.8536 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of Detect States: time 0.0002026/0.3962, allocations: 185.2 kB / 0.8537 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of Partitioning: time 0.0002365/0.3964, allocations: 265.6 kB / 0.854 GB, free: 13.59 MB / 0.6231 GB Error: Internal error NBSlice.resolveSkips failed because skip of 2 for type Real is invalid. Error: Internal error NBSlice.resolveDependency failed for: senStr.port_a.h_outflow. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [SCAL] (1) senStr.s_b_inflow = BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.senStr.Medium.specificEntropy(BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.senStr.Medium.ThermodynamicState(senStr.port_a.p, 273.15 + (senStr.port_a.h_outflow - 2.5010145e6 * senStr.port_a.Xi_outflow[1]) / (1006.0 * (1.0 - senStr.port_a.Xi_outflow[1]) + 1860.0 * senStr.port_a.Xi_outflow[1]), {senStr.port_a.Xi_outflow[1], 1.0 - sum(senStr.port_a.Xi_outflow)})) ($RES_$AUX_47)