Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.InputConflictBeneGreedy.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.InputConflictBeneGreedy,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.InputConflictBeneGreedy") translateModel(PNlib.Examples.DisTest.InputConflictBeneGreedy,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.InputConflictBeneGreedy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001321/0.001321, allocations: 111.8 kB / 16.42 MB, free: 6.473 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.001314/0.001315, allocations: 188.2 kB / 17.36 MB, free: 5.723 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.399/1.399, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.07241/0.07241, allocations: 16.74 MB / 307.9 MB, free: 14.24 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.426e-05/2.427e-05, allocations: 5.375 kB / 427 MB, free: 10.53 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.InputConflictBeneGreedy): time 0.003266/0.0033, allocations: 3.795 MB / 430.7 MB, free: 6.723 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004764/0.008081, allocations: 3.408 MB / 434.2 MB, free: 3.305 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001124/0.009226, allocations: 23.88 kB / 434.2 MB, free: 3.281 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007032/0.009938, allocations: 329.3 kB / 434.5 MB, free: 2.957 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008576/0.01088, allocations: 429 kB / 434.9 MB, free: 2.535 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003383/0.01428, allocations: 1.751 MB / 436.7 MB, free: 0.7812 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006461/0.02075, allocations: 4.848 MB / 441.5 MB, free: 11.93 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001218/0.02199, allocations: 0.755 MB / 442.3 MB, free: 11.13 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003483/0.0255, allocations: 1.788 MB / 444.1 MB, free: 9.336 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002755/0.02827, allocations: 1.33 MB / 445.4 MB, free: 8 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001224/0.02951, allocations: 324 kB / 445.7 MB, free: 7.684 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002067/0.03159, allocations: 0.9834 MB / 446.7 MB, free: 6.699 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.002998/0.0346, allocations: 3.573 MB / 450.3 MB, free: 3.09 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.001385/0.036, allocations: 2.002 MB / 452.3 MB, free: 1.059 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001018/0.03702, allocations: 0.4916 MB / 452.8 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.000507/0.03754, allocations: 250.4 kB / 453 MB, free: 328 kB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 635 (483) * Number of variables: 635 (568) Notification: Performance of Bindings: time 0.01131/0.04885, allocations: 11.58 MB / 464.6 MB, free: 4.453 MB / 334.1 MB Notification: Performance of FunctionAlias: time 0.001071/0.04994, allocations: 1.17 MB / 465.8 MB, free: 3.254 MB / 334.1 MB Notification: Performance of Early Inline: time 0.01512/0.06508, allocations: 12.67 MB / 478.4 MB, free: 6.504 MB / 350.1 MB Notification: Performance of simplify1: time 0.0006289/0.06575, allocations: 335.5 kB / 478.7 MB, free: 6.176 MB / 350.1 MB Notification: Performance of Alias: time 0.01136/0.07712, allocations: 8.317 MB / 487.1 MB, free: 13.26 MB / 366.1 MB Notification: Performance of simplify2: time 0.0005761/0.07774, allocations: 295.5 kB / 487.4 MB, free: 12.97 MB / 366.1 MB Error: Internal error NBDetectStates.collectPreAndPrevious failed because of unexpected expression pre(, false}).