Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.ExtTest.TDSTestinterrupt.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.001879/0.001879, 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.002576/0.002576, allocations: 213.9 kB / 23.06 MB, free: 4.977 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.604/1.604, allocations: 230.6 MB / 256.9 MB, free: 7.766 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.08261/0.08261, allocations: 16.95 MB / 330.2 MB, free: 2.043 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.TDSTestinterrupt,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|P2.t|T1.active|T1.fire|T1.putFireTime|T2.active|T2.fire|T3.active|T3.fire|time",fileNamePrefix="PNlib_PNlib.Examples.ExtTest.TDSTestinterrupt") translateModel(PNlib.Examples.ExtTest.TDSTestinterrupt,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|P2.t|T1.active|T1.fire|T1.putFireTime|T2.active|T2.fire|T3.active|T3.fire|time",fileNamePrefix="PNlib_PNlib.Examples.ExtTest.TDSTestinterrupt") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 4.557e-05/4.557e-05, allocations: 2.281 kB / 461 MB, free: 1.633 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ExtTest.TDSTestinterrupt): time 0.005199/0.005244, allocations: 2.977 MB / 464 MB, free: 14.65 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009087/0.01433, allocations: 4.589 MB / 468.6 MB, free: 10.03 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001042/0.01537, allocations: 19.88 kB / 468.6 MB, free: 10.01 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001023/0.0164, allocations: 293.7 kB / 468.9 MB, free: 9.723 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009914/0.01739, allocations: 349.7 kB / 469.2 MB, free: 9.379 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005052/0.02244, allocations: 1.813 MB / 471 MB, free: 7.562 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.006804/0.02924, allocations: 3.533 MB / 474.6 MB, free: 4.023 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008611/0.0301, allocations: 238 kB / 474.8 MB, free: 3.758 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003236/0.03334, allocations: 1.445 MB / 476.2 MB, free: 2.309 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002463/0.0358, allocations: 1.136 MB / 477.4 MB, free: 1.168 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007523/0.03656, allocations: 244 kB / 477.6 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002315/0.03887, allocations: 1.096 MB / 478.7 MB, free: 15.83 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.003868/0.04274, allocations: 3.531 MB / 482.2 MB, free: 12.27 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.001875/0.04461, allocations: 1.94 MB / 484.2 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008955/0.04551, allocations: 212 kB / 484.4 MB, free: 10.1 MB / 350.1 MB Notification: Performance of FrontEnd: time 0.0004516/0.04596, allocations: 190.6 kB / 484.6 MB, free: 9.91 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: 503 (374) * Number of variables: 503 (434) Notification: Performance of [SIM] Bindings: time 0.01259/0.05855, allocations: 9.036 MB / 493.6 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.002239/0.06079, allocations: 1.159 MB / 494.8 MB, free: 15.41 MB / 366.1 MB Notification: Performance of [SIM] Early Inline: time 0.01382/0.07461, allocations: 9.571 MB / 0.4925 GB, free: 5.77 MB / 366.1 MB Notification: Performance of [SIM] Simplify 1: time 0.004881/0.07949, allocations: 1.789 MB / 0.4943 GB, free: 3.859 MB / 366.1 MB Notification: Performance of [SIM] Alias: time 0.01445/0.09394, allocations: 8.44 MB / 0.5025 GB, free: 10.54 MB / 382.1 MB Notification: Performance of [SIM] Simplify 2: time 0.003336/0.09728, allocations: 1.621 MB / 0.5041 GB, free: 8.816 MB / 382.1 MB Notification: Performance of [SIM] Remove Stream: time 0.002243/0.09952, allocations: 1.309 MB / 0.5054 GB, free: 7.449 MB / 382.1 MB Notification: Performance of [SIM] Detect States: time 0.003772/0.1033, allocations: 2.388 MB / 0.5077 GB, free: 4.961 MB / 382.1 MB Notification: Performance of [SIM] Events: time 0.003026/0.1063, allocations: 1.684 MB / 0.5094 GB, free: 3.297 MB / 382.1 MB Notification: Performance of [SIM] Partitioning: time 0.2819/0.3883, allocations: 4.168 MB / 0.5134 GB, free: 48.34 MB / 382.1 MB Notification: Performance of [SIM] Causalize: time 0.02129/0.4096, allocations: 10.55 MB / 0.5237 GB, free: 47.21 MB / 382.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.01394/0.4235, allocations: 8.493 MB / 0.532 GB, free: 46.33 MB / 382.1 MB Notification: Performance of [INI] Simplify: time 0.007823/0.4313, allocations: 3.288 MB / 0.5352 GB, free: 44.7 MB / 382.1 MB Notification: Performance of [INI] Inline: time 0.01827/0.4496, allocations: 13.25 MB / 0.5482 GB, free: 37.64 MB / 382.1 MB Notification: Performance of [INI] Partitioning: time 0.0005985/0.4502, allocations: 157.9 kB / 0.5483 GB, free: 37.54 MB / 382.1 MB Notification: Performance of [INI] Cleanup: time 0.004399/0.4546, allocations: 1.975 MB / 0.5503 GB, free: 36.32 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_569); 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_39 [DISC] (1) Boolean T3.fire [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 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] (2) protected Boolean[2] P1.fireOut Following equations were created by fixing variables: [SCAL] (1) $PRE.T1.fireTime = $START.T1.fireTime ($RES_SRT_642) [SCAL] (1) $PRE.T2.firingTime = $START.T2.firingTime ($RES_SRT_641) [SCAL] (1) $PRE.T2.ani = $START.T2.ani ($RES_SRT_640) [SCAL] (1) $PRE.T3.fireTime = $START.T3.fireTime ($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.T1.fire = $START.T1.fire ($RES_SRT_630) [ARRY] (4) $PRE.T1.state128 = $START.T1.state128 ($RES_SRT_629) [SCAL] (1) $PRE.T3.ani = $START.T3.ani ($RES_SRT_628) [SCAL] (1) $PRE.T3.firingTime = $START.T3.firingTime ($RES_SRT_627) [SCAL] (1) $PRE.T2.fireTime = $START.T2.fireTime ($RES_SRT_626) [SCAL] (1) $PRE.T1.ani = $START.T1.ani ($RES_SRT_625) 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.2830820700037293] Failed to read output from testmodel.py, exit status != 0: 0.4761693920008838 0.48581055 0.437020438 Calling exit ...