Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.001423/0.001423, 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.001587/0.001587, 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.327/1.327, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.1264/0.1264, allocations: 23.92 MB / 337.1 MB, free: 10.91 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.StandardLeadAcidPotential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardLeadAcidPotential") translateModel(Chemical.Obsolete.Examples.CheckSubstancesData.StandardLeadAcidPotential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardLeadAcidPotential") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.442e-05/2.442e-05, allocations: 6.219 kB / 472.4 MB, free: 6.98 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.StandardLeadAcidPotential): time 0.07001/0.07003, allocations: 28.61 MB / 0.4893 GB, free: 10.49 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02936/0.09939, allocations: 24.84 MB / 0.5135 GB, free: 1.551 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001074/0.1005, allocations: 39.69 kB / 0.5136 GB, free: 1.512 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001564/0.102, allocations: 0.601 MB / 0.5141 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.1598/0.2618, allocations: 1.271 MB / 0.5154 GB, free: 29.25 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00984/0.2717, allocations: 4.348 MB / 0.5196 GB, free: 29.24 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003261/0.2749, allocations: 2.426 MB / 0.522 GB, free: 29.23 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001001/0.2759, allocations: 0.921 MB / 0.5229 GB, free: 29.17 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001117/0.2771, allocations: 1.148 MB / 0.524 GB, free: 29.17 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001312/0.2784, allocations: 1.146 MB / 0.5251 GB, free: 29.07 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002695/0.2786, allocations: 169 kB / 0.5253 GB, free: 29.07 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006585/0.2852, allocations: 2.612 MB / 0.5279 GB, free: 29.03 MB / 382.1 MB Notification: Performance of combineBinaries: time 0.002384/0.2876, allocations: 3.573 MB / 0.5313 GB, free: 27.43 MB / 382.1 MB Notification: Performance of replaceArrayConstructors: time 0.0009898/0.2886, allocations: 2.146 MB / 0.5334 GB, free: 26.13 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003579/0.289, allocations: 172.9 kB / 0.5336 GB, free: 26.13 MB / 382.1 MB Notification: Performance of FrontEnd: time 0.0002267/0.2892, allocations: 101 kB / 0.5337 GB, free: 26.12 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.006046/0.2952, allocations: 9.047 MB / 0.5425 GB, free: 20.97 MB / 382.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.001098/0.2963, allocations: 1.372 MB / 0.5439 GB, free: 20.35 MB / 382.1 MB Notification: Performance of [SIM] Early Inline: time 0.00808/0.3044, allocations: 9.646 MB / 0.5533 GB, free: 16.05 MB / 382.1 MB Notification: Performance of [SIM] Simplify 1: time 0.001861/0.3063, allocations: 1.932 MB / 0.5552 GB, free: 15.02 MB / 382.1 MB Notification: Performance of [SIM] Alias: time 0.006864/0.3131, allocations: 8.107 MB / 0.5631 GB, free: 6.43 MB / 382.1 MB Notification: Performance of [SIM] Simplify 2: time 0.001278/0.3144, allocations: 1.528 MB / 0.5646 GB, free: 5.133 MB / 382.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0002692/0.3147, allocations: 374.1 kB / 0.5649 GB, free: 4.758 MB / 382.1 MB Notification: Performance of [SIM] Detect States: time 0.0005625/0.3152, allocations: 0.8531 MB / 0.5658 GB, free: 3.879 MB / 382.1 MB Notification: Performance of [SIM] Events: time 0.0002549/0.3155, allocations: 315.1 kB / 0.5661 GB, free: 3.582 MB / 382.1 MB Notification: Performance of [SIM] Partitioning: time 0.001244/0.3167, allocations: 2.099 MB / 0.5681 GB, free: 1.23 MB / 382.1 MB Notification: Performance of [SIM] Causalize: time 0.002863/0.3196, allocations: 2.737 MB / 0.5708 GB, free: 14.21 MB / 398.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.002711/0.3223, allocations: 2.9 MB / 0.5736 GB, free: 11.37 MB / 398.1 MB Notification: Performance of [INI] Simplify: time 0.003573/0.3259, allocations: 2.771 MB / 0.5763 GB, free: 8.785 MB / 398.1 MB Notification: Performance of [INI] Inline: time 0.006857/0.3327, allocations: 6.214 MB / 0.5824 GB, free: 2.762 MB / 398.1 MB Notification: Performance of [INI] Partitioning: time 0.000134/0.3329, allocations: 64 kB / 0.5825 GB, free: 2.68 MB / 398.1 MB Notification: Performance of [INI] Cleanup: time 0.0006685/0.3335, allocations: 0.7097 MB / 0.5832 GB, free: 1.992 MB / 398.1 MB Notification: Performance of [INI] Causalize: time 0.004609/0.3382, allocations: 3.507 MB / 0.5866 GB, free: 14.46 MB / 414.1 MB Notification: Performance of [INI] Tearing: time 0.0002391/0.3384, allocations: 216 kB / 0.5868 GB, free: 14.26 MB / 414.1 MB Notification: Performance of [SIM] Initialization: time 6.21e-07/0.3384, allocations: 0 / 0.5868 GB, free: 14.26 MB / 414.1 MB Notification: Performance of [SIM] Remove Dummies: time 2.345e-05/0.3384, allocations: 8.938 kB / 0.5868 GB, free: 14.25 MB / 414.1 MB Notification: Performance of [SIM] Tearing: time 0.0001877/0.3386, allocations: 194.7 kB / 0.587 GB, free: 14.07 MB / 414.1 MB Notification: Performance of [SIM] Categorize: time 4.672e-05/0.3387, allocations: 26.52 kB / 0.587 GB, free: 14.05 MB / 414.1 MB Notification: Performance of [SIM] Solve: time 0.004915/0.3436, allocations: 4.002 MB / 0.5909 GB, free: 10.37 MB / 414.1 MB Notification: Performance of [SIM] Jacobian: time 0.001913/0.3455, allocations: 1.759 MB / 0.5926 GB, free: 8.461 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.743e-05/0.3456, allocations: 79.3 kB / 0.5927 GB, free: 8.387 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.5951372678391635] Failed to read output from testmodel.py, exit status != 0: 0.36281888000667095 0.37589487499999996 0.08399228900000001 Calling exit ...