Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.001454/0.001454, 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.001596/0.001596, allocations: 213.4 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.323/1.323, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.1232/0.1232, allocations: 23.87 MB / 337.1 MB, free: 10.98 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.StandardElectrochemicalCell2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2") translateModel(Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.906e-05/1.906e-05, allocations: 6.219 kB / 472.3 MB, free: 7.078 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.StandardElectrochemicalCell2): time 0.06908/0.0691, allocations: 27.11 MB / 499.4 MB, free: 12.09 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02076/0.08985, allocations: 16.05 MB / 0.5034 GB, free: 11.98 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000892/0.09074, allocations: 23.81 kB / 0.5034 GB, free: 11.96 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001323/0.09207, allocations: 432.7 kB / 0.5038 GB, free: 11.53 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002483/0.09455, allocations: 0.7991 MB / 0.5046 GB, free: 10.73 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007579/0.1021, allocations: 2.858 MB / 0.5074 GB, free: 7.852 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002474/0.1046, allocations: 1.837 MB / 0.5092 GB, free: 6.008 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001189/0.1058, allocations: 0.7393 MB / 0.5099 GB, free: 5.25 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001142/0.1069, allocations: 0.7907 MB / 0.5107 GB, free: 4.457 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00127/0.1082, allocations: 0.8017 MB / 0.5115 GB, free: 3.652 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003469/0.1085, allocations: 140 kB / 0.5116 GB, free: 3.516 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004289/0.1128, allocations: 1.747 MB / 0.5133 GB, free: 1.766 MB / 382.1 MB Notification: Performance of combineBinaries: time 0.1651/0.2779, allocations: 2.746 MB / 0.516 GB, free: 33.3 MB / 382.1 MB Notification: Performance of replaceArrayConstructors: time 0.001089/0.279, allocations: 1.676 MB / 0.5176 GB, free: 32.77 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002639/0.2793, allocations: 136.7 kB / 0.5178 GB, free: 32.77 MB / 382.1 MB Notification: Performance of FrontEnd: time 0.000209/0.2795, allocations: 69.16 kB / 0.5178 GB, free: 32.77 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.004834/0.2843, allocations: 6.969 MB / 0.5246 GB, free: 29.94 MB / 382.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0009054/0.2852, allocations: 0.956 MB / 0.5256 GB, free: 29.85 MB / 382.1 MB Notification: Performance of [SIM] Early Inline: time 0.007026/0.2923, allocations: 6.932 MB / 0.5323 GB, free: 28 MB / 382.1 MB Notification: Performance of [SIM] Simplify 1: time 0.00165/0.2939, allocations: 1.253 MB / 0.5336 GB, free: 27.47 MB / 382.1 MB Notification: Performance of [SIM] Alias: time 0.006917/0.3008, allocations: 6.461 MB / 0.5399 GB, free: 24.37 MB / 382.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0009032/0.3017, allocations: 0.8958 MB / 0.5407 GB, free: 24.02 MB / 382.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0002114/0.302, allocations: 280.2 kB / 0.541 GB, free: 23.87 MB / 382.1 MB Notification: Performance of [SIM] Detect States: time 0.0004276/0.3024, allocations: 0.6492 MB / 0.5416 GB, free: 23.49 MB / 382.1 MB Notification: Performance of [SIM] Events: time 0.0002143/0.3026, allocations: 206.5 kB / 0.5418 GB, free: 23.41 MB / 382.1 MB Notification: Performance of [SIM] Partitioning: time 0.001031/0.3036, allocations: 1.509 MB / 0.5433 GB, free: 22.56 MB / 382.1 MB Notification: Performance of [SIM] Causalize: time 0.001737/0.3054, allocations: 2.034 MB / 0.5453 GB, free: 21.66 MB / 382.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001269/0.3066, allocations: 2.135 MB / 0.5474 GB, free: 20.73 MB / 382.1 MB Notification: Performance of [INI] Simplify: time 0.001742/0.3084, allocations: 1.78 MB / 0.5491 GB, free: 19.91 MB / 382.1 MB Notification: Performance of [INI] Inline: time 0.002946/0.3113, allocations: 4.645 MB / 0.5537 GB, free: 16.88 MB / 382.1 MB Notification: Performance of [INI] Partitioning: time 7.933e-05/0.3114, allocations: 56.73 kB / 0.5537 GB, free: 16.84 MB / 382.1 MB Notification: Performance of [INI] Cleanup: time 0.0003015/0.3117, allocations: 0.5701 MB / 0.5543 GB, free: 16.42 MB / 382.1 MB Notification: Performance of [INI] Causalize: time 0.002365/0.3141, allocations: 2.552 MB / 0.5568 GB, free: 15.09 MB / 382.1 MB Notification: Performance of [INI] Tearing: time 0.0001264/0.3142, allocations: 167.9 kB / 0.5569 GB, free: 14.93 MB / 382.1 MB Notification: Performance of [SIM] Initialization: time 4.71e-07/0.3142, allocations: 0 / 0.5569 GB, free: 14.93 MB / 382.1 MB Notification: Performance of [SIM] Remove Dummies: time 1.289e-05/0.3142, allocations: 8.031 kB / 0.5569 GB, free: 14.93 MB / 382.1 MB Notification: Performance of [SIM] Tearing: time 8.831e-05/0.3143, allocations: 150 kB / 0.5571 GB, free: 14.79 MB / 382.1 MB Notification: Performance of [SIM] Categorize: time 2.63e-05/0.3143, allocations: 14.83 kB / 0.5571 GB, free: 14.79 MB / 382.1 MB Notification: Performance of [SIM] Solve: time 0.002484/0.3168, allocations: 3.011 MB / 0.56 GB, free: 12.04 MB / 382.1 MB Notification: Performance of [SIM] Jacobian: time 0.0008607/0.3177, allocations: 1.281 MB / 0.5613 GB, free: 10.66 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.713e-05/0.3177, allocations: 63.03 kB / 0.5613 GB, free: 10.61 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.5636485889554024] Failed to read output from testmodel.py, exit status != 0: 0.32889709807932377 0.33850317100000005 0.056220219 Calling exit ...