Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Analytical_20160629.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.03427/0.03427, allocations: 5.473 MB / 25.14 MB, free: 0.9258 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.001358/0.001358, allocations: 107.5 kB / 29.57 MB, free: 2.184 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.00151/0.00151, allocations: 214.1 kB / 34.13 MB, free: 3.887 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.533/1.533, allocations: 230.6 MB / 269.2 MB, free: 0.8711 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.362/3.362, allocations: 0.5108 GB / 0.83 GB, free: 11.3 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.01171/0.01171, allocations: 2.709 MB / 1.014 GB, free: 0.9219 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_20160629,tolerance=1e-08,outputFormat="empty",numberOfIntervals=1440,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Analytical_20160629") translateModel(PhotoVoltaics_TGM.TGM_Trina_Analytical_20160629,tolerance=1e-08,outputFormat="empty",numberOfIntervals=1440,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Analytical_20160629") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.875e-05/2.875e-05, allocations: 7.906 kB / 1.392 GB, free: 5.418 MB / 0.92 GB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Trina_Analytical_20160629): time 0.009645/0.009674, allocations: 6.087 MB / 1.398 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.006381/0.01605, allocations: 2.987 MB / 1.401 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008962/0.01695, allocations: 19.94 kB / 1.401 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.002884/0.01984, allocations: 1.038 MB / 1.402 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002118/0.02195, allocations: 0.695 MB / 1.402 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.00205/0.024, allocations: 0.5297 MB / 1.403 GB, free: 10 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002364/0.02637, allocations: 1.621 MB / 1.404 GB, free: 8.379 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001504/0.02787, allocations: 0.8529 MB / 1.405 GB, free: 7.504 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008983/0.02877, allocations: 0.5915 MB / 1.406 GB, free: 6.91 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008848/0.02965, allocations: 0.6454 MB / 1.406 GB, free: 6.262 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0002011/0.02985, allocations: 140 kB / 1.407 GB, free: 6.125 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001276/0.03113, allocations: 0.4995 MB / 1.407 GB, free: 5.625 MB / 0.9356 GB Notification: Performance of combineBinaries: time 0.002541/0.03367, allocations: 2.678 MB / 1.41 GB, free: 2.922 MB / 0.9356 GB Notification: Performance of replaceArrayConstructors: time 0.001387/0.03506, allocations: 1.612 MB / 1.411 GB, free: 1.289 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002399/0.0353, allocations: 100 kB / 1.411 GB, free: 1.191 MB / 0.9356 GB Notification: Performance of FrontEnd: time 0.0003094/0.03561, allocations: 39.8 kB / 1.411 GB, free: 1.152 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.007584/0.04319, allocations: 6.827 MB / 1.418 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of [SIM] FunctionAlias: time 0.001754/0.04494, allocations: 1.253 MB / 1.419 GB, free: 8.746 MB / 0.9512 GB Notification: Performance of [SIM] Early Inline: time 0.006558/0.0515, allocations: 5.337 MB / 1.424 GB, free: 3.344 MB / 0.9512 GB Notification: Performance of [SIM] Simplify 1: time 0.001996/0.0535, allocations: 0.873 MB / 1.425 GB, free: 2.375 MB / 0.9512 GB Notification: Performance of [SIM] Alias: time 0.008182/0.06168, allocations: 4.792 MB / 1.43 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of [SIM] Simplify 2: time 0.001456/0.06314, allocations: 0.7765 MB / 1.431 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of [SIM] Remove Stream: time 0.0005708/0.06371, allocations: 416 kB / 1.431 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of [SIM] Detect States: time 0.001316/0.06502, allocations: 0.9965 MB / 1.432 GB, free: 10.85 MB / 0.9669 GB Notification: Performance of [SIM] Events: time 0.0006422/0.06567, allocations: 334.6 kB / 1.432 GB, free: 10.53 MB / 0.9669 GB Notification: Performance of [SIM] Partitioning: time 0.00233/0.068, allocations: 1.706 MB / 1.434 GB, free: 8.793 MB / 0.9669 GB Notification: Performance of [SIM] Causalize: time 0.007415/0.07541, allocations: 4.533 MB / 1.439 GB, free: 4.168 MB / 0.9669 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.003769/0.07918, allocations: 3.259 MB / 1.442 GB, free: 0.9062 MB / 0.9669 GB Notification: Performance of [INI] Simplify: time 0.004264/0.08344, allocations: 2.003 MB / 1.444 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of [INI] Inline: time 0.006742/0.09019, allocations: 5.831 MB / 1.449 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of [INI] Partitioning: time 0.0003378/0.09052, allocations: 101.3 kB / 1.449 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of [INI] Cleanup: time 0.001371/0.0919, allocations: 0.8898 MB / 1.45 GB, free: 7.832 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.332941552973352] Failed to read output from testmodel.py, exit status != 0: 0.10875897301593795 0.12354948500000001 0.08461881 Calling exit ...