Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.HybTest.TDtoPCfunction.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.TDtoPCfunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.HybTest.TDtoPCfunction") translateModel(PNlib.Examples.HybTest.TDtoPCfunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.HybTest.TDtoPCfunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001208/0.001208, allocations: 107.1 kB / 16.42 MB, free: 6.031 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.001282/0.001282, allocations: 186.6 kB / 17.35 MB, free: 5.602 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.24/1.24, 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.06967/0.06967, allocations: 16.72 MB / 307.9 MB, free: 14.2 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.268e-05/1.27e-05, allocations: 2.281 kB / 426.9 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.HybTest.TDtoPCfunction): time 0.001903/0.001923, allocations: 1.979 MB / 428.9 MB, free: 8.527 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001935/0.003869, allocations: 1.567 MB / 430.5 MB, free: 6.957 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001439/0.004024, allocations: 8 kB / 430.5 MB, free: 6.949 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002208/0.00425, allocations: 119 kB / 430.6 MB, free: 6.832 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002954/0.004559, allocations: 119 kB / 430.7 MB, free: 6.715 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008835/0.005451, allocations: 0.6498 MB / 431.4 MB, free: 6.066 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009339/0.006395, allocations: 1.506 MB / 432.9 MB, free: 4.559 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002089/0.006612, allocations: 173.4 kB / 433 MB, free: 4.387 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003491/0.006968, allocations: 0.5726 MB / 433.6 MB, free: 3.812 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002938/0.007268, allocations: 382.2 kB / 434 MB, free: 3.438 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.973e-05/0.007375, allocations: 80 kB / 434.1 MB, free: 3.359 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004219/0.007802, allocations: 459.5 kB / 434.5 MB, free: 2.91 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0004102/0.008228, allocations: 1.001 MB / 435.5 MB, free: 1.898 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001502/0.008385, allocations: 0.5812 MB / 436.1 MB, free: 1.309 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001119/0.008502, allocations: 119.6 kB / 436.2 MB, free: 1.191 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.863e-05/0.008576, allocations: 55.67 kB / 436.3 MB, free: 1.137 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: 164 (125) * Number of variables: 164 (154) Notification: Performance of Bindings: time 0.002398/0.01098, allocations: 2.946 MB / 439.2 MB, free: 14.06 MB / 318.1 MB Notification: Performance of FunctionAlias: time 0.0001469/0.01114, allocations: 138.4 kB / 439.3 MB, free: 13.93 MB / 318.1 MB Notification: Performance of Early Inline: time 0.002397/0.01354, allocations: 2.788 MB / 442.1 MB, free: 11.1 MB / 318.1 MB Notification: Performance of simplify1: time 8.817e-05/0.01364, allocations: 91.84 kB / 442.2 MB, free: 11.01 MB / 318.1 MB Notification: Performance of Alias: time 0.002226/0.01587, allocations: 2.231 MB / 444.5 MB, free: 8.57 MB / 318.1 MB Notification: Performance of simplify2: time 6.906e-05/0.01595, allocations: 75.88 kB / 444.5 MB, free: 8.496 MB / 318.1 MB Notification: Performance of Events: time 0.0006093/0.01657, allocations: 0.5318 MB / 445.1 MB, free: 7.98 MB / 318.1 MB Notification: Performance of Detect States: time 0.001034/0.01761, allocations: 1.083 MB / 446.1 MB, free: 6.879 MB / 318.1 MB Notification: Performance of Partitioning: time 0.000961/0.01858, allocations: 0.9554 MB / 447.1 MB, free: 5.863 MB / 318.1 MB Error: Internal error NBSlice.resolveDependency failed for: $FUN_5. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [TUPL] (1) ($FUN_4, $FUN_5) = PNlib.Functions.decreasingFactor(1, 0, P1.t_, P1.minMarks, P1.maxMarks, P1.firingSumIn.conFiringSum, 0.0, P1.maxSpeedIn, {}, P1.prelimSpeedIn, {}, P1.arcWeightIn, {}, $SEV_43, {}) ($RES_$AUX_142)