Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Batteries.Examples.BatteryDischargeCharge.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.002018/0.002018, allocations: 107 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.002195/0.002195, allocations: 216.3 kB / 24.53 MB, free: 3.91 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.512/1.512, allocations: 230.6 MB / 258.3 MB, free: 7.809 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.BatteryDischargeCharge.mo", OpenModelica.Scripting.instantiateModel(Modelica.Electrical.Batteries.Examples.BatteryDischargeCharge)) writeFile("Modelica.Electrical.Batteries.Examples.BatteryDischargeCharge.mo", OpenModelica.Scripting.instantiateModel(Modelica.Electrical.Batteries.Examples.BatteryDischargeCharge)) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001726/0.001726, allocations: 43.92 kB / 378.5 MB, free: 3.016 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2885/0.2902, allocations: 53.37 MB / 431.9 MB, free: 6.664 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Batteries.Examples.BatteryDischargeCharge): time 0.00751/0.2977, allocations: 5.211 MB / 437.1 MB, free: 1.438 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005087/0.3028, allocations: 2.592 MB / 439.7 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009388/0.3038, allocations: 107.1 kB / 439.8 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001765/0.3055, allocations: 0.7544 MB / 440.5 MB, free: 13.97 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001386/0.3069, allocations: 0.5594 MB / 441.1 MB, free: 13.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001201/0.3081, allocations: 0.5138 MB / 441.6 MB, free: 12.9 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002186/0.3103, allocations: 1.784 MB / 443.4 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007577/0.311, allocations: 407.1 kB / 443.8 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002533/0.3136, allocations: 1.05 MB / 444.8 MB, free: 9.645 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007673/0.3143, allocations: 0.5599 MB / 445.4 MB, free: 9.082 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001813/0.3145, allocations: 104 kB / 445.5 MB, free: 8.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004485/0.315, allocations: 180 kB / 445.7 MB, free: 8.805 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005234/0.3155, allocations: 0.5022 MB / 446.2 MB, free: 8.301 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005834/0.3213, allocations: 4.125 MB / 450.3 MB, free: 4.168 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002549/0.3239, allocations: 2.193 MB / 452.5 MB, free: 1.965 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.3239, allocations: 4 kB / 452.5 MB, free: 1.961 MB / 350.1 MB Notification: Performance of runFrontEnd: time 8.61e-07/0.3239, allocations: 3.938 kB / 452.5 MB, free: 1.957 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001561/0.001561, allocations: 47.94 kB / 452.5 MB, free: 1.91 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.13, allocations: 53.36 MB / 0.494 GB, free: 12.45 MB / 414.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Batteries.Examples.BatteryDischargeCharge): time 0.007509/0.1375, allocations: 5.201 MB / 0.4991 GB, free: 7.227 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004906/0.1424, allocations: 2.602 MB / 0.5017 GB, free: 4.617 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007088/0.1432, allocations: 111.1 kB / 0.5018 GB, free: 4.508 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001536/0.1447, allocations: 0.7349 MB / 0.5025 GB, free: 3.77 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001282/0.146, allocations: 0.5672 MB / 0.503 GB, free: 3.199 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001315/0.1473, allocations: 0.5222 MB / 0.5035 GB, free: 2.68 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002468/0.1498, allocations: 1.781 MB / 0.5053 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007234/0.1505, allocations: 407.1 kB / 0.5057 GB, free: 488 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002407/0.1529, allocations: 1.047 MB / 0.5067 GB, free: 15.44 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006971/0.1536, allocations: 0.5677 MB / 0.5072 GB, free: 14.87 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001717/0.1538, allocations: 104 kB / 0.5073 GB, free: 14.77 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003967/0.1542, allocations: 175.9 kB / 0.5075 GB, free: 14.6 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004945/0.1546, allocations: 0.4984 MB / 0.508 GB, free: 14.1 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005195/0.1598, allocations: 4.116 MB / 0.512 GB, free: 9.973 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002656/0.1625, allocations: 2.197 MB / 0.5142 GB, free: 7.766 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1625, allocations: 0 / 0.5142 GB, free: 7.766 MB / 430.1 MB Notification: Performance of runFrontEnd: time 1.092e-06/0.1625, allocations: 4 kB / 0.5142 GB, free: 7.762 MB / 430.1 MB " [Timeout remaining time 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Batteries.Examples.BatteryDischargeCharge.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Batteries.Examples.BatteryDischargeCharge.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Batteries.Examples.BatteryDischargeCharge.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Batteries.Examples.BatteryDischargeCharge.sim & /usr/bin/julia Modelica.Electrical.Batteries.Examples.BatteryDischargeCharge_test.jl > Modelica_4.1.0_Modelica.Electrical.Batteries.Examples.BatteryDischargeCharge.pipe 2>&1) [Timeout 504.0] [Calling os._exit(0), Time elapsed: 31.57108395220712] Failed to read output from testmodel.py, exit status != 0: ['time', 'battery1.limIntegrator.y', 'battery2.capacitor[1].v', 'battery2.capacitor[2].v', 'battery2.limIntegrator.y', 'energy1.y', 'energy2.y'] 0.4942217320203781 -1.0 -1.0 Calling exit ...