Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.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.001206/0.001206, allocations: 108.3 kB / 19.71 MB, free: 2.152 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.001401/0.001401, allocations: 217.1 kB / 23.01 MB, free: 4.961 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.324/1.324, allocations: 230.6 MB / 256.8 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.1283/0.1283, allocations: 23.91 MB / 337.1 MB, free: 10.95 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/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: translateModel(Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2") translateModel(Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.646e-05/1.646e-05, allocations: 9.734 kB / 472.4 MB, free: 7.031 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Obsolete.mo:14335:7-14335:66:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Obsolete.mo:14335:7-14335:66:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"system\" component but an inner \"system\" component is not defined. For simulation drag Modelica.Fluid.System into your model to specify system properties. Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2): time 0.06786/0.06788, allocations: 27.1 MB / 499.5 MB, free: 12.04 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01968/0.08756, allocations: 16.04 MB / 0.5035 GB, free: 11.94 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009658/0.08853, allocations: 23.81 kB / 0.5035 GB, free: 11.91 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00119/0.08972, allocations: 432.6 kB / 0.5039 GB, free: 11.49 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002366/0.09208, allocations: 0.8069 MB / 0.5047 GB, free: 10.68 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007234/0.09932, allocations: 2.85 MB / 0.5075 GB, free: 7.809 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002172/0.1015, allocations: 1.845 MB / 0.5093 GB, free: 5.957 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000897/0.1024, allocations: 0.7276 MB / 0.51 GB, free: 5.211 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007922/0.1032, allocations: 0.7907 MB / 0.5107 GB, free: 4.418 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009098/0.1041, allocations: 0.8056 MB / 0.5115 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002017/0.1043, allocations: 140 kB / 0.5117 GB, free: 3.473 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003744/0.108, allocations: 1.751 MB / 0.5134 GB, free: 1.719 MB / 382.1 MB Notification: Performance of combineBinaries: time 0.1702/0.2782, allocations: 2.747 MB / 0.5161 GB, free: 33.26 MB / 382.1 MB Notification: Performance of replaceArrayConstructors: time 0.001149/0.2794, allocations: 1.679 MB / 0.5177 GB, free: 32.7 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002668/0.2796, allocations: 134.6 kB / 0.5178 GB, free: 32.7 MB / 382.1 MB Notification: Performance of FrontEnd: time 0.0002294/0.2799, allocations: 74.48 kB / 0.5179 GB, free: 32.7 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 303 (297) * Number of variables: 303 (294) Notification: Performance of [SIM] Bindings: time 0.004922/0.2848, allocations: 6.963 MB / 0.5247 GB, free: 29.86 MB / 382.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0009505/0.2857, allocations: 0.9616 MB / 0.5256 GB, free: 29.76 MB / 382.1 MB Notification: Performance of [SIM] Early Inline: time 0.007733/0.2935, allocations: 6.94 MB / 0.5324 GB, free: 27.88 MB / 382.1 MB Notification: Performance of [SIM] Simplify 1: time 0.001658/0.2951, allocations: 1.249 MB / 0.5336 GB, free: 27.36 MB / 382.1 MB Notification: Performance of [SIM] Alias: time 0.007697/0.3028, allocations: 6.458 MB / 0.5399 GB, free: 24.26 MB / 382.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0009196/0.3038, allocations: 0.899 MB / 0.5408 GB, free: 23.91 MB / 382.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0002126/0.304, allocations: 282.3 kB / 0.5411 GB, free: 23.75 MB / 382.1 MB Notification: Performance of [SIM] Detect States: time 0.0005039/0.3045, allocations: 0.6547 MB / 0.5417 GB, free: 23.37 MB / 382.1 MB Notification: Performance of [SIM] Events: time 0.0002172/0.3047, allocations: 212.5 kB / 0.5419 GB, free: 23.29 MB / 382.1 MB Notification: Performance of [SIM] Partitioning: time 0.001193/0.3059, allocations: 1.507 MB / 0.5434 GB, free: 22.44 MB / 382.1 MB Notification: Performance of [SIM] Causalize: time 0.00185/0.3077, allocations: 2.033 MB / 0.5454 GB, free: 21.54 MB / 382.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001372/0.3091, allocations: 2.138 MB / 0.5475 GB, free: 20.61 MB / 382.1 MB Notification: Performance of [INI] Simplify: time 0.00178/0.3109, allocations: 1.761 MB / 0.5492 GB, free: 19.81 MB / 382.1 MB Notification: Performance of [INI] Inline: time 0.003163/0.314, allocations: 4.647 MB / 0.5537 GB, free: 16.79 MB / 382.1 MB Notification: Performance of [INI] Partitioning: time 8.273e-05/0.3141, allocations: 57 kB / 0.5538 GB, free: 16.75 MB / 382.1 MB Notification: Performance of [INI] Cleanup: time 0.000327/0.3145, allocations: 0.5612 MB / 0.5543 GB, free: 16.33 MB / 382.1 MB Notification: Performance of [INI] Causalize: time 0.002468/0.3169, allocations: 2.564 MB / 0.5568 GB, free: 14.98 MB / 382.1 MB Notification: Performance of [INI] Tearing: time 0.0001344/0.3171, allocations: 161.3 kB / 0.557 GB, free: 14.83 MB / 382.1 MB Notification: Performance of [SIM] Initialization: time 5.81e-07/0.3171, allocations: 3.938 kB / 0.557 GB, free: 14.83 MB / 382.1 MB Notification: Performance of [SIM] Remove Dummies: time 1.67e-05/0.3171, allocations: 12.22 kB / 0.557 GB, free: 14.82 MB / 382.1 MB Notification: Performance of [SIM] Tearing: time 9.509e-05/0.3172, allocations: 140.8 kB / 0.5571 GB, free: 14.7 MB / 382.1 MB Notification: Performance of [SIM] Categorize: time 3.234e-05/0.3172, allocations: 18.45 kB / 0.5572 GB, free: 14.68 MB / 382.1 MB Notification: Performance of [SIM] Solve: time 0.002652/0.3199, allocations: 3.008 MB / 0.5601 GB, free: 11.94 MB / 382.1 MB Notification: Performance of [SIM] Jacobian: time 0.0008864/0.3207, allocations: 1.283 MB / 0.5613 GB, free: 10.55 MB / 382.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 27 * Number of ODE event partitions: ............... 1 * 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: ............................. 2 (2) {electrone.temperature, electrone1.temperature} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 4 (4) {$SEV_3, $SEV_2, $SEV_1, $SEV_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: ........... 95 (scalar:85, array:10, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 3 (linear: 3, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 144 (scalar:134, array:10, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 3 (linear: 3, nonlinear:0) Notification: Performance of backend: time 4.65e-05/0.3208, allocations: 62.72 kB / 0.5614 GB, free: 10.5 MB / 382.1 MB Error: Internal error NSimStrongComponent.Block.createResidual failed for [ARRY] (2) $RES_SIM_76 = electrodeReaction.h_mix * fill(1.0, 2) .- electrodeReaction.products.h_outflow ($RES_SIM_76) " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.5795864718966186] Failed to read output from testmodel.py, exit status != 0: 0.3318821480497718 0.341970284 0.059155655 Calling exit ...