Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Analytical_20160808.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.1.0/package.mo): time 0.03686/0.03686, allocations: 5.489 MB / 25.15 MB, free: 0.9062 MB / 14.72 MB " [Timeout remaining time 180] 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.001523/0.001523, allocations: 111.1 kB / 29.57 MB, free: 2.16 MB / 19.63 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.001643/0.001643, allocations: 211.1 kB / 34.12 MB, free: 3.855 MB / 19.63 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.549/1.549, allocations: 230.6 MB / 269.2 MB, free: 0.875 MB / 206.1 MB " [Timeout remaining time 178] 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.347/3.347, allocations: 0.5108 GB / 0.83 GB, free: 11.22 MB / 0.6231 GB " [Timeout remaining time 176] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.1.0/package.mo): time 0.01144/0.01144, allocations: 2.71 MB / 1.014 GB, free: 0.8984 MB / 0.795 GB " [Timeout remaining time 179] Using package PhotoVoltaics_TGM with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.1.0/package.mo) Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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 PhotoVoltaics with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.1.0/package.mo) Running command: translateModel(PhotoVoltaics_TGM.TGM_Trina_Analytical_20160808,tolerance=1e-08,outputFormat="empty",numberOfIntervals=1440,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Analytical_20160808") translateModel(PhotoVoltaics_TGM.TGM_Trina_Analytical_20160808,tolerance=1e-08,outputFormat="empty",numberOfIntervals=1440,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Analytical_20160808") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.008e-05/2.008e-05, allocations: 4.391 kB / 1.392 GB, free: 5.41 MB / 0.92 GB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Trina_Analytical_20160808): time 0.008688/0.008708, allocations: 6.083 MB / 1.398 GB, free: 15.28 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.006274/0.01498, allocations: 2.987 MB / 1.401 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008002/0.01578, allocations: 19.94 kB / 1.401 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.002971/0.01875, allocations: 1.037 MB / 1.402 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002545/0.0213, allocations: 0.6913 MB / 1.402 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002256/0.02355, allocations: 0.5299 MB / 1.403 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002847/0.0264, allocations: 1.621 MB / 1.404 GB, free: 8.383 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001549/0.02795, allocations: 0.8529 MB / 1.405 GB, free: 7.508 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009137/0.02886, allocations: 0.5993 MB / 1.406 GB, free: 6.906 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008626/0.02973, allocations: 0.6493 MB / 1.406 GB, free: 6.254 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001968/0.02992, allocations: 140 kB / 1.407 GB, free: 6.117 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001205/0.03113, allocations: 0.4917 MB / 1.407 GB, free: 5.625 MB / 0.9356 GB Notification: Performance of combineBinaries: time 0.002421/0.03355, allocations: 2.678 MB / 1.41 GB, free: 2.922 MB / 0.9356 GB Notification: Performance of replaceArrayConstructors: time 0.001293/0.03484, allocations: 1.604 MB / 1.411 GB, free: 1.297 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002823/0.03512, allocations: 100 kB / 1.411 GB, free: 1.199 MB / 0.9356 GB Notification: Performance of FrontEnd: time 0.000334/0.03546, allocations: 39.8 kB / 1.411 GB, free: 1.16 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 270 (238) * Number of variables: 270 (270) Notification: Performance of [SIM] Bindings: time 0.007453/0.04291, allocations: 6.828 MB / 1.418 GB, free: 10.1 MB / 0.9512 GB Notification: Performance of [SIM] FunctionAlias: time 0.001861/0.04477, allocations: 1.262 MB / 1.419 GB, free: 8.742 MB / 0.9512 GB Notification: Performance of [SIM] Early Inline: time 0.006544/0.05132, allocations: 5.341 MB / 1.424 GB, free: 3.336 MB / 0.9512 GB Notification: Performance of [SIM] Simplify 1: time 0.001747/0.05306, allocations: 0.8729 MB / 1.425 GB, free: 2.367 MB / 0.9512 GB Notification: Performance of [SIM] Alias: time 0.007474/0.06054, allocations: 4.794 MB / 1.43 GB, free: 13.19 MB / 0.9669 GB Notification: Performance of [SIM] Simplify 2: time 0.001326/0.06186, allocations: 0.777 MB / 1.431 GB, free: 12.35 MB / 0.9669 GB Notification: Performance of [SIM] Remove Stream: time 0.0005292/0.06239, allocations: 416 kB / 1.431 GB, free: 11.9 MB / 0.9669 GB Notification: Performance of [SIM] Detect States: time 0.001298/0.06369, allocations: 0.9825 MB / 1.432 GB, free: 10.85 MB / 0.9669 GB Notification: Performance of [SIM] Events: time 0.0006255/0.06431, allocations: 347.3 kB / 1.432 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of [SIM] Partitioning: time 0.002196/0.06651, allocations: 1.706 MB / 1.434 GB, free: 8.785 MB / 0.9669 GB Notification: Performance of [SIM] Causalize: time 0.007487/0.074, allocations: 4.527 MB / 1.439 GB, free: 4.168 MB / 0.9669 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.003531/0.07753, allocations: 3.267 MB / 1.442 GB, free: 0.8984 MB / 0.9669 GB Notification: Performance of [INI] Simplify: time 0.003896/0.08142, allocations: 1.995 MB / 1.444 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of [INI] Inline: time 0.006235/0.08766, allocations: 5.824 MB / 1.449 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of [INI] Partitioning: time 0.0004377/0.0881, allocations: 101.3 kB / 1.449 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of [INI] Cleanup: time 0.001874/0.08997, allocations: 0.8975 MB / 1.45 GB, free: 7.828 MB / 0.9825 GB Warning: NBResolveSingularities.balanceInitialization reports an overdetermined initialization! Checking for consistency is not yet supported, following equations had to be removed: [SCAL] (1) irradiance.dayOfYear = PhotoVoltaics.Functions.dayOfTheYear(irradiance.startDay, irradiance.startMonth, irradiance.startYear) ($RES_SRT_341); Error: Internal error NBResolveSingularities.balanceInitialization failed because following non-fixable variables could not be solved: [DISC] (1) discrete Real mpTracker.signv (fixed = true, start = -1.0) [DISC] (1) Integer mpTracker.counter (fixed = true, start = 0) Following equations were created by fixing variables: [SCAL] (1) $PRE.mpTracker.vRef = $START.mpTracker.vRef ($RES_SRT_392) [SCAL] (1) $PRE.mpTracker.power = $START.mpTracker.power ($RES_SRT_391) [SCAL] (1) $PRE.irradiance.dayOfYear = $START.irradiance.dayOfYear ($RES_SRT_390) [SCAL] (1) $PRE.irradiance.daysOfYear = $START.irradiance.daysOfYear ($RES_SRT_389) [SCAL] (1) $PRE.irradiance.year = $START.irradiance.year ($RES_SRT_388) Use -d=bltdump for more verbose debug output. Error: Internal error NBInitialization.main failed to apply modules! " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 7.354573294986039] Failed to read output from testmodel.py, exit status != 0: 0.10775800299597904 0.123295178 0.084550492 Calling exit ...