Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Fluid.Examples.HeatingSystem.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.001459/0.001459, allocations: 104 kB / 21.25 MB, free: 0.5664 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.001841/0.001841, allocations: 192.2 kB / 24.53 MB, free: 3.852 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.609/1.609, allocations: 225.7 MB / 253.4 MB, free: 12.78 MB / 206.1 MB " [Timeout remaining time 178] 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(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.0.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.0.0_Modelica.Fluid.Examples.HeatingSystem") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.312e-05/2.312e-05, allocations: 2.281 kB / 371.7 MB, free: 9.184 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.HeatingSystem): time 0.3414/0.3414, allocations: 81.4 MB / 453.1 MB, free: 5.523 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.03845/0.3799, allocations: 19.6 MB / 472.7 MB, free: 1.883 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004176/0.384, allocations: 126.9 kB / 472.8 MB, free: 1.758 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003657/0.3877, allocations: 0.9084 MB / 473.7 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01306/0.4008, allocations: 3.877 MB / 477.6 MB, free: 12.95 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01733/0.4181, allocations: 5.941 MB / 483.6 MB, free: 7.012 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02237/0.4405, allocations: 13.32 MB / 496.9 MB, free: 9.66 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00868/0.4491, allocations: 2.832 MB / 499.7 MB, free: 6.809 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.5518/1.001, allocations: 77.11 MB / 0.5633 GB, free: 46.48 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.06227/1.063, allocations: 31.82 MB / 0.5944 GB, free: 37.14 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001255/1.064, allocations: 217.3 kB / 0.5946 GB, free: 37.14 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01414/1.079, allocations: 5.384 MB / 0.5998 GB, free: 36.2 MB / 446.1 MB Notification: Performance of combineBinaries: time 0.007869/1.086, allocations: 6.104 MB / 0.6058 GB, free: 32.59 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 0.003798/1.09, allocations: 3.709 MB / 0.6094 GB, free: 29.64 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001668/1.092, allocations: 220 kB / 0.6096 GB, free: 29.43 MB / 446.1 MB Notification: Performance of FrontEnd: time 0.0006652/1.093, allocations: 61.53 kB / 0.6097 GB, free: 29.38 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.01864/1.111, allocations: 15.42 MB / 0.6248 GB, free: 17.75 MB / 446.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NBackEnd/Classes/NBackendDAE.mo:1505:5-1505:109:writable] Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $i22 [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NBackEnd/Classes/NBackendDAE.mo:1505:5-1505:109:writable] Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $i36 Notification: Performance of [SIM] FunctionAlias: time 0.004316/1.116, allocations: 2.109 MB / 0.6268 GB, free: 16.34 MB / 446.1 MB Notification: Performance of [SIM] Early Inline: time 0.01384/1.129, allocations: 10.05 MB / 0.6366 GB, free: 8.195 MB / 446.1 MB Notification: Performance of [SIM] Simplify 1: time 0.00388/1.133, allocations: 1.815 MB / 0.6384 GB, free: 6.387 MB / 446.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.01352/1.147, allocations: 8.44 MB / 0.6466 GB, free: 13.58 MB / 462.1 MB Notification: Performance of [SIM] Simplify 2: time 0.003702/1.151, allocations: 1.717 MB / 0.6483 GB, free: 11.84 MB / 462.1 MB Notification: Performance of [SIM] Remove Stream: time 0.001289/1.152, allocations: 0.7106 MB / 0.649 GB, free: 11.1 MB / 462.1 MB Notification: Performance of [SIM] Detect States: time 0.002466/1.154, allocations: 1.779 MB / 0.6508 GB, free: 9.289 MB / 462.1 MB Notification: Performance of [SIM] Events: time 0.001431/1.156, allocations: 0.7632 MB / 0.6515 GB, free: 8.539 MB / 462.1 MB Notification: Performance of [SIM] Partitioning: time 0.004614/1.16, allocations: 3.224 MB / 0.6546 GB, free: 5.23 MB / 462.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.6169021489913575] 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.2155241399887018 1.230932523 0.13463573399999995 Calling exit ...