Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.TTcircle.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.001746/0.001746, 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.001902/0.001902, allocations: 212.6 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.54/1.54, allocations: 230.6 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.0834/0.0834, allocations: 16.94 MB / 330.2 MB, free: 2.043 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.TTcircle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|P2.t|T1.active|T1.fire|T2.active|T2.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.TTcircle") translateModel(PNlib.Examples.DisTest.TTcircle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|P2.t|T1.active|T1.fire|T2.active|T2.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.TTcircle") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.48e-05/2.48e-05, allocations: 2.281 kB / 461 MB, free: 1.609 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TTcircle): time 0.004345/0.004369, allocations: 2.564 MB / 463.6 MB, free: 15.04 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005718/0.01009, allocations: 2.644 MB / 466.2 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004767/0.01056, allocations: 19.88 kB / 466.2 MB, free: 12.36 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006184/0.01118, allocations: 242 kB / 466.5 MB, free: 12.12 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007302/0.01191, allocations: 309.9 kB / 466.8 MB, free: 11.82 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003371/0.01528, allocations: 1.406 MB / 468.2 MB, free: 10.41 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004734/0.02002, allocations: 3.159 MB / 471.3 MB, free: 7.25 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005227/0.02054, allocations: 229.5 kB / 471.6 MB, free: 6.992 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001851/0.02239, allocations: 1.27 MB / 472.8 MB, free: 5.719 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001805/0.0242, allocations: 1.202 MB / 474 MB, free: 4.512 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004717/0.02467, allocations: 268 kB / 474.3 MB, free: 4.25 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001931/0.0266, allocations: 1.049 MB / 475.4 MB, free: 3.199 MB / 334.1 MB Notification: Performance of combineBinaries: time 0.00361/0.03021, allocations: 3.695 MB / 479.1 MB, free: 15.47 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.001832/0.03204, allocations: 1.979 MB / 481 MB, free: 13.47 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008991/0.03294, allocations: 251.9 kB / 481.3 MB, free: 13.22 MB / 350.1 MB Notification: Performance of FrontEnd: time 0.0004589/0.0334, allocations: 210.6 kB / 481.5 MB, free: 13.02 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: 466 (378) * Number of variables: 466 (446) Notification: Performance of [SIM] Bindings: time 0.01258/0.04598, allocations: 9.571 MB / 491.1 MB, free: 3.168 MB / 350.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.002271/0.04825, allocations: 1.235 MB / 492.3 MB, free: 1.91 MB / 350.1 MB Notification: Performance of [SIM] Early Inline: time 0.01352/0.06177, allocations: 10.55 MB / 0.491 GB, free: 7.297 MB / 366.1 MB Notification: Performance of [SIM] Simplify 1: time 0.003975/0.06574, allocations: 2.035 MB / 0.493 GB, free: 5.141 MB / 366.1 MB Notification: Performance of [SIM] Alias: time 0.01553/0.08127, allocations: 8.944 MB / 0.5018 GB, free: 11.31 MB / 382.1 MB Notification: Performance of [SIM] Simplify 2: time 0.003872/0.08515, allocations: 1.883 MB / 0.5036 GB, free: 9.324 MB / 382.1 MB Notification: Performance of [SIM] Remove Stream: time 0.002585/0.08773, allocations: 1.5 MB / 0.5051 GB, free: 7.766 MB / 382.1 MB Notification: Performance of [SIM] Detect States: time 0.003852/0.09158, allocations: 2.57 MB / 0.5076 GB, free: 5.098 MB / 382.1 MB Notification: Performance of [SIM] Events: time 0.003594/0.09518, allocations: 2.133 MB / 0.5097 GB, free: 3.012 MB / 382.1 MB Notification: Performance of [SIM] Partitioning: time 0.2604/0.3555, allocations: 4.686 MB / 0.5142 GB, free: 50.33 MB / 382.1 MB Notification: Performance of [SIM] Causalize: time 0.01864/0.3742, allocations: 11.13 MB / 0.5251 GB, free: 49.05 MB / 382.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.01206/0.3862, allocations: 9.425 MB / 0.5343 GB, free: 46.8 MB / 382.1 MB Notification: Performance of [INI] Simplify: time 0.006272/0.3925, allocations: 3.501 MB / 0.5377 GB, free: 45.11 MB / 382.1 MB Notification: Performance of [INI] Inline: time 0.01561/0.4081, allocations: 14.59 MB / 0.552 GB, free: 36.47 MB / 382.1 MB Notification: Performance of [INI] Partitioning: time 0.0005586/0.4087, allocations: 155.5 kB / 0.5521 GB, free: 36.29 MB / 382.1 MB Notification: Performance of [INI] Cleanup: time 0.002985/0.4117, allocations: 2.198 MB / 0.5543 GB, free: 34.17 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) T2.tactPassed = $START.T2.tactPassed ($RES_SRT_565); [SCAL] (1) T1.tactPassed = $START.T1.tactPassed ($RES_SRT_555); Error: Internal error NBResolveSingularities.balanceInitialization failed because following non-fixable variables could not be solved: [DISC] (4) Integer[4] $TEV_7 [DISC] (1) Boolean $SEV_30 [DISC] (1) Boolean $SEV_31 [DISC] (1) Boolean[1] $SEV_32 [DISC] (1) Boolean $SEV_39 [DISC] (1) Boolean $SEV_70 [DISC] (1) Boolean $SEV_71 [DISC] (1) Boolean $SEV_90 [DISC] (1) Boolean $SEV_91 [DISC] (1) Boolean $SEV_92 [DISC] (1) Boolean[1] T2.outPlaces.fire = {T2.fire for $f1 in 1:1} [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 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) Boolean[1] T1.outPlaces.enabledByInPlaces = {T1.enabledByInPlaces 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.Index [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 Integer P1.enableOut.k [DISC] (1) protected Integer P1.enableOut.nremTAout [DISC] (1) Boolean[1] P1.inTransition.enabledByInPlaces = {P1.enabledByInPlaces[1]} Following equations were created by fixing variables: [SCAL] (1) $PRE.T1.fireTime = $START.T1.fireTime ($RES_SRT_627) [SCAL] (1) $PRE.T2.firingTime = $START.T2.firingTime ($RES_SRT_626) [SCAL] (1) $PRE.T2.ani = $START.T2.ani ($RES_SRT_625) [SCAL] (1) $PRE.P1.firingSumIn.firingSum = $START.P1.firingSumIn.firingSum ($RES_SRT_624) [SCAL] (1) $PRE.P1.firingSumOut.firingSum = $START.P1.firingSumOut.firingSum ($RES_SRT_623) [SCAL] (1) $PRE.P2.firingSumIn.firingSum = $START.P2.firingSumIn.firingSum ($RES_SRT_622) [SCAL] (1) $PRE.P2.firingSumOut.firingSum = $START.P2.firingSumOut.firingSum ($RES_SRT_621) [ARRY] (4) $PRE.P1.enableOut.state128 = $START.P1.enableOut.state128 ($RES_SRT_620) [ARRY] (4) $PRE.P1.enableIn.state128 = $START.P1.enableIn.state128 ($RES_SRT_619) [ARRY] (4) $PRE.P2.enableOut.state128 = $START.P2.enableOut.state128 ($RES_SRT_618) [ARRY] (4) $PRE.P2.enableIn.state128 = $START.P2.enableIn.state128 ($RES_SRT_617) [SCAL] (1) $PRE.T2.fireTime = $START.T2.fireTime ($RES_SRT_616) [SCAL] (1) $PRE.T1.ani = $START.T1.ani ($RES_SRT_615) [SCAL] (1) $PRE.T1.firingTime = $START.T1.firingTime ($RES_SRT_614) 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.1417760269832797] Failed to read output from testmodel.py, exit status != 0: 0.42951047205133364 0.43884021 0.403135165 Calling exit ...