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.001481/0.001481, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001759/0.001759, allocations: 212.4 kB / 22.99 MB, free: 4.984 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.409/1.409, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 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.1323/0.1323, allocations: 23.93 MB / 337.1 MB, free: 10.96 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.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: Chemical requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002053/0.002053, allocations: 75.89 kB / 472.4 MB, free: 6.973 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2787/0.2807, allocations: 59.87 MB / 0.5198 GB, free: 9.785 MB / 382.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.ClimateChange.MethanElectrosynthesis): time 0.07241/0.3531, allocations: 29.11 MB / 0.5483 GB, free: 10.69 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02639/0.3795, allocations: 19.46 MB / 0.5673 GB, free: 8.996 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001595/0.3811, allocations: 31.81 kB / 0.5673 GB, free: 8.965 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001604/0.3827, allocations: 0.5289 MB / 0.5678 GB, free: 8.562 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004028/0.3867, allocations: 1.317 MB / 0.5691 GB, free: 7.328 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008872/0.3956, allocations: 3.348 MB / 0.5724 GB, free: 3.961 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003638/0.3992, allocations: 2.383 MB / 0.5747 GB, free: 1.562 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001743/0.401, allocations: 1.278 MB / 0.5759 GB, free: 244 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001315/0.4023, allocations: 1.06 MB / 0.577 GB, free: 15.18 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001542/0.4038, allocations: 1.226 MB / 0.5782 GB, free: 13.95 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003157/0.4042, allocations: 236 kB / 0.5784 GB, free: 13.71 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005596/0.4098, allocations: 2.282 MB / 0.5806 GB, free: 11.43 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005519/0.4103, allocations: 0.5414 MB / 0.5812 GB, free: 10.89 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001078/0.4114, allocations: 0.9492 MB / 0.5821 GB, free: 9.934 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009445/0.4208, allocations: 5.027 MB / 0.587 GB, free: 4.887 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.4208, allocations: 3.938 kB / 0.587 GB, free: 4.883 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.4208, allocations: 0 / 0.587 GB, free: 4.883 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.874e-05/0.4209, allocations: 0 / 0.587 GB, free: 4.883 MB / 430.1 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.005239/0.4261, allocations: 2.647 MB / 0.5896 GB, free: 2.191 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.4261, allocations: 12.03 kB / 0.5896 GB, free: 2.18 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00205/0.4282, allocations: 0.5181 MB / 0.5901 GB, free: 1.66 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002214/0.4304, allocations: 1.129 MB / 0.5912 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002249/0.4306, allocations: 258.9 kB / 0.5914 GB, free: 224 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003189/0.431, allocations: 188 kB / 0.5916 GB, free: 36 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004295/0.4353, allocations: 2.719 MB / 0.5943 GB, free: 13.25 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.117e-05/0.4353, allocations: 4 kB / 0.5943 GB, free: 13.24 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000194/0.4355, allocations: 76 kB / 0.5944 GB, free: 13.17 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.192e-05/0.4355, allocations: 55.98 kB / 0.5944 GB, free: 13.11 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00494/0.4405, allocations: 3.314 MB / 0.5976 GB, free: 9.793 MB / 446.1 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.01261/0.4531, allocations: 7.285 MB / 0.6048 GB, free: 2.355 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00199/0.4551, allocations: 1.105 MB / 0.6058 GB, free: 1.227 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009655/0.456, allocations: 0.595 MB / 0.6064 GB, free: 0.6172 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007812/0.4638, allocations: 3.387 MB / 0.6097 GB, free: 13.2 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.37e-05/0.4639, allocations: 39.22 kB / 0.6098 GB, free: 13.15 MB / 462.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009386/0.4648, allocations: 187 kB / 0.6099 GB, free: 12.97 MB / 462.1 MB Notification: Performance of pre-optimization done (n=81): time 3.637e-06/0.4648, allocations: 0 / 0.6099 GB, free: 12.97 MB / 462.1 MB Notification: Performance of matching and sorting (n=115): time 0.03014/0.495, allocations: 6.909 MB / 0.6167 GB, free: 6.004 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.13e-05/0.4951, allocations: 123.8 kB / 0.6168 GB, free: 5.859 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002247/0.4973, allocations: 1.827 MB / 0.6186 GB, free: 4.02 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001173/0.4974, allocations: 49.7 kB / 0.6186 GB, free: 3.965 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007293/0.4981, allocations: 1.045 MB / 0.6197 GB, free: 2.906 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003833/0.4985, allocations: 436.4 kB / 0.6201 GB, free: 2.477 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006316/0.4992, allocations: 423.3 kB / 0.6205 GB, free: 2.055 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.4993, allocations: 301.1 kB / 0.6208 GB, free: 1.758 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001366/0.5007, allocations: 0.8707 MB / 0.6216 GB, free: 0.8828 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002039/0.5027, allocations: 1.608 MB / 0.6232 GB, free: 14.93 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003367/0.5061, allocations: 2.352 MB / 0.6255 GB, free: 12.24 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.061e-05/0.5061, allocations: 8 kB / 0.6255 GB, free: 12.23 MB / 478.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.008647/0.5147, allocations: 3.327 MB / 0.6287 GB, free: 8.883 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.253e-05/0.5147, allocations: 16 kB / 0.6288 GB, free: 8.867 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.258e-05/0.5148, allocations: 24 kB / 0.6288 GB, free: 8.844 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005378/0.5202, allocations: 1.034 MB / 0.6298 GB, free: 7.793 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001587/0.5217, allocations: 435.2 kB / 0.6302 GB, free: 7.367 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01075/0.5325, allocations: 7.045 MB / 0.6371 GB, free: 15.98 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001707/0.5342, allocations: 95.86 kB / 0.6372 GB, free: 15.89 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000229/0.5344, allocations: 123.9 kB / 0.6373 GB, free: 15.77 MB / 494.1 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.0007444/0.5352, allocations: 405.2 kB / 0.6377 GB, free: 15.36 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003437/0.5355, allocations: 147 kB / 0.6378 GB, free: 15.22 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007451/0.543, allocations: 2.178 MB / 0.6399 GB, free: 13.02 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.25e-05/0.543, allocations: 12 kB / 0.64 GB, free: 13 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.543, allocations: 8 kB / 0.64 GB, free: 13 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.39e-05/0.543, allocations: 7.969 kB / 0.64 GB, free: 12.99 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009952/0.553, allocations: 3.5 MB / 0.6434 GB, free: 9.422 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.644e-06/0.553, allocations: 4 kB / 0.6434 GB, free: 9.418 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007985/0.5538, allocations: 179.9 kB / 0.6436 GB, free: 9.242 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004893/0.5587, allocations: 0.9208 MB / 0.6445 GB, free: 8.305 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001146/0.5588, allocations: 47.91 kB / 0.6445 GB, free: 8.258 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008891/0.5677, allocations: 6.344 MB / 0.6507 GB, free: 1.586 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/0.5677, allocations: 3.938 kB / 0.6507 GB, free: 1.582 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00789/0.5756, allocations: 2.883 MB / 0.6535 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003497/0.5759, allocations: 131.1 kB / 0.6537 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002203/0.5761, allocations: 27.98 kB / 0.6537 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009385/0.5771, allocations: 35.98 kB / 0.6537 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002777/0.5773, allocations: 124.7 kB / 0.6538 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001125/0.5775, allocations: 47.97 kB / 0.6539 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001472/0.5789, allocations: 1.252 MB / 0.6551 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.5789, allocations: 0 / 0.6551 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002927/0.5819, allocations: 0.9664 MB / 0.656 GB, free: 12.06 MB / 0.4981 GB 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.001817/0.5837, allocations: 1.009 MB / 0.657 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004772/0.5884, allocations: 2.354 MB / 0.6593 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.848e-06/0.5884, allocations: 2 kB / 0.6593 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002206/0.5906, allocations: 1.106 MB / 0.6604 GB, free: 7.504 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001351/0.592, allocations: 234.2 kB / 0.6606 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005607/0.5976, allocations: 3.217 MB / 0.6638 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007861/0.5984, allocations: 0.7331 MB / 0.6645 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001018/0.5994, allocations: 327.3 kB / 0.6648 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000403/0.5998, allocations: 171.3 kB / 0.665 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of SimCode: time 6.41e-07/0.5998, allocations: 4 kB / 0.665 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of Templates: time 0.05894/0.6588, allocations: 38.83 MB / 0.7029 GB, free: 12.07 MB / 0.545 GB " [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 -s gbode -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.111319744988577] Failed to read output from testmodel.py, exit status != 0: 0.6675849790044595 0.681296404 0.257397232 Calling exit ...