Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001451/0.001451, allocations: 112 kB / 20.54 MB, free: 1.777 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001306/0.001306, allocations: 188.8 kB / 23.71 MB, free: 5.402 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.27/1.27, allocations: 225.6 MB / 252.3 MB, free: 13.35 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1922/0.1922, allocations: 44.91 MB / 352.3 MB, free: 12.25 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/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(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|Tmix1.T|Tmix2.T|Tdiff|volume1.medium.h|volume2.medium.h",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1") translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|Tmix1.T|Tmix2.T|Tdiff|volume1.medium.h|volume2.medium.h",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.083e-05/2.083e-05, allocations: 2.281 kB / 495.9 MB, free: 1.938 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1): time 0.2399/0.24, allocations: 73.01 MB / 0.5556 GB, free: 2.41 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03376/0.2737, allocations: 28.81 MB / 0.5837 GB, free: 11.63 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00155/0.2753, allocations: 32.59 kB / 0.5838 GB, free: 11.62 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0025/0.2778, allocations: 0.867 MB / 0.5846 GB, free: 10.78 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01612/0.2939, allocations: 5.896 MB / 0.5904 GB, free: 4.891 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01143/0.3053, allocations: 4.512 MB / 0.5948 GB, free: 392 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006346/0.3117, allocations: 4.87 MB / 0.5995 GB, free: 11.5 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002396/0.3141, allocations: 1.264 MB / 0.6008 GB, free: 10.23 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008741/0.3228, allocations: 3.844 MB / 0.6045 GB, free: 6.352 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002615/0.3254, allocations: 1.253 MB / 0.6057 GB, free: 5.094 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006217/0.326, allocations: 132 kB / 0.6059 GB, free: 4.965 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01289/0.3389, allocations: 6.693 MB / 0.6124 GB, free: 14.27 MB / 446.1 MB Notification: Performance of combineBinaries: time 0.003837/0.3428, allocations: 3.013 MB / 0.6154 GB, free: 11.23 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 0.001711/0.3445, allocations: 1.744 MB / 0.6171 GB, free: 9.461 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007454/0.3452, allocations: 263.2 kB / 0.6173 GB, free: 9.203 MB / 446.1 MB Notification: Performance of FrontEnd: time 0.0004219/0.3457, allocations: 51.78 kB / 0.6174 GB, free: 9.152 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 321 (273) * Number of variables: 321 (285) Notification: Performance of Bindings: time 0.007998/0.3537, allocations: 6.513 MB / 0.6237 GB, free: 2.355 MB / 446.1 MB Notification: Performance of FunctionAlias: time 0.001026/0.3547, allocations: 0.6591 MB / 0.6244 GB, free: 1.676 MB / 446.1 MB Notification: Performance of Early Inline: time 0.005496/0.3602, allocations: 4.78 MB / 0.629 GB, free: 12.83 MB / 462.1 MB Notification: Performance of Simplify 1: time 0.0009961/0.3612, allocations: 0.6887 MB / 0.6297 GB, free: 12.08 MB / 462.1 MB Warning: NBAlias.setStartFixed: Alias set with conflicting unfixed start values detected. Use -d=dumprepl for more information. Notification: Performance of Alias: time 0.00509/0.3663, allocations: 3.879 MB / 0.6335 GB, free: 7.637 MB / 462.1 MB Notification: Performance of Simplify 2: time 0.0009185/0.3672, allocations: 0.6134 MB / 0.6341 GB, free: 6.984 MB / 462.1 MB Notification: Performance of Remove Stream: time 0.0006114/0.3678, allocations: 0.5667 MB / 0.6346 GB, free: 6.379 MB / 462.1 MB Notification: Performance of Detect States: time 0.001152/0.3689, allocations: 0.9066 MB / 0.6355 GB, free: 5.418 MB / 462.1 MB Notification: Performance of Events: time 0.001603/0.3705, allocations: 1.238 MB / 0.6367 GB, free: 4.184 MB / 462.1 MB Notification: Performance of Partitioning: time 0.002714/0.3733, allocations: 2.182 MB / 0.6389 GB, free: 1.637 MB / 462.1 MB Notification: Performance of Causalize: time 0.01091/0.3842, allocations: 8.01 MB / 0.6467 GB, free: 9.309 MB / 478.1 MB Notification: Performance of After Index Reduction Inline: time 0.00388/0.388, allocations: 3.765 MB / 0.6504 GB, free: 5.539 MB / 478.1 MB Notification: Performance of Simplify: time 0.003923/0.392, allocations: 2.435 MB / 0.6527 GB, free: 2.945 MB / 478.1 MB Notification: Performance of Inline: time 0.005982/0.398, allocations: 5.868 MB / 0.6585 GB, free: 13.05 MB / 494.1 MB Notification: Performance of Partitioning: time 0.0002161/0.3982, allocations: 110.5 kB / 0.6586 GB, free: 12.91 MB / 494.1 MB Notification: Performance of Cleanup: time 0.001483/0.3997, allocations: 1.558 MB / 0.6601 GB, free: 11.34 MB / 494.1 MB Notification: Performance of Causalize: time 0.02237/0.422, allocations: 17.43 MB / 0.6771 GB, free: 9.855 MB / 0.4981 GB Error: Internal error NBEquation.Equation.getResidualExp failed for: [-IF-] (1) ($RES_SIM_211) [----] if volume1.regularFlow[$i1] then [----] [SCAL] (1) volume1.ports[$i1].p = volume1.vessel_ps_static[$i1] ($RES_SIM_212) [----] elseif volume1.inFlow[$i1] then [----] [SCAL] (1) volume1.ports[$i1].p = volume1.vessel_ps_static[$i1] ($RES_SIM_213) [----] else [----] [SCAL] (1) volume1.ports[$i1].m_flow = 0.0 ($RES_SIM_214) [----] end if; Error: Internal error NBInitialization.main failed to apply modules! " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.740766112692654]