Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation.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.001311/0.001311, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001441/0.001441, allocations: 213.2 kB / 22.24 MB, free: 5.242 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.375/1.375, allocations: 230.6 MB / 256 MB, free: 7.789 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.1305/0.1305, allocations: 23.89 MB / 336.3 MB, free: 10.95 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.ElectrolysisMethanation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation") translateModel(Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation") [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.00209/0.00209, allocations: 63.91 kB / 471.6 MB, free: 6.988 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.288/0.2901, allocations: 59.86 MB / 0.519 GB, free: 9.82 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.ElectrolysisMethanation): time 0.07483/0.3649, allocations: 30.69 MB / 0.549 GB, free: 9.273 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03598/0.4009, allocations: 25.49 MB / 0.5739 GB, free: 1.617 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0019/0.4028, allocations: 43.62 kB / 0.5739 GB, free: 1.574 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002204/0.405, allocations: 0.6278 MB / 0.5745 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006436/0.4114, allocations: 2.204 MB / 0.5767 GB, free: 14.72 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01069/0.4221, allocations: 3.997 MB / 0.5806 GB, free: 10.7 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004776/0.4269, allocations: 3.085 MB / 0.5836 GB, free: 7.602 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002053/0.4289, allocations: 1.577 MB / 0.5852 GB, free: 5.98 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001699/0.4306, allocations: 1.481 MB / 0.5866 GB, free: 4.496 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002032/0.4327, allocations: 1.502 MB / 0.5881 GB, free: 2.988 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004361/0.4331, allocations: 299.9 kB / 0.5884 GB, free: 2.695 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00737/0.4405, allocations: 2.984 MB / 0.5913 GB, free: 15.71 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006833/0.4412, allocations: 0.7011 MB / 0.592 GB, free: 15 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001275/0.4424, allocations: 1.214 MB / 0.5931 GB, free: 13.79 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01052/0.453, allocations: 6.556 MB / 0.5995 GB, free: 7.203 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.453, allocations: 0 / 0.5995 GB, free: 7.203 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.453, allocations: 4 kB / 0.5995 GB, free: 7.199 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.135e-05/0.453, allocations: 0 / 0.5995 GB, free: 7.199 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 609 * Number of variables: 609 Notification: Performance of Generate backend data structure: time 0.006079/0.4591, allocations: 3.326 MB / 0.6028 GB, free: 3.82 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.4591, allocations: 8.031 kB / 0.6028 GB, free: 3.812 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002272/0.4614, allocations: 0.5804 MB / 0.6034 GB, free: 3.23 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002644/0.464, allocations: 1.356 MB / 0.6047 GB, free: 1.836 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002863/0.4643, allocations: 343.3 kB / 0.605 GB, free: 1.461 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004029/0.4647, allocations: 247.9 kB / 0.6053 GB, free: 1.219 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004954/0.4697, allocations: 3.086 MB / 0.6083 GB, free: 14.01 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.824e-05/0.4697, allocations: 3.938 kB / 0.6083 GB, free: 14.01 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002361/0.47, allocations: 100 kB / 0.6084 GB, free: 13.91 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.81e-05/0.47, allocations: 56 kB / 0.6084 GB, free: 13.86 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00579/0.4758, allocations: 3.607 MB / 0.6119 GB, free: 10.25 MB / 462.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.01572/0.4915, allocations: 8.751 MB / 0.6205 GB, free: 1.324 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003234/0.4948, allocations: 1.768 MB / 0.6222 GB, free: 15.55 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001655/0.4964, allocations: 1.02 MB / 0.6232 GB, free: 14.51 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01161/0.508, allocations: 5.184 MB / 0.6283 GB, free: 9.289 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.52e-05/0.5081, allocations: 55.81 kB / 0.6283 GB, free: 9.227 MB / 478.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001256/0.5093, allocations: 282.7 kB / 0.6286 GB, free: 8.949 MB / 478.1 MB Notification: Performance of pre-optimization done (n=134): time 4.469e-06/0.5093, allocations: 3.938 kB / 0.6286 GB, free: 8.945 MB / 478.1 MB Notification: Performance of matching and sorting (n=181): time 0.03531/0.5447, allocations: 9.537 MB / 0.6379 GB, free: 15.35 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001031/0.5448, allocations: 124.8 kB / 0.638 GB, free: 15.2 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001863/0.5466, allocations: 1.413 MB / 0.6394 GB, free: 13.77 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002067/0.5468, allocations: 53.7 kB / 0.6395 GB, free: 13.71 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009372/0.5478, allocations: 1.209 MB / 0.6406 GB, free: 12.49 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007139/0.5485, allocations: 0.6624 MB / 0.6413 GB, free: 11.82 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008099/0.5493, allocations: 0.5209 MB / 0.6418 GB, free: 11.29 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.5494, allocations: 305.1 kB / 0.6421 GB, free: 10.99 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0017/0.5511, allocations: 0.9462 MB / 0.643 GB, free: 10.04 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002676/0.5538, allocations: 1.906 MB / 0.6449 GB, free: 7.699 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004641/0.5584, allocations: 3.003 MB / 0.6478 GB, free: 4.262 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.207e-05/0.5585, allocations: 12 kB / 0.6478 GB, free: 4.25 MB / 494.1 MB Notification: Performance of matching and sorting (n=342) (initialization): time 0.01032/0.5688, allocations: 3.879 MB / 0.6516 GB, free: 356 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.278e-05/0.5688, allocations: 23.98 kB / 0.6516 GB, free: 332 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.731e-05/0.5689, allocations: 43.91 kB / 0.6517 GB, free: 288 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005254/0.5741, allocations: 1.163 MB / 0.6528 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001957/0.5761, allocations: 0.585 MB / 0.6534 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009816/0.5859, allocations: 7.085 MB / 0.6603 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001753/0.5877, allocations: 119.8 kB / 0.6604 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002653/0.5879, allocations: 152 kB / 0.6606 GB, free: 6.844 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 142 * 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 (305): * Single equations (assignments): 300 * 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 {(3,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 {(1,18), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0009387/0.5889, allocations: 488.7 kB / 0.661 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004092/0.5893, allocations: 178.8 kB / 0.6612 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009442/0.5987, allocations: 3.232 MB / 0.6644 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.976e-05/0.5987, allocations: 23.98 kB / 0.6644 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.153e-05/0.5987, allocations: 7.938 kB / 0.6644 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-05/0.5988, allocations: 7.969 kB / 0.6644 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01273/0.6115, allocations: 4.876 MB / 0.6692 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.017e-05/0.6115, allocations: 0 / 0.6692 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001253/0.6128, allocations: 307.6 kB / 0.6694 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004746/0.6175, allocations: 1.046 MB / 0.6705 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000192/0.6177, allocations: 71.95 kB / 0.6705 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008567/0.6263, allocations: 6.378 MB / 0.6768 GB, free: 5.777 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/0.6263, allocations: 7.938 kB / 0.6768 GB, free: 5.77 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01019/0.6365, allocations: 4.112 MB / 0.6808 GB, free: 1.594 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004835/0.6369, allocations: 154.9 kB / 0.6809 GB, free: 1.441 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002468/0.6372, allocations: 32 kB / 0.681 GB, free: 1.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009984/0.6382, allocations: 43.98 kB / 0.681 GB, free: 1.367 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004212/0.6386, allocations: 185.5 kB / 0.6812 GB, free: 1.184 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000179/0.6388, allocations: 87.94 kB / 0.6813 GB, free: 1.098 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001271/0.6401, allocations: 0.8813 MB / 0.6821 GB, free: 220 kB / 0.5137 GB Notification: Performance of sort global known variables: time 6e-08/0.6401, allocations: 0 / 0.6821 GB, free: 220 kB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004386/0.6444, allocations: 1.266 MB / 0.6834 GB, free: 14.95 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 8 (cathode.temperature,anode.temperature,solution1.temperature,H.logn,H2O.logn,CH4.logn,CO2.logn,H2.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 (156): * Single equations (assignments): 151 * 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 {(3,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,19), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00264/0.6471, allocations: 1.332 MB / 0.6847 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00571/0.6528, allocations: 2.829 MB / 0.6874 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.217e-06/0.6528, allocations: 0 / 0.6874 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00278/0.6556, allocations: 1.473 MB / 0.6889 GB, free: 9.219 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001608/0.6572, allocations: 315.8 kB / 0.6892 GB, free: 8.914 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00738/0.6646, allocations: 4.103 MB / 0.6932 GB, free: 4.73 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001026/0.6656, allocations: 0.9104 MB / 0.6941 GB, free: 3.777 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001582/0.6672, allocations: 449.4 kB / 0.6945 GB, free: 3.336 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006344/0.6678, allocations: 284 kB / 0.6948 GB, free: 3.066 MB / 0.5294 GB Notification: Performance of SimCode: time 8.11e-07/0.6678, allocations: 0 / 0.6948 GB, free: 3.066 MB / 0.5294 GB Notification: Performance of Templates: time 0.2719/0.9397, allocations: 49.22 MB / 0.7428 GB, free: 171.5 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation.sim & ./Chemical_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.820142580196261] Failed to read output from testmodel.py, exit status != 0: 0.9478363245725632 0.957675257 0.5022944549999999 Calling exit ...