Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Nand.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001366/0.001366, allocations: 104 kB / 21.25 MB, free: 0.5664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001394/0.001394, allocations: 190.1 kB / 24.53 MB, free: 3.852 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.598/1.598, allocations: 225.7 MB / 253.4 MB, free: 12.81 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Electrical.Spice3.Examples.Nand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5016,variableFilter="time|mp2.S.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Nand") translateModel(Modelica.Electrical.Spice3.Examples.Nand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5016,variableFilter="time|mp2.S.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Nand") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.734e-05/2.734e-05, allocations: 2.281 kB / 371.7 MB, free: 9.207 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Nand): time 0.2791/0.2791, allocations: 11.81 MB / 383.5 MB, free: 13.06 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02725/0.3064, allocations: 17.51 MB / 401 MB, free: 3.055 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004037/0.3104, allocations: 191.7 kB / 401.2 MB, free: 2.918 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004337/0.3147, allocations: 1.033 MB / 402.2 MB, free: 2.422 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01235/0.3271, allocations: 2.309 MB / 404.6 MB, free: 1.016 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007194/0.3343, allocations: 1.406 MB / 406 MB, free: 52 kB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0145/0.3488, allocations: 7.045 MB / 413 MB, free: 12.58 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004178/0.3492, allocations: 112.8 kB / 413.1 MB, free: 12.5 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004157/0.3534, allocations: 1.885 MB / 415 MB, free: 11.37 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002965/0.3563, allocations: 1.196 MB / 416.2 MB, free: 10.17 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002703/0.3566, allocations: 72 kB / 416.3 MB, free: 10.1 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009683/0.3663, allocations: 2.002 MB / 418.3 MB, free: 8.094 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0076/0.3739, allocations: 5.731 MB / 424 MB, free: 2.297 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.005031/0.3789, allocations: 4.266 MB / 428.3 MB, free: 13.97 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008979/0.3798, allocations: 252 kB / 428.5 MB, free: 13.72 MB / 334.1 MB Notification: Performance of FrontEnd: time 0.0001562/0.38, allocations: 16 kB / 428.5 MB, free: 13.71 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: 146 (114) * Number of variables: 146 (146) Notification: Performance of [SIM] Bindings: time 0.02376/0.4037, allocations: 21.16 MB / 449.7 MB, free: 8.086 MB / 350.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.003018/0.4068, allocations: 1.522 MB / 451.2 MB, free: 6.535 MB / 350.1 MB Notification: Performance of [SIM] Early Inline: time 0.006183/0.4129, allocations: 5.313 MB / 456.5 MB, free: 1.168 MB / 350.1 MB Notification: Performance of [SIM] Simplify 1: time 0.001872/0.4148, allocations: 0.7969 MB / 457.3 MB, free: 284 kB / 350.1 MB Notification: Performance of [SIM] Alias: time 0.006248/0.4211, allocations: 3.558 MB / 460.9 MB, free: 12.5 MB / 366.1 MB Notification: Performance of [SIM] Simplify 2: time 0.001358/0.4224, allocations: 0.7131 MB / 461.6 MB, free: 11.71 MB / 366.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0004948/0.4229, allocations: 367.9 kB / 461.9 MB, free: 11.32 MB / 366.1 MB Notification: Performance of [SIM] Detect States: time 0.001595/0.4245, allocations: 1.108 MB / 463.1 MB, free: 10.15 MB / 366.1 MB Notification: Performance of [SIM] Events: time 0.0008115/0.4253, allocations: 0.5894 MB / 463.6 MB, free: 9.566 MB / 366.1 MB Notification: Performance of [SIM] Partitioning: time 0.003002/0.4283, allocations: 2.728 MB / 466.4 MB, free: 6.82 MB / 366.1 MB Notification: Performance of [SIM] Causalize: time 0.01329/0.4416, allocations: 8.502 MB / 474.9 MB, free: 14.16 MB / 382.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.004682/0.4463, allocations: 3.506 MB / 478.4 MB, free: 10.65 MB / 382.1 MB Notification: Performance of [INI] Simplify: time 0.007114/0.4534, allocations: 3.243 MB / 481.6 MB, free: 7.188 MB / 382.1 MB Notification: Performance of [INI] Inline: time 0.0432/0.4966, allocations: 28.77 MB / 0.4984 GB, free: 10.36 MB / 414.1 MB Notification: Performance of [INI] Partitioning: time 0.001061/0.4977, allocations: 212.3 kB / 0.4986 GB, free: 10.09 MB / 414.1 MB Notification: Performance of [INI] Cleanup: time 0.008828/0.5065, allocations: 2.788 MB / 0.5013 GB, free: 7.305 MB / 414.1 MB Error: Internal error NBResolveSingularities.balanceInitialization failed because following non-fixable variables could not be solved: [ALGB] (1) flow Real ground.p.i Following equations were created by fixing variables: [SCAL] (1) mn1.Sinternal = $START.mn1.Sinternal ($RES_SRT_689) [SCAL] (1) mn1.Dinternal = $START.mn1.Dinternal ($RES_SRT_688) [SCAL] (1) mn2.Dinternal = $START.mn2.Dinternal ($RES_SRT_687) [SCAL] (1) mp2.Sinternal = $START.mp2.Sinternal ($RES_SRT_686) [SCAL] (1) mp2.Dinternal = $START.mp2.Dinternal ($RES_SRT_685) [SCAL] (1) mp1.Dinternal = $START.mp1.Dinternal ($RES_SRT_684) Use -d=bltdump for more verbose debug output. Error: Internal error NBInitialization.main failed to apply modules! " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 3.388707783014979] Failed to read output from testmodel.py, exit status != 0: ['time', 'mp2.S.v'] 0.976857982983347 0.985737534 0.603183503 Calling exit ...