Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_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.0432/0.0432, allocations: 5.477 MB / 25.14 MB, free: 0.9336 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.001449/0.001449, allocations: 107 kB / 29.57 MB, free: 2.188 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.001616/0.001616, allocations: 206.6 kB / 34.12 MB, free: 3.859 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.514/1.514, allocations: 230.6 MB / 269.2 MB, free: 0.8984 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.361/3.361, 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.01158/0.01158, allocations: 2.699 MB / 1.014 GB, free: 0.8672 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_Comax_Analytical_20160704,tolerance=1e-08,outputFormat="empty",numberOfIntervals=1440,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Analytical_20160704") translateModel(PhotoVoltaics_TGM.TGM_Comax_Analytical_20160704,tolerance=1e-08,outputFormat="empty",numberOfIntervals=1440,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Analytical_20160704") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.692e-05/2.692e-05, allocations: 2.281 kB / 1.392 GB, free: 5.379 MB / 0.92 GB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Comax_Analytical_20160704): time 0.009081/0.009108, allocations: 6.087 MB / 1.398 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.006521/0.01563, allocations: 2.983 MB / 1.401 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009278/0.01656, allocations: 19.94 kB / 1.401 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.002902/0.01946, allocations: 1.049 MB / 1.402 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002101/0.02156, allocations: 0.6874 MB / 1.402 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001908/0.02347, allocations: 0.5285 MB / 1.403 GB, free: 9.965 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002152/0.02562, allocations: 1.621 MB / 1.404 GB, free: 8.34 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001418/0.02704, allocations: 0.849 MB / 1.405 GB, free: 7.469 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008214/0.02786, allocations: 0.5994 MB / 1.406 GB, free: 6.867 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008329/0.02869, allocations: 0.6454 MB / 1.406 GB, free: 6.219 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001968/0.02889, allocations: 143.9 kB / 1.407 GB, free: 6.078 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001247/0.03014, allocations: 0.4957 MB / 1.407 GB, free: 5.582 MB / 0.9356 GB Notification: Performance of combineBinaries: time 0.002437/0.03257, allocations: 2.674 MB / 1.41 GB, free: 2.883 MB / 0.9356 GB Notification: Performance of replaceArrayConstructors: time 0.001346/0.03392, allocations: 1.604 MB / 1.411 GB, free: 1.258 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002912/0.03421, allocations: 96 kB / 1.411 GB, free: 1.164 MB / 0.9356 GB Notification: Performance of FrontEnd: time 0.0003932/0.0346, allocations: 39.8 kB / 1.411 GB, free: 1.125 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.04219, allocations: 6.836 MB / 1.418 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of [SIM] FunctionAlias: time 0.001637/0.04382, allocations: 1.246 MB / 1.419 GB, free: 8.715 MB / 0.9512 GB Notification: Performance of [SIM] Early Inline: time 0.006035/0.04986, allocations: 5.349 MB / 1.424 GB, free: 3.301 MB / 0.9512 GB Notification: Performance of [SIM] Simplify 1: time 0.001593/0.05145, allocations: 0.8776 MB / 1.425 GB, free: 2.332 MB / 0.9512 GB Notification: Performance of [SIM] Alias: time 0.007159/0.05861, allocations: 4.797 MB / 1.43 GB, free: 13.15 MB / 0.9669 GB Notification: Performance of [SIM] Simplify 2: time 0.001258/0.05987, allocations: 0.7747 MB / 1.431 GB, free: 12.31 MB / 0.9669 GB Notification: Performance of [SIM] Remove Stream: time 0.0005059/0.06037, allocations: 416 kB / 1.431 GB, free: 11.87 MB / 0.9669 GB Notification: Performance of [SIM] Detect States: time 0.00123/0.06161, allocations: 0.9903 MB / 1.432 GB, free: 10.81 MB / 0.9669 GB Notification: Performance of [SIM] Events: time 0.0005755/0.06218, allocations: 342.1 kB / 1.432 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of [SIM] Partitioning: time 0.002197/0.06438, allocations: 1.706 MB / 1.434 GB, free: 8.742 MB / 0.9669 GB Notification: Performance of [SIM] Causalize: time 0.006865/0.07124, allocations: 4.526 MB / 1.439 GB, free: 4.129 MB / 0.9669 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.003483/0.07473, allocations: 3.267 MB / 1.442 GB, free: 0.8594 MB / 0.9669 GB Notification: Performance of [INI] Simplify: time 0.003792/0.07852, allocations: 1.994 MB / 1.444 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of [INI] Inline: time 0.006147/0.08466, allocations: 5.828 MB / 1.449 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of [INI] Partitioning: time 0.0003208/0.08499, allocations: 101.3 kB / 1.449 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of [INI] Cleanup: time 0.001373/0.08636, allocations: 0.8859 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.330402676016092] Failed to read output from testmodel.py, exit status != 0: 0.1063968880334869 0.12094532200000001 0.08312581000000001 Calling exit ...