Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.ConflictBeneBaB.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.ConflictBeneBaB,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|P2.t|P3.t|P4.t|P5.t|P6.t|P7.t|T1.active|T1.fire|T2.active|T2.fire|T3.active|T3.fire|T4.active|T4.fire|T5.active|T5.fire|T6.active|T6.fire|T7.active|T7.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.ConflictBeneBaB") translateModel(PNlib.Examples.DisTest.ConflictBeneBaB,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|P2.t|P3.t|P4.t|P5.t|P6.t|P7.t|T1.active|T1.fire|T2.active|T2.fire|T3.active|T3.fire|T4.active|T4.fire|T5.active|T5.fire|T6.active|T6.fire|T7.active|T7.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.ConflictBeneBaB") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001386/0.001386, allocations: 115.4 kB / 16.43 MB, free: 6.523 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.001147/0.001148, allocations: 179.2 kB / 17.35 MB, free: 5.746 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.386/1.386, allocations: 222.9 MB / 241.1 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.07296/0.07296, allocations: 16.73 MB / 307.9 MB, free: 14.24 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.99e-05/1.991e-05, allocations: 2.281 kB / 427 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.ConflictBeneBaB): time 0.006019/0.006048, allocations: 7.651 MB / 434.6 MB, free: 2.84 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01202/0.01809, allocations: 6.413 MB / 441 MB, free: 12.41 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003699/0.02184, allocations: 55.69 kB / 441.1 MB, free: 12.36 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00251/0.02437, allocations: 0.7439 MB / 441.8 MB, free: 11.61 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003507/0.02789, allocations: 0.9739 MB / 442.8 MB, free: 10.62 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008749/0.03673, allocations: 3.437 MB / 446.2 MB, free: 7.184 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01666/0.05342, allocations: 11.34 MB / 457.6 MB, free: 11.82 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003944/0.05741, allocations: 2.113 MB / 459.7 MB, free: 9.617 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008868/0.06631, allocations: 4.211 MB / 463.9 MB, free: 5.395 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005719/0.07207, allocations: 3.112 MB / 467 MB, free: 2.27 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003654/0.07575, allocations: 0.7188 MB / 467.7 MB, free: 1.551 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004385/0.08016, allocations: 1.397 MB / 469.1 MB, free: 156 kB / 334.1 MB Notification: Performance of combineBinaries: time 0.00966/0.08984, allocations: 8.316 MB / 477.4 MB, free: 7.75 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.004541/0.09444, allocations: 4.7 MB / 482.1 MB, free: 2.98 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004552/0.09903, allocations: 1.128 MB / 483.3 MB, free: 1.852 MB / 350.1 MB Notification: Performance of FrontEnd: time 0.001959/0.101, allocations: 0.5744 MB / 483.8 MB, free: 1.273 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1645 (1197) * Number of variables: 1645 (1375) Notification: Performance of Bindings: time 0.0447/0.1457, allocations: 27.7 MB / 0.4996 GB, free: 5.145 MB / 382.1 MB Notification: Performance of FunctionAlias: time 0.003047/0.1488, allocations: 2.281 MB / 0.5018 GB, free: 2.84 MB / 382.1 MB Notification: Performance of Early Inline: time 0.3136/0.4624, allocations: 29 MB / 0.5301 GB, free: 37.51 MB / 382.1 MB Notification: Performance of simplify1: time 0.001759/0.4642, allocations: 0.8115 MB / 0.5309 GB, free: 37.12 MB / 382.1 MB Notification: Performance of Alias: time 0.02432/0.4886, allocations: 19.64 MB / 0.5501 GB, free: 25.16 MB / 382.1 MB Notification: Performance of simplify2: time 0.001265/0.4899, allocations: 0.7299 MB / 0.5508 GB, free: 24.83 MB / 382.1 MB Error: Internal error NBDetectStates.collectPreAndPrevious failed because of unexpected expression pre(, false}).