Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.ExtTest.TDStriangular.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001654/0.001654, allocations: 104.3 kB / 19.77 MB, free: 2.051 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001765/0.001765, allocations: 217.9 kB / 23.07 MB, free: 4.844 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.557/1.557, allocations: 230.7 MB / 256.9 MB, free: 7.766 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib master/package.mo): time 0.08028/0.08028, allocations: 16.94 MB / 330.2 MB, free: 2.051 MB / 254.1 MB " [Timeout remaining time 180] Using package PNlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PNlib.Examples.ExtTest.TDStriangular,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|P2.t|T1.active|T1.fire|T1.putFireTime|time",fileNamePrefix="PNlib_PNlib.Examples.ExtTest.TDStriangular") translateModel(PNlib.Examples.ExtTest.TDStriangular,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|P2.t|T1.active|T1.fire|T1.putFireTime|time",fileNamePrefix="PNlib_PNlib.Examples.ExtTest.TDStriangular") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.486e-05/2.486e-05, allocations: 4.531 kB / 461 MB, free: 1.641 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ExtTest.TDStriangular): time 0.003832/0.003856, allocations: 2.291 MB / 463.3 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008111/0.01197, allocations: 4.184 MB / 467.5 MB, free: 11.13 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007807/0.01275, allocations: 15.88 kB / 467.5 MB, free: 11.12 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005867/0.01333, allocations: 190.4 kB / 467.7 MB, free: 10.93 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006602/0.01399, allocations: 230.4 kB / 467.9 MB, free: 10.7 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004362/0.01836, allocations: 1.661 MB / 469.6 MB, free: 9.039 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003589/0.02195, allocations: 2.804 MB / 472.4 MB, free: 6.23 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003381/0.02228, allocations: 130.2 kB / 472.5 MB, free: 6.094 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00146/0.02374, allocations: 1.075 MB / 473.6 MB, free: 5.016 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001024/0.02477, allocations: 0.7468 MB / 474.3 MB, free: 4.266 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002562/0.02502, allocations: 160 kB / 474.5 MB, free: 4.109 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00183/0.02685, allocations: 0.9673 MB / 475.4 MB, free: 3.141 MB / 334.1 MB Notification: Performance of combineBinaries: time 0.002139/0.02899, allocations: 2.35 MB / 477.8 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 0.001105/0.0301, allocations: 1.327 MB / 479.1 MB, free: 15.42 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003451/0.03044, allocations: 148 kB / 479.3 MB, free: 15.28 MB / 350.1 MB Notification: Performance of FrontEnd: time 0.0002641/0.03071, allocations: 115.2 kB / 479.4 MB, free: 15.16 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: 306 (221) * Number of variables: 306 (285) Notification: Performance of [SIM] Bindings: time 0.007369/0.03808, allocations: 5.898 MB / 485.3 MB, free: 9.07 MB / 350.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0009466/0.03902, allocations: 0.6799 MB / 486 MB, free: 8.367 MB / 350.1 MB Notification: Performance of [SIM] Early Inline: time 0.007145/0.04617, allocations: 6.109 MB / 492.1 MB, free: 2.203 MB / 350.1 MB Notification: Performance of [SIM] Simplify 1: time 0.002053/0.04822, allocations: 1.19 MB / 493.3 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of [SIM] Alias: time 0.008129/0.05635, allocations: 5.412 MB / 498.7 MB, free: 10.94 MB / 366.1 MB Notification: Performance of [SIM] Simplify 2: time 0.001734/0.05808, allocations: 1.103 MB / 499.8 MB, free: 9.766 MB / 366.1 MB Notification: Performance of [SIM] Remove Stream: time 0.001244/0.05933, allocations: 0.8757 MB / 0.4889 GB, free: 8.855 MB / 366.1 MB Notification: Performance of [SIM] Detect States: time 0.002491/0.06182, allocations: 1.639 MB / 0.4905 GB, free: 7.113 MB / 366.1 MB Notification: Performance of [SIM] Events: time 0.002014/0.06383, allocations: 1.179 MB / 0.4917 GB, free: 5.934 MB / 366.1 MB Notification: Performance of [SIM] Partitioning: time 0.004011/0.06784, allocations: 2.745 MB / 0.4943 GB, free: 3.008 MB / 366.1 MB Notification: Performance of [SIM] Causalize: time 0.008685/0.07653, allocations: 6.545 MB / 0.5007 GB, free: 12.23 MB / 382.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.007417/0.08394, allocations: 5.379 MB / 0.506 GB, free: 6.852 MB / 382.1 MB Notification: Performance of [INI] Simplify: time 0.004659/0.0886, allocations: 2.294 MB / 0.5082 GB, free: 4.336 MB / 382.1 MB Notification: Performance of [INI] Inline: time 0.2515/0.3401, allocations: 8.373 MB / 0.5164 GB, free: 50.9 MB / 382.1 MB Notification: Performance of [INI] Partitioning: time 0.0004061/0.3405, allocations: 105.9 kB / 0.5165 GB, free: 50.84 MB / 382.1 MB Notification: Performance of [INI] Cleanup: time 0.002079/0.3426, allocations: 1.298 MB / 0.5178 GB, free: 50.84 MB / 382.1 MB Warning: NBResolveSingularities.balanceInitialization reports an overdetermined initialization! Checking for consistency is not yet supported, following equations had to be removed: [SCAL] (1) P2.tokeninout = $START.P2.tokeninout ($RES_SRT_334); Error: Internal error NBResolveSingularities.balanceInitialization failed because following non-fixable variables could not be solved: [DISC] (4) Integer[4] $TEV_7 [DISC] (1) Boolean $SEV_20 [DISC] (1) Boolean[1] $SEV_30 [DISC] (1) Boolean $SEV_39 [DISC] (1) Boolean[1] T1.outPlaces.enabledByInPlaces = {T1.enabledByInPlaces for $f1 in 1:1} [DISC] (1) protected discrete Real P2.enableIn.benefitLimit [DISC] (1) protected Boolean P2.enableIn.valid [DISC] (1) protected discrete Real P2.enableIn.benefitMax [DISC] (1) protected Integer P2.enableIn.Index [DISC] (1) protected Integer P2.enableIn.nTAin [DISC] (1) protected Integer P2.enableIn.arcWeightSum [DISC] (1) protected discrete Real P2.enableOut.benefitLimit [DISC] (1) protected Boolean P2.enableOut.valid [DISC] (1) protected discrete Real P2.enableOut.benefitMax [DISC] (1) protected Integer P2.enableOut.Index [DISC] (1) protected Boolean P2.enableOut.endWhile [DISC] (1) protected discrete Real P2.enableOut.sumEnablingProbTAout [DISC] (1) protected Integer P2.enableOut.posTE [DISC] (1) protected Integer P2.enableOut.k [DISC] (1) protected Integer P2.enableOut.nTAout [DISC] (1) protected Integer P2.enableOut.nremTAout [DISC] (1) protected discrete Real P1.enableIn.benefitLimit [DISC] (1) protected Boolean P1.enableIn.valid [DISC] (1) protected discrete Real P1.enableIn.benefitMax [DISC] (1) protected Integer P1.enableIn.Index [DISC] (1) protected Boolean P1.enableIn.endWhile [DISC] (1) protected discrete Real P1.enableIn.sumEnablingProbTAin [DISC] (1) protected Integer P1.enableIn.posTE [DISC] (1) protected Integer P1.enableIn.k [DISC] (1) protected Integer P1.enableIn.nTAin [DISC] (1) protected Integer P1.enableIn.nremTAin [DISC] (1) protected discrete Real P1.enableOut.benefitLimit [DISC] (1) protected Boolean P1.enableOut.valid [DISC] (1) protected discrete Real P1.enableOut.benefitMax [DISC] (1) protected Integer P1.enableOut.Index [DISC] (1) protected Integer P1.enableOut.k [DISC] (1) protected Integer P1.enableOut.nTAout [DISC] (1) protected Integer P1.enableOut.nremTAout Following equations were created by fixing variables: [SCAL] (1) $PRE.T1.fireTime = $START.T1.fireTime ($RES_SRT_390) [SCAL] (1) $PRE.P1.firingSumIn.firingSum = $START.P1.firingSumIn.firingSum ($RES_SRT_389) [SCAL] (1) $PRE.P1.firingSumOut.firingSum = $START.P1.firingSumOut.firingSum ($RES_SRT_388) [SCAL] (1) $PRE.P2.firingSumIn.firingSum = $START.P2.firingSumIn.firingSum ($RES_SRT_387) [SCAL] (1) $PRE.P2.firingSumOut.firingSum = $START.P2.firingSumOut.firingSum ($RES_SRT_386) [ARRY] (4) $PRE.P1.enableOut.state128 = $START.P1.enableOut.state128 ($RES_SRT_385) [ARRY] (4) $PRE.P1.enableIn.state128 = $START.P1.enableIn.state128 ($RES_SRT_384) [ARRY] (4) $PRE.P2.enableOut.state128 = $START.P2.enableOut.state128 ($RES_SRT_383) [ARRY] (4) $PRE.P2.enableIn.state128 = $START.P2.enableIn.state128 ($RES_SRT_382) [SCAL] (1) $PRE.T1.fire = $START.T1.fire ($RES_SRT_381) [ARRY] (4) $PRE.T1.state128 = $START.T1.state128 ($RES_SRT_380) [SCAL] (1) $PRE.T1.ani = $START.T1.ani ($RES_SRT_379) Use -d=bltdump for more verbose debug output. Error: Internal error NBInitialization.main failed to apply modules! " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 3.097049267962575] Failed to read output from testmodel.py, exit status != 0: 0.3588061780319549 0.37340418299999995 0.340145734 Calling exit ...