Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.TEnoInput.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.TEnoInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T2.active|T2.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.TEnoInput") translateModel(PNlib.Examples.DisTest.TEnoInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T2.active|T2.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.TEnoInput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001339/0.001339, allocations: 104.2 kB / 16.42 MB, free: 6.484 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.00139/0.00139, allocations: 192.3 kB / 17.36 MB, free: 5.703 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.412/1.412, 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.07413/0.07413, allocations: 16.73 MB / 307.9 MB, free: 14.23 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.449e-05/2.449e-05, allocations: 2.281 kB / 427 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TEnoInput): time 0.002658/0.002692, allocations: 1.842 MB / 428.8 MB, free: 8.672 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003417/0.006122, allocations: 1.967 MB / 430.8 MB, free: 6.699 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002864/0.006422, allocations: 8 kB / 430.8 MB, free: 6.691 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005759/0.007005, allocations: 123 kB / 430.9 MB, free: 6.57 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00025/0.007266, allocations: 131.1 kB / 431 MB, free: 6.441 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001774/0.009105, allocations: 0.9161 MB / 432 MB, free: 5.523 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001284/0.0104, allocations: 1.572 MB / 433.5 MB, free: 3.949 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002731/0.01068, allocations: 165.5 kB / 433.7 MB, free: 3.785 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005077/0.0112, allocations: 0.5609 MB / 434.2 MB, free: 3.223 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003708/0.01158, allocations: 350.3 kB / 434.6 MB, free: 2.879 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001256/0.01172, allocations: 80 kB / 434.7 MB, free: 2.801 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009158/0.01264, allocations: 0.5228 MB / 435.2 MB, free: 2.277 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0004564/0.01311, allocations: 0.9197 MB / 436.1 MB, free: 1.348 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.00019/0.01331, allocations: 0.5388 MB / 436.6 MB, free: 0.8008 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001302/0.01344, allocations: 123.6 kB / 436.8 MB, free: 0.6797 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0001275/0.01358, allocations: 59.61 kB / 436.8 MB, free: 0.6211 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 156 (111) * Number of variables: 156 (141) Notification: Performance of Bindings: time 0.002925/0.01651, allocations: 2.847 MB / 439.7 MB, free: 13.65 MB / 318.1 MB Notification: Performance of FunctionAlias: time 0.0001231/0.01664, allocations: 83.78 kB / 439.8 MB, free: 13.57 MB / 318.1 MB Notification: Performance of Early Inline: time 0.002793/0.01944, allocations: 2.834 MB / 442.6 MB, free: 10.71 MB / 318.1 MB Notification: Performance of simplify1: time 9.273e-05/0.01954, allocations: 75.88 kB / 442.7 MB, free: 10.63 MB / 318.1 MB Notification: Performance of Alias: time 0.002474/0.02203, allocations: 2.121 MB / 444.8 MB, free: 8.324 MB / 318.1 MB Notification: Performance of simplify2: time 7.685e-05/0.02211, allocations: 63.89 kB / 444.8 MB, free: 8.262 MB / 318.1 MB Error: Internal error NBDetectStates.collectPreAndPrevious failed because of unexpected expression pre(, false}).