Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardLeadAcidPotential.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.001191/0.001191, allocations: 104.3 kB / 19.72 MB, free: 2.145 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.00129/0.00129, allocations: 210.7 kB / 23 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.299/1.299, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.1248/0.1248, allocations: 23.89 MB / 337.1 MB, free: 10.97 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/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.StandardLeadAcidPotential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardLeadAcidPotential") translateModel(Chemical.Obsolete.Examples.CheckSubstancesData.StandardLeadAcidPotential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardLeadAcidPotential") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.386e-05/2.386e-05, allocations: 5.797 kB / 472.3 MB, free: 7.066 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Obsolete.mo:14337:7-14337: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 2.0.0/Obsolete.mo:14337:7-14337: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.StandardLeadAcidPotential): time 0.0694/0.06942, allocations: 28.61 MB / 0.4892 GB, free: 10.57 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02872/0.09814, allocations: 24.85 MB / 0.5135 GB, free: 1.621 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009601/0.0991, allocations: 35.69 kB / 0.5135 GB, free: 1.586 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001442/0.1005, allocations: 0.601 MB / 0.5141 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.1593/0.2598, allocations: 1.275 MB / 0.5153 GB, free: 29.18 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01006/0.2699, allocations: 4.344 MB / 0.5196 GB, free: 29.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002774/0.2727, allocations: 2.424 MB / 0.5219 GB, free: 29.16 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001114/0.2738, allocations: 0.9231 MB / 0.5228 GB, free: 29.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001215/0.275, allocations: 1.145 MB / 0.524 GB, free: 29.09 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001284/0.2763, allocations: 1.147 MB / 0.5251 GB, free: 28.99 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002707/0.2765, allocations: 169 kB / 0.5252 GB, free: 28.99 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00632/0.2829, allocations: 2.612 MB / 0.5278 GB, free: 28.96 MB / 382.1 MB Notification: Performance of combineBinaries: time 0.002201/0.2851, allocations: 3.577 MB / 0.5313 GB, free: 27.36 MB / 382.1 MB Notification: Performance of replaceArrayConstructors: time 0.0008669/0.2859, allocations: 2.14 MB / 0.5334 GB, free: 26.05 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003115/0.2862, allocations: 169.8 kB / 0.5335 GB, free: 26.05 MB / 382.1 MB Notification: Performance of FrontEnd: time 0.0001987/0.2864, allocations: 101.3 kB / 0.5336 GB, free: 26.04 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: 376 (362) * Number of variables: 376 (355) Notification: Performance of [SIM] Bindings: time 0.005411/0.2919, allocations: 9.047 MB / 0.5425 GB, free: 20.93 MB / 382.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.001112/0.293, allocations: 1.384 MB / 0.5438 GB, free: 20.31 MB / 382.1 MB Notification: Performance of [SIM] Early Inline: time 0.007981/0.3009, allocations: 9.647 MB / 0.5532 GB, free: 16.02 MB / 382.1 MB Notification: Performance of [SIM] Simplify 1: time 0.002001/0.3029, allocations: 1.917 MB / 0.5551 GB, free: 14.99 MB / 382.1 MB Notification: Performance of [SIM] Alias: time 0.007028/0.31, allocations: 8.105 MB / 0.563 GB, free: 6.547 MB / 382.1 MB Notification: Performance of [SIM] Simplify 2: time 0.001278/0.3113, allocations: 1.538 MB / 0.5645 GB, free: 5.25 MB / 382.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0002683/0.3115, allocations: 371.7 kB / 0.5649 GB, free: 4.875 MB / 382.1 MB Notification: Performance of [SIM] Detect States: time 0.0005724/0.3121, allocations: 0.8638 MB / 0.5657 GB, free: 3.988 MB / 382.1 MB Notification: Performance of [SIM] Events: time 0.0002565/0.3124, allocations: 313.3 kB / 0.566 GB, free: 3.691 MB / 382.1 MB Notification: Performance of [SIM] Partitioning: time 0.001257/0.3136, allocations: 2.096 MB / 0.5681 GB, free: 1.359 MB / 382.1 MB Notification: Performance of [SIM] Causalize: time 0.002774/0.3164, allocations: 2.739 MB / 0.5707 GB, free: 14.35 MB / 398.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.002618/0.319, allocations: 2.904 MB / 0.5736 GB, free: 11.51 MB / 398.1 MB Notification: Performance of [INI] Simplify: time 0.003568/0.3226, allocations: 2.765 MB / 0.5763 GB, free: 8.93 MB / 398.1 MB Notification: Performance of [INI] Inline: time 0.006623/0.3292, allocations: 6.216 MB / 0.5823 GB, free: 2.91 MB / 398.1 MB Notification: Performance of [INI] Partitioning: time 0.0001338/0.3293, allocations: 60.06 kB / 0.5824 GB, free: 2.832 MB / 398.1 MB Notification: Performance of [INI] Cleanup: time 0.0006536/0.33, allocations: 0.7046 MB / 0.5831 GB, free: 2.156 MB / 398.1 MB Notification: Performance of [INI] Causalize: time 0.004555/0.3345, allocations: 3.511 MB / 0.5865 GB, free: 14.62 MB / 414.1 MB Notification: Performance of [INI] Tearing: time 0.0002459/0.3348, allocations: 215.5 kB / 0.5867 GB, free: 14.42 MB / 414.1 MB Notification: Performance of [SIM] Initialization: time 5.21e-07/0.3348, allocations: 0 / 0.5867 GB, free: 14.42 MB / 414.1 MB Notification: Performance of [SIM] Remove Dummies: time 3.515e-05/0.3348, allocations: 12.94 kB / 0.5867 GB, free: 14.41 MB / 414.1 MB Notification: Performance of [SIM] Tearing: time 0.0001874/0.335, allocations: 198.4 kB / 0.5869 GB, free: 14.23 MB / 414.1 MB Notification: Performance of [SIM] Categorize: time 4.846e-05/0.3351, allocations: 15.86 kB / 0.5869 GB, free: 14.21 MB / 414.1 MB Notification: Performance of [SIM] Solve: time 0.004943/0.34, allocations: 4.001 MB / 0.5909 GB, free: 10.54 MB / 414.1 MB Notification: Performance of [SIM] Jacobian: time 0.001879/0.3419, allocations: 1.764 MB / 0.5926 GB, free: 8.625 MB / 414.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 40 * 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: ........... 122 (scalar:112, 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: ........... 196 (scalar:186, 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 7.696e-05/0.342, allocations: 79.06 kB / 0.5927 GB, free: 8.551 MB / 414.1 MB Error: Internal error NSimStrongComponent.Block.createResidual failed for [ARRY] (4) $RES_SIM_128 = electrodeReaction.h_mix * fill(1.0, 4) .- electrodeReaction.substrates.h_outflow ($RES_SIM_128) " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.5449299570173025] Failed to read output from testmodel.py, exit status != 0: 0.35830658162012696 0.37107236899999996 0.081804215 Calling exit ...