Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.TEtest.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.001586/0.001586, 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.001633/0.001633, allocations: 217.6 kB / 23.07 MB, free: 4.98 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.545/1.545, allocations: 230.7 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.08408/0.08408, allocations: 16.94 MB / 330.2 MB, free: 2.02 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.TEtest,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.TEtest") translateModel(PNlib.Examples.DisTest.TEtest,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.TEtest") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.658e-05/2.658e-05, allocations: 2.281 kB / 461 MB, free: 1.609 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TEtest): time 0.004404/0.004431, allocations: 2.568 MB / 463.6 MB, free: 15.04 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006062/0.01049, allocations: 2.661 MB / 466.2 MB, free: 12.37 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007828/0.01128, allocations: 15.88 kB / 466.3 MB, free: 12.35 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008963/0.01217, allocations: 246 kB / 466.5 MB, free: 12.11 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009113/0.01308, allocations: 329.8 kB / 466.8 MB, free: 11.79 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003701/0.01678, allocations: 1.408 MB / 468.2 MB, free: 10.38 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0049/0.02168, allocations: 3.178 MB / 471.4 MB, free: 7.191 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005681/0.02225, allocations: 225.6 kB / 471.6 MB, free: 6.938 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002011/0.02426, allocations: 1.286 MB / 472.9 MB, free: 5.648 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002208/0.02647, allocations: 1.202 MB / 474.1 MB, free: 4.441 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007402/0.02721, allocations: 268 kB / 474.4 MB, free: 4.18 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002065/0.02927, allocations: 1.092 MB / 475.5 MB, free: 3.086 MB / 334.1 MB Notification: Performance of combineBinaries: time 0.004032/0.03331, allocations: 3.715 MB / 479.2 MB, free: 15.34 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.002034/0.03534, allocations: 1.99 MB / 481.2 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001257/0.0366, allocations: 252 kB / 481.4 MB, free: 13.08 MB / 350.1 MB Notification: Performance of FrontEnd: time 0.0005121/0.03711, allocations: 210.5 kB / 481.6 MB, free: 12.87 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: 482 (384) * Number of variables: 482 (452) Notification: Performance of [SIM] Bindings: time 0.01322/0.05033, allocations: 9.639 MB / 491.3 MB, free: 2.953 MB / 350.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.002455/0.05278, allocations: 1.236 MB / 492.5 MB, free: 1.695 MB / 350.1 MB Notification: Performance of [SIM] Early Inline: time 0.01737/0.07015, allocations: 10.68 MB / 0.4914 GB, free: 6.949 MB / 366.1 MB Notification: Performance of [SIM] Simplify 1: time 0.004586/0.07474, allocations: 2.055 MB / 0.4934 GB, free: 4.773 MB / 366.1 MB Notification: Performance of [SIM] Alias: time 0.0172/0.09194, allocations: 9.01 MB / 0.5022 GB, free: 10.88 MB / 382.1 MB Notification: Performance of [SIM] Simplify 2: time 0.003414/0.09535, allocations: 1.891 MB / 0.504 GB, free: 8.883 MB / 382.1 MB Notification: Performance of [SIM] Remove Stream: time 0.002661/0.09801, allocations: 1.52 MB / 0.5055 GB, free: 7.305 MB / 382.1 MB Notification: Performance of [SIM] Detect States: time 0.00443/0.1024, allocations: 2.608 MB / 0.5081 GB, free: 4.594 MB / 382.1 MB Notification: Performance of [SIM] Events: time 0.003988/0.1064, allocations: 2.134 MB / 0.5102 GB, free: 2.508 MB / 382.1 MB Notification: Performance of [SIM] Partitioning: time 0.2861/0.3925, allocations: 4.726 MB / 0.5148 GB, free: 50.21 MB / 382.1 MB Notification: Performance of [SIM] Causalize: time 0.02219/0.4147, allocations: 11.33 MB / 0.5258 GB, free: 48.89 MB / 382.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.01563/0.4303, allocations: 9.515 MB / 0.5351 GB, free: 46.44 MB / 382.1 MB Notification: Performance of [INI] Simplify: time 0.00672/0.4371, allocations: 3.54 MB / 0.5386 GB, free: 44.74 MB / 382.1 MB Notification: Performance of [INI] Inline: time 0.01716/0.4542, allocations: 14.73 MB / 0.553 GB, free: 35.49 MB / 382.1 MB Notification: Performance of [INI] Partitioning: time 0.0005755/0.4548, allocations: 163.8 kB / 0.5531 GB, free: 35.3 MB / 382.1 MB Notification: Performance of [INI] Cleanup: time 0.003849/0.4586, allocations: 2.219 MB / 0.5553 GB, free: 33.12 MB / 382.1 MB Error: Internal error NBResolveSingularities.balanceInitialization failed because following non-fixable variables could not be solved: [DISC] (4) Integer[4] $TEV_5 [DISC] (4) Integer[4] $TEV_7 [DISC] (1) Boolean $SEV_30 [DISC] (1) Boolean $SEV_31 [DISC] (1) Boolean $SEV_32 [DISC] (1) Boolean $SEV_33 [DISC] (1) Boolean $SEV_39 [DISC] (1) Boolean $SEV_90 [DISC] (1) Boolean $SEV_91 [DISC] (1) Boolean $SEV_92 [DISC] (1) Boolean $SEV_93 [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) Boolean[1] P2.inTransition.fire = {P2.fireIn[1]} [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 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) 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_641) [SCAL] (1) $PRE.T2.firingTime = $START.T2.firingTime ($RES_SRT_640) [SCAL] (1) $PRE.T2.ani = $START.T2.ani ($RES_SRT_639) [SCAL] (1) $PRE.P1.firingSumIn.firingSum = $START.P1.firingSumIn.firingSum ($RES_SRT_638) [SCAL] (1) $PRE.P1.firingSumOut.firingSum = $START.P1.firingSumOut.firingSum ($RES_SRT_637) [SCAL] (1) $PRE.P2.firingSumIn.firingSum = $START.P2.firingSumIn.firingSum ($RES_SRT_636) [SCAL] (1) $PRE.P2.firingSumOut.firingSum = $START.P2.firingSumOut.firingSum ($RES_SRT_635) [ARRY] (4) $PRE.P1.enableOut.state128 = $START.P1.enableOut.state128 ($RES_SRT_634) [ARRY] (4) $PRE.P1.enableIn.state128 = $START.P1.enableIn.state128 ($RES_SRT_633) [ARRY] (4) $PRE.P2.enableOut.state128 = $START.P2.enableOut.state128 ($RES_SRT_632) [ARRY] (4) $PRE.P2.enableIn.state128 = $START.P2.enableIn.state128 ($RES_SRT_631) [SCAL] (1) $PRE.T2.fireTime = $START.T2.fireTime ($RES_SRT_630) [SCAL] (1) $PRE.T1.ani = $START.T1.ani ($RES_SRT_629) [SCAL] (1) $PRE.T1.firingTime = $START.T1.firingTime ($RES_SRT_628) 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.156392987992149] Failed to read output from testmodel.py, exit status != 0: 0.47898243099916726 0.48789470900000004 0.448338542 Calling exit ...