Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Sensors.Tests.TestSensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo", uses=false) Using package ThermofluidStream with version 0.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ThermofluidStream.Sensors.Tests.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|conductionElement.h|differenceSensorSelect2.value|differenceSensorSelect3.value|differenceSensorVaporQuality1.value|differenceSensor_Tp1.T|differenceSensor_Tp1.p|flowResistance.m_flow|flowResistance1.m_flow|flowResistance2.m_flow|multiSensor_Tpm1.T|multiSensor_Tpm1.m_flow|multiSensor_Tpm1.p|singleFlowSensor2.value|singleFlowSensor3.value|singleSensorSelect10.value|singleSensorSelect11.value|singleSensorX2.value.1.|singleSensorX2.value.2.|singleSensorX2.value.3.|singleSensorX2.value.4.|singleSensorX2.value.5.|singleSensorX2.value.6.|twoPhaseSensorSelect7.value",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Sensors.Tests.TestSensors") translateModel(ThermofluidStream.Sensors.Tests.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|conductionElement.h|differenceSensorSelect2.value|differenceSensorSelect3.value|differenceSensorVaporQuality1.value|differenceSensor_Tp1.T|differenceSensor_Tp1.p|flowResistance.m_flow|flowResistance1.m_flow|flowResistance2.m_flow|multiSensor_Tpm1.T|multiSensor_Tpm1.m_flow|multiSensor_Tpm1.p|singleFlowSensor2.value|singleFlowSensor3.value|singleSensorSelect10.value|singleSensorSelect11.value|singleSensorX2.value.1.|singleSensorX2.value.2.|singleSensorX2.value.3.|singleSensorX2.value.4.|singleSensorX2.value.5.|singleSensorX2.value.6.|twoPhaseSensorSelect7.value",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Sensors.Tests.TestSensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001649/0.001649, allocations: 166.8 kB / 16.11 MB, free: 5.68 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.323/1.323, allocations: 205 MB / 221.9 MB, free: 9.152 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006808/0.0006809, allocations: 85.5 kB / 269.9 MB, free: 8.68 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.7209/0.7209, allocations: 90.51 MB / 408.3 MB, free: 3.949 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.223e-05/2.225e-05, allocations: 2.281 kB / 484.9 MB, free: 7.223 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Sensors.Tests.TestSensors): time 0.7872/0.7873, allocations: 309.1 MB / 0.7754 GB, free: 448 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.5444/1.332, allocations: 167.2 MB / 0.9387 GB, free: 0.582 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00475/1.336, allocations: 52.56 kB / 0.9387 GB, free: 0.582 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.006865/1.343, allocations: 2.165 MB / 0.9409 GB, free: 0.5703 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.01898/1.362, allocations: 4.748 MB / 0.9455 GB, free: 0.5234 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.03406/1.396, allocations: 10.78 MB / 0.956 GB, free: 284 kB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.006621/1.403, allocations: 4.073 MB / 0.96 GB, free: 280 kB / 0.573 GB Notification: Performance of NFFlatten.resolveArrayConnections: time 25.14/26.54, allocations: 12.13 GB / 13.09 GB, free: 76.33 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01202/26.55, allocations: 4.871 MB / 13.1 GB, free: 71.94 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003373/26.55, allocations: 1.451 MB / 13.1 GB, free: 70.97 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0004901/26.56, allocations: 128 kB / 13.1 GB, free: 70.84 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04268/26.6, allocations: 16.51 MB / 13.11 GB, free: 55.38 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.004507/26.6, allocations: 2.152 MB / 13.12 GB, free: 54.06 MB / 0.7605 GB Notification: Performance of FrontEnd: time 7.063e-06/26.6, allocations: 0 / 13.12 GB, free: 54.06 MB / 0.7605 GB Notification: Performance of Bindings: time 0.005502/26.61, allocations: 7.119 MB / 13.12 GB, free: 46.96 MB / 0.7605 GB Notification: Performance of simplify: time 0.0004437/26.61, allocations: 361.9 kB / 13.12 GB, free: 46.62 MB / 0.7605 GB Notification: Performance of RemoveSimpleEquations: time 0.007309/26.62, allocations: 9.039 MB / 13.13 GB, free: 36.65 MB / 0.7605 GB Notification: Performance of Events: time 0.0002235/26.62, allocations: 199.9 kB / 13.13 GB, free: 36.46 MB / 0.7605 GB Notification: Performance of DetectStates: time 0.0008319/26.62, allocations: 1.16 MB / 13.13 GB, free: 35.33 MB / 0.7605 GB Notification: Performance of Partitioning: time 0.002875/26.62, allocations: 2.654 MB / 13.14 GB, free: 32.62 MB / 0.7605 GB Error: Internal error NBSlice.getDependentCrefIndicesPseudoArray failed because flattened indices 6 could not be repeated to fit equation size 8. lst: {6, 5, 4, 3, 2, 1}