Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SolarPyramidBatteryCharge.conf.json 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.001418/0.001418, allocations: 104.3 kB / 19.77 MB, free: 2.051 MB / 14.72 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.001507/0.001507, allocations: 214.8 kB / 23.07 MB, free: 4.844 MB / 14.72 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.573/1.573, allocations: 230.7 MB / 256.9 MB, free: 7.766 MB / 206.1 MB " [Timeout remaining time 178] 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.03129/0.03129, allocations: 5.49 MB / 318.8 MB, free: 13.49 MB / 254.1 MB " [Timeout remaining time 180] Using package PhotoVoltaics with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.1.0/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) Running command: translateModel(PhotoVoltaics.Examples.SolarPyramidBatteryCharge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SolarPyramidBatteryCharge") translateModel(PhotoVoltaics.Examples.SolarPyramidBatteryCharge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SolarPyramidBatteryCharge") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.479e-05/2.479e-05, allocations: 2.281 kB / 443.5 MB, free: 7.035 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SolarPyramidBatteryCharge): time 0.01456/0.01458, allocations: 12.11 MB / 455.6 MB, free: 10.86 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01026/0.02485, allocations: 4.127 MB / 459.7 MB, free: 6.723 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003927/0.02877, allocations: 51.81 kB / 459.8 MB, free: 6.672 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003045/0.03182, allocations: 0.6468 MB / 460.4 MB, free: 6.02 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005096/0.03691, allocations: 1.043 MB / 461.5 MB, free: 4.969 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003429/0.04034, allocations: 1.175 MB / 462.7 MB, free: 3.793 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.008789/0.04913, allocations: 5.226 MB / 467.9 MB, free: 14.55 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003141/0.05227, allocations: 1.119 MB / 469 MB, free: 13.37 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003803/0.05608, allocations: 1.756 MB / 470.8 MB, free: 11.61 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003436/0.05951, allocations: 1.633 MB / 472.4 MB, free: 9.969 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001521/0.06103, allocations: 0.582 MB / 473 MB, free: 9.387 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002063/0.0631, allocations: 0.6952 MB / 473.7 MB, free: 8.691 MB / 334.1 MB Notification: Performance of combineBinaries: time 0.008791/0.07189, allocations: 7.448 MB / 481.1 MB, free: 1.18 MB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 0.005419/0.07731, allocations: 4.124 MB / 485.2 MB, free: 13 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001881/0.07919, allocations: 276 kB / 485.5 MB, free: 12.73 MB / 350.1 MB Notification: Performance of FrontEnd: time 0.0008332/0.08002, allocations: 119.3 kB / 485.6 MB, free: 12.62 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 702 (686) * Number of variables: 702 (702) Notification: Performance of [SIM] Bindings: time 0.02424/0.1043, allocations: 17.33 MB / 0.4912 GB, free: 10.82 MB / 366.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.005234/0.1095, allocations: 2.902 MB / 0.494 GB, free: 7.895 MB / 366.1 MB Notification: Performance of [SIM] Early Inline: time 0.02243/0.1319, allocations: 13.16 MB / 0.5068 GB, free: 10.64 MB / 382.1 MB Notification: Performance of [SIM] Simplify 1: time 0.006008/0.1379, allocations: 2.559 MB / 0.5093 GB, free: 8.02 MB / 382.1 MB Notification: Performance of [SIM] Alias: time 0.2627/0.4006, allocations: 18.28 MB / 0.5272 GB, free: 49.65 MB / 382.1 MB Notification: Performance of [SIM] Simplify 2: time 0.003321/0.4039, allocations: 1.85 MB / 0.529 GB, free: 49.21 MB / 382.1 MB Notification: Performance of [SIM] Remove Stream: time 0.001456/0.4054, allocations: 0.6997 MB / 0.5297 GB, free: 49.1 MB / 382.1 MB Notification: Performance of [SIM] Detect States: time 0.002437/0.4078, allocations: 1.854 MB / 0.5315 GB, free: 48.86 MB / 382.1 MB Notification: Performance of [SIM] Events: time 0.001659/0.4095, allocations: 1.049 MB / 0.5325 GB, free: 48.64 MB / 382.1 MB Notification: Performance of [SIM] Partitioning: time 0.004072/0.4135, allocations: 3.016 MB / 0.5355 GB, free: 48.48 MB / 382.1 MB Notification: Performance of [SIM] Causalize: time 0.007945/0.4215, allocations: 5.15 MB / 0.5405 GB, free: 47.98 MB / 382.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.006043/0.4275, allocations: 6.263 MB / 0.5466 GB, free: 45.36 MB / 382.1 MB Notification: Performance of [INI] Simplify: time 0.009614/0.4372, allocations: 5.621 MB / 0.5521 GB, free: 41.87 MB / 382.1 MB Notification: Performance of [INI] Inline: time 0.01238/0.4495, allocations: 11.76 MB / 0.5636 GB, free: 30.36 MB / 382.1 MB Notification: Performance of [INI] Partitioning: time 0.001008/0.4505, allocations: 195 kB / 0.5638 GB, free: 30.11 MB / 382.1 MB Notification: Performance of [INI] Cleanup: time 0.003198/0.4537, allocations: 1.823 MB / 0.5655 GB, free: 28.3 MB / 382.1 MB Error: Internal error NBResolveSingularities.balanceInitialization failed because following non-fixable variables could not be solved: [DISC] (1) discrete Real solarPyramid.dcConverter4.mpTracker.signv (fixed = true, start = -1.0) [DISC] (1) Integer solarPyramid.dcConverter4.mpTracker.counter (fixed = true, start = 0) [DISC] (1) discrete Real solarPyramid.dcConverter3.mpTracker.signv (fixed = true, start = -1.0) [DISC] (1) Integer solarPyramid.dcConverter3.mpTracker.counter (fixed = true, start = 0) [DISC] (1) discrete Real solarPyramid.dcConverter2.mpTracker.signv (fixed = true, start = -1.0) [DISC] (1) Integer solarPyramid.dcConverter2.mpTracker.counter (fixed = true, start = 0) [DISC] (1) discrete Real solarPyramid.dcConverter1.mpTracker.signv (fixed = true, start = -1.0) [DISC] (1) Integer solarPyramid.dcConverter1.mpTracker.counter (fixed = true, start = 0) Following equations were created by fixing variables: [SCAL] (1) $PRE.solarPyramid.dcConverter1.mpTracker.vRef = $START.solarPyramid.dcConverter1.mpTracker.vRef ($RES_SRT_1036) [SCAL] (1) $PRE.solarPyramid.dcConverter1.mpTracker.power = $START.solarPyramid.dcConverter1.mpTracker.power ($RES_SRT_1035) [SCAL] (1) $PRE.solarPyramid.dcConverter2.mpTracker.vRef = $START.solarPyramid.dcConverter2.mpTracker.vRef ($RES_SRT_1034) [SCAL] (1) $PRE.solarPyramid.dcConverter2.mpTracker.power = $START.solarPyramid.dcConverter2.mpTracker.power ($RES_SRT_1033) [SCAL] (1) $PRE.solarPyramid.dcConverter3.mpTracker.vRef = $START.solarPyramid.dcConverter3.mpTracker.vRef ($RES_SRT_1032) [SCAL] (1) $PRE.solarPyramid.dcConverter3.mpTracker.power = $START.solarPyramid.dcConverter3.mpTracker.power ($RES_SRT_1031) [SCAL] (1) $PRE.solarPyramid.dcConverter4.mpTracker.vRef = $START.solarPyramid.dcConverter4.mpTracker.vRef ($RES_SRT_1030) [SCAL] (1) $PRE.solarPyramid.dcConverter4.mpTracker.power = $START.solarPyramid.dcConverter4.mpTracker.power ($RES_SRT_1029) 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: 3.06890008301707] Failed to read output from testmodel.py, exit status != 0: 0.4790975080104545 0.48986630700000006 0.407137831 Calling exit ...