Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.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/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.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(Buildings.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senStr.port_a.m_flow|senStr.s|senFloSou.s",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy") translateModel(Buildings.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senStr.port_a.m_flow|senStr.s|senFloSou.s",fileNamePrefix="Buildings_latest_Buildings.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.001073/0.001073, allocations: 112.1 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.001039/0.001039, allocations: 183.2 kB / 17.35 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.114/1.114, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.168/2.168, allocations: 461.9 MB / 0.7354 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.584e-05/1.585e-05, allocations: 2.281 kB / 1.055 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.5061/0.5061, allocations: 163.2 MB / 1.214 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.004421/0.5106, allocations: 4.573 MB / 1.219 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000149/0.5107, allocations: 10.97 kB / 1.219 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0003176/0.5111, allocations: 124.5 kB / 1.219 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0009143/0.512, allocations: 0.5368 MB / 1.219 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001187/0.5132, allocations: 0.7773 MB / 1.22 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0004957/0.5137, allocations: 0.587 MB / 1.221 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003069/0.514, allocations: 230.1 kB / 1.221 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006984/0.5147, allocations: 485.3 kB / 1.221 GB, free: 9.824 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004261/0.5152, allocations: 287.7 kB / 1.221 GB, free: 9.664 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.895e-05/0.5152, allocations: 15.81 kB / 1.221 GB, free: 9.664 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001095/0.5163, allocations: 0.9706 MB / 1.222 GB, free: 9.113 MB / 0.9356 GB Notification: Performance of combineBinaries: time 0.0002772/0.5166, allocations: 432.1 kB / 1.223 GB, free: 8.832 MB / 0.9356 GB Notification: Performance of replaceArrayConstructors: time 0.0001422/0.5167, allocations: 288.7 kB / 1.223 GB, free: 8.633 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.028e-05/0.5168, allocations: 42.66 kB / 1.223 GB, free: 8.613 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.798e-05/0.5168, allocations: 8.531 kB / 1.223 GB, free: 8.609 MB / 0.9356 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.000923/0.5178, allocations: 1.169 MB / 1.224 GB, free: 7.66 MB / 0.9356 GB Notification: Performance of FunctionAlias: time 9.708e-05/0.5179, allocations: 83.69 kB / 1.224 GB, free: 7.602 MB / 0.9356 GB Notification: Performance of Early Inline: time 0.000684/0.5186, allocations: 0.8218 MB / 1.225 GB, free: 6.973 MB / 0.9356 GB Notification: Performance of simplify1: time 6.114e-05/0.5186, allocations: 62.42 kB / 1.225 GB, free: 6.934 MB / 0.9356 GB Notification: Performance of Alias: time 0.0007164/0.5194, allocations: 0.7627 MB / 1.226 GB, free: 6.324 MB / 0.9356 GB Notification: Performance of simplify2: time 5.462e-05/0.5194, allocations: 61.27 kB / 1.226 GB, free: 6.285 MB / 0.9356 GB Notification: Performance of Events: time 0.0001328/0.5196, allocations: 124.4 kB / 1.226 GB, free: 6.191 MB / 0.9356 GB Notification: Performance of Detect States: time 0.0002867/0.5199, allocations: 202.1 kB / 1.226 GB, free: 6.02 MB / 0.9356 GB Notification: Performance of Partitioning: time 0.0002163/0.5201, allocations: 253.1 kB / 1.227 GB, free: 5.836 MB / 0.9356 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 = Buildings.Fluid.Sensors.Examples.SpecificEntropy.senStr.Medium.specificEntropy(Buildings.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)