Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.ExtTest.DoubleArcwithPTtoTD.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.001686/0.001686, 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.001962/0.001962, 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.532/1.532, allocations: 230.6 MB / 256.9 MB, free: 7.746 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.08111/0.08111, allocations: 16.94 MB / 330.2 MB, free: 2.051 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.DoubleArcwithPTtoTD,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.DoubleArcwithPTtoTD") translateModel(PNlib.Examples.ExtTest.DoubleArcwithPTtoTD,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.DoubleArcwithPTtoTD") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.352e-05/2.352e-05, allocations: 2.281 kB / 461 MB, free: 1.641 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ExtTest.DoubleArcwithPTtoTD): time 0.005128/0.005151, allocations: 3.376 MB / 464.4 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007145/0.0123, allocations: 3.277 MB / 467.7 MB, free: 10.97 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007084/0.013, allocations: 27.81 kB / 467.7 MB, free: 10.94 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008326/0.01384, allocations: 321.2 kB / 468 MB, free: 10.62 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009605/0.0148, allocations: 417.2 kB / 468.4 MB, free: 10.21 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003795/0.01859, allocations: 1.786 MB / 470.2 MB, free: 8.426 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005488/0.02408, allocations: 4.376 MB / 474.6 MB, free: 4.043 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006331/0.02471, allocations: 300.6 kB / 474.9 MB, free: 3.723 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002404/0.02712, allocations: 1.737 MB / 476.6 MB, free: 1.98 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001681/0.0288, allocations: 1.268 MB / 477.9 MB, free: 0.707 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004397/0.02924, allocations: 280 kB / 478.1 MB, free: 444 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001821/0.03106, allocations: 1.061 MB / 479.2 MB, free: 15.37 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.003753/0.03481, allocations: 4.188 MB / 483.4 MB, free: 11.14 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.001975/0.03679, allocations: 2.418 MB / 485.8 MB, free: 8.695 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006147/0.0374, allocations: 236.5 kB / 486 MB, free: 8.465 MB / 350.1 MB Notification: Performance of FrontEnd: time 0.0004716/0.03787, allocations: 282.1 kB / 486.3 MB, free: 8.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: 630 (476) * Number of variables: 630 (558) Notification: Performance of [SIM] Bindings: time 0.01213/0.05, allocations: 10.55 MB / 496.9 MB, free: 13.32 MB / 366.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.001808/0.05181, allocations: 1.249 MB / 498.1 MB, free: 12.05 MB / 366.1 MB Notification: Performance of [SIM] Early Inline: time 0.01419/0.06601, allocations: 10.81 MB / 0.497 GB, free: 1.148 MB / 366.1 MB Notification: Performance of [SIM] Simplify 1: time 0.004115/0.07012, allocations: 1.95 MB / 0.4989 GB, free: 15.07 MB / 382.1 MB Notification: Performance of [SIM] Alias: time 0.01566/0.08578, allocations: 10.33 MB / 0.509 GB, free: 3.5 MB / 382.1 MB Notification: Performance of [SIM] Simplify 2: time 0.003047/0.08882, allocations: 1.74 MB / 0.5107 GB, free: 1.648 MB / 382.1 MB Notification: Performance of [SIM] Remove Stream: time 0.002028/0.09085, allocations: 1.397 MB / 0.512 GB, free: 200 kB / 382.1 MB Notification: Performance of [SIM] Detect States: time 0.2924/0.3832, allocations: 2.689 MB / 0.5147 GB, free: 49.57 MB / 382.1 MB Notification: Performance of [SIM] Events: time 0.002724/0.3859, allocations: 1.803 MB / 0.5164 GB, free: 49.28 MB / 382.1 MB Notification: Performance of [SIM] Partitioning: time 0.006406/0.3923, allocations: 4.668 MB / 0.521 GB, free: 48.53 MB / 382.1 MB Notification: Performance of [SIM] Causalize: time 0.01931/0.4116, allocations: 12.11 MB / 0.5328 GB, free: 47.02 MB / 382.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.01035/0.422, allocations: 9.21 MB / 0.5418 GB, free: 42.25 MB / 382.1 MB Notification: Performance of [INI] Simplify: time 0.006612/0.4286, allocations: 3.746 MB / 0.5455 GB, free: 39.82 MB / 382.1 MB Notification: Performance of [INI] Inline: time 0.01209/0.4407, allocations: 14.46 MB / 0.5596 GB, free: 27.5 MB / 382.1 MB Notification: Performance of [INI] Partitioning: time 0.0005996/0.4413, allocations: 174.2 kB / 0.5598 GB, free: 27.29 MB / 382.1 MB Notification: Performance of [INI] Cleanup: time 0.003071/0.4444, allocations: 2.176 MB / 0.5619 GB, free: 25.14 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_627); [SCAL] (1) $SEV_5 = $PRE.P2.firingSumIn.firingSum > 0 or $PRE.P2.firingSumOut.firingSum > 0 ($RES_EVT_623); 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 $SEV_34 [DISC] (1) Boolean $SEV_70 [DISC] (1) Boolean[1] T2.outPlaces.fire = {T2.fire 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_780) [SCAL] (1) $PRE.T2.firingTime = $START.T2.firingTime ($RES_SRT_779) [SCAL] (1) $PRE.T2.ani = $START.T2.ani ($RES_SRT_778) [SCAL] (1) $PRE.P1.firingSumIn.firingSum = $START.P1.firingSumIn.firingSum ($RES_SRT_777) [SCAL] (1) $PRE.P1.firingSumOut.firingSum = $START.P1.firingSumOut.firingSum ($RES_SRT_776) [SCAL] (1) $PRE.P2.firingSumIn.firingSum = $START.P2.firingSumIn.firingSum ($RES_SRT_775) [SCAL] (1) $PRE.P2.firingSumOut.firingSum = $START.P2.firingSumOut.firingSum ($RES_SRT_774) [SCAL] (1) $PRE.P3.firingSumIn.firingSum = $START.P3.firingSumIn.firingSum ($RES_SRT_773) [SCAL] (1) $PRE.P3.firingSumOut.firingSum = $START.P3.firingSumOut.firingSum ($RES_SRT_772) [ARRY] (4) $PRE.P1.enableOut.state128 = $START.P1.enableOut.state128 ($RES_SRT_771) [ARRY] (4) $PRE.P1.enableIn.state128 = $START.P1.enableIn.state128 ($RES_SRT_770) [ARRY] (4) $PRE.P2.enableOut.state128 = $START.P2.enableOut.state128 ($RES_SRT_769) [ARRY] (4) $PRE.P2.enableIn.state128 = $START.P2.enableIn.state128 ($RES_SRT_768) [ARRY] (4) $PRE.P3.enableOut.state128 = $START.P3.enableOut.state128 ($RES_SRT_767) [ARRY] (4) $PRE.P3.enableIn.state128 = $START.P3.enableIn.state128 ($RES_SRT_766) [SCAL] (1) $PRE.T2.fireTime = $START.T2.fireTime ($RES_SRT_765) [SCAL] (1) $PRE.T1.ani = $START.T1.ani ($RES_SRT_764) [SCAL] (1) $PRE.T1.firingTime = $START.T1.firingTime ($RES_SRT_763) 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.138260195031762] Failed to read output from testmodel.py, exit status != 0: 0.46287804399617016 0.471751737 0.431532737 Calling exit ...