Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.HybTest.TCwithPD.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.HybTest.TCwithPD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|P2.t|P3.t|T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.HybTest.TCwithPD") translateModel(PNlib.Examples.HybTest.TCwithPD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|P2.t|P3.t|T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.HybTest.TCwithPD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001148/0.001148, allocations: 117.3 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.001014/0.001014, allocations: 185.5 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.348/1.348, 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.07512/0.07512, allocations: 16.73 MB / 307.9 MB, free: 14.25 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.039e-05/3.04e-05, allocations: 2.281 kB / 426.9 MB, free: 10.55 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.HybTest.TCwithPD): time 0.003997/0.004035, allocations: 3.409 MB / 430.3 MB, free: 7.129 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005971/0.01002, allocations: 3.478 MB / 433.8 MB, free: 3.645 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009578/0.01099, allocations: 19.94 kB / 433.8 MB, free: 3.625 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009194/0.01192, allocations: 281.7 kB / 434.1 MB, free: 3.348 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001012/0.01295, allocations: 337.7 kB / 434.4 MB, free: 3.016 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004426/0.01747, allocations: 1.726 MB / 436.2 MB, free: 1.289 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006156/0.02365, allocations: 4.116 MB / 440.3 MB, free: 13.17 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001118/0.02479, allocations: 0.6141 MB / 440.9 MB, free: 12.52 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003107/0.02791, allocations: 1.492 MB / 442.4 MB, free: 11.02 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00177/0.02969, allocations: 1.124 MB / 443.5 MB, free: 9.891 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004451/0.03015, allocations: 272 kB / 443.8 MB, free: 9.625 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002357/0.03252, allocations: 1.194 MB / 445 MB, free: 8.43 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.002401/0.03493, allocations: 2.912 MB / 447.9 MB, free: 5.488 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.001059/0.036, allocations: 1.586 MB / 449.5 MB, free: 3.879 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008184/0.03683, allocations: 419 kB / 449.9 MB, free: 3.469 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.000524/0.03736, allocations: 174.8 kB / 450.1 MB, free: 3.297 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: 556 (371) * Number of variables: 556 (443) Notification: Performance of Bindings: time 0.01147/0.04884, allocations: 9.472 MB / 459.5 MB, free: 9.582 MB / 334.1 MB Notification: Performance of FunctionAlias: time 0.0009094/0.04976, allocations: 0.8695 MB / 460.4 MB, free: 8.703 MB / 334.1 MB Notification: Performance of Early Inline: time 0.01386/0.06363, allocations: 10.58 MB / 471 MB, free: 14.06 MB / 350.1 MB Notification: Performance of simplify1: time 0.0005668/0.06425, allocations: 251.6 kB / 471.2 MB, free: 13.82 MB / 350.1 MB Notification: Performance of Alias: time 0.01104/0.0753, allocations: 6.784 MB / 478 MB, free: 6.551 MB / 350.1 MB Notification: Performance of simplify2: time 0.000533/0.0759, allocations: 211.7 kB / 478.2 MB, free: 6.344 MB / 350.1 MB Error: Internal error NBDetectStates.collectPreAndPrevious failed because of unexpected expression pre(, false}).