Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.001328/0.001328, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001498/0.001498, allocations: 222.4 kB / 23 MB, free: 4.91 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.452/1.452, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] 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.1389/0.1389, allocations: 23.87 MB / 337.1 MB, free: 11 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.ClimateChange.MethanElectrosynthesis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis") translateModel(Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_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.002075/0.002075, allocations: 79.02 kB / 472.4 MB, free: 7.023 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3453/0.3474, allocations: 59.85 MB / 0.5198 GB, free: 9.773 MB / 382.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.ClimateChange.MethanElectrosynthesis): time 0.07695/0.4243, allocations: 29.29 MB / 0.5484 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0304/0.4547, allocations: 19.46 MB / 0.5674 GB, free: 8.934 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002124/0.4568, allocations: 31.81 kB / 0.5674 GB, free: 8.902 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002263/0.4591, allocations: 0.5253 MB / 0.5679 GB, free: 8.504 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005378/0.4645, allocations: 1.317 MB / 0.5692 GB, free: 7.254 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0101/0.4746, allocations: 3.34 MB / 0.5725 GB, free: 3.895 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004129/0.4787, allocations: 2.399 MB / 0.5748 GB, free: 1.48 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001913/0.4806, allocations: 1.247 MB / 0.576 GB, free: 192 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001497/0.4821, allocations: 1.059 MB / 0.5771 GB, free: 15.12 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001863/0.484, allocations: 1.081 MB / 0.5781 GB, free: 14.04 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000448/0.4844, allocations: 232 kB / 0.5783 GB, free: 13.81 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006754/0.4912, allocations: 2.235 MB / 0.5805 GB, free: 11.57 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001277/0.4925, allocations: 0.5335 MB / 0.581 GB, free: 11.04 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002098/0.4946, allocations: 0.9532 MB / 0.582 GB, free: 10.08 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01268/0.5072, allocations: 5.011 MB / 0.5869 GB, free: 5.051 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.206e-06/0.5073, allocations: 0 / 0.5869 GB, free: 5.051 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.5073, allocations: 0 / 0.5869 GB, free: 5.051 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.251e-05/0.5073, allocations: 0 / 0.5869 GB, free: 5.051 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.005718/0.5131, allocations: 2.659 MB / 0.5895 GB, free: 2.348 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.5131, allocations: 12.03 kB / 0.5895 GB, free: 2.336 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002018/0.5151, allocations: 0.5067 MB / 0.59 GB, free: 1.828 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002439/0.5176, allocations: 1.129 MB / 0.5911 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000266/0.5178, allocations: 262.9 kB / 0.5913 GB, free: 392 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003936/0.5182, allocations: 192 kB / 0.5915 GB, free: 200 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004672/0.5229, allocations: 2.712 MB / 0.5941 GB, free: 13.41 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.408e-05/0.5229, allocations: 3.938 kB / 0.5941 GB, free: 13.41 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001984/0.5231, allocations: 76 kB / 0.5942 GB, free: 13.34 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.717e-05/0.5232, allocations: 51.94 kB / 0.5943 GB, free: 13.29 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005259/0.5284, allocations: 3.314 MB / 0.5975 GB, free: 9.965 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.01374/0.5422, allocations: 7.293 MB / 0.6046 GB, free: 2.52 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002104/0.5443, allocations: 1.116 MB / 0.6057 GB, free: 1.379 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001017/0.5453, allocations: 0.5872 MB / 0.6063 GB, free: 0.7812 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008134/0.5534, allocations: 3.387 MB / 0.6096 GB, free: 13.36 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.878e-05/0.5535, allocations: 39.22 kB / 0.6096 GB, free: 13.32 MB / 462.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008746/0.5544, allocations: 182.9 kB / 0.6098 GB, free: 13.14 MB / 462.1 MB Notification: Performance of pre-optimization done (n=81): time 3.977e-06/0.5544, allocations: 8 kB / 0.6098 GB, free: 13.13 MB / 462.1 MB Notification: Performance of matching and sorting (n=115): time 0.02758/0.5819, allocations: 6.913 MB / 0.6166 GB, free: 6.16 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.471e-05/0.582, allocations: 115.8 kB / 0.6167 GB, free: 6.023 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002435/0.5845, allocations: 1.827 MB / 0.6185 GB, free: 4.184 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001842/0.5847, allocations: 45.7 kB / 0.6185 GB, free: 4.133 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009113/0.5856, allocations: 1.053 MB / 0.6195 GB, free: 3.066 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005077/0.5861, allocations: 432.4 kB / 0.6199 GB, free: 2.641 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006538/0.5867, allocations: 423.3 kB / 0.6204 GB, free: 2.219 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001622/0.5869, allocations: 313.1 kB / 0.6207 GB, free: 1.91 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001463/0.5884, allocations: 0.8707 MB / 0.6215 GB, free: 1.035 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002119/0.5905, allocations: 1.604 MB / 0.6231 GB, free: 15.09 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003418/0.5939, allocations: 2.352 MB / 0.6254 GB, free: 12.4 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.812e-05/0.5939, allocations: 8 kB / 0.6254 GB, free: 12.39 MB / 478.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.008673/0.6026, allocations: 3.319 MB / 0.6286 GB, free: 9.047 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.145e-05/0.6026, allocations: 15.98 kB / 0.6286 GB, free: 9.031 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.116e-05/0.6027, allocations: 24 kB / 0.6287 GB, free: 9.008 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00493/0.6076, allocations: 1.037 MB / 0.6297 GB, free: 7.957 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001665/0.6093, allocations: 439.3 kB / 0.6301 GB, free: 7.527 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01077/0.62, allocations: 7.042 MB / 0.637 GB, free: 148 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001706/0.6217, allocations: 95.91 kB / 0.6371 GB, free: 52 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002651/0.622, allocations: 124 kB / 0.6372 GB, free: 15.93 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.0008673/0.6229, allocations: 401.1 kB / 0.6376 GB, free: 15.52 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000389/0.6233, allocations: 139.1 kB / 0.6377 GB, free: 15.39 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006786/0.63, allocations: 2.174 MB / 0.6398 GB, free: 13.18 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.41e-05/0.6301, allocations: 12.11 kB / 0.6398 GB, free: 13.17 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.6301, allocations: 7.938 kB / 0.6398 GB, free: 13.16 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.67e-05/0.6301, allocations: 11.97 kB / 0.6398 GB, free: 13.15 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009769/0.6399, allocations: 3.511 MB / 0.6433 GB, free: 9.578 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.191e-05/0.6399, allocations: 0 / 0.6433 GB, free: 9.578 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008109/0.6407, allocations: 179.7 kB / 0.6434 GB, free: 9.402 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004501/0.6452, allocations: 0.9288 MB / 0.6443 GB, free: 8.457 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001788/0.6454, allocations: 39.97 kB / 0.6444 GB, free: 8.418 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00894/0.6543, allocations: 6.343 MB / 0.6506 GB, free: 1.75 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.6543, allocations: 7.969 kB / 0.6506 GB, free: 1.742 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00769/0.662, allocations: 2.887 MB / 0.6534 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004394/0.6624, allocations: 127.1 kB / 0.6535 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002326/0.6627, allocations: 24 kB / 0.6536 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008657/0.6635, allocations: 31.98 kB / 0.6536 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003158/0.6638, allocations: 120.7 kB / 0.6537 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001244/0.664, allocations: 55.95 kB / 0.6537 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001674/0.6656, allocations: 1.248 MB / 0.655 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6656, allocations: 288 / 0.655 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003426/0.6691, allocations: 0.978 MB / 0.6559 GB, free: 12.22 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.00208/0.6711, allocations: 1.013 MB / 0.6569 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.005298/0.6764, allocations: 2.363 MB / 0.6592 GB, free: 8.797 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.025e-06/0.6765, allocations: 4.062 kB / 0.6592 GB, free: 8.793 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002332/0.6788, allocations: 1.098 MB / 0.6603 GB, free: 7.652 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00154/0.6803, allocations: 219.1 kB / 0.6605 GB, free: 7.438 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006551/0.6869, allocations: 3.271 MB / 0.6637 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008925/0.6878, allocations: 0.7215 MB / 0.6644 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007182/0.6885, allocations: 223.3 kB / 0.6646 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of SimCode: time 1.243e-06/0.6885, allocations: 0 / 0.6646 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of Templates: time 0.08365/0.7721, allocations: 65.85 MB / 0.7289 GB, free: 1.289 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis.sim & ./Chemical_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 11.554236757103354] Failed to read output from testmodel.py, exit status != 0: 0.9619851466268301 0.972752093 0.46266733200000004 Calling exit ...