Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.TDtoPDfunction.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.00144/0.00144, 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.001531/0.001531, allocations: 216.5 kB / 23.06 MB, free: 4.98 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.55/1.55, allocations: 230.7 MB / 256.9 MB, free: 7.773 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.08217/0.08217, allocations: 16.95 MB / 330.2 MB, free: 2.047 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.TDtoPDfunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.TDtoPDfunction") translateModel(PNlib.Examples.DisTest.TDtoPDfunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.TDtoPDfunction") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.602e-05/2.602e-05, allocations: 4.391 kB / 461 MB, free: 1.633 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TDtoPDfunction): time 0.003391/0.003417, allocations: 1.731 MB / 462.7 MB, free: 15.9 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00438/0.007797, allocations: 1.855 MB / 464.6 MB, free: 14.04 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003573/0.008155, allocations: 7.938 kB / 464.6 MB, free: 14.03 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004927/0.008648, allocations: 119.1 kB / 464.7 MB, free: 13.91 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005003/0.009148, allocations: 127.1 kB / 464.8 MB, free: 13.79 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002354/0.0115, allocations: 0.9472 MB / 465.8 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001755/0.01326, allocations: 1.478 MB / 467.3 MB, free: 11.36 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000207/0.01346, allocations: 70.31 kB / 467.3 MB, free: 11.29 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006808/0.01414, allocations: 0.5727 MB / 467.9 MB, free: 10.71 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005321/0.01468, allocations: 374.2 kB / 468.3 MB, free: 10.34 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000142/0.01482, allocations: 76 kB / 468.4 MB, free: 10.27 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000979/0.0158, allocations: 0.5928 MB / 468.9 MB, free: 9.676 MB / 334.1 MB Notification: Performance of combineBinaries: time 0.00105/0.01685, allocations: 1.157 MB / 470.1 MB, free: 8.508 MB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 0.0004885/0.01734, allocations: 0.6671 MB / 470.8 MB, free: 7.832 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001483/0.01748, allocations: 68 kB / 470.8 MB, free: 7.766 MB / 334.1 MB Notification: Performance of FrontEnd: time 0.0001317/0.01762, allocations: 55.58 kB / 470.9 MB, free: 7.711 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: 150 (110) * Number of variables: 150 (140) Notification: Performance of [SIM] Bindings: time 0.003465/0.02108, allocations: 2.844 MB / 473.7 MB, free: 4.723 MB / 334.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0004386/0.02152, allocations: 329 kB / 474.1 MB, free: 4.387 MB / 334.1 MB Notification: Performance of [SIM] Early Inline: time 0.003128/0.02465, allocations: 2.753 MB / 476.8 MB, free: 1.602 MB / 334.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0008889/0.02554, allocations: 0.5662 MB / 477.4 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of [SIM] Alias: time 0.00373/0.02927, allocations: 2.595 MB / 480 MB, free: 14.09 MB / 350.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0007744/0.03004, allocations: 0.5284 MB / 480.5 MB, free: 13.51 MB / 350.1 MB Notification: Performance of [SIM] Remove Stream: time 0.000518/0.03056, allocations: 421.2 kB / 480.9 MB, free: 13.07 MB / 350.1 MB Notification: Performance of [SIM] Detect States: time 0.001091/0.03165, allocations: 0.7693 MB / 481.7 MB, free: 12.25 MB / 350.1 MB Notification: Performance of [SIM] Events: time 0.0007475/0.0324, allocations: 458.1 kB / 482.1 MB, free: 11.79 MB / 350.1 MB Notification: Performance of [SIM] Partitioning: time 0.00164/0.03404, allocations: 1.234 MB / 483.4 MB, free: 10.47 MB / 350.1 MB Notification: Performance of [SIM] Causalize: time 0.003594/0.03763, allocations: 2.924 MB / 486.3 MB, free: 7.453 MB / 350.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.002538/0.04017, allocations: 2.324 MB / 488.6 MB, free: 5.129 MB / 350.1 MB Notification: Performance of [INI] Simplify: time 0.001933/0.0421, allocations: 1.041 MB / 489.7 MB, free: 3.984 MB / 350.1 MB Notification: Performance of [INI] Inline: time 0.003947/0.04605, allocations: 3.567 MB / 493.2 MB, free: 420 kB / 350.1 MB Notification: Performance of [INI] Partitioning: time 0.0001142/0.04616, allocations: 52.03 kB / 493.3 MB, free: 356 kB / 350.1 MB Notification: Performance of [INI] Cleanup: time 0.0006972/0.04686, allocations: 0.5593 MB / 493.8 MB, free: 15.79 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) $SEV_0 = $PRE.P1.firingSumIn.firingSum > 0 or $PRE.P1.firingSumOut.firingSum > 0 ($RES_EVT_142); Error: Internal error NBResolveSingularities.balanceInitialization failed because following non-fixable variables could not be solved: [DISC] (4) Integer[4] $TEV_3 [DISC] (1) Boolean $SEV_11 [DISC] (1) Boolean $SEV_12 [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.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 Boolean P1.enableOut.endWhile [DISC] (1) protected discrete Real P1.enableOut.sumEnablingProbTAout [DISC] (1) protected Integer P1.enableOut.posTE [DISC] (1) protected Integer P1.enableOut.k [DISC] (1) protected Integer P1.enableOut.nTAout [DISC] (1) protected Integer P1.enableOut.nremTAout [DISC] (1) protected Boolean[1] P1.fireIn Following equations were created by fixing variables: [SCAL] (1) $PRE.T1.fireTime = $START.T1.fireTime ($RES_SRT_194) [SCAL] (1) $PRE.P1.firingSumIn.firingSum = $START.P1.firingSumIn.firingSum ($RES_SRT_193) [SCAL] (1) $PRE.P1.firingSumOut.firingSum = $START.P1.firingSumOut.firingSum ($RES_SRT_192) [ARRY] (4) $PRE.P1.enableOut.state128 = $START.P1.enableOut.state128 ($RES_SRT_191) [ARRY] (4) $PRE.P1.enableIn.state128 = $START.P1.enableIn.state128 ($RES_SRT_190) [SCAL] (1) $PRE.T1.ani = $START.T1.ani ($RES_SRT_189) [SCAL] (1) $PRE.T1.firingTime = $START.T1.firingTime ($RES_SRT_188) 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.7922761189984158] Failed to read output from testmodel.py, exit status != 0: 0.05821018200367689 0.072223487 0.051634537 Calling exit ...