Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.ExtTest.TDSuniform.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.001706/0.001706, 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.001805/0.001805, allocations: 212.4 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.535/1.535, allocations: 230.7 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.08241/0.08241, allocations: 16.95 MB / 330.2 MB, free: 2.031 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.TDSuniform,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|P2.t|T1.active|T1.fire|T1.putFireTime|time",fileNamePrefix="PNlib_PNlib.Examples.ExtTest.TDSuniform") translateModel(PNlib.Examples.ExtTest.TDSuniform,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|P2.t|T1.active|T1.fire|T1.putFireTime|time",fileNamePrefix="PNlib_PNlib.Examples.ExtTest.TDSuniform") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.413e-05/2.413e-05, allocations: 4.391 kB / 461 MB, free: 1.617 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ExtTest.TDSuniform): time 0.003948/0.003972, allocations: 2.294 MB / 463.3 MB, free: 15.32 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007545/0.01152, allocations: 4.183 MB / 467.5 MB, free: 11.11 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006061/0.01212, allocations: 11.94 kB / 467.5 MB, free: 11.1 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005251/0.01265, allocations: 186.4 kB / 467.7 MB, free: 10.92 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006057/0.01325, allocations: 242.4 kB / 467.9 MB, free: 10.68 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003939/0.01719, allocations: 1.663 MB / 469.6 MB, free: 9.016 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00415/0.02134, allocations: 2.812 MB / 472.4 MB, free: 6.199 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003535/0.0217, allocations: 126.2 kB / 472.5 MB, free: 6.066 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001473/0.02317, allocations: 1.068 MB / 473.6 MB, free: 4.996 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001014/0.02418, allocations: 0.7507 MB / 474.3 MB, free: 4.242 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002443/0.02443, allocations: 156 kB / 474.5 MB, free: 4.09 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001681/0.02611, allocations: 0.9478 MB / 475.4 MB, free: 3.141 MB / 334.1 MB Notification: Performance of combineBinaries: time 0.002069/0.02818, allocations: 2.35 MB / 477.8 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 0.001049/0.02923, allocations: 1.334 MB / 479.1 MB, free: 15.42 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003423/0.02957, allocations: 148 kB / 479.3 MB, free: 15.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 0.00027/0.02984, allocations: 107.2 kB / 479.4 MB, free: 15.17 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.00715/0.03699, allocations: 5.88 MB / 485.2 MB, free: 9.09 MB / 350.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.001018/0.03801, allocations: 0.6799 MB / 485.9 MB, free: 8.387 MB / 350.1 MB Notification: Performance of [SIM] Early Inline: time 0.007309/0.04532, allocations: 6.121 MB / 492 MB, free: 2.211 MB / 350.1 MB Notification: Performance of [SIM] Simplify 1: time 0.002403/0.04772, allocations: 1.198 MB / 493.2 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of [SIM] Alias: time 0.008867/0.05658, allocations: 5.403 MB / 498.6 MB, free: 10.95 MB / 366.1 MB Notification: Performance of [SIM] Simplify 2: time 0.001858/0.05844, allocations: 1.107 MB / 499.7 MB, free: 9.766 MB / 366.1 MB Notification: Performance of [SIM] Remove Stream: time 0.001187/0.05963, allocations: 0.8796 MB / 0.4889 GB, free: 8.852 MB / 366.1 MB Notification: Performance of [SIM] Detect States: time 0.002337/0.06197, allocations: 1.627 MB / 0.4905 GB, free: 7.121 MB / 366.1 MB Notification: Performance of [SIM] Events: time 0.001931/0.0639, allocations: 1.176 MB / 0.4916 GB, free: 5.945 MB / 366.1 MB Notification: Performance of [SIM] Partitioning: time 0.003652/0.06755, allocations: 2.749 MB / 0.4943 GB, free: 3.016 MB / 366.1 MB Notification: Performance of [SIM] Causalize: time 0.008302/0.07585, allocations: 6.537 MB / 0.5007 GB, free: 12.25 MB / 382.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.007375/0.08323, allocations: 5.367 MB / 0.5059 GB, free: 6.879 MB / 382.1 MB Notification: Performance of [INI] Simplify: time 0.00502/0.08825, allocations: 2.271 MB / 0.5082 GB, free: 4.406 MB / 382.1 MB Notification: Performance of [INI] Inline: time 0.2978/0.386, allocations: 8.334 MB / 0.5163 GB, free: 50.93 MB / 382.1 MB Notification: Performance of [INI] Partitioning: time 0.0003965/0.3864, allocations: 97.67 kB / 0.5164 GB, free: 50.89 MB / 382.1 MB Notification: Performance of [INI] Cleanup: time 0.002233/0.3886, allocations: 1.299 MB / 0.5177 GB, free: 50.89 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_333); 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_389) [SCAL] (1) $PRE.P1.firingSumIn.firingSum = $START.P1.firingSumIn.firingSum ($RES_SRT_388) [SCAL] (1) $PRE.P1.firingSumOut.firingSum = $START.P1.firingSumOut.firingSum ($RES_SRT_387) [SCAL] (1) $PRE.P2.firingSumIn.firingSum = $START.P2.firingSumIn.firingSum ($RES_SRT_386) [SCAL] (1) $PRE.P2.firingSumOut.firingSum = $START.P2.firingSumOut.firingSum ($RES_SRT_385) [ARRY] (4) $PRE.P1.enableOut.state128 = $START.P1.enableOut.state128 ($RES_SRT_384) [ARRY] (4) $PRE.P1.enableIn.state128 = $START.P1.enableIn.state128 ($RES_SRT_383) [ARRY] (4) $PRE.P2.enableOut.state128 = $START.P2.enableOut.state128 ($RES_SRT_382) [ARRY] (4) $PRE.P2.enableIn.state128 = $START.P2.enableIn.state128 ($RES_SRT_381) [SCAL] (1) $PRE.T1.fire = $START.T1.fire ($RES_SRT_380) [ARRY] (4) $PRE.T1.state128 = $START.T1.state128 ($RES_SRT_379) [SCAL] (1) $PRE.T1.ani = $START.T1.ani ($RES_SRT_378) 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.132610122964252] Failed to read output from testmodel.py, exit status != 0: 0.4055415950133465 0.41795742 0.3855189 Calling exit ...