Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr TransiEnt_TransiEnt.Consumer.Systems.PVBatteryPoolControl.Controller.Check.CheckBatteryConditioningController.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.08/3.08, allocations: 0.5108 GB / 0.5337 GB, free: 12.05 MB / 430.1 MB " [Timeout remaining time 176] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/DymolaCommands master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DymolaCommands master/package.mo): time 0.0008476/0.0008476, allocations: 52.19 kB / 0.6623 GB, free: 14.62 MB / 0.5137 GB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo): time 0.01169/0.01169, allocations: 1.755 MB / 0.7925 GB, free: 9.156 MB / 0.6387 GB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo): time 0.7803/0.7803, allocations: 130.7 MB / 1.049 GB, free: 59.52 MB / 0.6856 GB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaReference 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaReference 4.0.0+maint.om/package.mo): time 0.01252/0.01252, allocations: 0.8837 MB / 1.206 GB, free: 61.62 MB / 0.6857 GB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_LinearSystems2 2.4.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_LinearSystems2 2.4.0/package.mo): time 0.3337/0.3337, allocations: 45.3 MB / 1.407 GB, free: 1.359 MB / 0.8263 GB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.1/package.mo): time 0.1056/0.1056, allocations: 13.78 MB / 1.586 GB, free: 159.9 MB / 0.8419 GB " [Timeout remaining time 179] 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.001393/0.001393, allocations: 107.3 kB / 1.755 GB, free: 143 MB / 0.8419 GB " [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.001679/0.001679, allocations: 216.4 kB / 1.924 GB, free: 4.977 MB / 0.8419 GB " [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.911/1.911, allocations: 230.6 MB / 2.318 GB, free: 166.6 MB / 1.045 GB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Design master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Design master/package.mo): time 0.0008226/0.0008226, allocations: 43.8 kB / 2.539 GB, free: 4.789 MB / 1.108 GB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/DataFiles master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DataFiles master/package.mo): time 0.0008559/0.0008559, allocations: 38.69 kB / 2.76 GB, free: 205.1 MB / 1.108 GB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TransiEnt master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TransiEnt master/package.mo): time 1.234/1.234, allocations: 223.4 MB / 3.199 GB, free: 10.14 MB / 1.108 GB " [Timeout remaining time 178] Using package TransiEnt with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TransiEnt master/package.mo) Using package DataFiles with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/DataFiles master/package.mo) Using package Design with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Design master/package.mo) 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) Using package Modelica_StateGraph2 with version 2.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.1/package.mo) Using package Modelica_LinearSystems2 with version 2.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_LinearSystems2 2.4.0/package.mo) Using package ModelicaReference with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaReference 4.0.0+maint.om/package.mo) Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo) Using package SMArtInt with version 0.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Using package DymolaCommands with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/DymolaCommands master/package.mo) Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Running command: translateModel(TransiEnt.Consumer.Systems.PVBatteryPoolControl.Controller.Check.CheckBatteryConditioningController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="TransiEnt_TransiEnt.Consumer.Systems.PVBatteryPoolControl.Controller.Check.CheckBatteryConditioningController") translateModel(TransiEnt.Consumer.Systems.PVBatteryPoolControl.Controller.Check.CheckBatteryConditioningController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="TransiEnt_TransiEnt.Consumer.Systems.PVBatteryPoolControl.Controller.Check.CheckBatteryConditioningController") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.019e-05/3.019e-05, allocations: 3.828 kB / 3.756 GB, free: 10.1 MB / 1.373 GB Notification: Performance of NFInst.instantiate(TransiEnt.Consumer.Systems.PVBatteryPoolControl.Controller.Check.CheckBatteryConditioningController): time 0.003172/0.003202, allocations: 2.286 MB / 3.758 GB, free: 7.812 MB / 1.373 GB Notification: Performance of NFInst.instExpressions: time 0.001135/0.004337, allocations: 0.666 MB / 3.759 GB, free: 7.141 MB / 1.373 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.729e-05/0.004424, allocations: 7.938 kB / 3.759 GB, free: 7.133 MB / 1.373 GB Notification: Performance of NFTyping.typeComponents: time 0.0003465/0.004771, allocations: 71.45 kB / 3.759 GB, free: 7.062 MB / 1.373 GB Notification: Performance of NFTyping.typeBindings: time 0.0001143/0.004885, allocations: 31.72 kB / 3.759 GB, free: 7.031 MB / 1.373 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002713/0.005156, allocations: 67.86 kB / 3.759 GB, free: 6.965 MB / 1.373 GB Notification: Performance of NFFlatten.flatten: time 0.0002004/0.005357, allocations: 159.5 kB / 3.759 GB, free: 6.809 MB / 1.373 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001611/0.005518, allocations: 37.7 kB / 3.759 GB, free: 6.766 MB / 1.373 GB Notification: Performance of NFEvalConstants.evaluate: time 9.207e-05/0.00561, allocations: 67.66 kB / 3.759 GB, free: 6.699 MB / 1.373 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001005/0.005711, allocations: 51.7 kB / 3.759 GB, free: 6.648 MB / 1.373 GB Notification: Performance of NFPackage.collectConstants: time 3.46e-05/0.005745, allocations: 12 kB / 3.759 GB, free: 6.637 MB / 1.373 GB Notification: Performance of NFFlatten.collectFunctions: time 9.021e-05/0.005835, allocations: 43.94 kB / 3.759 GB, free: 6.594 MB / 1.373 GB Notification: Performance of combineBinaries: time 0.0001891/0.006024, allocations: 273 kB / 3.76 GB, free: 6.324 MB / 1.373 GB Notification: Performance of replaceArrayConstructors: time 7.024e-05/0.006095, allocations: 189.4 kB / 3.76 GB, free: 6.137 MB / 1.373 GB Notification: Performance of NFVerifyModel.verify: time 3.387e-05/0.006129, allocations: 8 kB / 3.76 GB, free: 6.129 MB / 1.373 GB Notification: Performance of FrontEnd: time 2.701e-05/0.006156, allocations: 11.88 kB / 3.76 GB, free: 6.117 MB / 1.373 GB Error: Internal error NBackendDAE.lowerWhenBranchStatement for for i in 1:1 loop ctrl.extractSOC.k[i] = if ctrl.extractSOC.index == i then 1.0 else 0.0; end for " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 19.420040422002785] Failed to read output from testmodel.py, exit status != 0: 0.01357504999032244 0.027571092000000002 0.018286993 Calling exit ...