Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.SinglePD.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.001897/0.001897, 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.002395/0.002395, allocations: 216 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.594/1.594, 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.08537/0.08537, allocations: 16.94 MB / 330.2 MB, free: 2.121 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.SinglePD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.SinglePD") translateModel(PNlib.Examples.DisTest.SinglePD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.SinglePD") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.536e-05/2.536e-05, allocations: 4.25 kB / 461 MB, free: 1.621 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.SinglePD): time 0.002961/0.002986, allocations: 1.347 MB / 462.4 MB, free: 280 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00343/0.006417, allocations: 1.648 MB / 464 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002463/0.006663, allocations: 7.938 kB / 464 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002836/0.006946, allocations: 63.45 kB / 464.1 MB, free: 14.55 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002096/0.007156, allocations: 71.44 kB / 464.2 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00229/0.009446, allocations: 0.8823 MB / 465 MB, free: 13.6 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001422/0.01087, allocations: 1.104 MB / 466.1 MB, free: 12.49 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.71e-05/0.01097, allocations: 17.28 kB / 466.2 MB, free: 12.47 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004999/0.01147, allocations: 399.1 kB / 466.5 MB, free: 12.08 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001956/0.01166, allocations: 127.1 kB / 466.7 MB, free: 11.96 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.408e-05/0.01171, allocations: 20 kB / 466.7 MB, free: 11.94 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002888/0.01199, allocations: 131.8 kB / 466.8 MB, free: 11.81 MB / 334.1 MB Notification: Performance of combineBinaries: time 0.0003724/0.01237, allocations: 446.8 kB / 467.3 MB, free: 11.37 MB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002207/0.01259, allocations: 327.6 kB / 467.6 MB, free: 11.04 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.82e-05/0.01265, allocations: 16 kB / 467.6 MB, free: 11.03 MB / 334.1 MB Notification: Performance of FrontEnd: time 5.744e-05/0.0127, allocations: 11.94 kB / 467.6 MB, free: 11.02 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: 62 (28) * Number of variables: 62 (54) Notification: Performance of [SIM] Bindings: time 0.001295/0.014, allocations: 1.022 MB / 468.6 MB, free: 9.871 MB / 334.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0001212/0.01412, allocations: 97.3 kB / 468.7 MB, free: 9.766 MB / 334.1 MB Notification: Performance of [SIM] Early Inline: time 0.0006991/0.01482, allocations: 0.6405 MB / 469.4 MB, free: 9.098 MB / 334.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0002739/0.01509, allocations: 175.1 kB / 469.5 MB, free: 8.879 MB / 334.1 MB Notification: Performance of [SIM] Alias: time 0.001338/0.01643, allocations: 0.8811 MB / 470.4 MB, free: 7.836 MB / 334.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0002202/0.01665, allocations: 159.1 kB / 470.6 MB, free: 7.637 MB / 334.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001344/0.01678, allocations: 120.4 kB / 470.7 MB, free: 7.492 MB / 334.1 MB Notification: Performance of [SIM] Detect States: time 0.0004705/0.01725, allocations: 305.2 kB / 471 MB, free: 7.141 MB / 334.1 MB Notification: Performance of [SIM] Events: time 0.0001761/0.01743, allocations: 99.95 kB / 471.1 MB, free: 7.043 MB / 334.1 MB Notification: Performance of [SIM] Partitioning: time 0.0004328/0.01786, allocations: 325.4 kB / 471.4 MB, free: 6.691 MB / 334.1 MB Notification: Performance of [SIM] Causalize: time 0.00126/0.01912, allocations: 0.8782 MB / 472.3 MB, free: 5.781 MB / 334.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0005359/0.01966, allocations: 0.4996 MB / 472.8 MB, free: 5.281 MB / 334.1 MB Notification: Performance of [INI] Simplify: time 0.001013/0.02067, allocations: 476.3 kB / 473.2 MB, free: 4.742 MB / 334.1 MB Notification: Performance of [INI] Inline: time 0.0009103/0.02158, allocations: 0.8016 MB / 474 MB, free: 3.938 MB / 334.1 MB Notification: Performance of [INI] Partitioning: time 6.673e-05/0.02165, allocations: 49.28 kB / 474.1 MB, free: 3.883 MB / 334.1 MB Notification: Performance of [INI] Cleanup: time 0.0001726/0.02182, allocations: 147.9 kB / 474.2 MB, free: 3.738 MB / 334.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_38); Error: Internal error NBResolveSingularities.balanceInitialization failed because following non-fixable variables could not be solved: [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 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 Following equations were created by fixing variables: [SCAL] (1) $PRE.P1.firingSumIn.firingSum = $START.P1.firingSumIn.firingSum ($RES_SRT_66) [SCAL] (1) $PRE.P1.firingSumOut.firingSum = $START.P1.firingSumOut.firingSum ($RES_SRT_65) [ARRY] (4) $PRE.P1.enableOut.state128 = $START.P1.enableOut.state128 ($RES_SRT_64) [ARRY] (4) $PRE.P1.enableIn.state128 = $START.P1.enableIn.state128 ($RES_SRT_63) 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.8023044990259223] Failed to read output from testmodel.py, exit status != 0: 0.032256070990115404 0.048199376 0.031794472000000004 Calling exit ...