Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.ExtTest.TAwithPDtoTD2.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.001696/0.001696, 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.001841/0.001841, allocations: 217.8 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.592/1.592, allocations: 230.6 MB / 256.9 MB, free: 7.773 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.0858/0.0858, allocations: 16.96 MB / 330.2 MB, free: 2.027 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.ExtTest.TAwithPDtoTD2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|P2.t|P3.t|T1.active|T1.fire|T2.active|T2.fire|time",fileNamePrefix="PNlib_PNlib.Examples.ExtTest.TAwithPDtoTD2") translateModel(PNlib.Examples.ExtTest.TAwithPDtoTD2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|P2.t|P3.t|T1.active|T1.fire|T2.active|T2.fire|time",fileNamePrefix="PNlib_PNlib.Examples.ExtTest.TAwithPDtoTD2") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.575e-05/2.575e-05, allocations: 4.391 kB / 461 MB, free: 1.633 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ExtTest.TAwithPDtoTD2): time 0.00534/0.005365, allocations: 3.233 MB / 464.2 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007534/0.0129, allocations: 3.222 MB / 467.5 MB, free: 11.16 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001579/0.01448, allocations: 23.81 kB / 467.5 MB, free: 11.13 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000997/0.01548, allocations: 309.4 kB / 467.8 MB, free: 10.83 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001389/0.01686, allocations: 389.4 kB / 468.2 MB, free: 10.45 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004782/0.02165, allocations: 1.774 MB / 469.9 MB, free: 8.668 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.007458/0.0291, allocations: 4.286 MB / 474.2 MB, free: 4.375 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007535/0.02986, allocations: 262.1 kB / 474.5 MB, free: 4.09 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003053/0.03291, allocations: 1.691 MB / 476.2 MB, free: 2.395 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002226/0.03514, allocations: 1.21 MB / 477.4 MB, free: 1.18 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008605/0.036, allocations: 260 kB / 477.6 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002012/0.03801, allocations: 1.061 MB / 478.7 MB, free: 15.86 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.004382/0.04239, allocations: 3.917 MB / 482.6 MB, free: 11.91 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.002541/0.04493, allocations: 2.233 MB / 484.8 MB, free: 9.648 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00113/0.04606, allocations: 228.4 kB / 485.1 MB, free: 9.426 MB / 350.1 MB Notification: Performance of FrontEnd: time 0.0005615/0.04662, allocations: 242.4 kB / 485.3 MB, free: 9.188 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 581 (429) * Number of variables: 581 (511) Notification: Performance of [SIM] Bindings: time 0.01434/0.06096, allocations: 9.898 MB / 495.2 MB, free: 15 MB / 366.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.002613/0.06357, allocations: 1.2 MB / 496.4 MB, free: 13.76 MB / 366.1 MB Notification: Performance of [SIM] Early Inline: time 0.01689/0.08047, allocations: 10.21 MB / 0.4947 GB, free: 3.484 MB / 366.1 MB Notification: Performance of [SIM] Simplify 1: time 0.00441/0.08488, allocations: 1.892 MB / 0.4966 GB, free: 1.457 MB / 366.1 MB Notification: Performance of [SIM] Alias: time 0.01645/0.1013, allocations: 9.528 MB / 0.5059 GB, free: 6.84 MB / 382.1 MB Notification: Performance of [SIM] Simplify 2: time 0.003726/0.1051, allocations: 1.691 MB / 0.5075 GB, free: 5.051 MB / 382.1 MB Notification: Performance of [SIM] Remove Stream: time 0.002941/0.108, allocations: 1.364 MB / 0.5089 GB, free: 3.629 MB / 382.1 MB Notification: Performance of [SIM] Detect States: time 0.004817/0.1128, allocations: 2.638 MB / 0.5115 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of [SIM] Events: time 0.2454/0.3582, allocations: 1.741 MB / 0.5132 GB, free: 50 MB / 382.1 MB Notification: Performance of [SIM] Partitioning: time 0.01067/0.3689, allocations: 4.456 MB / 0.5175 GB, free: 49.37 MB / 382.1 MB Notification: Performance of [SIM] Causalize: time 0.02126/0.3901, allocations: 11.62 MB / 0.5289 GB, free: 48 MB / 382.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.01485/0.405, allocations: 8.896 MB / 0.5375 GB, free: 44.96 MB / 382.1 MB Notification: Performance of [INI] Simplify: time 0.006941/0.4119, allocations: 3.567 MB / 0.541 GB, free: 43.2 MB / 382.1 MB Notification: Performance of [INI] Inline: time 0.01822/0.4302, allocations: 13.94 MB / 0.5546 GB, free: 32.97 MB / 382.1 MB Notification: Performance of [INI] Partitioning: time 0.0007146/0.4309, allocations: 173 kB / 0.5548 GB, free: 32.77 MB / 382.1 MB Notification: Performance of [INI] Cleanup: time 0.004128/0.435, allocations: 2.103 MB / 0.5569 GB, free: 30.71 MB / 382.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_8 = $PRE.P3.firingSumIn.firingSum > 0 or $PRE.P3.firingSumOut.firingSum > 0 ($RES_EVT_572); [SCAL] (1) P2.tokeninout = $START.P2.tokeninout ($RES_SRT_629); Error: Internal error NBResolveSingularities.balanceInitialization failed because following non-fixable variables could not be solved: [DISC] (4) Integer[4] $TEV_9 [DISC] (4) Integer[4] $TEV_11 [DISC] (1) Boolean $SEV_30 [DISC] (1) Boolean $SEV_31 [DISC] (1) Boolean $SEV_32 [DISC] (1) Boolean $SEV_33 [DISC] (1) Boolean[1] $SEV_70 [DISC] (1) Boolean[1] T2.outPlaces.fire = {T2.fire for $f1 in 1:1} [DISC] (1) Boolean[1] T1.outPlaces.enabledByInPlaces = {T1.enabledByInPlaces for $f1 in 1:1} [DISC] (1) protected discrete Real P3.enableIn.benefitLimit [DISC] (1) protected Boolean P3.enableIn.valid [DISC] (1) protected discrete Real P3.enableIn.benefitMax [DISC] (1) protected Integer P3.enableIn.Index [DISC] (1) protected Integer P3.enableIn.nTAin [DISC] (1) protected Integer P3.enableIn.arcWeightSum [DISC] (1) protected discrete Real P3.enableOut.benefitLimit [DISC] (1) protected Boolean P3.enableOut.valid [DISC] (1) protected discrete Real P3.enableOut.benefitMax [DISC] (1) protected Integer P3.enableOut.Index [DISC] (1) protected Boolean P3.enableOut.endWhile [DISC] (1) protected discrete Real P3.enableOut.sumEnablingProbTAout [DISC] (1) protected Integer P3.enableOut.posTE [DISC] (1) protected Integer P3.enableOut.k [DISC] (1) protected Integer P3.enableOut.nTAout [DISC] (1) protected Integer P3.enableOut.nremTAout [DISC] (1) protected discrete Real P2.enableIn.benefitLimit [DISC] (1) protected Boolean P2.enableIn.valid [DISC] (1) protected discrete Real P2.enableIn.benefitMax [DISC] (1) protected Integer P2.enableIn.Index [DISC] (1) protected Integer P2.enableIn.nTAin [DISC] (1) protected Integer P2.enableIn.arcWeightSum [DISC] (1) protected discrete Real P2.enableOut.benefitLimit [DISC] (1) protected Boolean P2.enableOut.valid [DISC] (1) protected discrete Real P2.enableOut.benefitMax [DISC] (1) protected Integer P2.enableOut.Index [DISC] (1) protected Boolean P2.enableOut.endWhile [DISC] (1) protected discrete Real P2.enableOut.sumEnablingProbTAout [DISC] (1) protected Integer P2.enableOut.posTE [DISC] (1) protected Integer P2.enableOut.k [DISC] (1) protected Integer P2.enableOut.nTAout [DISC] (1) protected Integer P2.enableOut.nremTAout [DISC] (1) Boolean[1] P2.inTransition.fire = {P2.fireIn[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 Following equations were created by fixing variables: [SCAL] (1) $PRE.T1.fireTime = $START.T1.fireTime ($RES_SRT_720) [SCAL] (1) $PRE.T2.firingTime = $START.T2.firingTime ($RES_SRT_719) [SCAL] (1) $PRE.T2.ani = $START.T2.ani ($RES_SRT_718) [SCAL] (1) $PRE.P1.firingSumIn.firingSum = $START.P1.firingSumIn.firingSum ($RES_SRT_717) [SCAL] (1) $PRE.P1.firingSumOut.firingSum = $START.P1.firingSumOut.firingSum ($RES_SRT_716) [SCAL] (1) $PRE.P2.firingSumIn.firingSum = $START.P2.firingSumIn.firingSum ($RES_SRT_715) [SCAL] (1) $PRE.P2.firingSumOut.firingSum = $START.P2.firingSumOut.firingSum ($RES_SRT_714) [SCAL] (1) $PRE.P3.firingSumIn.firingSum = $START.P3.firingSumIn.firingSum ($RES_SRT_713) [SCAL] (1) $PRE.P3.firingSumOut.firingSum = $START.P3.firingSumOut.firingSum ($RES_SRT_712) [ARRY] (4) $PRE.P1.enableOut.state128 = $START.P1.enableOut.state128 ($RES_SRT_711) [ARRY] (4) $PRE.P1.enableIn.state128 = $START.P1.enableIn.state128 ($RES_SRT_710) [ARRY] (4) $PRE.P2.enableOut.state128 = $START.P2.enableOut.state128 ($RES_SRT_709) [ARRY] (4) $PRE.P2.enableIn.state128 = $START.P2.enableIn.state128 ($RES_SRT_708) [ARRY] (4) $PRE.P3.enableOut.state128 = $START.P3.enableOut.state128 ($RES_SRT_707) [ARRY] (4) $PRE.P3.enableIn.state128 = $START.P3.enableIn.state128 ($RES_SRT_706) [SCAL] (1) $PRE.T2.fireTime = $START.T2.fireTime ($RES_SRT_705) [SCAL] (1) $PRE.T1.ani = $START.T1.ani ($RES_SRT_704) [SCAL] (1) $PRE.T1.firingTime = $START.T1.firingTime ($RES_SRT_703) 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: 3.2451435360126197] Failed to read output from testmodel.py, exit status != 0: 0.4578423880157061 0.46730881599999996 0.41791640299999994 Calling exit ...