Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis.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.001887/0.001887, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.002674/0.002674, allocations: 161.7 kB / 22.76 MB, free: 1.68 MB / 18.57 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.473/1.473, allocations: 177.1 MB / 203.1 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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.1468/0.1468, allocations: 17.44 MB / 277 MB, free: 11.59 MB / 266.7 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.ClimateChange.MethanElectrosynthesis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis") translateModel(Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 352.8 MB, free: 10.19 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.352e-05/3.496e-05, allocations: 4.984 kB / 352.8 MB, free: 10.19 MB / 282.7 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.ClimateChange.MethanElectrosynthesis): time 0.04808/0.04812, allocations: 29.74 MB / 382.6 MB, free: 12.57 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.03117/0.07928, allocations: 19.45 MB / 402 MB, free: 9.043 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001435/0.08072, allocations: 27.81 kB / 402.1 MB, free: 9.016 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001883/0.0826, allocations: 0.5347 MB / 402.6 MB, free: 8.477 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004376/0.08698, allocations: 1.361 MB / 404 MB, free: 7.105 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009859/0.09684, allocations: 3.443 MB / 407.4 MB, free: 3.641 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.004116/0.101, allocations: 2.483 MB / 409.9 MB, free: 1.145 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1464/0.2474, allocations: 1.287 MB / 411.2 MB, free: 34.41 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002209/0.2496, allocations: 1.532 MB / 412.7 MB, free: 34.41 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001401/0.251, allocations: 0.9509 MB / 413.6 MB, free: 34.41 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003387/0.2513, allocations: 233 kB / 413.9 MB, free: 34.41 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005697/0.257, allocations: 2.241 MB / 416.1 MB, free: 34.41 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005278/0.2576, allocations: 0.5441 MB / 416.7 MB, free: 34.41 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001029/0.2586, allocations: 0.818 MB / 417.5 MB, free: 34.41 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008572/0.2672, allocations: 5.278 MB / 422.8 MB, free: 34.04 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.2672, allocations: 0 / 422.8 MB, free: 34.04 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.2672, allocations: 2.938 kB / 422.8 MB, free: 34.04 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.71e-05/0.2672, allocations: 1.625 kB / 422.8 MB, free: 34.04 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 484 * Number of variables: 484 Notification: Performance of Generate backend data structure: time 0.004267/0.2715, allocations: 2.628 MB / 425.4 MB, free: 32.82 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.2715, allocations: 9.75 kB / 425.4 MB, free: 32.82 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002182/0.2737, allocations: 0.8991 MB / 426.3 MB, free: 32.55 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001734/0.2754, allocations: 1.167 MB / 427.5 MB, free: 32.24 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001422/0.2756, allocations: 253.2 kB / 427.7 MB, free: 32.11 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002667/0.2758, allocations: 192.5 kB / 427.9 MB, free: 32.11 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003495/0.2793, allocations: 2.715 MB / 430.6 MB, free: 31.39 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.691e-05/0.2794, allocations: 1.406 kB / 430.6 MB, free: 31.39 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001964/0.2796, allocations: 84.91 kB / 430.7 MB, free: 31.33 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.355e-05/0.2796, allocations: 46.25 kB / 430.7 MB, free: 31.33 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003846/0.2835, allocations: 3.312 MB / 434.1 MB, free: 30.29 MB / 330.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01031/0.2938, allocations: 7.35 MB / 441.4 MB, free: 24.48 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001608/0.2954, allocations: 1.116 MB / 442.5 MB, free: 23.35 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007679/0.2961, allocations: 0.5984 MB / 443.1 MB, free: 22.75 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006564/0.3027, allocations: 3.465 MB / 446.6 MB, free: 19.31 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.877e-05/0.3027, allocations: 43.22 kB / 446.6 MB, free: 19.26 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008872/0.3036, allocations: 192.9 kB / 446.8 MB, free: 19.07 MB / 330.7 MB Notification: Performance of pre-optimization done (n=81): time 2.765e-06/0.3036, allocations: 0 / 446.8 MB, free: 19.07 MB / 330.7 MB Notification: Performance of matching and sorting (n=115): time 0.02589/0.3295, allocations: 6.95 MB / 453.8 MB, free: 12.21 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.581e-05/0.3295, allocations: 119.8 kB / 453.9 MB, free: 12.07 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001572/0.3311, allocations: 1.827 MB / 455.7 MB, free: 10.23 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001017/0.3312, allocations: 45.7 kB / 455.8 MB, free: 10.18 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000372/0.3316, allocations: 1.046 MB / 456.8 MB, free: 9.129 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002485/0.3318, allocations: 429.7 kB / 457.2 MB, free: 8.715 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004861/0.3323, allocations: 411.3 kB / 457.6 MB, free: 8.305 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.512e-05/0.3324, allocations: 303.8 kB / 457.9 MB, free: 8.008 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00106/0.3334, allocations: 0.8785 MB / 458.8 MB, free: 7.125 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001362/0.3348, allocations: 1.601 MB / 460.4 MB, free: 5.191 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00229/0.3371, allocations: 2.353 MB / 462.7 MB, free: 2.637 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.818e-06/0.3371, allocations: 4 kB / 462.8 MB, free: 2.633 MB / 330.7 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.007696/0.3448, allocations: 3.414 MB / 466.2 MB, free: 15.38 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.331e-05/0.3448, allocations: 16 kB / 466.2 MB, free: 15.37 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.79e-05/0.3448, allocations: 26.62 kB / 466.2 MB, free: 15.34 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006818/0.3517, allocations: 1.179 MB / 467.4 MB, free: 14.19 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001511/0.3532, allocations: 435.3 kB / 467.8 MB, free: 13.8 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01155/0.3647, allocations: 7.072 MB / 474.9 MB, free: 6.473 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001622/0.3664, allocations: 102.4 kB / 475 MB, free: 6.375 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002224/0.3666, allocations: 116 kB / 475.1 MB, free: 6.262 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 109 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (226): * Single equations (assignments): 221 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,11,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,15), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.000813/0.3674, allocations: 403.8 kB / 475.5 MB, free: 5.891 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004425/0.3678, allocations: 183 kB / 475.7 MB, free: 5.711 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007158/0.375, allocations: 2.162 MB / 477.8 MB, free: 3.586 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.431e-05/0.375, allocations: 12 kB / 477.8 MB, free: 3.574 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.019e-05/0.375, allocations: 7.5 kB / 477.9 MB, free: 3.57 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.584e-05/0.375, allocations: 7.969 kB / 477.9 MB, free: 3.562 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01013/0.3852, allocations: 3.502 MB / 481.4 MB, free: 60 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/0.3852, allocations: 0 / 481.4 MB, free: 60 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007868/0.386, allocations: 180.3 kB / 481.5 MB, free: 15.89 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00596/0.3919, allocations: 1.064 MB / 482.6 MB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001516/0.3921, allocations: 47.95 kB / 482.6 MB, free: 14.81 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01019/0.4023, allocations: 6.359 MB / 489 MB, free: 8.18 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/0.4023, allocations: 4.031 kB / 489 MB, free: 8.176 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00862/0.4109, allocations: 2.927 MB / 491.9 MB, free: 5.227 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004382/0.4113, allocations: 132.5 kB / 492.1 MB, free: 5.102 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003165/0.4116, allocations: 24 kB / 492.1 MB, free: 5.078 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001017/0.4127, allocations: 31.98 kB / 492.1 MB, free: 5.047 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003435/0.413, allocations: 120.2 kB / 492.2 MB, free: 4.934 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001262/0.4131, allocations: 54.66 kB / 492.3 MB, free: 4.883 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.00176/0.4149, allocations: 1.248 MB / 493.5 MB, free: 3.629 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.4149, allocations: 0 / 493.5 MB, free: 3.629 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003575/0.4185, allocations: 0.974 MB / 494.5 MB, free: 2.652 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 5 (cathode.temperature,anode.temperature,solution1.temperature,H.logn,H2O.logn) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,9,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,17), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002148/0.4206, allocations: 1.044 MB / 495.6 MB, free: 1.785 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.005309/0.4259, allocations: 2.354 MB / 497.9 MB, free: 15.48 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.4259, allocations: 2.656 kB / 497.9 MB, free: 15.48 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002355/0.4283, allocations: 1.105 MB / 499 MB, free: 14.36 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00169/0.43, allocations: 268.7 kB / 499.3 MB, free: 14.12 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006416/0.4364, allocations: 3.137 MB / 0.4906 GB, free: 11 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009696/0.4373, allocations: 0.7331 MB / 0.4914 GB, free: 10.26 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001485/0.4388, allocations: 319.4 kB / 0.4917 GB, free: 10.04 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004214/0.4393, allocations: 177.8 kB / 0.4918 GB, free: 9.867 MB / 378.7 MB Notification: Performance of SimCode: time 1.222e-06/0.4393, allocations: 0 / 0.4918 GB, free: 9.867 MB / 378.7 MB Notification: Performance of Templates: time 0.0634/0.5027, allocations: 36 MB / 0.527 GB, free: 6.668 MB / 410.7 MB " [Timeout remaining time 659] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis.sim & ./Chemical_master_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.307519090012647]