Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.ConTest.SinglePC.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.001536/0.001536, allocations: 100.4 kB / 19.76 MB, free: 1.906 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.001661/0.001661, allocations: 215.6 kB / 23.06 MB, free: 4.992 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.547/1.547, allocations: 230.6 MB / 256.9 MB, free: 7.73 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.1052/0.1052, allocations: 16.94 MB / 330.2 MB, free: 2.035 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.ConTest.SinglePC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|time",fileNamePrefix="PNlib_PNlib.Examples.ConTest.SinglePC") translateModel(PNlib.Examples.ConTest.SinglePC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|time",fileNamePrefix="PNlib_PNlib.Examples.ConTest.SinglePC") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.629e-05/2.629e-05, allocations: 2.281 kB / 461 MB, free: 1.66 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ConTest.SinglePC): time 0.003134/0.00316, allocations: 1.424 MB / 462.4 MB, free: 240 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002774/0.005934, allocations: 1.318 MB / 463.7 MB, free: 14.91 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001933/0.006127, allocations: 7.938 kB / 463.7 MB, free: 14.91 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002821/0.006409, allocations: 83.36 kB / 463.8 MB, free: 14.82 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002595/0.006669, allocations: 79.44 kB / 463.9 MB, free: 14.75 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001462/0.008131, allocations: 0.6108 MB / 464.5 MB, free: 14.14 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001324/0.009455, allocations: 1.065 MB / 465.6 MB, free: 13.06 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.369e-05/0.009548, allocations: 33.2 kB / 465.6 MB, free: 13.03 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000466/0.01001, allocations: 406.9 kB / 466 MB, free: 12.63 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002386/0.01025, allocations: 163 kB / 466.2 MB, free: 12.47 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.83e-05/0.01031, allocations: 32 kB / 466.2 MB, free: 12.44 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000576/0.01089, allocations: 351.4 kB / 466.5 MB, free: 12.09 MB / 334.1 MB Notification: Performance of combineBinaries: time 0.0004804/0.01137, allocations: 0.5221 MB / 467.1 MB, free: 11.57 MB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002357/0.0116, allocations: 331.5 kB / 467.4 MB, free: 11.24 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.676e-05/0.01165, allocations: 16 kB / 467.4 MB, free: 11.22 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.86e-05/0.0117, allocations: 11.94 kB / 467.4 MB, free: 11.21 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 (34) * Number of variables: 65 (57) Notification: Performance of [SIM] Bindings: time 0.001408/0.01311, allocations: 1.102 MB / 468.5 MB, free: 9.984 MB / 334.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0002173/0.01332, allocations: 125.3 kB / 468.6 MB, free: 9.852 MB / 334.1 MB Notification: Performance of [SIM] Early Inline: time 0.0007848/0.01411, allocations: 0.6859 MB / 469.3 MB, free: 9.137 MB / 334.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0002989/0.01441, allocations: 189.7 kB / 469.5 MB, free: 8.906 MB / 334.1 MB Notification: Performance of [SIM] Alias: time 0.001521/0.01593, allocations: 0.8907 MB / 470.4 MB, free: 7.867 MB / 334.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0002399/0.01617, allocations: 160.9 kB / 470.6 MB, free: 7.668 MB / 334.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001477/0.01632, allocations: 120.3 kB / 470.7 MB, free: 7.523 MB / 334.1 MB Notification: Performance of [SIM] Detect States: time 0.0005163/0.01683, allocations: 304.5 kB / 471 MB, free: 7.172 MB / 334.1 MB Notification: Performance of [SIM] Events: time 0.0001459/0.01698, allocations: 63.84 kB / 471 MB, free: 7.109 MB / 334.1 MB Notification: Performance of [SIM] Partitioning: time 0.0004699/0.01745, allocations: 333.9 kB / 471.4 MB, free: 6.719 MB / 334.1 MB Notification: Performance of [SIM] Causalize: time 0.001123/0.01857, allocations: 0.7254 MB / 472.1 MB, free: 5.938 MB / 334.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0005135/0.01908, allocations: 436.3 kB / 472.5 MB, free: 5.512 MB / 334.1 MB Notification: Performance of [INI] Simplify: time 0.0008769/0.01996, allocations: 461.1 kB / 473 MB, free: 4.992 MB / 334.1 MB Notification: Performance of [INI] Inline: time 0.0008772/0.02084, allocations: 0.7508 MB / 473.7 MB, free: 4.234 MB / 334.1 MB Notification: Performance of [INI] Partitioning: time 4.856e-05/0.02089, allocations: 29.31 kB / 473.7 MB, free: 4.203 MB / 334.1 MB Notification: Performance of [INI] Cleanup: time 0.0001705/0.02106, allocations: 139.9 kB / 473.9 MB, free: 4.066 MB / 334.1 MB Warning: NBResolveSingularities.balanceInitialization reports an overdetermined initialization! Checking for consistency is not yet supported, following equations had to be removed: [SCAL] (1) P1.disMarksInOut = $START.P1.disMarksInOut ($RES_SRT_46); Error: Internal error NBResolveSingularities.balanceInitialization failed because following non-fixable variables could not be solved: [DISC] (1) protected Integer P1.enableOut.Index [DISC] (1) protected Boolean P1.enableOut.endWhile [DISC] (1) protected discrete Real P1.enableOut.sumEnablingProbTAout [DISC] (1) protected Integer P1.enableOut.posTE [DISC] (1) protected Integer P1.enableOut.k [DISC] (1) protected Integer P1.enableOut.nTAout [DISC] (1) protected Integer P1.enableOut.nremTAout [DISC] (1) protected discrete Real P1.enableOut.arcWeightSum [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.enableIn.arcWeightSum Following equations were created by fixing variables: [SCAL] (1) $PRE.P1.disMarksOut.anytrue = $START.P1.disMarksOut.anytrue ($RES_SRT_64) [SCAL] (1) $PRE.P1.disMarksIn.anytrue = $START.P1.disMarksIn.anytrue ($RES_SRT_63) [ARRY] (4) $PRE.P1.enableIn.state128 = $START.P1.enableIn.state128 ($RES_SRT_62) [ARRY] (4) $PRE.P1.enableOut.state128 = $START.P1.enableOut.state128 ($RES_SRT_61) 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: 2.7825409779907204] Failed to read output from testmodel.py, exit status != 0: 0.03086251299828291 0.04627167 0.031436161000000004 Calling exit ...