Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.PDtoTT.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.00173/0.00173, 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.00201/0.00201, allocations: 215.6 kB / 23.06 MB, free: 4.848 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.529/1.529, 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.08207/0.08207, allocations: 16.94 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.DisTest.PDtoTT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.PDtoTT") translateModel(PNlib.Examples.DisTest.PDtoTT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.PDtoTT") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.386e-05/3.386e-05, allocations: 2.281 kB / 461 MB, free: 1.625 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTT): time 0.003682/0.003716, allocations: 1.738 MB / 462.7 MB, free: 15.88 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004229/0.007945, allocations: 1.884 MB / 464.6 MB, free: 14 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003775/0.008322, allocations: 11.94 kB / 464.6 MB, free: 13.98 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004437/0.008766, allocations: 123 kB / 464.8 MB, free: 13.86 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004619/0.009228, allocations: 139 kB / 464.9 MB, free: 13.72 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003027/0.01226, allocations: 0.9607 MB / 465.9 MB, free: 12.76 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002108/0.01436, allocations: 1.486 MB / 467.3 MB, free: 11.27 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002488/0.01461, allocations: 79.69 kB / 467.4 MB, free: 11.2 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008034/0.01542, allocations: 0.5805 MB / 468 MB, free: 10.61 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006467/0.01606, allocations: 422.1 kB / 468.4 MB, free: 10.2 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001555/0.01622, allocations: 88 kB / 468.5 MB, free: 10.11 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001114/0.01733, allocations: 0.6201 MB / 469.1 MB, free: 9.492 MB / 334.1 MB Notification: Performance of combineBinaries: time 0.001227/0.01856, allocations: 1.309 MB / 470.4 MB, free: 8.172 MB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 0.0006398/0.0192, allocations: 0.7327 MB / 471.2 MB, free: 7.43 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002296/0.01943, allocations: 80 kB / 471.2 MB, free: 7.352 MB / 334.1 MB Notification: Performance of FrontEnd: time 0.0002011/0.01963, allocations: 71.56 kB / 471.3 MB, free: 7.281 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 163 (123) * Number of variables: 163 (153) Notification: Performance of [SIM] Bindings: time 0.004238/0.02387, allocations: 3.288 MB / 474.6 MB, free: 3.844 MB / 334.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.000585/0.02445, allocations: 399.5 kB / 475 MB, free: 3.441 MB / 334.1 MB Notification: Performance of [SIM] Early Inline: time 0.004007/0.02846, allocations: 3.374 MB / 478.4 MB, free: 28 kB / 334.1 MB Notification: Performance of [SIM] Simplify 1: time 0.001251/0.02971, allocations: 0.6768 MB / 479 MB, free: 15.29 MB / 350.1 MB Notification: Performance of [SIM] Alias: time 0.004684/0.03439, allocations: 3.033 MB / 482.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of [SIM] Simplify 2: time 0.001024/0.03542, allocations: 0.6221 MB / 482.7 MB, free: 11.25 MB / 350.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0006523/0.03607, allocations: 0.4893 MB / 483.2 MB, free: 10.74 MB / 350.1 MB Notification: Performance of [SIM] Detect States: time 0.001344/0.03741, allocations: 0.9003 MB / 484.1 MB, free: 9.781 MB / 350.1 MB Notification: Performance of [SIM] Events: time 0.00115/0.03856, allocations: 0.6402 MB / 484.7 MB, free: 9.176 MB / 350.1 MB Notification: Performance of [SIM] Partitioning: time 0.002197/0.04076, allocations: 1.503 MB / 486.2 MB, free: 7.578 MB / 350.1 MB Notification: Performance of [SIM] Causalize: time 0.004952/0.04571, allocations: 3.533 MB / 489.8 MB, free: 3.945 MB / 350.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.003509/0.04922, allocations: 3.007 MB / 492.8 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of [INI] Simplify: time 0.002646/0.05187, allocations: 1.286 MB / 494 MB, free: 15.55 MB / 366.1 MB Notification: Performance of [INI] Inline: time 0.0056/0.05747, allocations: 4.734 MB / 498.8 MB, free: 10.8 MB / 366.1 MB Notification: Performance of [INI] Partitioning: time 0.0002009/0.05767, allocations: 67.98 kB / 498.8 MB, free: 10.72 MB / 366.1 MB Notification: Performance of [INI] Cleanup: time 0.00104/0.05871, allocations: 0.7154 MB / 499.6 MB, free: 10 MB / 366.1 MB Warning: NBResolveSingularities.balanceInitialization reports an overdetermined initialization! Checking for consistency is not yet supported, following equations had to be removed: [SCAL] (1) T1.tactPassed = $START.T1.tactPassed ($RES_SRT_186); Error: Internal error NBResolveSingularities.balanceInitialization failed because following non-fixable variables could not be solved: [DISC] (1) Boolean $SEV_9 [DISC] (1) Boolean $SEV_20 [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 [DISC] (1) Boolean[1] P1.outTransition.fire = {P1.fireOut[1]} Following equations were created by fixing variables: [SCAL] (1) $PRE.T1.fireTime = $START.T1.fireTime ($RES_SRT_214) [SCAL] (1) $PRE.P1.firingSumIn.firingSum = $START.P1.firingSumIn.firingSum ($RES_SRT_213) [SCAL] (1) $PRE.P1.firingSumOut.firingSum = $START.P1.firingSumOut.firingSum ($RES_SRT_212) [ARRY] (4) $PRE.P1.enableOut.state128 = $START.P1.enableOut.state128 ($RES_SRT_211) [ARRY] (4) $PRE.P1.enableIn.state128 = $START.P1.enableIn.state128 ($RES_SRT_210) [SCAL] (1) $PRE.T1.ani = $START.T1.ani ($RES_SRT_209) [SCAL] (1) $PRE.T1.firingTime = $START.T1.firingTime ($RES_SRT_208) 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: 2.7751935819978826] Failed to read output from testmodel.py, exit status != 0: 0.07276867999462411 0.088674816 0.06538904000000001 Calling exit ...