Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.ExtTest.IAwithPDtoTD.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.001965/0.001965, 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.001775/0.001775, allocations: 214 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.598/1.598, allocations: 230.7 MB / 256.9 MB, free: 7.723 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.08571/0.08571, 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.ExtTest.IAwithPDtoTD,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.IAwithPDtoTD") translateModel(PNlib.Examples.ExtTest.IAwithPDtoTD,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.IAwithPDtoTD") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.571e-05/2.571e-05, allocations: 4.109 kB / 461 MB, free: 1.637 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ExtTest.IAwithPDtoTD): time 0.005066/0.005092, allocations: 3.233 MB / 464.2 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007042/0.01213, allocations: 3.213 MB / 467.4 MB, free: 11.17 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001166/0.0133, allocations: 27.81 kB / 467.5 MB, free: 11.14 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009318/0.01423, allocations: 313.4 kB / 467.8 MB, free: 10.84 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001167/0.0154, allocations: 393.4 kB / 468.2 MB, free: 10.45 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004026/0.01943, allocations: 1.769 MB / 469.9 MB, free: 8.68 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.006612/0.02604, allocations: 4.286 MB / 474.2 MB, free: 4.387 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007895/0.02683, allocations: 270.1 kB / 474.5 MB, free: 4.094 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003375/0.0302, allocations: 1.683 MB / 476.2 MB, free: 2.406 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002947/0.03315, allocations: 1.21 MB / 477.4 MB, free: 1.191 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001279/0.03443, allocations: 264 kB / 477.6 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002395/0.03682, allocations: 1.057 MB / 478.7 MB, free: 15.88 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.004164/0.04099, allocations: 3.917 MB / 482.6 MB, free: 11.92 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.002137/0.04312, allocations: 2.233 MB / 484.8 MB, free: 9.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00103/0.04415, allocations: 228.5 kB / 485.1 MB, free: 9.438 MB / 350.1 MB Notification: Performance of FrontEnd: time 0.0004973/0.04465, allocations: 238.4 kB / 485.3 MB, free: 9.203 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.01384/0.05849, allocations: 9.903 MB / 495.2 MB, free: 15 MB / 366.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.002818/0.06131, allocations: 1.2 MB / 496.4 MB, free: 13.77 MB / 366.1 MB Notification: Performance of [SIM] Early Inline: time 0.01594/0.07725, allocations: 10.21 MB / 0.4947 GB, free: 3.496 MB / 366.1 MB Notification: Performance of [SIM] Simplify 1: time 0.004752/0.082, allocations: 1.896 MB / 0.4966 GB, free: 1.469 MB / 366.1 MB Notification: Performance of [SIM] Alias: time 0.0175/0.0995, allocations: 9.526 MB / 0.5059 GB, free: 6.852 MB / 382.1 MB Notification: Performance of [SIM] Simplify 2: time 0.003575/0.1031, allocations: 1.687 MB / 0.5075 GB, free: 5.066 MB / 382.1 MB Notification: Performance of [SIM] Remove Stream: time 0.002604/0.1057, allocations: 1.364 MB / 0.5089 GB, free: 3.645 MB / 382.1 MB Notification: Performance of [SIM] Detect States: time 0.004766/0.1104, allocations: 2.644 MB / 0.5114 GB, free: 0.832 MB / 382.1 MB Notification: Performance of [SIM] Events: time 0.2811/0.3916, allocations: 1.737 MB / 0.5131 GB, free: 50.06 MB / 382.1 MB Notification: Performance of [SIM] Partitioning: time 0.01059/0.4021, allocations: 4.462 MB / 0.5175 GB, free: 49.42 MB / 382.1 MB Notification: Performance of [SIM] Causalize: time 0.02023/0.4224, allocations: 11.63 MB / 0.5289 GB, free: 48.04 MB / 382.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.01427/0.4366, allocations: 8.892 MB / 0.5375 GB, free: 45.01 MB / 382.1 MB Notification: Performance of [INI] Simplify: time 0.007887/0.4445, allocations: 3.569 MB / 0.541 GB, free: 43.25 MB / 382.1 MB Notification: Performance of [INI] Inline: time 0.01807/0.4626, allocations: 13.94 MB / 0.5546 GB, free: 32.96 MB / 382.1 MB Notification: Performance of [INI] Partitioning: time 0.000735/0.4633, allocations: 173 kB / 0.5548 GB, free: 32.76 MB / 382.1 MB Notification: Performance of [INI] Cleanup: time 0.003944/0.4673, allocations: 2.096 MB / 0.5568 GB, free: 30.69 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_9 = $PRE.P3.firingSumIn.firingSum > 0 or $PRE.P3.firingSumOut.firingSum > 0 ($RES_EVT_573); [SCAL] (1) $SEV_5 = $PRE.P2.firingSumIn.firingSum > 0 or $PRE.P2.firingSumOut.firingSum > 0 ($RES_EVT_569); 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.267054884985555] Failed to read output from testmodel.py, exit status != 0: 0.48874986602459103 0.49946970500000004 0.45208067900000004 Calling exit ...