Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.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.DisLoopAndArcweight,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight") translateModel(PNlib.Examples.DisTest.DisLoopAndArcweight,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001574/0.001574, allocations: 111.5 kB / 16.42 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.001901/0.001902, allocations: 183.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.344/1.344, allocations: 222.9 MB / 241.1 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.07414/0.07414, allocations: 16.73 MB / 307.9 MB, free: 14.21 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.513e-05/2.514e-05, allocations: 2.281 kB / 427 MB, free: 10.63 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.DisLoopAndArcweight): time 0.002892/0.002925, allocations: 1.861 MB / 428.8 MB, free: 8.762 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003671/0.006612, allocations: 1.921 MB / 430.7 MB, free: 6.836 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002793/0.006909, allocations: 15.88 kB / 430.8 MB, free: 6.82 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003544/0.007271, allocations: 119 kB / 430.9 MB, free: 6.703 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003627/0.007682, allocations: 158.9 kB / 431 MB, free: 6.547 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001653/0.009345, allocations: 0.8966 MB / 431.9 MB, free: 5.648 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001159/0.01052, allocations: 1.677 MB / 433.6 MB, free: 3.969 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000297/0.01082, allocations: 312.3 kB / 433.9 MB, free: 3.648 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004223/0.01126, allocations: 0.6271 MB / 434.5 MB, free: 3.02 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003959/0.01166, allocations: 0.5408 MB / 435.1 MB, free: 2.477 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001458/0.01181, allocations: 136 kB / 435.2 MB, free: 2.344 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008761/0.0127, allocations: 0.7959 MB / 436 MB, free: 1.547 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0006042/0.01331, allocations: 1.465 MB / 437.5 MB, free: 68 kB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0005047/0.01382, allocations: 0.8123 MB / 438.3 MB, free: 15.24 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002967/0.01413, allocations: 211.5 kB / 438.5 MB, free: 15.04 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0002101/0.01434, allocations: 103.4 kB / 438.6 MB, free: 14.93 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: 235 (191) * Number of variables: 235 (225) Notification: Performance of Bindings: time 0.004631/0.01898, allocations: 4.797 MB / 443.4 MB, free: 9.98 MB / 318.1 MB Notification: Performance of FunctionAlias: time 0.0002409/0.01923, allocations: 232.4 kB / 443.6 MB, free: 9.75 MB / 318.1 MB Notification: Performance of Early Inline: time 0.005162/0.02441, allocations: 5.352 MB / 449 MB, free: 4.355 MB / 318.1 MB Notification: Performance of simplify1: time 0.000164/0.02459, allocations: 139.8 kB / 449.1 MB, free: 4.219 MB / 318.1 MB Notification: Performance of Alias: time 0.004012/0.02861, allocations: 3.335 MB / 452.4 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of simplify2: time 0.0001335/0.02876, allocations: 119.8 kB / 452.5 MB, free: 0.5547 MB / 318.1 MB Error: Internal error NBDetectStates.collectPreAndPrevious failed because of unexpected expression pre(, false}).