Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Battery_NB_Battery.Examples.ElectricBattery_veryLarge.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.0003456/0.0003456, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.0003959/0.0007416, 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.0002587/0.0002587, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.0003457/0.0006043, 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.0694/0.0694, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.03223/0.1016, 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] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/Battery main/Examples/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: ElectricBattery Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Battery main/package.mo): time 0.0008749/0.0008749, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.0005599/0.001435, 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_veryLarge,startTime=0,stopTime=1800,tolerance=0.0001,numberOfIntervals=500,outputFormat="empty",variableFilter="",fileNamePrefix="Battery_NB_Battery.Examples.ElectricBattery_veryLarge",simflags="-abortSlowSimulation -alarm=240 -lv LOG_STATS") simulate(Battery.Examples.ElectricBattery_veryLarge,startTime=0,stopTime=1800,tolerance=0.0001,numberOfIntervals=500,outputFormat="empty",variableFilter="",fileNamePrefix="Battery_NB_Battery.Examples.ElectricBattery_veryLarge",simflags="-abortSlowSimulation -alarm=240 -lv LOG_STATS") [Timeout 640] "Notification: Performance of FrontEnd - Absyn->SCode: time 7.764e-06/7.764e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(Battery.Examples.ElectricBattery_veryLarge): time 0.003577/0.003585, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.001327/0.004912, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.0001465/0.005059, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.0001708/0.005229, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.0002712/0.005501, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.0002575/0.005758, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.008775/0.01453, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveArrayConnections: time 0.002144/0.01668, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.001051/0.01773, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.0004243/0.01815, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.0002758/0.01843, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.0002859/0.01871, allocations: 0 / 0, free: 0 / 0 Notification: Performance of combineBinaries: time 0.001187/0.0199, allocations: 0 / 0, free: 0 / 0 Notification: Performance of replaceArrayConstructors: time 0.0008098/0.02071, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.0001794/0.02089, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 6.701e-05/0.02096, 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: 808290 (153) * Number of variables: 808290 (147) Notification: Performance of [SIM] Bindings: time 0.009969/0.03093, allocations: 0 / 0, free: 0 / 0 Notification: Performance of [SIM] FunctionAlias: time 0.0004394/0.03137, allocations: 0 / 0, free: 0 / 0 Notification: Performance of [SIM] Early Inline: time 0.0029/0.03427, allocations: 0 / 0, free: 0 / 0 Notification: Performance of [SIM] Simplify: time 0.0003782/0.03464, allocations: 0 / 0, free: 0 / 0 Warning: NBAlias.selectStartByConfidence: Alias set with conflicting unfixed start values of equal confidence detected. Use -d=dumprepl for more information. Notification: Performance of [SIM] Alias: time 0.006883/0.04153, allocations: 0 / 0, free: 0 / 0 Notification: Performance of [SIM] Remove Stream: time 0.0001953/0.04172, allocations: 0 / 0, free: 0 / 0 Notification: Performance of [SIM] Algorithm Locals: time 0.0004164/0.04214, allocations: 0 / 0, free: 0 / 0 Notification: Performance of [SIM] Detect States: time 0.0004863/0.04262, allocations: 0 / 0, free: 0 / 0 Notification: Performance of [SIM] Events: time 0.0001903/0.04282, allocations: 0 / 0, free: 0 / 0 Notification: Performance of [SIM] Partitioning: time 0.001064/0.04388, allocations: 0 / 0, free: 0 / 0 Notification: Performance of [SIM] Causalize: time 0.009646/0.05352, allocations: 0 / 0, free: 0 / 0 Notification: Performance of [SIM] After Index Reduction Inline: time 0.002218/0.05574, allocations: 0 / 0, free: 0 / 0 Notification: Performance of [INI] Simplify: time 0.001756/0.0575, allocations: 0 / 0, free: 0 / 0 Notification: Performance of [INI] Inline: time 0.003373/0.06087, allocations: 0 / 0, free: 0 / 0 Notification: Performance of [INI] Partitioning: time 4.57e-05/0.06092, allocations: 0 / 0, free: 0 / 0 Notification: Performance of [INI] Cleanup: time 0.0004975/0.06141, allocations: 0 / 0, free: 0 / 0 Notification: Performance of [INI] Causalize: time 0.01248/0.07389, allocations: 0 / 0, free: 0 / 0 Notification: Performance of [INI] Tearing: time 0.005581/0.07947, allocations: 0 / 0, free: 0 / 0 Notification: Performance of [SIM] Initialization: time 1.915e-05/0.07949, allocations: 0 / 0, free: 0 / 0 Notification: Performance of [SIM] Remove Dummies: time 6.813e-06/0.0795, allocations: 0 / 0, free: 0 / 0 Notification: Performance of [SIM] Tearing: time 0.00657/0.08607, allocations: 0 / 0, free: 0 / 0 Notification: Performance of [SIM] Categorize: time 0.0008347/0.0869, allocations: 0 / 0, free: 0 / 0 Notification: Performance of [SIM] Solve: time 0.0008794/0.08778, allocations: 0 / 0, free: 0 / 0 Notification: Performance of [SIM] Jacobian: time 0.006966/0.09475, allocations: 0 / 0, free: 0 / 0 Notification: Performance of [SIM] Minimize Homotopy System: time 4.61e-07/0.09475, allocations: 0 / 0, free: 0 / 0 Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 1 * Number of algebraic partitions: ............... 10 * 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: ............................. 27003 (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 algorithm local 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: ........... 36 (scalar:36, 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: ........... 39 (scalar:39, 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: ... 5 (linear: 5, nonlinear:0) Notification: Performance of backend: time 1.695e-05/0.09477, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 0.01042/0.1052, allocations: 0 / 0, free: 0 / 0 [openmodelica_codegen_wasm_jit/src/CodegenWasmJit/entry.rs:35:13-35:13:writable] Error: Internal error CodegenWasmJit: cannot build simulation module for `Battery_NB_Battery.Examples.ElectricBattery_veryLarge`: CodegenWasmJit: negated alias of a resizable array " [Timeout remaining time 640] Failed to build model: Battery.Examples.ElectricBattery_veryLarge[Calling sys.exit(0), Time elapsed: 0.5092807076871395]