Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Battery_NB_Battery.Examples.ElectricBattery_large.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.0003846/0.0003846, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.0004155/0.0008002, 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.0002608/0.0002608, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.0003457/0.0006066, 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.0676/0.0676, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.03214/0.09974, 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.0008585/0.0008585, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.0005622/0.001421, 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_large,startTime=0,stopTime=1800,tolerance=0.0001,numberOfIntervals=500,outputFormat="empty",variableFilter="",fileNamePrefix="Battery_NB_Battery.Examples.ElectricBattery_large",simflags="-abortSlowSimulation -alarm=240 -lv LOG_STATS") simulate(Battery.Examples.ElectricBattery_large,startTime=0,stopTime=1800,tolerance=0.0001,numberOfIntervals=500,outputFormat="empty",variableFilter="",fileNamePrefix="Battery_NB_Battery.Examples.ElectricBattery_large",simflags="-abortSlowSimulation -alarm=240 -lv LOG_STATS") [Timeout 640] "Notification: Performance of FrontEnd - Absyn->SCode: time 9.107e-06/9.107e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(Battery.Examples.ElectricBattery_large): time 0.003866/0.003875, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.001351/0.005225, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.0002211/0.005446, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.0002524/0.005699, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.0004139/0.006113, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.0003617/0.006475, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.0037/0.01017, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveArrayConnections: time 0.00208/0.01225, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.0008077/0.01306, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.0004307/0.01349, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.0001469/0.01364, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.0001446/0.01378, allocations: 0 / 0, free: 0 / 0 Notification: Performance of combineBinaries: time 0.001084/0.01487, allocations: 0 / 0, free: 0 / 0 Notification: Performance of replaceArrayConstructors: time 0.0008917/0.01576, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 9.401e-05/0.01585, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 6.64e-05/0.01592, 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: 243290 (153) * Number of variables: 243290 (147) Notification: Performance of [SIM] Bindings: time 0.01001/0.02593, allocations: 0 / 0, free: 0 / 0 Notification: Performance of [SIM] FunctionAlias: time 0.0004482/0.02637, allocations: 0 / 0, free: 0 / 0 Notification: Performance of [SIM] Early Inline: time 0.002922/0.0293, allocations: 0 / 0, free: 0 / 0 Notification: Performance of [SIM] Simplify: time 0.000385/0.02968, 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.005957/0.03564, allocations: 0 / 0, free: 0 / 0 Notification: Performance of [SIM] Remove Stream: time 0.0001901/0.03583, allocations: 0 / 0, free: 0 / 0 Notification: Performance of [SIM] Algorithm Locals: time 0.0004206/0.03625, allocations: 0 / 0, free: 0 / 0 Notification: Performance of [SIM] Detect States: time 0.000493/0.03674, allocations: 0 / 0, free: 0 / 0 Notification: Performance of [SIM] Events: time 0.0001849/0.03693, allocations: 0 / 0, free: 0 / 0 Notification: Performance of [SIM] Partitioning: time 0.0009873/0.03791, allocations: 0 / 0, free: 0 / 0 Notification: Performance of [SIM] Causalize: time 0.009774/0.04769, allocations: 0 / 0, free: 0 / 0 Notification: Performance of [SIM] After Index Reduction Inline: time 0.002169/0.04986, allocations: 0 / 0, free: 0 / 0 Notification: Performance of [INI] Simplify: time 0.00148/0.05134, allocations: 0 / 0, free: 0 / 0 Notification: Performance of [INI] Inline: time 0.003291/0.05463, allocations: 0 / 0, free: 0 / 0 Notification: Performance of [INI] Partitioning: time 4.593e-05/0.05467, allocations: 0 / 0, free: 0 / 0 Notification: Performance of [INI] Cleanup: time 0.0004975/0.05517, allocations: 0 / 0, free: 0 / 0 Notification: Performance of [INI] Causalize: time 0.01247/0.06764, allocations: 0 / 0, free: 0 / 0 Notification: Performance of [INI] Tearing: time 0.005825/0.07347, allocations: 0 / 0, free: 0 / 0 Notification: Performance of [SIM] Initialization: time 1.99e-05/0.07349, allocations: 0 / 0, free: 0 / 0 Notification: Performance of [SIM] Remove Dummies: time 5.32e-06/0.07349, allocations: 0 / 0, free: 0 / 0 Notification: Performance of [SIM] Tearing: time 0.006622/0.08011, allocations: 0 / 0, free: 0 / 0 Notification: Performance of [SIM] Categorize: time 0.0008547/0.08097, allocations: 0 / 0, free: 0 / 0 Notification: Performance of [SIM] Solve: time 0.0008854/0.08185, allocations: 0 / 0, free: 0 / 0 Notification: Performance of [SIM] Jacobian: time 0.007002/0.08886, allocations: 0 / 0, free: 0 / 0 Notification: Performance of [SIM] Minimize Homotopy System: time 4.61e-07/0.08886, 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: ............................. 8003 (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.705e-05/0.08887, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 0.009952/0.09883, 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_large`: CodegenWasmJit: negated alias of a resizable array " [Timeout remaining time 640] Failed to build model: Battery.Examples.ElectricBattery_large[Calling sys.exit(0), Time elapsed: 0.49316622130572796]