Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.ExtTest.TDSTest.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.001709/0.001709, allocations: 100.4 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.001732/0.001732, allocations: 215 kB / 23.06 MB, free: 4.988 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.526/1.526, allocations: 230.7 MB / 256.9 MB, free: 7.77 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.08072/0.08072, allocations: 16.95 MB / 330.2 MB, free: 2.121 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.TDSTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|P2.t|T1.active|T1.fire|T1.putFireTime|Time",fileNamePrefix="PNlib_PNlib.Examples.ExtTest.TDSTest") translateModel(PNlib.Examples.ExtTest.TDSTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|P2.t|T1.active|T1.fire|T1.putFireTime|Time",fileNamePrefix="PNlib_PNlib.Examples.ExtTest.TDSTest") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.409e-05/2.409e-05, allocations: 2.281 kB / 461 MB, free: 1.637 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ExtTest.TDSTest): time 0.004036/0.00406, allocations: 2.289 MB / 463.3 MB, free: 15.35 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008394/0.01245, allocations: 4.187 MB / 467.5 MB, free: 11.14 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007062/0.01316, allocations: 11.94 kB / 467.5 MB, free: 11.12 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005605/0.01372, allocations: 190.4 kB / 467.7 MB, free: 10.94 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006214/0.01434, allocations: 234.4 kB / 467.9 MB, free: 10.71 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004087/0.01843, allocations: 1.661 MB / 469.6 MB, free: 9.043 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003962/0.02239, allocations: 2.808 MB / 472.4 MB, free: 6.23 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000355/0.02275, allocations: 126.2 kB / 472.5 MB, free: 6.098 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001525/0.02427, allocations: 1.068 MB / 473.6 MB, free: 5.027 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001084/0.02536, allocations: 0.7468 MB / 474.3 MB, free: 4.277 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002638/0.02562, allocations: 159.9 kB / 474.5 MB, free: 4.121 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001719/0.02734, allocations: 0.9673 MB / 475.4 MB, free: 3.152 MB / 334.1 MB Notification: Performance of combineBinaries: time 0.002213/0.02955, allocations: 2.342 MB / 477.8 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 0.001184/0.03074, allocations: 1.327 MB / 479.1 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000472/0.03121, allocations: 144 kB / 479.2 MB, free: 15.3 MB / 350.1 MB Notification: Performance of FrontEnd: time 0.0002996/0.03151, allocations: 119.2 kB / 479.4 MB, free: 15.19 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: 306 (221) * Number of variables: 306 (285) Notification: Performance of [SIM] Bindings: time 0.007778/0.03929, allocations: 5.876 MB / 485.2 MB, free: 9.113 MB / 350.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.001073/0.04036, allocations: 0.676 MB / 485.9 MB, free: 8.414 MB / 350.1 MB Notification: Performance of [SIM] Early Inline: time 0.007729/0.04809, allocations: 6.093 MB / 492 MB, free: 2.266 MB / 350.1 MB Notification: Performance of [SIM] Simplify 1: time 0.002394/0.05048, allocations: 1.179 MB / 493.2 MB, free: 1.004 MB / 350.1 MB Notification: Performance of [SIM] Alias: time 0.008344/0.05883, allocations: 5.399 MB / 498.6 MB, free: 11.02 MB / 366.1 MB Notification: Performance of [SIM] Simplify 2: time 0.001804/0.06063, allocations: 1.095 MB / 499.7 MB, free: 9.855 MB / 366.1 MB Notification: Performance of [SIM] Remove Stream: time 0.00115/0.06178, allocations: 0.8757 MB / 0.4888 GB, free: 8.945 MB / 366.1 MB Notification: Performance of [SIM] Detect States: time 0.002305/0.06408, allocations: 1.631 MB / 0.4904 GB, free: 7.211 MB / 366.1 MB Notification: Performance of [SIM] Events: time 0.001946/0.06603, allocations: 1.186 MB / 0.4916 GB, free: 6.031 MB / 366.1 MB Notification: Performance of [SIM] Partitioning: time 0.003705/0.06974, allocations: 2.738 MB / 0.4942 GB, free: 3.113 MB / 366.1 MB Notification: Performance of [SIM] Causalize: time 0.008245/0.07798, allocations: 6.549 MB / 0.5006 GB, free: 12.34 MB / 382.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.00706/0.08504, allocations: 5.341 MB / 0.5059 GB, free: 6.992 MB / 382.1 MB Notification: Performance of [INI] Simplify: time 0.005124/0.09016, allocations: 2.278 MB / 0.5081 GB, free: 4.492 MB / 382.1 MB Notification: Performance of [INI] Inline: time 0.2743/0.3644, allocations: 8.341 MB / 0.5162 GB, free: 50.86 MB / 382.1 MB Notification: Performance of [INI] Partitioning: time 0.0004194/0.3648, allocations: 105.8 kB / 0.5163 GB, free: 50.8 MB / 382.1 MB Notification: Performance of [INI] Cleanup: time 0.00211/0.367, allocations: 1.285 MB / 0.5176 GB, free: 50.8 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) P2.tokeninout = $START.P2.tokeninout ($RES_SRT_334); 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_20 [DISC] (1) Boolean[1] $SEV_30 [DISC] (1) Boolean $SEV_39 [DISC] (1) Boolean[1] T1.outPlaces.enabledByInPlaces = {T1.enabledByInPlaces 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 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) 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 [DISC] (1) protected Integer P1.enableOut.nTAout [DISC] (1) protected Integer P1.enableOut.nremTAout Following equations were created by fixing variables: [SCAL] (1) $PRE.T1.fireTime = $START.T1.fireTime ($RES_SRT_390) [SCAL] (1) $PRE.P1.firingSumIn.firingSum = $START.P1.firingSumIn.firingSum ($RES_SRT_389) [SCAL] (1) $PRE.P1.firingSumOut.firingSum = $START.P1.firingSumOut.firingSum ($RES_SRT_388) [SCAL] (1) $PRE.P2.firingSumIn.firingSum = $START.P2.firingSumIn.firingSum ($RES_SRT_387) [SCAL] (1) $PRE.P2.firingSumOut.firingSum = $START.P2.firingSumOut.firingSum ($RES_SRT_386) [ARRY] (4) $PRE.P1.enableOut.state128 = $START.P1.enableOut.state128 ($RES_SRT_385) [ARRY] (4) $PRE.P1.enableIn.state128 = $START.P1.enableIn.state128 ($RES_SRT_384) [ARRY] (4) $PRE.P2.enableOut.state128 = $START.P2.enableOut.state128 ($RES_SRT_383) [ARRY] (4) $PRE.P2.enableIn.state128 = $START.P2.enableIn.state128 ($RES_SRT_382) [SCAL] (1) $PRE.T1.fire = $START.T1.fire ($RES_SRT_381) [ARRY] (4) $PRE.T1.state128 = $START.T1.state128 ($RES_SRT_380) [SCAL] (1) $PRE.T1.ani = $START.T1.ani ($RES_SRT_379) 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.102114334004] Failed to read output from testmodel.py, exit status != 0: 0.3850458459928632 0.398748989 0.36443895000000004 Calling exit ...