Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.TDtoPD.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.001614/0.001614, allocations: 104.3 kB / 19.76 MB, free: 1.906 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.001528/0.001528, allocations: 213.4 kB / 23.06 MB, free: 4.988 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.565/1.565, allocations: 230.7 MB / 256.9 MB, free: 7.918 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib master/package.mo): time 0.08397/0.08397, allocations: 16.95 MB / 330.2 MB, free: 2.035 MB / 254.1 MB " [Timeout remaining time 180] Using package PNlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 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) Running command: translateModel(PNlib.Examples.DisTest.TDtoPD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.TDtoPD") translateModel(PNlib.Examples.DisTest.TDtoPD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.TDtoPD") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.259e-05/2.259e-05, allocations: 4.391 kB / 461 MB, free: 1.617 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TDtoPD): time 0.003293/0.003315, allocations: 1.734 MB / 462.8 MB, free: 15.88 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004095/0.00741, allocations: 1.851 MB / 464.6 MB, free: 14.02 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004753/0.007886, allocations: 11.94 kB / 464.6 MB, free: 14.01 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004545/0.00834, allocations: 115.1 kB / 464.7 MB, free: 13.9 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004565/0.008797, allocations: 127.1 kB / 464.9 MB, free: 13.77 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00281/0.01161, allocations: 0.9536 MB / 465.8 MB, free: 12.82 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002596/0.0142, allocations: 1.474 MB / 467.3 MB, free: 11.34 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002633/0.01447, allocations: 70.31 kB / 467.3 MB, free: 11.27 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009247/0.01539, allocations: 0.5688 MB / 467.9 MB, free: 10.7 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006556/0.01605, allocations: 374.2 kB / 468.3 MB, free: 10.33 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001524/0.0162, allocations: 76 kB / 468.4 MB, free: 10.26 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001215/0.01741, allocations: 0.5928 MB / 468.9 MB, free: 9.664 MB / 334.1 MB Notification: Performance of combineBinaries: time 0.001174/0.01859, allocations: 1.153 MB / 470.1 MB, free: 8.5 MB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 0.000603/0.01919, allocations: 0.6709 MB / 470.8 MB, free: 7.82 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002519/0.01944, allocations: 68 kB / 470.8 MB, free: 7.754 MB / 334.1 MB Notification: Performance of FrontEnd: time 0.0001851/0.01963, allocations: 55.58 kB / 470.9 MB, free: 7.699 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 150 (110) * Number of variables: 150 (140) Notification: Performance of [SIM] Bindings: time 0.004066/0.02369, allocations: 2.85 MB / 473.7 MB, free: 4.707 MB / 334.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.000592/0.02429, allocations: 329 kB / 474.1 MB, free: 4.371 MB / 334.1 MB Notification: Performance of [SIM] Early Inline: time 0.003469/0.02775, allocations: 2.745 MB / 476.8 MB, free: 1.594 MB / 334.1 MB Notification: Performance of [SIM] Simplify 1: time 0.001115/0.02887, allocations: 0.5662 MB / 477.4 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of [SIM] Alias: time 0.004211/0.03308, allocations: 2.597 MB / 480 MB, free: 14.07 MB / 350.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0008852/0.03397, allocations: 0.5249 MB / 480.5 MB, free: 13.5 MB / 350.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0005487/0.03451, allocations: 413.2 kB / 480.9 MB, free: 13.07 MB / 350.1 MB Notification: Performance of [SIM] Detect States: time 0.001121/0.03563, allocations: 0.7674 MB / 481.7 MB, free: 12.25 MB / 350.1 MB Notification: Performance of [SIM] Events: time 0.0007811/0.03642, allocations: 456.8 kB / 482.1 MB, free: 11.8 MB / 350.1 MB Notification: Performance of [SIM] Partitioning: time 0.001735/0.03815, allocations: 1.238 MB / 483.4 MB, free: 10.47 MB / 350.1 MB Notification: Performance of [SIM] Causalize: time 0.00391/0.04206, allocations: 2.917 MB / 486.3 MB, free: 7.461 MB / 350.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.002946/0.04501, allocations: 2.324 MB / 488.6 MB, free: 5.137 MB / 350.1 MB Notification: Performance of [INI] Simplify: time 0.00229/0.0473, allocations: 1.05 MB / 489.6 MB, free: 3.988 MB / 350.1 MB Notification: Performance of [INI] Inline: time 0.004584/0.05188, allocations: 3.559 MB / 493.2 MB, free: 432 kB / 350.1 MB Notification: Performance of [INI] Partitioning: time 0.0002049/0.05209, allocations: 52.03 kB / 493.3 MB, free: 368 kB / 350.1 MB Notification: Performance of [INI] Cleanup: time 0.0009603/0.05305, allocations: 0.5632 MB / 493.8 MB, free: 15.79 MB / 366.1 MB Warning: NBResolveSingularities.balanceInitialization reports an overdetermined initialization! Checking for consistency is not yet supported, following equations had to be removed: [SCAL] (1) $SEV_0 = $PRE.P1.firingSumIn.firingSum > 0 or $PRE.P1.firingSumOut.firingSum > 0 ($RES_EVT_141); Error: Internal error NBResolveSingularities.balanceInitialization failed because following non-fixable variables could not be solved: [DISC] (4) Integer[4] $TEV_3 [DISC] (1) Boolean $SEV_11 [DISC] (1) Boolean $SEV_12 [DISC] (1) protected discrete Real P1.enableIn.benefitLimit [DISC] (1) protected Boolean P1.enableIn.valid [DISC] (1) protected discrete Real P1.enableIn.benefitMax [DISC] (1) protected Integer P1.enableIn.k [DISC] (1) protected Integer P1.enableIn.nTAin [DISC] (1) protected discrete Real P1.enableOut.benefitLimit [DISC] (1) protected Boolean P1.enableOut.valid [DISC] (1) protected discrete Real P1.enableOut.benefitMax [DISC] (1) protected Integer P1.enableOut.Index [DISC] (1) protected Boolean P1.enableOut.endWhile [DISC] (1) protected discrete Real P1.enableOut.sumEnablingProbTAout [DISC] (1) protected Integer P1.enableOut.posTE [DISC] (1) protected Integer P1.enableOut.k [DISC] (1) protected Integer P1.enableOut.nTAout [DISC] (1) protected Integer P1.enableOut.nremTAout [DISC] (1) protected Boolean[1] P1.fireIn Following equations were created by fixing variables: [SCAL] (1) $PRE.T1.fireTime = $START.T1.fireTime ($RES_SRT_193) [SCAL] (1) $PRE.P1.firingSumIn.firingSum = $START.P1.firingSumIn.firingSum ($RES_SRT_192) [SCAL] (1) $PRE.P1.firingSumOut.firingSum = $START.P1.firingSumOut.firingSum ($RES_SRT_191) [ARRY] (4) $PRE.P1.enableOut.state128 = $START.P1.enableOut.state128 ($RES_SRT_190) [ARRY] (4) $PRE.P1.enableIn.state128 = $START.P1.enableIn.state128 ($RES_SRT_189) [SCAL] (1) $PRE.T1.ani = $START.T1.ani ($RES_SRT_188) [SCAL] (1) $PRE.T1.firingTime = $START.T1.firingTime ($RES_SRT_187) 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: 2.7943301780032925] Failed to read output from testmodel.py, exit status != 0: 0.06571874901419505 0.08235295099999994 0.059045906 Calling exit ...