Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.PDtoTDfunction.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.001677/0.001677, 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.001886/0.001886, allocations: 214.5 kB / 23.06 MB, free: 4.984 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.525/1.525, allocations: 230.6 MB / 256.9 MB, free: 7.742 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.08059/0.08059, allocations: 16.95 MB / 330.2 MB, free: 2.02 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.PDtoTDfunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.PDtoTDfunction") translateModel(PNlib.Examples.DisTest.PDtoTDfunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.PDtoTDfunction") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.409e-05/2.409e-05, allocations: 2.281 kB / 461 MB, free: 1.613 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTDfunction): time 0.00342/0.003445, allocations: 1.734 MB / 462.7 MB, free: 15.88 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003745/0.007189, allocations: 1.847 MB / 464.6 MB, free: 14.02 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002045/0.007394, allocations: 7.938 kB / 464.6 MB, free: 14.02 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003452/0.007739, allocations: 119 kB / 464.7 MB, free: 13.9 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003708/0.00811, allocations: 139.1 kB / 464.9 MB, free: 13.76 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00194/0.01005, allocations: 0.9483 MB / 465.8 MB, free: 12.81 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001675/0.01173, allocations: 1.502 MB / 467.3 MB, free: 11.31 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001675/0.01189, allocations: 67.72 kB / 467.4 MB, free: 11.24 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006322/0.01252, allocations: 0.5883 MB / 468 MB, free: 10.65 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004876/0.01301, allocations: 422.1 kB / 468.4 MB, free: 10.24 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001463/0.01316, allocations: 88 kB / 468.5 MB, free: 10.15 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001064/0.01422, allocations: 0.6123 MB / 469.1 MB, free: 9.539 MB / 334.1 MB Notification: Performance of combineBinaries: time 0.001212/0.01543, allocations: 1.316 MB / 470.4 MB, free: 8.211 MB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 0.0005775/0.01601, allocations: 0.7327 MB / 471.1 MB, free: 7.469 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001825/0.01619, allocations: 80 kB / 471.2 MB, free: 7.391 MB / 334.1 MB Notification: Performance of FrontEnd: time 0.0001444/0.01634, allocations: 63.58 kB / 471.3 MB, free: 7.328 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.00407/0.02041, allocations: 3.318 MB / 474.6 MB, free: 3.859 MB / 334.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0005269/0.02093, allocations: 384.9 kB / 475 MB, free: 3.473 MB / 334.1 MB Notification: Performance of [SIM] Early Inline: time 0.004103/0.02504, allocations: 3.386 MB / 478.3 MB, free: 48 kB / 334.1 MB Notification: Performance of [SIM] Simplify 1: time 0.00113/0.02617, allocations: 0.6806 MB / 479 MB, free: 15.31 MB / 350.1 MB Notification: Performance of [SIM] Alias: time 0.004556/0.03072, allocations: 3.033 MB / 482.1 MB, free: 11.94 MB / 350.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0008883/0.03161, allocations: 0.6181 MB / 482.7 MB, free: 11.27 MB / 350.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0006316/0.03224, allocations: 497.1 kB / 483.2 MB, free: 10.76 MB / 350.1 MB Notification: Performance of [SIM] Detect States: time 0.001275/0.03352, allocations: 0.9005 MB / 484.1 MB, free: 9.805 MB / 350.1 MB Notification: Performance of [SIM] Events: time 0.0009654/0.03448, allocations: 0.6248 MB / 484.7 MB, free: 9.211 MB / 350.1 MB Notification: Performance of [SIM] Partitioning: time 0.002125/0.03661, allocations: 1.506 MB / 486.2 MB, free: 7.609 MB / 350.1 MB Notification: Performance of [SIM] Causalize: time 0.004619/0.04123, allocations: 3.515 MB / 489.7 MB, free: 3.996 MB / 350.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.003428/0.04466, allocations: 3 MB / 492.7 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of [INI] Simplify: time 0.002379/0.04704, allocations: 1.298 MB / 494 MB, free: 15.59 MB / 366.1 MB Notification: Performance of [INI] Inline: time 0.005516/0.05255, allocations: 4.726 MB / 498.7 MB, free: 10.85 MB / 366.1 MB Notification: Performance of [INI] Partitioning: time 0.0001503/0.0527, allocations: 56.06 kB / 498.8 MB, free: 10.78 MB / 366.1 MB Notification: Performance of [INI] Cleanup: time 0.0009926/0.0537, allocations: 0.7154 MB / 499.5 MB, free: 10.07 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_215) [SCAL] (1) $PRE.P1.firingSumIn.firingSum = $START.P1.firingSumIn.firingSum ($RES_SRT_214) [SCAL] (1) $PRE.P1.firingSumOut.firingSum = $START.P1.firingSumOut.firingSum ($RES_SRT_213) [ARRY] (4) $PRE.P1.enableOut.state128 = $START.P1.enableOut.state128 ($RES_SRT_212) [ARRY] (4) $PRE.P1.enableIn.state128 = $START.P1.enableIn.state128 ($RES_SRT_211) [SCAL] (1) $PRE.T1.ani = $START.T1.ani ($RES_SRT_210) [SCAL] (1) $PRE.T1.firingTime = $START.T1.firingTime ($RES_SRT_209) 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.7631591929821298] Failed to read output from testmodel.py, exit status != 0: 0.06595193798420951 0.080306684 0.06097923 Calling exit ...