Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.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.HeatExchangers.Tests.CrossFlowNTU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|crossFlowNTU.h_out_A|crossFlowNTU.h_out_B|mCV.dp_int|mCV1.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU") translateModel(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|crossFlowNTU.h_out_A|crossFlowNTU.h_out_B|mCV.dp_int|mCV1.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001046/0.001046, allocations: 169.3 kB / 16.11 MB, free: 5.656 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.331/1.331, allocations: 205 MB / 221.9 MB, free: 9.055 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.0007612/0.0007613, allocations: 93.67 kB / 269.9 MB, free: 8.664 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.6892/0.6892, allocations: 90.51 MB / 408.3 MB, free: 3.953 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - Absyn->SCode: time 2.228e-05/2.214e-05, allocations: 2.281 kB / 484.9 MB, free: 7.227 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU): time 0.6767/0.6767, allocations: 221.9 MB / 0.6902 GB, free: 1.43 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.01839/0.6951, allocations: 18.94 MB / 0.7087 GB, free: 1.262 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001421/0.6966, allocations: 22.03 kB / 0.7087 GB, free: 1.262 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001507/0.6981, allocations: 481.7 kB / 0.7091 GB, free: 1.242 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004521/0.7027, allocations: 1.45 MB / 0.7106 GB, free: 1.176 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008898/0.7116, allocations: 2.406 MB / 0.7129 GB, free: 1.09 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.002768/0.7143, allocations: 1.676 MB / 0.7145 GB, free: 1.086 MB / 490.7 MB Notification: Performance of NFFlatten.resolveArrayConnections: time 0.4438/1.158, allocations: 259.5 MB / 0.968 GB, free: 130.3 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003116/1.161, allocations: 1.021 MB / 0.969 GB, free: 130.1 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005622/1.162, allocations: 0.5438 MB / 0.9695 GB, free: 130 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 9.149e-05/1.162, allocations: 49.81 kB / 0.9696 GB, free: 130 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0094/1.171, allocations: 5.462 MB / 0.9749 GB, free: 128.5 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.000824/1.172, allocations: 0.7945 MB / 0.9757 GB, free: 128.4 MB / 0.6355 GB Notification: Performance of FrontEnd: time 5.711e-06/1.172, allocations: 0 / 0.9757 GB, free: 128.4 MB / 0.6355 GB Notification: Performance of Bindings: time 0.00208/1.174, allocations: 2.569 MB / 0.9782 GB, free: 127.8 MB / 0.6355 GB Notification: Performance of simplify: time 0.0001331/1.174, allocations: 161.2 kB / 0.9784 GB, free: 127.8 MB / 0.6355 GB Notification: Performance of RemoveSimpleEquations: time 0.002444/1.177, allocations: 3.015 MB / 0.9813 GB, free: 126.7 MB / 0.6355 GB Notification: Performance of Events: time 0.0002036/1.177, allocations: 241.3 kB / 0.9815 GB, free: 126.6 MB / 0.6355 GB Notification: Performance of DetectStates: time 0.0002969/1.177, allocations: 308 kB / 0.9818 GB, free: 126.5 MB / 0.6355 GB Notification: Performance of Partitioning: time 0.001012/1.178, allocations: 1.055 MB / 0.9828 GB, free: 125.8 MB / 0.6355 GB Notification: Performance of Causalize: time 0.00125/1.18, allocations: 2.211 MB / 0.985 GB, free: 123.8 MB / 0.6355 GB Notification: Performance of Partitioning: time 0.001617/1.181, allocations: 1.784 MB / 0.9867 GB, free: 122 MB / 0.6355 GB Warning: NBResolveSingularities.balanceInitialization reports an overdetermined initialization! Checking for consistency is not yet supported, following equations had to be removed: [SCAL] (1) crossFlowNTU.cpB_in = ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.crossFlowNTU.MediumB.specificHeatCapacityCp(crossFlowNTU.inletB.state) ($RES_BND_182) ; [SCAL] (1) crossFlowNTU.p_B = ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.crossFlowNTU.MediumB.pressure(crossFlowNTU.inletB.state) ($RES_BND_177) ; [RECD] (2) crossFlowNTU.inletA.state = multiSensor_Tpm.outlet.state ($RES_SIM_37) slice: {139}; [SCAL] (1) crossFlowNTU.cpA_out = ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.crossFlowNTU.MediumA.specificHeatCapacityCp(crossFlowNTU.outletA.state) ($RES_BND_181) ; Error: Internal error NBResolveSingularities.balanceInitialization failed because following non-fixable variables could not be solved: [DER-] (1) Real $DER.crossFlowNTU.h_out_A, [ALGB] (1) Real crossFlowNTU.dh_B, [ALGB] (1) Real crossFlowNTU.dh_A, [ALGB] (1) protected Real crossFlowNTU.q_flowB Error: Internal error NBInitialization.main failed! Notification: Performance of Initialization: time 0.001607/1.183, allocations: 2.532 MB / 0.9892 GB, free: 119.4 MB / 0.6355 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFType.mo:1105:13-1106:80:writable] Error: Internal error NFType.subscript got unsubscriptable type Real