Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Batteries.Examples.CCCV_StackRC.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.001377/0.001377, allocations: 107 kB / 21.23 MB, free: 0.6406 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.001521/0.001521, allocations: 214 kB / 24.53 MB, free: 3.941 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.532/1.532, allocations: 230.6 MB / 258.3 MB, free: 7.812 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: writeFile("Modelica.Electrical.Batteries.Examples.CCCV_StackRC.mo", OpenModelica.Scripting.instantiateModel(Modelica.Electrical.Batteries.Examples.CCCV_StackRC)) writeFile("Modelica.Electrical.Batteries.Examples.CCCV_StackRC.mo", OpenModelica.Scripting.instantiateModel(Modelica.Electrical.Batteries.Examples.CCCV_StackRC)) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001609/0.001609, allocations: 51.92 kB / 378.5 MB, free: 3.023 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3166/0.3182, allocations: 53.37 MB / 431.8 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Batteries.Examples.CCCV_StackRC): time 0.01253/0.3307, allocations: 9.762 MB / 441.6 MB, free: 12.89 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006669/0.3374, allocations: 3.638 MB / 445.2 MB, free: 9.246 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00147/0.3389, allocations: 123 kB / 445.4 MB, free: 9.125 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008286/0.3472, allocations: 5.869 MB / 451.2 MB, free: 3.246 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001933/0.3491, allocations: 0.5317 MB / 451.8 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001317/0.3504, allocations: 0.522 MB / 452.3 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.02684/0.3772, allocations: 22.69 MB / 475 MB, free: 11.46 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009427/0.3867, allocations: 6.574 MB / 481.6 MB, free: 4.801 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3975/0.7842, allocations: 142 MB / 0.6089 GB, free: 37.58 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006718/0.7909, allocations: 3.176 MB / 0.612 GB, free: 34.94 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00282/0.7937, allocations: 0.7461 MB / 0.6127 GB, free: 34.19 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003905/0.7976, allocations: 0.8058 MB / 0.6135 GB, free: 33.39 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002795/0.8004, allocations: 2.598 MB / 0.6161 GB, free: 30.81 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02726/0.8277, allocations: 23.87 MB / 0.6394 GB, free: 7.223 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01452/0.8422, allocations: 15.36 MB / 0.6544 GB, free: 8.152 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.476e-06/0.8422, allocations: 0 / 0.6544 GB, free: 8.152 MB / 462.1 MB Notification: Performance of runFrontEnd: time 1.513e-06/0.8422, allocations: 4 kB / 0.6544 GB, free: 8.148 MB / 462.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001633/0.001633, allocations: 52.02 kB / 0.6544 GB, free: 8.098 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1103, allocations: 53.36 MB / 0.7065 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Batteries.Examples.CCCV_StackRC): time 0.01284/0.1231, allocations: 9.75 MB / 0.7161 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.007196/0.1303, allocations: 3.652 MB / 0.7196 GB, free: 8.477 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002199/0.1325, allocations: 130.9 kB / 0.7197 GB, free: 8.348 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.00832/0.1408, allocations: 5.853 MB / 0.7255 GB, free: 2.484 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002076/0.1429, allocations: 0.5317 MB / 0.726 GB, free: 1.949 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001324/0.1442, allocations: 0.5225 MB / 0.7265 GB, free: 1.43 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.2564/0.4006, allocations: 22.71 MB / 0.7487 GB, free: 180 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008994/0.4096, allocations: 6.567 MB / 0.7551 GB, free: 179.6 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.1155/0.5251, allocations: 142 MB / 0.8937 GB, free: 56.09 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005288/0.5304, allocations: 3.166 MB / 0.8968 GB, free: 52.95 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.002063/0.5325, allocations: 0.7461 MB / 0.8975 GB, free: 52.2 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00282/0.5353, allocations: 0.7971 MB / 0.8983 GB, free: 51.41 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.003141/0.5384, allocations: 2.616 MB / 0.9009 GB, free: 48.81 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.02902/0.5674, allocations: 23.86 MB / 0.9242 GB, free: 25.31 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01286/0.5803, allocations: 15.38 MB / 0.9392 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 9.217e-06/0.5803, allocations: 0 / 0.9392 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of runFrontEnd: time 1.573e-06/0.5803, allocations: 0 / 0.9392 GB, free: 10.24 MB / 0.5294 GB " [Timeout remaining time 659] (rm -f Modelica_4.1.0_Modelica.Electrical.Batteries.Examples.CCCV_StackRC.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Batteries.Examples.CCCV_StackRC.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Batteries.Examples.CCCV_StackRC.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Batteries.Examples.CCCV_StackRC.sim & /usr/bin/julia Modelica.Electrical.Batteries.Examples.CCCV_StackRC_test.jl > Modelica_4.1.0_Modelica.Electrical.Batteries.Examples.CCCV_StackRC.pipe 2>&1) [Timeout 504.0] [Calling os._exit(0), Time elapsed: 36.0815238612704] Failed to read output from testmodel.py, exit status != 0: ['time', 'energy.y', 'stack.cell[1, 1].cell.capacitor[1].v', 'stack.cell[1, 1].cell.capacitor[2].v', 'stack.cell[1, 1].cell.limIntegrator.y', 'stack.cell[1, 1].limIntegrator.y', 'stack.cell[1, 2].cell.capacitor[1].v', 'stack.cell[1, 2].cell.capacitor[2].v', 'stack.cell[1, 2].cell.limIntegrator.y', 'stack.cell[1, 2].limIntegrator.y', 'stack.cell[2, 1].cell.capacitor[1].v', 'stack.cell[2, 1].cell.capacitor[2].v', 'stack.cell[2, 1].cell.limIntegrator.y', 'stack.cell[2, 1].limIntegrator.y', 'stack.cell[2, 2].cell.capacitor[1].v', 'stack.cell[2, 2].cell.capacitor[2].v', 'stack.cell[2, 2].cell.limIntegrator.y', 'stack.cell[2, 2].limIntegrator.y', 'stack.cell[3, 1].cell.capacitor[1].v', 'stack.cell[3, 1].cell.capacitor[2].v', 'stack.cell[3, 1].cell.limIntegrator.y', 'stack.cell[3, 1].limIntegrator.y', 'stack.cell[3, 2].cell.capacitor[1].v', 'stack.cell[3, 2].cell.capacitor[2].v', 'stack.cell[3, 2].cell.limIntegrator.y', 'stack.cell[3, 2].limIntegrator.y'] 1.4307097792625427 -1.0 -1.0 Calling exit ...