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.001672/0.001672, allocations: 103.6 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.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.001957/0.001957, allocations: 212.5 kB / 24.55 MB, free: 3.824 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.556/1.556, allocations: 230.7 MB / 258.3 MB, free: 7.773 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.678e-05/2.678e-05, allocations: 2.281 kB / 379 MB, free: 2.473 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.HeatingSystem): time 0.3554/0.3554, allocations: 81.73 MB / 460.8 MB, free: 11.48 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.04671/0.4021, allocations: 19.61 MB / 480.4 MB, free: 7.828 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00434/0.4064, allocations: 126.9 kB / 480.5 MB, free: 7.703 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004371/0.4108, allocations: 0.9201 MB / 481.4 MB, free: 6.777 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01865/0.4294, allocations: 3.885 MB / 485.3 MB, free: 2.875 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02418/0.4536, allocations: 5.945 MB / 491.3 MB, free: 12.93 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02415/0.4778, allocations: 13.43 MB / 0.4929 GB, free: 15.48 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01121/0.489, allocations: 2.852 MB / 0.4956 GB, free: 12.6 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.5282/1.017, allocations: 77.22 MB / 0.5711 GB, free: 35 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0566/1.074, allocations: 31.83 MB / 0.6021 GB, free: 25.12 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009775/1.075, allocations: 220 kB / 0.6024 GB, free: 24.9 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01261/1.087, allocations: 5.419 MB / 0.6076 GB, free: 20.93 MB / 446.1 MB Notification: Performance of combineBinaries: time 0.007514/1.095, allocations: 6.1 MB / 0.6136 GB, free: 16.72 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 0.003813/1.099, allocations: 3.707 MB / 0.6172 GB, free: 13.56 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001379/1.1, allocations: 224 kB / 0.6174 GB, free: 13.34 MB / 446.1 MB Notification: Performance of FrontEnd: time 0.0005944/1.101, allocations: 65.19 kB / 0.6175 GB, free: 13.29 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.01523/1.116, allocations: 15.41 MB / 0.6325 GB, free: 1.586 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.002378/1.118, allocations: 2.123 MB / 0.6346 GB, free: 164 kB / 446.1 MB Notification: Performance of [SIM] Early Inline: time 0.0132/1.131, allocations: 10.03 MB / 0.6444 GB, free: 7.102 MB / 462.1 MB Notification: Performance of [SIM] Simplify 1: time 0.004179/1.136, allocations: 1.821 MB / 0.6462 GB, free: 5.277 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.01429/1.15, allocations: 8.44 MB / 0.6544 GB, free: 12.47 MB / 478.1 MB Notification: Performance of [SIM] Simplify 2: time 0.003144/1.153, allocations: 1.723 MB / 0.6561 GB, free: 10.73 MB / 478.1 MB Notification: Performance of [SIM] Remove Stream: time 0.001062/1.154, allocations: 0.6976 MB / 0.6568 GB, free: 9.996 MB / 478.1 MB Notification: Performance of [SIM] Detect States: time 0.002183/1.156, allocations: 1.774 MB / 0.6585 GB, free: 8.188 MB / 478.1 MB Notification: Performance of [SIM] Events: time 0.001215/1.158, allocations: 0.7768 MB / 0.6593 GB, free: 7.426 MB / 478.1 MB Notification: Performance of [SIM] Partitioning: time 0.00401/1.162, allocations: 3.21 MB / 0.6624 GB, free: 4.129 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.6019930299953558] 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.2104555160040036 1.224512493 0.12027262000000001 Calling exit ...