Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.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.001491/0.001491, 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.00148/0.00148, allocations: 214.5 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.583/1.583, allocations: 230.7 MB / 256.9 MB, free: 7.742 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.0829/0.0829, allocations: 16.95 MB / 330.2 MB, free: 2.039 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.DisLoopAndArcweight,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|T1.active|T1.fire|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight") translateModel(PNlib.Examples.DisTest.DisLoopAndArcweight,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|T1.active|T1.fire|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.916e-05/2.916e-05, allocations: 2.281 kB / 461 MB, free: 1.637 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.DisLoopAndArcweight): time 0.00344/0.00347, allocations: 1.732 MB / 462.7 MB, free: 15.9 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004032/0.007502, allocations: 1.859 MB / 464.6 MB, free: 14.04 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003903/0.007892, allocations: 11.94 kB / 464.6 MB, free: 14.03 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004424/0.008335, allocations: 119 kB / 464.7 MB, free: 13.91 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004677/0.008802, allocations: 162.9 kB / 464.9 MB, free: 13.75 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002264/0.01107, allocations: 0.9511 MB / 465.8 MB, free: 12.79 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002064/0.01313, allocations: 1.587 MB / 467.4 MB, free: 11.2 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003034/0.01343, allocations: 117.2 kB / 467.5 MB, free: 11.08 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009075/0.01434, allocations: 0.6427 MB / 468.2 MB, free: 10.44 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008571/0.0152, allocations: 0.6071 MB / 468.8 MB, free: 9.828 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002181/0.01542, allocations: 132 kB / 468.9 MB, free: 9.699 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001506/0.01692, allocations: 0.9243 MB / 469.8 MB, free: 8.773 MB / 334.1 MB Notification: Performance of combineBinaries: time 0.001708/0.01863, allocations: 1.871 MB / 471.7 MB, free: 6.887 MB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 0.0007986/0.01943, allocations: 1.026 MB / 472.7 MB, free: 5.848 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003676/0.0198, allocations: 124 kB / 472.9 MB, free: 5.727 MB / 334.1 MB Notification: Performance of FrontEnd: time 0.0002586/0.02006, allocations: 107.3 kB / 473 MB, free: 5.621 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: 235 (191) * Number of variables: 235 (225) Notification: Performance of [SIM] Bindings: time 0.006265/0.02632, allocations: 4.902 MB / 477.9 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0009722/0.02729, allocations: 0.5749 MB / 478.4 MB, free: 15.95 MB / 350.1 MB Notification: Performance of [SIM] Early Inline: time 0.006893/0.03419, allocations: 5.301 MB / 483.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of [SIM] Simplify 1: time 0.002238/0.03642, allocations: 1.052 MB / 484.8 MB, free: 9.477 MB / 350.1 MB Notification: Performance of [SIM] Alias: time 0.00704/0.04347, allocations: 4.477 MB / 489.3 MB, free: 4.551 MB / 350.1 MB Notification: Performance of [SIM] Simplify 2: time 0.001639/0.0451, allocations: 0.9732 MB / 490.2 MB, free: 3.508 MB / 350.1 MB Notification: Performance of [SIM] Remove Stream: time 0.001025/0.04613, allocations: 0.7664 MB / 491 MB, free: 2.707 MB / 350.1 MB Notification: Performance of [SIM] Detect States: time 0.001781/0.04791, allocations: 1.303 MB / 492.3 MB, free: 1.352 MB / 350.1 MB Notification: Performance of [SIM] Events: time 0.001578/0.04949, allocations: 1.029 MB / 493.3 MB, free: 352 kB / 350.1 MB Notification: Performance of [SIM] Partitioning: time 0.003175/0.05266, allocations: 2.35 MB / 495.7 MB, free: 13.84 MB / 366.1 MB Notification: Performance of [SIM] Causalize: time 0.007154/0.05982, allocations: 5.586 MB / 0.4895 GB, free: 8.078 MB / 366.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.006195/0.06601, allocations: 4.703 MB / 0.4941 GB, free: 3.371 MB / 366.1 MB Notification: Performance of [INI] Simplify: time 0.003899/0.06991, allocations: 1.773 MB / 0.4959 GB, free: 1.461 MB / 366.1 MB Notification: Performance of [INI] Inline: time 0.01087/0.08078, allocations: 7.29 MB / 0.503 GB, free: 10.15 MB / 382.1 MB Notification: Performance of [INI] Partitioning: time 0.0003601/0.08114, allocations: 76.61 kB / 0.503 GB, free: 10.06 MB / 382.1 MB Notification: Performance of [INI] Cleanup: time 0.0022/0.08334, allocations: 1.099 MB / 0.5041 GB, free: 8.961 MB / 382.1 MB 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_20 [DISC] (1) Boolean $SEV_21 [DISC] (1) Boolean $SEV_39 [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.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.nTAout [DISC] (1) protected Integer P1.enableOut.nremTAout [DISC] (1) Boolean[1] P1.outTransition.fire = {P1.fireOut[1]} Following equations were created by fixing variables: [SCAL] (1) $PRE.T1.fireTime = $START.T1.fireTime ($RES_SRT_315) [SCAL] (1) $PRE.P1.firingSumIn.firingSum = $START.P1.firingSumIn.firingSum ($RES_SRT_314) [SCAL] (1) $PRE.P1.firingSumOut.firingSum = $START.P1.firingSumOut.firingSum ($RES_SRT_313) [ARRY] (4) $PRE.P1.enableOut.state128 = $START.P1.enableOut.state128 ($RES_SRT_312) [ARRY] (4) $PRE.P1.enableIn.state128 = $START.P1.enableIn.state128 ($RES_SRT_311) [SCAL] (1) $PRE.T1.ani = $START.T1.ani ($RES_SRT_310) [SCAL] (1) $PRE.T1.firingTime = $START.T1.firingTime ($RES_SRT_309) 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.1214716989779845] Failed to read output from testmodel.py, exit status != 0: 0.09842253400711343 0.36662738500000003 0.343399787 Calling exit ...