Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Nand.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.002236/0.002236, allocations: 99.64 kB / 21.25 MB, free: 428 kB / 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.002232/0.002232, allocations: 211.2 kB / 24.55 MB, free: 3.746 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.601/1.601, allocations: 230.6 MB / 258.3 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Electrical.Spice3.Examples.Nand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5016,variableFilter="time|mp2.S.v",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Electrical.Spice3.Examples.Nand") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.044e-05/3.044e-05, allocations: 9.172 kB / 379 MB, free: 2.477 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Nand): time 0.2806/0.2806, allocations: 11.84 MB / 390.9 MB, free: 7.961 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02681/0.3074, allocations: 17.54 MB / 408.4 MB, free: 12.07 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00515/0.3126, allocations: 195.1 kB / 408.6 MB, free: 11.93 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005161/0.3178, allocations: 1.031 MB / 409.6 MB, free: 11.3 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01375/0.3315, allocations: 2.3 MB / 411.9 MB, free: 9.48 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007847/0.3394, allocations: 1.406 MB / 413.3 MB, free: 8.43 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01354/0.3529, allocations: 7.132 MB / 420.5 MB, free: 3.75 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003687/0.3533, allocations: 105.7 kB / 420.6 MB, free: 3.645 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004063/0.3573, allocations: 1.885 MB / 422.5 MB, free: 1.754 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002351/0.3597, allocations: 1.188 MB / 423.6 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002615/0.3599, allocations: 72 kB / 423.7 MB, free: 500 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00903/0.369, allocations: 2.002 MB / 425.7 MB, free: 14.48 MB / 334.1 MB Notification: Performance of combineBinaries: time 0.006901/0.3759, allocations: 5.739 MB / 431.5 MB, free: 8.676 MB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 0.004509/0.3804, allocations: 4.266 MB / 435.7 MB, free: 4.352 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001098/0.3815, allocations: 252 kB / 436 MB, free: 4.105 MB / 334.1 MB Notification: Performance of FrontEnd: time 0.0002202/0.3817, allocations: 12 kB / 436 MB, free: 4.094 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.02694/0.4086, allocations: 21.16 MB / 457.1 MB, free: 14.47 MB / 366.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.002833/0.4115, allocations: 1.526 MB / 458.7 MB, free: 12.91 MB / 366.1 MB Notification: Performance of [SIM] Early Inline: time 0.006269/0.4177, allocations: 5.317 MB / 464 MB, free: 7.535 MB / 366.1 MB Notification: Performance of [SIM] Simplify 1: time 0.001946/0.4197, allocations: 0.7814 MB / 464.8 MB, free: 6.664 MB / 366.1 MB Notification: Performance of [SIM] Alias: time 0.006297/0.426, allocations: 3.562 MB / 468.3 MB, free: 2.879 MB / 366.1 MB Notification: Performance of [SIM] Simplify 2: time 0.001306/0.4273, allocations: 0.7162 MB / 469 MB, free: 2.09 MB / 366.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0004865/0.4278, allocations: 364 kB / 469.4 MB, free: 1.707 MB / 366.1 MB Notification: Performance of [SIM] Detect States: time 0.001679/0.4295, allocations: 1.107 MB / 470.5 MB, free: 0.5391 MB / 366.1 MB Notification: Performance of [SIM] Events: time 0.0008338/0.4303, allocations: 0.604 MB / 471.1 MB, free: 15.94 MB / 382.1 MB Notification: Performance of [SIM] Partitioning: time 0.00314/0.4334, allocations: 2.727 MB / 473.8 MB, free: 13.2 MB / 382.1 MB Notification: Performance of [SIM] Causalize: time 0.01107/0.4445, allocations: 8.492 MB / 482.3 MB, free: 4.539 MB / 382.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.00401/0.4485, allocations: 3.502 MB / 485.8 MB, free: 1.035 MB / 382.1 MB Notification: Performance of [INI] Simplify: time 0.006524/0.455, allocations: 3.242 MB / 489.1 MB, free: 13.57 MB / 398.1 MB Notification: Performance of [INI] Inline: time 0.04049/0.4955, allocations: 28.77 MB / 0.5057 GB, free: 0.7305 MB / 414.1 MB Notification: Performance of [INI] Partitioning: time 0.001026/0.4966, allocations: 212.4 kB / 0.5059 GB, free: 484 kB / 414.1 MB Notification: Performance of [INI] Cleanup: time 0.008107/0.5047, allocations: 2.784 MB / 0.5086 GB, free: 13.68 MB / 430.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.463418288039975] Failed to read output from testmodel.py, exit status != 0: ['time', 'mp2.S.v'] 0.9764650689903647 0.988039109 0.6038581580000001 Calling exit ...