Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Battery_NB_Battery.Examples.ElectricBattery_medium.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.0003461/0.0003461, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.0004219/0.000768, 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.0002574/0.0002574, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.0004218/0.0006792, 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.06702/0.06702, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.03355/0.1006, 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.0007536/0.0007536, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.0004481/0.001202, 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_medium,startTime=0,stopTime=1800,tolerance=0.0001,numberOfIntervals=500,outputFormat="empty",variableFilter="",fileNamePrefix="Battery_NB_Battery.Examples.ElectricBattery_medium",simflags="-abortSlowSimulation -alarm=240 -lv LOG_STATS") simulate(Battery.Examples.ElectricBattery_medium,startTime=0,stopTime=1800,tolerance=0.0001,numberOfIntervals=500,outputFormat="empty",variableFilter="",fileNamePrefix="Battery_NB_Battery.Examples.ElectricBattery_medium",simflags="-abortSlowSimulation -alarm=240 -lv LOG_STATS") [Timeout 640] "Notification: Performance of FrontEnd - Absyn->SCode: time 7.394e-06/7.394e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(Battery.Examples.ElectricBattery_medium): time 0.003542/0.00355, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.001344/0.004894, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.0001433/0.005037, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.0001771/0.005214, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.0002865/0.0055, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.0002606/0.005761, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.001527/0.007288, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveArrayConnections: time 0.002344/0.009633, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.000719/0.01035, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.000429/0.01078, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 9.647e-05/0.01088, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 9.108e-05/0.01097, allocations: 0 / 0, free: 0 / 0 Notification: Performance of combineBinaries: time 0.00109/0.01206, allocations: 0 / 0, free: 0 / 0 Notification: Performance of replaceArrayConstructors: time 0.000804/0.01286, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 6.264e-05/0.01292, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 6.713e-05/0.01299, 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: 31890 (153) * Number of variables: 31890 (147) Notification: Performance of [SIM] Bindings: time 0.01042/0.02341, allocations: 0 / 0, free: 0 / 0 Notification: Performance of [SIM] FunctionAlias: time 0.0004619/0.02387, allocations: 0 / 0, free: 0 / 0 Notification: Performance of [SIM] Early Inline: time 0.003034/0.02691, allocations: 0 / 0, free: 0 / 0 Notification: Performance of [SIM] Simplify: time 0.0003954/0.0273, 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.005619/0.03292, allocations: 0 / 0, free: 0 / 0 Notification: Performance of [SIM] Remove Stream: time 0.0001968/0.03312, allocations: 0 / 0, free: 0 / 0 Notification: Performance of [SIM] Algorithm Locals: time 0.0004306/0.03355, allocations: 0 / 0, free: 0 / 0 Notification: Performance of [SIM] Detect States: time 0.0005/0.03405, allocations: 0 / 0, free: 0 / 0 Notification: Performance of [SIM] Events: time 0.0002138/0.03426, allocations: 0 / 0, free: 0 / 0 Notification: Performance of [SIM] Partitioning: time 0.001111/0.03537, allocations: 0 / 0, free: 0 / 0 Notification: Performance of [SIM] Causalize: time 0.009953/0.04533, allocations: 0 / 0, free: 0 / 0 Notification: Performance of [SIM] After Index Reduction Inline: time 0.002263/0.04759, allocations: 0 / 0, free: 0 / 0 Notification: Performance of [INI] Simplify: time 0.001471/0.04906, allocations: 0 / 0, free: 0 / 0 Notification: Performance of [INI] Inline: time 0.003321/0.05238, allocations: 0 / 0, free: 0 / 0 Notification: Performance of [INI] Partitioning: time 4.701e-05/0.05243, allocations: 0 / 0, free: 0 / 0 Notification: Performance of [INI] Cleanup: time 0.0005434/0.05297, allocations: 0 / 0, free: 0 / 0 Notification: Performance of [INI] Causalize: time 0.01253/0.0655, allocations: 0 / 0, free: 0 / 0 Notification: Performance of [INI] Tearing: time 0.005953/0.07145, allocations: 0 / 0, free: 0 / 0 Notification: Performance of [SIM] Initialization: time 1.867e-05/0.07147, allocations: 0 / 0, free: 0 / 0 Notification: Performance of [SIM] Remove Dummies: time 1.004e-05/0.07148, allocations: 0 / 0, free: 0 / 0 Notification: Performance of [SIM] Tearing: time 0.006572/0.07805, allocations: 0 / 0, free: 0 / 0 Notification: Performance of [SIM] Categorize: time 0.0008494/0.0789, allocations: 0 / 0, free: 0 / 0 Notification: Performance of [SIM] Solve: time 0.001052/0.07995, allocations: 0 / 0, free: 0 / 0 Notification: Performance of [SIM] Jacobian: time 0.007134/0.08709, allocations: 0 / 0, free: 0 / 0 Notification: Performance of [SIM] Minimize Homotopy System: time 4.5e-07/0.08709, 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: ............................. 1003 (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 2.249e-05/0.08711, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 0.01053/0.09764, 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_medium`: CodegenWasmJit: negated alias of a resizable array " [Timeout remaining time 640] Failed to build model: Battery.Examples.ElectricBattery_medium[Calling sys.exit(0), Time elapsed: 0.48397366888821125]