Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.PDtoTD.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.001423/0.001423, 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.001663/0.001663, allocations: 218.1 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.542/1.542, allocations: 230.7 MB / 256.9 MB, free: 7.758 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.08133/0.08133, allocations: 16.94 MB / 330.2 MB, free: 2.039 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.PDtoTD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.PDtoTD") translateModel(PNlib.Examples.DisTest.PDtoTD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.PDtoTD") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.494e-05/2.494e-05, allocations: 2.281 kB / 461 MB, free: 1.625 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTD): time 0.004458/0.004482, allocations: 1.731 MB / 462.8 MB, free: 15.89 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00515/0.009632, allocations: 1.855 MB / 464.6 MB, free: 14.04 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005588/0.01019, allocations: 7.938 kB / 464.6 MB, free: 14.03 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006484/0.01084, allocations: 119 kB / 464.7 MB, free: 13.91 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008023/0.01164, allocations: 135.1 kB / 464.9 MB, free: 13.77 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003106/0.01475, allocations: 0.9511 MB / 465.8 MB, free: 12.82 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002676/0.01742, allocations: 1.486 MB / 467.3 MB, free: 11.33 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002855/0.01771, allocations: 75.69 kB / 467.4 MB, free: 11.26 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009799/0.01869, allocations: 0.5921 MB / 468 MB, free: 10.66 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007475/0.01944, allocations: 418.1 kB / 468.4 MB, free: 10.25 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001963/0.01963, allocations: 91.94 kB / 468.5 MB, free: 10.16 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001305/0.02094, allocations: 0.6123 MB / 469.1 MB, free: 9.551 MB / 334.1 MB Notification: Performance of combineBinaries: time 0.001482/0.02242, allocations: 1.316 MB / 470.4 MB, free: 8.223 MB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 0.0007449/0.02316, allocations: 0.7327 MB / 471.1 MB, free: 7.48 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002646/0.02343, allocations: 80 kB / 471.2 MB, free: 7.402 MB / 334.1 MB Notification: Performance of FrontEnd: time 0.0002392/0.02367, allocations: 59.58 kB / 471.3 MB, free: 7.344 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: 165 (125) * Number of variables: 165 (155) Notification: Performance of [SIM] Bindings: time 0.004555/0.02822, allocations: 3.322 MB / 474.6 MB, free: 3.871 MB / 334.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0005073/0.02873, allocations: 380.9 kB / 475 MB, free: 3.488 MB / 334.1 MB Notification: Performance of [SIM] Early Inline: time 0.00402/0.03275, allocations: 3.389 MB / 478.3 MB, free: 60 kB / 334.1 MB Notification: Performance of [SIM] Simplify 1: time 0.001414/0.03417, allocations: 0.6767 MB / 479 MB, free: 15.32 MB / 350.1 MB Notification: Performance of [SIM] Alias: time 0.005718/0.03988, allocations: 3.014 MB / 482 MB, free: 11.97 MB / 350.1 MB Notification: Performance of [SIM] Simplify 2: time 0.00131/0.04119, allocations: 0.6298 MB / 482.7 MB, free: 11.29 MB / 350.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0008614/0.04206, allocations: 497.1 kB / 483.2 MB, free: 10.78 MB / 350.1 MB Notification: Performance of [SIM] Detect States: time 0.001684/0.04374, allocations: 0.8999 MB / 484.1 MB, free: 9.824 MB / 350.1 MB Notification: Performance of [SIM] Events: time 0.001361/0.0451, allocations: 0.6211 MB / 484.7 MB, free: 9.234 MB / 350.1 MB Notification: Performance of [SIM] Partitioning: time 0.002635/0.04774, allocations: 1.499 MB / 486.2 MB, free: 7.641 MB / 350.1 MB Notification: Performance of [SIM] Causalize: time 0.005902/0.05364, allocations: 3.516 MB / 489.7 MB, free: 4.02 MB / 350.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.004464/0.0581, allocations: 3.004 MB / 492.7 MB, free: 1.016 MB / 350.1 MB Notification: Performance of [INI] Simplify: time 0.002602/0.0607, allocations: 1.295 MB / 494 MB, free: 15.62 MB / 366.1 MB Notification: Performance of [INI] Inline: time 0.005503/0.06621, allocations: 4.726 MB / 498.7 MB, free: 10.88 MB / 366.1 MB Notification: Performance of [INI] Partitioning: time 0.0001359/0.06634, allocations: 56.06 kB / 498.8 MB, free: 10.81 MB / 366.1 MB Notification: Performance of [INI] Cleanup: time 0.0008952/0.06724, allocations: 0.7193 MB / 499.5 MB, free: 10.09 MB / 366.1 MB Error: Internal error NBResolveSingularities.balanceInitialization failed because following non-fixable variables could not be solved: [DISC] (1) Boolean[1] $SEV_9 [DISC] (1) Boolean $SEV_20 [DISC] (1) Boolean[1] T1.inPlaces.fire = {T1.fire for $f1 in 1:1} [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.Index [DISC] (1) protected Boolean P1.enableIn.endWhile [DISC] (1) protected discrete Real P1.enableIn.sumEnablingProbTAin [DISC] (1) protected Integer P1.enableIn.posTE [DISC] (1) protected Integer P1.enableIn.k [DISC] (1) protected Integer P1.enableIn.nTAin [DISC] (1) protected Integer P1.enableIn.nremTAin [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 Integer P1.enableOut.k [DISC] (1) protected Integer P1.enableOut.nTAout [DISC] (1) protected Integer P1.enableOut.nremTAout Following equations were created by fixing variables: [SCAL] (1) $PRE.T1.fireTime = $START.T1.fireTime ($RES_SRT_214) [SCAL] (1) $PRE.P1.firingSumIn.firingSum = $START.P1.firingSumIn.firingSum ($RES_SRT_213) [SCAL] (1) $PRE.P1.firingSumOut.firingSum = $START.P1.firingSumOut.firingSum ($RES_SRT_212) [ARRY] (4) $PRE.P1.enableOut.state128 = $START.P1.enableOut.state128 ($RES_SRT_211) [ARRY] (4) $PRE.P1.enableIn.state128 = $START.P1.enableIn.state128 ($RES_SRT_210) [SCAL] (1) $PRE.T1.ani = $START.T1.ani ($RES_SRT_209) [SCAL] (1) $PRE.T1.firingTime = $START.T1.firingTime ($RES_SRT_208) 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.801358939963393] Failed to read output from testmodel.py, exit status != 0: 0.08008841302944347 0.094167046 0.06695799300000001 Calling exit ...