Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.ExtTest.TDSdiscrete.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.001471/0.001471, allocations: 104.3 kB / 19.77 MB, free: 2.051 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.001856/0.001856, allocations: 215.5 kB / 23.07 MB, free: 4.844 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.643/1.643, allocations: 230.7 MB / 256.9 MB, free: 7.762 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.08482/0.08482, allocations: 16.96 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.TDSdiscrete,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|P2.t|T1.active|T1.fire|T1.putFireTime|time",fileNamePrefix="PNlib_PNlib.Examples.ExtTest.TDSdiscrete") translateModel(PNlib.Examples.ExtTest.TDSdiscrete,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|P2.t|T1.active|T1.fire|T1.putFireTime|time",fileNamePrefix="PNlib_PNlib.Examples.ExtTest.TDSdiscrete") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.547e-05/2.547e-05, allocations: 2.281 kB / 461 MB, free: 1.629 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ExtTest.TDSdiscrete): time 0.003949/0.003975, allocations: 2.291 MB / 463.3 MB, free: 15.33 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008378/0.01235, allocations: 4.172 MB / 467.5 MB, free: 11.13 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009403/0.01329, allocations: 11.94 kB / 467.5 MB, free: 11.12 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006207/0.01391, allocations: 190.4 kB / 467.7 MB, free: 10.93 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006626/0.01458, allocations: 238.4 kB / 467.9 MB, free: 10.7 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004217/0.01879, allocations: 1.667 MB / 469.6 MB, free: 9.031 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003793/0.02259, allocations: 2.804 MB / 472.4 MB, free: 6.223 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003622/0.02295, allocations: 130.2 kB / 472.5 MB, free: 6.086 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001447/0.0244, allocations: 1.068 MB / 473.6 MB, free: 5.016 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001049/0.02544, allocations: 0.7546 MB / 474.3 MB, free: 4.258 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002579/0.0257, allocations: 156 kB / 474.5 MB, free: 4.105 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0017/0.0274, allocations: 0.9712 MB / 475.4 MB, free: 3.133 MB / 334.1 MB Notification: Performance of combineBinaries: time 0.002115/0.02952, allocations: 2.346 MB / 477.8 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 0.0009627/0.03048, allocations: 1.338 MB / 479.1 MB, free: 15.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003212/0.0308, allocations: 144 kB / 479.3 MB, free: 15.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 0.0002667/0.03107, allocations: 115.2 kB / 479.4 MB, free: 15.15 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.006728/0.0378, allocations: 5.872 MB / 485.3 MB, free: 9.082 MB / 350.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0008975/0.03869, allocations: 0.6799 MB / 485.9 MB, free: 8.379 MB / 350.1 MB Notification: Performance of [SIM] Early Inline: time 0.006829/0.04552, allocations: 6.117 MB / 492 MB, free: 2.207 MB / 350.1 MB Notification: Performance of [SIM] Simplify 1: time 0.002117/0.04764, allocations: 1.186 MB / 493.2 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of [SIM] Alias: time 0.008414/0.05605, allocations: 5.416 MB / 498.6 MB, free: 10.95 MB / 366.1 MB Notification: Performance of [SIM] Simplify 2: time 0.00179/0.05784, allocations: 1.095 MB / 499.7 MB, free: 9.777 MB / 366.1 MB Notification: Performance of [SIM] Remove Stream: time 0.001189/0.05903, allocations: 0.8757 MB / 0.4889 GB, free: 8.867 MB / 366.1 MB Notification: Performance of [SIM] Detect States: time 0.002339/0.06137, allocations: 1.642 MB / 0.4905 GB, free: 7.125 MB / 366.1 MB Notification: Performance of [SIM] Events: time 0.001762/0.06313, allocations: 1.174 MB / 0.4916 GB, free: 5.953 MB / 366.1 MB Notification: Performance of [SIM] Partitioning: time 0.003718/0.06685, allocations: 2.745 MB / 0.4943 GB, free: 3.027 MB / 366.1 MB Notification: Performance of [SIM] Causalize: time 0.007913/0.07477, allocations: 6.544 MB / 0.5007 GB, free: 12.25 MB / 382.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.00632/0.08109, allocations: 5.357 MB / 0.5059 GB, free: 6.891 MB / 382.1 MB Notification: Performance of [INI] Simplify: time 0.004236/0.08532, allocations: 2.287 MB / 0.5082 GB, free: 4.387 MB / 382.1 MB Notification: Performance of [INI] Inline: time 0.2719/0.3572, allocations: 8.345 MB / 0.5163 GB, free: 50.81 MB / 382.1 MB Notification: Performance of [INI] Partitioning: time 0.0005042/0.3578, allocations: 107.9 kB / 0.5164 GB, free: 50.75 MB / 382.1 MB Notification: Performance of [INI] Cleanup: time 0.002898/0.3606, allocations: 1.292 MB / 0.5177 GB, free: 50.75 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.2270418949774466] Failed to read output from testmodel.py, exit status != 0: 0.38078733801376075 0.39587271599999996 0.36102984800000004 Calling exit ...