Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.ConflictBeneGreedy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo", uses=false) Using package PNlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PNlib.Examples.DisTest.ConflictBeneGreedy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|P2.t|P3.t|T1.active|T1.fire|T2.active|T2.fire|T3.active|T3.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.ConflictBeneGreedy") translateModel(PNlib.Examples.DisTest.ConflictBeneGreedy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|P2.t|P3.t|T1.active|T1.fire|T2.active|T2.fire|T3.active|T3.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.ConflictBeneGreedy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001395/0.001395, allocations: 111 kB / 16.42 MB, free: 6.527 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001573/0.001573, allocations: 185.5 kB / 17.35 MB, free: 5.75 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.342/1.342, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.07301/0.07301, allocations: 16.73 MB / 307.9 MB, free: 14.23 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.933e-05/2.935e-05, allocations: 2.281 kB / 427 MB, free: 10.64 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.ConflictBeneGreedy): time 0.004219/0.004258, allocations: 3.786 MB / 430.7 MB, free: 6.84 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005951/0.01023, allocations: 3.416 MB / 434.2 MB, free: 3.414 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001507/0.01176, allocations: 19.94 kB / 434.2 MB, free: 3.395 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001103/0.01287, allocations: 337.2 kB / 434.5 MB, free: 3.062 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001612/0.01457, allocations: 413.2 kB / 434.9 MB, free: 2.656 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003816/0.0184, allocations: 1.751 MB / 436.7 MB, free: 0.9023 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006432/0.02485, allocations: 4.825 MB / 441.5 MB, free: 12.07 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001148/0.02602, allocations: 0.7235 MB / 442.2 MB, free: 11.3 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003071/0.02911, allocations: 1.776 MB / 444 MB, free: 9.523 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002174/0.0313, allocations: 1.276 MB / 445.3 MB, free: 8.242 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008965/0.03221, allocations: 300 kB / 445.6 MB, free: 7.949 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002059/0.03428, allocations: 0.9716 MB / 446.5 MB, free: 6.977 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.00338/0.03767, allocations: 3.406 MB / 449.9 MB, free: 3.535 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.001474/0.03916, allocations: 1.936 MB / 451.9 MB, free: 1.57 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001226/0.0404, allocations: 483.4 kB / 452.3 MB, free: 1.098 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0005761/0.04098, allocations: 234.5 kB / 452.6 MB, free: 0.8672 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 620 (464) * Number of variables: 620 (550) Notification: Performance of Bindings: time 0.01412/0.05512, allocations: 11.23 MB / 463.8 MB, free: 5.348 MB / 334.1 MB Notification: Performance of FunctionAlias: time 0.0007323/0.05587, allocations: 0.4885 MB / 464.3 MB, free: 4.848 MB / 334.1 MB Notification: Performance of Early Inline: time 0.01673/0.07261, allocations: 11.89 MB / 476.2 MB, free: 8.891 MB / 350.1 MB Notification: Performance of simplify1: time 0.0006441/0.07331, allocations: 315.5 kB / 476.5 MB, free: 8.582 MB / 350.1 MB Notification: Performance of Alias: time 0.01185/0.08518, allocations: 7.972 MB / 484.5 MB, free: 8 kB / 350.1 MB Notification: Performance of simplify2: time 0.0005191/0.08574, allocations: 279.5 kB / 484.7 MB, free: 15.73 MB / 366.1 MB Error: Internal error NBDetectStates.collectPreAndPrevious failed because of unexpected expression pre(, false}).