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.001695/0.001695, allocations: 104.3 kB / 19.7 MB, free: 2.008 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.001857/0.001857, allocations: 210.9 kB / 22.99 MB, free: 4.41 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.596/1.596, allocations: 230.6 MB / 256.8 MB, free: 7.781 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.1369/0.1369, allocations: 23.87 MB / 337.1 MB, free: 10.96 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.002098/0.002098, allocations: 67.89 kB / 472.4 MB, free: 6.996 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3136/0.3157, allocations: 59.86 MB / 0.5198 GB, free: 9.738 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.07444/0.3901, allocations: 29.21 MB / 0.5483 GB, free: 10.69 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02766/0.4178, allocations: 19.46 MB / 0.5673 GB, free: 8.996 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002086/0.4199, allocations: 35.69 kB / 0.5673 GB, free: 8.961 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001978/0.4219, allocations: 0.525 MB / 0.5678 GB, free: 8.562 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004746/0.4266, allocations: 1.319 MB / 0.5691 GB, free: 7.309 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009846/0.4365, allocations: 3.34 MB / 0.5724 GB, free: 3.949 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003927/0.4404, allocations: 2.399 MB / 0.5747 GB, free: 1.535 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001859/0.4422, allocations: 1.274 MB / 0.576 GB, free: 220 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00146/0.4437, allocations: 1.056 MB / 0.577 GB, free: 15.15 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001824/0.4455, allocations: 1.234 MB / 0.5782 GB, free: 13.91 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004715/0.446, allocations: 232 kB / 0.5784 GB, free: 13.69 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00637/0.4524, allocations: 2.278 MB / 0.5806 GB, free: 11.41 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007568/0.4531, allocations: 0.5336 MB / 0.5812 GB, free: 10.88 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001332/0.4545, allocations: 0.957 MB / 0.5821 GB, free: 9.914 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01078/0.4652, allocations: 5.011 MB / 0.587 GB, free: 4.883 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.4652, allocations: 3.938 kB / 0.587 GB, free: 4.879 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4652, allocations: 0 / 0.587 GB, free: 4.879 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.062e-05/0.4653, allocations: 4 kB / 0.587 GB, free: 4.875 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.005375/0.4707, allocations: 2.659 MB / 0.5896 GB, free: 2.172 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.4707, allocations: 8.031 kB / 0.5896 GB, free: 2.164 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001953/0.4727, allocations: 0.5027 MB / 0.5901 GB, free: 1.66 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002345/0.475, allocations: 1.145 MB / 0.5912 GB, free: 492 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000252/0.4753, allocations: 254.9 kB / 0.5915 GB, free: 212 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003596/0.4756, allocations: 188 kB / 0.5916 GB, free: 24 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004581/0.4802, allocations: 2.712 MB / 0.5943 GB, free: 13.24 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.187e-05/0.4803, allocations: 4 kB / 0.5943 GB, free: 13.24 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001829/0.4804, allocations: 80 kB / 0.5944 GB, free: 13.16 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.154e-05/0.4805, allocations: 48 kB / 0.5944 GB, free: 13.11 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005201/0.4857, allocations: 3.314 MB / 0.5977 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.01396/0.4996, allocations: 7.289 MB / 0.6048 GB, free: 2.352 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002134/0.5018, allocations: 1.113 MB / 0.6059 GB, free: 1.215 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001032/0.5028, allocations: 0.5989 MB / 0.6064 GB, free: 0.6016 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008138/0.5109, allocations: 3.372 MB / 0.6097 GB, free: 13.2 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.89e-05/0.511, allocations: 55.14 kB / 0.6098 GB, free: 13.14 MB / 462.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008671/0.5119, allocations: 182.9 kB / 0.61 GB, free: 12.96 MB / 462.1 MB Notification: Performance of pre-optimization done (n=81): time 3.176e-06/0.5119, allocations: 4 kB / 0.61 GB, free: 12.95 MB / 462.1 MB Notification: Performance of matching and sorting (n=115): time 0.02674/0.5386, allocations: 6.913 MB / 0.6167 GB, free: 5.984 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.3e-05/0.5387, allocations: 119.8 kB / 0.6168 GB, free: 5.844 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002426/0.5411, allocations: 1.827 MB / 0.6186 GB, free: 4.004 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002373/0.5414, allocations: 49.64 kB / 0.6187 GB, free: 3.949 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008466/0.5422, allocations: 1.045 MB / 0.6197 GB, free: 2.891 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004989/0.5427, allocations: 440.4 kB / 0.6201 GB, free: 2.457 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000645/0.5433, allocations: 419.4 kB / 0.6205 GB, free: 2.039 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001258/0.5435, allocations: 301.1 kB / 0.6208 GB, free: 1.742 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001451/0.5449, allocations: 0.8786 MB / 0.6216 GB, free: 0.8594 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002139/0.5471, allocations: 1.612 MB / 0.6232 GB, free: 14.9 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003645/0.5507, allocations: 2.352 MB / 0.6255 GB, free: 12.21 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.831e-05/0.5507, allocations: 4 kB / 0.6255 GB, free: 12.21 MB / 478.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.008352/0.5591, allocations: 3.315 MB / 0.6288 GB, free: 8.871 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.275e-05/0.5591, allocations: 16 kB / 0.6288 GB, free: 8.855 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.87e-05/0.5592, allocations: 24 kB / 0.6288 GB, free: 8.832 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004754/0.5639, allocations: 1.038 MB / 0.6298 GB, free: 7.777 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001732/0.5657, allocations: 435.3 kB / 0.6302 GB, free: 7.352 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01041/0.5761, allocations: 7.049 MB / 0.6371 GB, free: 15.96 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001786/0.5778, allocations: 95.84 kB / 0.6372 GB, free: 15.87 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003145/0.5782, allocations: 120 kB / 0.6373 GB, free: 15.75 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.0008512/0.579, allocations: 405 kB / 0.6377 GB, free: 15.35 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004351/0.5794, allocations: 147.1 kB / 0.6378 GB, free: 15.2 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006519/0.586, allocations: 2.166 MB / 0.64 GB, free: 13.01 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.085e-05/0.586, allocations: 12 kB / 0.64 GB, free: 13 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.398e-06/0.586, allocations: 4 kB / 0.64 GB, free: 13 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.8e-05/0.586, allocations: 8.078 kB / 0.64 GB, free: 12.99 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00978/0.5958, allocations: 3.515 MB / 0.6434 GB, free: 9.406 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-05/0.5958, allocations: 8 kB / 0.6434 GB, free: 9.398 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008293/0.5967, allocations: 175.8 kB / 0.6436 GB, free: 9.227 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004208/0.6009, allocations: 0.9248 MB / 0.6445 GB, free: 8.285 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001975/0.6011, allocations: 43.97 kB / 0.6445 GB, free: 8.242 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008482/0.6095, allocations: 6.339 MB / 0.6507 GB, free: 1.578 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.404e-06/0.6095, allocations: 7.938 kB / 0.6507 GB, free: 1.57 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007439/0.617, allocations: 2.891 MB / 0.6536 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005467/0.6175, allocations: 127.1 kB / 0.6537 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002663/0.6178, allocations: 24 kB / 0.6537 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008679/0.6187, allocations: 31.98 kB / 0.6537 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003087/0.619, allocations: 120.7 kB / 0.6538 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001221/0.6191, allocations: 51.97 kB / 0.6539 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001563/0.6207, allocations: 1.248 MB / 0.6551 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.6207, allocations: 0 / 0.6551 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003455/0.6241, allocations: 0.9741 MB / 0.6561 GB, free: 12.05 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.002225/0.6263, allocations: 1.017 MB / 0.6571 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004971/0.6313, allocations: 2.363 MB / 0.6594 GB, free: 8.621 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.892e-06/0.6313, allocations: 4 kB / 0.6594 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002246/0.6336, allocations: 1.095 MB / 0.6604 GB, free: 7.484 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001719/0.6353, allocations: 235 kB / 0.6607 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006356/0.6416, allocations: 3.26 MB / 0.6638 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008361/0.6425, allocations: 0.7332 MB / 0.6646 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006653/0.6431, allocations: 223.3 kB / 0.6648 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of SimCode: time 1.252e-06/0.6431, allocations: 0 / 0.6648 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of Templates: time 0.08178/0.7249, allocations: 65.84 MB / 0.7291 GB, free: 1.109 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.880108781973831] Failed to read output from testmodel.py, exit status != 0: 0.9361179560073651 0.947899037 0.47970749700000004 Calling exit ...