Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Batteries.Examples.CCCVcharging.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.001858/0.001858, allocations: 107.1 kB / 21.24 MB, free: 0.6055 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.002333/0.002333, allocations: 219.1 kB / 24.54 MB, free: 3.898 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.479/1.479, allocations: 230.6 MB / 258.3 MB, free: 7.777 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.CCCVcharging.mo", OpenModelica.Scripting.instantiateModel(Modelica.Electrical.Batteries.Examples.CCCVcharging)) writeFile("Modelica.Electrical.Batteries.Examples.CCCVcharging.mo", OpenModelica.Scripting.instantiateModel(Modelica.Electrical.Batteries.Examples.CCCVcharging)) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001608/0.001608, allocations: 55.92 kB / 378.5 MB, free: 2.992 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2705/0.2721, allocations: 53.37 MB / 431.8 MB, free: 6.652 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Batteries.Examples.CCCVcharging): time 0.006614/0.2788, allocations: 3.7 MB / 435.5 MB, free: 2.941 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004366/0.2831, allocations: 1.948 MB / 437.5 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007119/0.2838, allocations: 55.56 kB / 437.5 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001494/0.2853, allocations: 0.5642 MB / 438.1 MB, free: 372 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008279/0.2862, allocations: 394.1 kB / 438.5 MB, free: 15.97 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007209/0.2869, allocations: 294.4 kB / 438.8 MB, free: 15.69 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001365/0.2882, allocations: 1.15 MB / 439.9 MB, free: 14.54 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004154/0.2887, allocations: 225 kB / 440.2 MB, free: 14.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001433/0.2901, allocations: 0.6865 MB / 440.8 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004314/0.2905, allocations: 358.4 kB / 441.2 MB, free: 13.28 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001077/0.2906, allocations: 64 kB / 441.3 MB, free: 13.22 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002619/0.2909, allocations: 116 kB / 441.4 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000332/0.2912, allocations: 370.8 kB / 441.7 MB, free: 12.74 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003724/0.2949, allocations: 2.909 MB / 444.6 MB, free: 9.832 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001859/0.2968, allocations: 1.563 MB / 446.2 MB, free: 8.262 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.2968, allocations: 0 / 446.2 MB, free: 8.262 MB / 350.1 MB Notification: Performance of runFrontEnd: time 7.41e-07/0.2968, allocations: 0 / 446.2 MB, free: 8.262 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001585/0.001585, allocations: 47.92 kB / 446.2 MB, free: 8.215 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1112, allocations: 53.35 MB / 499.6 MB, free: 2.758 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Batteries.Examples.CCCVcharging): time 0.005438/0.1166, allocations: 3.706 MB / 0.4915 GB, free: 15.03 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003594/0.1202, allocations: 1.94 MB / 0.4934 GB, free: 13.09 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004809/0.1207, allocations: 55.56 kB / 0.4935 GB, free: 13.03 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001257/0.122, allocations: 0.5759 MB / 0.494 GB, free: 12.45 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008649/0.1228, allocations: 398 kB / 0.4944 GB, free: 12.06 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007121/0.1235, allocations: 287.2 kB / 0.4947 GB, free: 11.79 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001432/0.125, allocations: 1.134 MB / 0.4958 GB, free: 10.65 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003979/0.1254, allocations: 225 kB / 0.496 GB, free: 10.43 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001579/0.127, allocations: 0.6837 MB / 0.4967 GB, free: 9.746 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004533/0.1274, allocations: 354.5 kB / 0.497 GB, free: 9.398 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001057/0.1275, allocations: 64 kB / 0.4971 GB, free: 9.336 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002903/0.1278, allocations: 123.9 kB / 0.4972 GB, free: 9.215 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003587/0.1282, allocations: 370.8 kB / 0.4975 GB, free: 8.852 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003973/0.1321, allocations: 2.925 MB / 0.5004 GB, free: 5.922 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001835/0.134, allocations: 1.56 MB / 0.5019 GB, free: 4.355 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.134, allocations: 0 / 0.5019 GB, free: 4.355 MB / 414.1 MB Notification: Performance of runFrontEnd: time 9.62e-07/0.134, allocations: 0 / 0.5019 GB, free: 4.355 MB / 414.1 MB " [Timeout remaining time 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Batteries.Examples.CCCVcharging.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Batteries.Examples.CCCVcharging.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Batteries.Examples.CCCVcharging.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Batteries.Examples.CCCVcharging.sim & /usr/bin/julia Modelica.Electrical.Batteries.Examples.CCCVcharging_test.jl > Modelica_4.1.0_Modelica.Electrical.Batteries.Examples.CCCVcharging.pipe 2>&1) [Timeout 504.0] [Calling os._exit(0), Time elapsed: 31.169195184949785] Failed to read output from testmodel.py, exit status != 0: ['time', 'battery.capacitor[1].v', 'battery.capacitor[2].v', 'battery.limIntegrator.y', 'energy.y'] 0.4394277771934867 -1.0 -1.0 Calling exit ...