Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.TTtoPD.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.001672/0.001672, 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.001885/0.001885, allocations: 217.7 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.528/1.528, allocations: 230.7 MB / 256.9 MB, free: 7.762 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.08435/0.08435, 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.TTtoPD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.TTtoPD") translateModel(PNlib.Examples.DisTest.TTtoPD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.TTtoPD") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.783e-05/2.783e-05, allocations: 2.281 kB / 461 MB, free: 1.617 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TTtoPD): time 0.00367/0.003697, allocations: 1.724 MB / 462.7 MB, free: 15.89 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003934/0.007631, allocations: 1.89 MB / 464.6 MB, free: 14 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003327/0.007964, allocations: 11.94 kB / 464.6 MB, free: 13.98 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004405/0.008404, allocations: 119.1 kB / 464.8 MB, free: 13.86 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003953/0.0088, allocations: 127.1 kB / 464.9 MB, free: 13.74 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002259/0.01106, allocations: 0.959 MB / 465.8 MB, free: 12.78 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001843/0.0129, allocations: 1.47 MB / 467.3 MB, free: 11.3 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002192/0.01312, allocations: 66.31 kB / 467.4 MB, free: 11.24 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007715/0.01389, allocations: 0.5766 MB / 468 MB, free: 10.66 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005479/0.01444, allocations: 378.2 kB / 468.3 MB, free: 10.29 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001241/0.01456, allocations: 72 kB / 468.4 MB, free: 10.22 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009961/0.01556, allocations: 0.5967 MB / 469 MB, free: 9.621 MB / 334.1 MB Notification: Performance of combineBinaries: time 0.001003/0.01656, allocations: 1.149 MB / 470.1 MB, free: 8.461 MB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 0.0004903/0.01705, allocations: 0.6709 MB / 470.8 MB, free: 7.781 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001652/0.01722, allocations: 64 kB / 470.9 MB, free: 7.719 MB / 334.1 MB Notification: Performance of FrontEnd: time 0.0001375/0.01736, allocations: 55.64 kB / 470.9 MB, free: 7.664 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: 148 (108) * Number of variables: 148 (138) Notification: Performance of [SIM] Bindings: time 0.003476/0.02083, allocations: 2.84 MB / 473.8 MB, free: 4.68 MB / 334.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0004778/0.02131, allocations: 329 kB / 474.1 MB, free: 4.344 MB / 334.1 MB Notification: Performance of [SIM] Early Inline: time 0.003057/0.02437, allocations: 2.744 MB / 476.8 MB, free: 1.566 MB / 334.1 MB Notification: Performance of [SIM] Simplify 1: time 0.001021/0.02539, allocations: 0.5662 MB / 477.4 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of [SIM] Alias: time 0.004029/0.02942, allocations: 2.597 MB / 480 MB, free: 14.05 MB / 350.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0008593/0.03028, allocations: 0.5284 MB / 480.5 MB, free: 13.47 MB / 350.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0006081/0.03088, allocations: 421.2 kB / 480.9 MB, free: 13.04 MB / 350.1 MB Notification: Performance of [SIM] Detect States: time 0.001223/0.03211, allocations: 0.7761 MB / 481.7 MB, free: 12.2 MB / 350.1 MB Notification: Performance of [SIM] Events: time 0.000848/0.03296, allocations: 450 kB / 482.2 MB, free: 11.76 MB / 350.1 MB Notification: Performance of [SIM] Partitioning: time 0.001774/0.03473, allocations: 1.238 MB / 483.4 MB, free: 10.43 MB / 350.1 MB Notification: Performance of [SIM] Causalize: time 0.004153/0.03888, allocations: 2.921 MB / 486.3 MB, free: 7.418 MB / 350.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.002839/0.04172, allocations: 2.332 MB / 488.6 MB, free: 5.086 MB / 350.1 MB Notification: Performance of [INI] Simplify: time 0.002038/0.04376, allocations: 1.054 MB / 489.7 MB, free: 3.934 MB / 350.1 MB Notification: Performance of [INI] Inline: time 0.004046/0.04781, allocations: 3.567 MB / 493.3 MB, free: 368 kB / 350.1 MB Notification: Performance of [INI] Partitioning: time 0.0001508/0.04796, allocations: 55.97 kB / 493.3 MB, free: 300 kB / 350.1 MB Notification: Performance of [INI] Cleanup: time 0.0007815/0.04874, allocations: 0.5709 MB / 493.9 MB, free: 15.72 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_4 = T1.active and $FUN_1 <= 1e-9 ($RES_EVT_146); [SCAL] (1) $SEV_0 = $PRE.P1.firingSumIn.firingSum > 0 or $PRE.P1.firingSumOut.firingSum > 0 ($RES_EVT_142); Error: Internal error NBResolveSingularities.balanceInitialization failed because following non-fixable variables could not be solved: [DISC] (4) Integer[4] $TEV_4 [DISC] (1) Boolean $SEV_11 [DISC] (1) Boolean $SEV_12 [DISC] (1) Boolean $SEV_13 [DISC] (1) Boolean T1.fire [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 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.7616948899812996] Failed to read output from testmodel.py, exit status != 0: 0.061003822018392384 0.075999958 0.055455462000000004 Calling exit ...