Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Battery_NB_Battery.Examples.ElectricBattery.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "[:1:22-1:33:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 51539607552 into a real Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0003359/0.0003359, allocations: 0 / 0, free: 0 / 0 " [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.0002677/0.0002677, allocations: 0 / 0, free: 0 / 0 " [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 0.06839/0.06839, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Battery main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Battery main/package.mo): time 0.0007014/0.0007014, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] Using package Battery with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Battery main/package.mo) 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: simulate(Battery.Examples.ElectricBattery,startTime=0,stopTime=1800,tolerance=1e-06,numberOfIntervals=2500,outputFormat="empty",variableFilter="",fileNamePrefix="Battery_NB_Battery.Examples.ElectricBattery",simflags="-abortSlowSimulation -alarm=240 -lv LOG_STATS") simulate(Battery.Examples.ElectricBattery,startTime=0,stopTime=1800,tolerance=1e-06,numberOfIntervals=2500,outputFormat="empty",variableFilter="",fileNamePrefix="Battery_NB_Battery.Examples.ElectricBattery",simflags="-abortSlowSimulation -alarm=240 -lv LOG_STATS") [Timeout 640] "Notification: Performance of FrontEnd - Absyn->SCode: time 8.045e-06/8.045e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(Battery.Examples.ElectricBattery): time 0.003652/0.00366, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.001381/0.005041, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.0001574/0.005198, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.000199/0.005397, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.0003037/0.005701, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.0002647/0.005966, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.001235/0.007201, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveArrayConnections: time 0.002192/0.009393, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.0006097/0.01, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.0005257/0.01053, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 9.656e-05/0.01062, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 8.876e-05/0.01071, allocations: 0 / 0, free: 0 / 0 Notification: Performance of combineBinaries: time 0.001097/0.01181, allocations: 0 / 0, free: 0 / 0 Notification: Performance of replaceArrayConstructors: time 0.0008038/0.01261, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 5.548e-05/0.01267, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 6.315e-05/0.01273, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4415 (153) * Number of variables: 4415 (147) Notification: Performance of [SIM] Bindings: time 0.009633/0.02237, allocations: 0 / 0, free: 0 / 0 Notification: Performance of [SIM] FunctionAlias: time 0.0004555/0.02282, allocations: 0 / 0, free: 0 / 0 Notification: Performance of [SIM] Early Inline: time 0.002955/0.02578, allocations: 0 / 0, free: 0 / 0 Notification: Performance of [SIM] Simplify 1: time 0.0003883/0.02616, allocations: 0 / 0, free: 0 / 0 Notification: Performance of [SIM] Alias: time 0.002405/0.02857, allocations: 0 / 0, free: 0 / 0 Notification: Performance of [SIM] Simplify 2: time 0.000325/0.02889, allocations: 0 / 0, free: 0 / 0 Notification: Performance of [SIM] Remove Stream: time 0.0002233/0.02912, allocations: 0 / 0, free: 0 / 0 Notification: Performance of [SIM] Detect States: time 0.0005459/0.02966, allocations: 0 / 0, free: 0 / 0 Notification: Performance of [SIM] Events: time 0.0001949/0.02986, allocations: 0 / 0, free: 0 / 0 Notification: Performance of [SIM] Partitioning: time 0.0009898/0.03085, allocations: 0 / 0, free: 0 / 0 Notification: Performance of [SIM] Causalize: time 0.01031/0.04116, allocations: 0 / 0, free: 0 / 0 Notification: Performance of [SIM] After Index Reduction Inline: time 0.002519/0.04368, allocations: 0 / 0, free: 0 / 0 Notification: Performance of [INI] Simplify: time 0.001389/0.04507, allocations: 0 / 0, free: 0 / 0 Notification: Performance of [INI] Inline: time 0.003822/0.04889, allocations: 0 / 0, free: 0 / 0 Notification: Performance of [INI] Partitioning: time 5.435e-05/0.04894, allocations: 0 / 0, free: 0 / 0 Notification: Performance of [INI] Cleanup: time 0.000473/0.04942, allocations: 0 / 0, free: 0 / 0 Notification: Performance of [INI] Causalize: time 0.01268/0.0621, allocations: 0 / 0, free: 0 / 0 Notification: Performance of [INI] Tearing: time 0.005982/0.06808, allocations: 0 / 0, free: 0 / 0 Notification: Performance of [SIM] Initialization: time 1.519e-05/0.06809, allocations: 0 / 0, free: 0 / 0 Notification: Performance of [SIM] Remove Dummies: time 4.308e-06/0.0681, allocations: 0 / 0, free: 0 / 0 Notification: Performance of [SIM] Tearing: time 0.006004/0.0741, allocations: 0 / 0, free: 0 / 0 Notification: Performance of [SIM] Categorize: time 7.334e-06/0.07411, allocations: 0 / 0, free: 0 / 0 Notification: Performance of [SIM] Solve: time 0.001034/0.07514, allocations: 0 / 0, free: 0 / 0 Notification: Performance of [SIM] Jacobian: time 0.007637/0.08278, allocations: 0 / 0, free: 0 / 0 Notification: Performance of [SIM] Minimize Homotopy System: time 4.81e-07/0.08278, allocations: 0 / 0, free: 0 / 0 Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 1 * Number of algebraic partitions: ............... 9 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 0 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 128 (4) {battery.electricalModel.capacitorC1.Q, battery.electricalModel.capacitorC2.Q, battery.electricalModel.SoC, battery.discreteElement.T} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 0 (0) {} * Number of clocks: ............................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 42 (scalar:42, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 41 (resizable: 37, generic: 4, entwined:0) * Number of algebraic-loop strong components: ... 6 (linear: 6, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 45 (scalar:45, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 42 (resizable: 38, generic: 4, entwined:0) * Number of algebraic-loop strong components: ... 6 (linear: 6, nonlinear:0) Notification: Performance of backend: time 1.627e-05/0.0828, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 0.009938/0.09273, allocations: 0 / 0, free: 0 / 0 Error: Error parsing unit %: Parse error Error: Error parsing unit Ah: Prefix not found Error: Error parsing unit %: Parse error " [Timeout remaining time 640] Failed to build model: Battery.Examples.ElectricBattery[Calling sys.exit(0), Time elapsed: 0.5301204584538937]