Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Analytical_20160704.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.03431/0.03431, allocations: 5.487 MB / 25.15 MB, free: 0.8906 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.001492/0.001492, allocations: 111.1 kB / 29.57 MB, free: 2.145 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.001671/0.001671, allocations: 221.4 kB / 34.13 MB, free: 3.863 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.512/1.512, allocations: 230.6 MB / 269.2 MB, free: 0.8906 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.342/3.342, allocations: 0.5108 GB / 0.83 GB, free: 11.21 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.01162/0.01162, allocations: 2.694 MB / 1.014 GB, free: 0.8789 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_20160704,tolerance=1e-08,outputFormat="empty",numberOfIntervals=1440,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Analytical_20160704") translateModel(PhotoVoltaics_TGM.TGM_Trina_Analytical_20160704,tolerance=1e-08,outputFormat="empty",numberOfIntervals=1440,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Analytical_20160704") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 4.482e-05/4.482e-05, allocations: 2.281 kB / 1.392 GB, free: 5.391 MB / 0.92 GB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Trina_Analytical_20160704): time 0.0115/0.01155, allocations: 6.105 MB / 1.398 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.007239/0.01879, allocations: 2.983 MB / 1.401 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001314/0.0201, allocations: 19.94 kB / 1.401 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.00333/0.02343, allocations: 1.037 MB / 1.402 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002643/0.02607, allocations: 0.6875 MB / 1.402 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002241/0.02832, allocations: 0.5357 MB / 1.403 GB, free: 9.969 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002809/0.03112, allocations: 1.624 MB / 1.404 GB, free: 8.34 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001691/0.03282, allocations: 0.8452 MB / 1.405 GB, free: 7.473 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000978/0.03379, allocations: 0.5954 MB / 1.406 GB, free: 6.875 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008703/0.03466, allocations: 0.6493 MB / 1.406 GB, free: 6.223 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001966/0.03486, allocations: 136 kB / 1.407 GB, free: 6.09 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00136/0.03622, allocations: 0.4956 MB / 1.407 GB, free: 5.594 MB / 0.9356 GB Notification: Performance of combineBinaries: time 0.002344/0.03856, allocations: 2.678 MB / 1.41 GB, free: 2.891 MB / 0.9356 GB Notification: Performance of replaceArrayConstructors: time 0.001253/0.03982, allocations: 1.6 MB / 1.411 GB, free: 1.27 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002331/0.04005, allocations: 96 kB / 1.411 GB, free: 1.176 MB / 0.9356 GB Notification: Performance of FrontEnd: time 0.0003014/0.04035, allocations: 43.78 kB / 1.411 GB, free: 1.133 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.007162/0.04751, allocations: 6.842 MB / 1.418 GB, free: 10.06 MB / 0.9512 GB Notification: Performance of [SIM] FunctionAlias: time 0.001693/0.04921, allocations: 1.244 MB / 1.419 GB, free: 8.719 MB / 0.9512 GB Notification: Performance of [SIM] Early Inline: time 0.00619/0.0554, allocations: 5.345 MB / 1.424 GB, free: 3.309 MB / 0.9512 GB Notification: Performance of [SIM] Simplify 1: time 0.001632/0.05703, allocations: 0.8798 MB / 1.425 GB, free: 2.336 MB / 0.9512 GB Notification: Performance of [SIM] Alias: time 0.007322/0.06435, allocations: 4.791 MB / 1.43 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of [SIM] Simplify 2: time 0.001274/0.06562, allocations: 0.7699 MB / 1.431 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of [SIM] Remove Stream: time 0.0005122/0.06614, allocations: 416 kB / 1.431 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of [SIM] Detect States: time 0.001248/0.06738, allocations: 0.9942 MB / 1.432 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of [SIM] Events: time 0.0005788/0.06796, allocations: 335.2 kB / 1.432 GB, free: 10.49 MB / 0.9669 GB Notification: Performance of [SIM] Partitioning: time 0.002115/0.07008, allocations: 1.706 MB / 1.434 GB, free: 8.758 MB / 0.9669 GB Notification: Performance of [SIM] Causalize: time 0.006779/0.07686, allocations: 4.526 MB / 1.439 GB, free: 4.145 MB / 0.9669 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.003341/0.0802, allocations: 3.267 MB / 1.442 GB, free: 0.875 MB / 0.9669 GB Notification: Performance of [INI] Simplify: time 0.00364/0.08384, allocations: 2.005 MB / 1.444 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of [INI] Inline: time 0.006279/0.09012, allocations: 5.828 MB / 1.449 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of [INI] Partitioning: time 0.0003823/0.0905, allocations: 97.33 kB / 1.449 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of [INI] Cleanup: time 0.001445/0.09194, allocations: 0.8898 MB / 1.45 GB, free: 7.801 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.393458771985024] Failed to read output from testmodel.py, exit status != 0: 0.10906049195909873 0.12343862700000001 0.079909399 Calling exit ...