Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Fluid.Examples.HeatingSystem.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001783/0.001783, allocations: 107.6 kB / 21.2 MB, free: 0.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001916/0.001916, allocations: 211.5 kB / 24.49 MB, free: 3.973 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.567/1.567, allocations: 230.6 MB / 258.3 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Fluid.Examples.HeatingSystem,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|heater.mediums.1..h|heater.mediums.1..p|pipe.mediums.1..h|pipe.mediums.1..p|pipe.mediums.2..h|pipe.mediums.2..p|radiator.mediums.1..h|radiator.mediums.1..p|tank.level|tank.medium.h",fileNamePrefix="Modelica_4.1.0_Modelica.Fluid.Examples.HeatingSystem") translateModel(Modelica.Fluid.Examples.HeatingSystem,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|heater.mediums.1..h|heater.mediums.1..p|pipe.mediums.1..h|pipe.mediums.1..p|pipe.mediums.2..h|pipe.mediums.2..p|radiator.mediums.1..h|radiator.mediums.1..p|tank.level|tank.medium.h",fileNamePrefix="Modelica_4.1.0_Modelica.Fluid.Examples.HeatingSystem") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.464e-05/2.464e-05, allocations: 2.281 kB / 378.9 MB, free: 2.516 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.HeatingSystem): time 0.2762/0.2763, allocations: 81.74 MB / 460.7 MB, free: 11.52 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.03473/0.311, allocations: 19.61 MB / 480.3 MB, free: 7.867 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003675/0.3147, allocations: 118.9 kB / 480.4 MB, free: 7.75 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003189/0.3179, allocations: 0.9201 MB / 481.3 MB, free: 6.824 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01239/0.3303, allocations: 3.888 MB / 485.2 MB, free: 2.918 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01554/0.3458, allocations: 6.051 MB / 491.2 MB, free: 12.87 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01933/0.3651, allocations: 13.61 MB / 0.493 GB, free: 15.24 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008945/0.3741, allocations: 2.86 MB / 0.4958 GB, free: 12.35 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.4559/0.8299, allocations: 77 MB / 0.571 GB, free: 34.65 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.05887/0.8888, allocations: 31.81 MB / 0.6021 GB, free: 24.87 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001267/0.8901, allocations: 216 kB / 0.6023 GB, free: 24.66 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01412/0.9042, allocations: 5.493 MB / 0.6076 GB, free: 20.72 MB / 446.1 MB Notification: Performance of combineBinaries: time 0.007084/0.9113, allocations: 6.101 MB / 0.6136 GB, free: 16.52 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 0.002957/0.9142, allocations: 3.716 MB / 0.6172 GB, free: 13.35 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009098/0.9151, allocations: 220 kB / 0.6174 GB, free: 13.13 MB / 446.1 MB Notification: Performance of FrontEnd: time 0.0006034/0.9157, allocations: 58.91 kB / 0.6175 GB, free: 13.08 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: 538 (377) * Number of variables: 538 (377) Notification: Performance of [SIM] Bindings: time 0.01329/0.929, allocations: 15.38 MB / 0.6325 GB, free: 1.398 MB / 446.1 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NBackEnd/Classes/NBackendDAE.mo:1493:5-1493:109:writable] Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $i22 [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NBackEnd/Classes/NBackendDAE.mo:1493:5-1493:109:writable] Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $i36 Notification: Performance of [SIM] FunctionAlias: time 0.002788/0.9318, allocations: 2.12 MB / 0.6346 GB, free: 15.97 MB / 462.1 MB Notification: Performance of [SIM] Early Inline: time 0.01448/0.9463, allocations: 9.889 MB / 0.6442 GB, free: 7.129 MB / 462.1 MB Notification: Performance of [SIM] Simplify 1: time 0.004765/0.9511, allocations: 1.907 MB / 0.6461 GB, free: 5.227 MB / 462.1 MB Warning: NBAlias.setStartFixed: Alias set with conflicting unfixed start values detected. Use -d=dumprepl for more information. Notification: Performance of [SIM] Alias: time 0.01503/0.9661, allocations: 8.273 MB / 0.6542 GB, free: 12.55 MB / 478.1 MB Notification: Performance of [SIM] Simplify 2: time 0.003569/0.9697, allocations: 1.789 MB / 0.6559 GB, free: 10.75 MB / 478.1 MB Notification: Performance of [SIM] Remove Stream: time 0.001373/0.971, allocations: 0.7087 MB / 0.6566 GB, free: 10.01 MB / 478.1 MB Notification: Performance of [SIM] Detect States: time 0.002548/0.9736, allocations: 1.775 MB / 0.6583 GB, free: 8.199 MB / 478.1 MB Notification: Performance of [SIM] Events: time 0.001529/0.9751, allocations: 0.7598 MB / 0.6591 GB, free: 7.453 MB / 478.1 MB Notification: Performance of [SIM] Partitioning: time 0.004646/0.9798, allocations: 3.223 MB / 0.6622 GB, free: 4.137 MB / 478.1 MB Error: Internal error NBResolveSingularities.indexReduction failed because slicing during index reduction is not yet supported. needed sliced dummy: [STAT] (3) protected Real[3] radiator.vsFM slice: {0, 1} " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 3.410468242596835] Failed to read output from testmodel.py, exit status != 0: ['time', 'heater.mediums[1].h', 'heater.mediums[1].p', 'pipe.mediums[1].h', 'pipe.mediums[1].p', 'pipe.mediums[2].h', 'pipe.mediums[2].p', 'radiator.mediums[1].h', 'radiator.mediums[1].p', 'tank.level', 'tank.medium.h'] 1.031783286947757 1.046844035 0.12772782200000002 Calling exit ...