Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.TEnoInput.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.00174/0.00174, 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.003098/0.003098, allocations: 210.2 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.535/1.535, allocations: 230.7 MB / 256.9 MB, free: 7.777 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.08375/0.08375, allocations: 16.95 MB / 330.2 MB, free: 2.023 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.TEnoInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|T2.active|T2.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.TEnoInput") translateModel(PNlib.Examples.DisTest.TEnoInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|T2.active|T2.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.TEnoInput") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.527e-05/2.527e-05, allocations: 3.703 kB / 461 MB, free: 1.609 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TEnoInput): time 0.003248/0.003273, allocations: 1.743 MB / 462.7 MB, free: 15.87 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003757/0.00703, allocations: 1.897 MB / 464.6 MB, free: 13.96 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002928/0.007323, allocations: 11.94 kB / 464.7 MB, free: 13.95 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005918/0.007915, allocations: 123.1 kB / 464.8 MB, free: 13.83 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003318/0.008247, allocations: 135.1 kB / 464.9 MB, free: 13.7 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002495/0.01074, allocations: 0.955 MB / 465.9 MB, free: 12.74 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002484/0.01323, allocations: 1.486 MB / 467.4 MB, free: 11.25 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002856/0.01351, allocations: 62.34 kB / 467.4 MB, free: 11.19 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000989/0.0145, allocations: 0.5805 MB / 468 MB, free: 10.61 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006637/0.01516, allocations: 382.2 kB / 468.4 MB, free: 10.23 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001405/0.0153, allocations: 72 kB / 468.4 MB, free: 10.16 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001367/0.01667, allocations: 0.6279 MB / 469.1 MB, free: 9.531 MB / 334.1 MB Notification: Performance of combineBinaries: time 0.001175/0.01785, allocations: 1.169 MB / 470.2 MB, free: 8.352 MB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 0.0005272/0.01837, allocations: 0.667 MB / 470.9 MB, free: 7.676 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001743/0.01855, allocations: 68 kB / 471 MB, free: 7.609 MB / 334.1 MB Notification: Performance of FrontEnd: time 0.0001714/0.01872, allocations: 59.58 kB / 471 MB, free: 7.551 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: 156 (111) * Number of variables: 156 (141) Notification: Performance of [SIM] Bindings: time 0.003711/0.02243, allocations: 2.872 MB / 473.9 MB, free: 4.535 MB / 334.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0005243/0.02295, allocations: 337 kB / 474.2 MB, free: 4.191 MB / 334.1 MB Notification: Performance of [SIM] Early Inline: time 0.003253/0.02621, allocations: 2.809 MB / 477 MB, free: 1.348 MB / 334.1 MB Notification: Performance of [SIM] Simplify 1: time 0.00103/0.02724, allocations: 0.5792 MB / 477.6 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of [SIM] Alias: time 0.004017/0.03126, allocations: 2.636 MB / 480.2 MB, free: 13.78 MB / 350.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0008459/0.0321, allocations: 0.548 MB / 480.8 MB, free: 13.18 MB / 350.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0005298/0.03263, allocations: 417.2 kB / 481.2 MB, free: 12.75 MB / 350.1 MB Notification: Performance of [SIM] Detect States: time 0.001075/0.03371, allocations: 0.799 MB / 482 MB, free: 11.9 MB / 350.1 MB Notification: Performance of [SIM] Events: time 0.000772/0.03448, allocations: 444 kB / 482.4 MB, free: 11.46 MB / 350.1 MB Notification: Performance of [SIM] Partitioning: time 0.001636/0.03611, allocations: 1.261 MB / 483.7 MB, free: 10.11 MB / 350.1 MB Notification: Performance of [SIM] Causalize: time 0.003845/0.03996, allocations: 3.037 MB / 486.7 MB, free: 6.98 MB / 350.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.002684/0.04264, allocations: 2.375 MB / 489.1 MB, free: 4.605 MB / 350.1 MB Notification: Performance of [INI] Simplify: time 0.002075/0.04472, allocations: 1.071 MB / 490.2 MB, free: 3.43 MB / 350.1 MB Notification: Performance of [INI] Inline: time 0.004072/0.04879, allocations: 3.664 MB / 493.8 MB, free: 15.75 MB / 366.1 MB Notification: Performance of [INI] Partitioning: time 0.0001542/0.04895, allocations: 52.06 kB / 493.9 MB, free: 15.69 MB / 366.1 MB Notification: Performance of [INI] Cleanup: time 0.0007708/0.04972, allocations: 0.5709 MB / 494.5 MB, free: 15.12 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_147); 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) Boolean[1] T2.outPlaces.fire = {T2.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.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.T2.firingTime = $START.T2.firingTime ($RES_SRT_200) [SCAL] (1) $PRE.T2.ani = $START.T2.ani ($RES_SRT_199) [SCAL] (1) $PRE.P1.firingSumIn.firingSum = $START.P1.firingSumIn.firingSum ($RES_SRT_198) [SCAL] (1) $PRE.P1.firingSumOut.firingSum = $START.P1.firingSumOut.firingSum ($RES_SRT_197) [ARRY] (4) $PRE.P1.enableOut.state128 = $START.P1.enableOut.state128 ($RES_SRT_196) [ARRY] (4) $PRE.P1.enableIn.state128 = $START.P1.enableIn.state128 ($RES_SRT_195) [SCAL] (1) $PRE.T2.fireTime = $START.T2.fireTime ($RES_SRT_194) 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.822628981026355] Failed to read output from testmodel.py, exit status != 0: 0.06234675599262118 0.077154473 0.055209932 Calling exit ...