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.001969/0.001969, allocations: 79.28 kB / 19.18 MB, free: 2.516 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.001756/0.001756, allocations: 164.3 kB / 22.46 MB, free: 5.375 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.444/1.444, allocations: 177.1 MB / 202.8 MB, free: 9.148 MB / 190.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.137/0.137, allocations: 17.45 MB / 276.6 MB, free: 15.18 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: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 412.1 MB, free: 4.262 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.581e-05/2.769e-05, allocations: 2.281 kB / 412.1 MB, free: 4.258 MB / 334.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.04369/0.04372, allocations: 29.55 MB / 441.7 MB, free: 6.816 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.25/0.2938, allocations: 19.46 MB / 461.1 MB, free: 29.14 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001599/0.2954, allocations: 28.16 kB / 461.1 MB, free: 29.13 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001597/0.297, allocations: 0.5403 MB / 461.7 MB, free: 28.86 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005027/0.302, allocations: 1.372 MB / 463.1 MB, free: 28.07 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01205/0.314, allocations: 3.438 MB / 466.5 MB, free: 26.07 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00465/0.3187, allocations: 2.485 MB / 469 MB, free: 24.79 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002079/0.3208, allocations: 1.246 MB / 470.2 MB, free: 24.16 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002134/0.3229, allocations: 1.529 MB / 471.8 MB, free: 23.55 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001482/0.3244, allocations: 0.9561 MB / 472.7 MB, free: 23.27 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003846/0.3248, allocations: 234.3 kB / 472.9 MB, free: 23.27 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007629/0.3324, allocations: 2.243 MB / 475.2 MB, free: 22.55 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007358/0.3331, allocations: 0.5432 MB / 475.7 MB, free: 22.09 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001604/0.3347, allocations: 0.8173 MB / 476.5 MB, free: 21.64 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01174/0.3465, allocations: 5.268 MB / 481.8 MB, free: 18.25 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.782e-06/0.3465, allocations: 0 / 481.8 MB, free: 18.25 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.3465, allocations: 2.656 kB / 481.8 MB, free: 18.25 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.4e-05/0.3466, allocations: 0 / 481.8 MB, free: 18.25 MB / 366.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.006798/0.3534, allocations: 2.636 MB / 484.5 MB, free: 16.25 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.3534, allocations: 12.03 kB / 484.5 MB, free: 16.23 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001926/0.3553, allocations: 0.5023 MB / 485 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001839/0.3572, allocations: 1.145 MB / 486.1 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001364/0.3573, allocations: 247.2 kB / 486.4 MB, free: 14.3 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002515/0.3576, allocations: 188.4 kB / 486.5 MB, free: 14.12 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003268/0.3608, allocations: 2.722 MB / 489.3 MB, free: 11.33 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.971e-05/0.3609, allocations: 4 kB / 489.3 MB, free: 11.33 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001914/0.3611, allocations: 76 kB / 489.3 MB, free: 11.25 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.547e-05/0.3611, allocations: 48 kB / 489.4 MB, free: 11.21 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003631/0.3647, allocations: 3.318 MB / 492.7 MB, free: 7.883 MB / 366.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.009932/0.3747, allocations: 7.284 MB / 500 MB, free: 480 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001924/0.3766, allocations: 1.105 MB / 0.4893 GB, free: 15.35 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001085/0.3777, allocations: 0.595 MB / 0.4899 GB, free: 14.75 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008545/0.3862, allocations: 3.393 MB / 0.4932 GB, free: 11.34 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.797e-05/0.3863, allocations: 43.16 kB / 0.4933 GB, free: 11.28 MB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001049/0.3873, allocations: 193.6 kB / 0.4935 GB, free: 11.09 MB / 382.1 MB Notification: Performance of pre-optimization done (n=81): time 3.286e-06/0.3873, allocations: 0 / 0.4935 GB, free: 11.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=115): time 0.03004/0.4174, allocations: 6.907 MB / 0.5002 GB, free: 4.219 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.851e-05/0.4175, allocations: 115.8 kB / 0.5003 GB, free: 4.078 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002706/0.4202, allocations: 1.831 MB / 0.5021 GB, free: 2.234 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002104/0.4204, allocations: 45.7 kB / 0.5022 GB, free: 2.184 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009168/0.4213, allocations: 1.041 MB / 0.5032 GB, free: 1.129 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00049/0.4218, allocations: 428.4 kB / 0.5036 GB, free: 0.707 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000728/0.4225, allocations: 419.3 kB / 0.504 GB, free: 296 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002565/0.4228, allocations: 303.8 kB / 0.5043 GB, free: 15.99 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001624/0.4244, allocations: 0.8746 MB / 0.5051 GB, free: 15.11 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002397/0.4268, allocations: 1.605 MB / 0.5067 GB, free: 13.16 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003805/0.4306, allocations: 2.347 MB / 0.509 GB, free: 10.51 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.831e-05/0.4306, allocations: 10.69 kB / 0.509 GB, free: 10.5 MB / 398.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.009621/0.4402, allocations: 3.322 MB / 0.5122 GB, free: 7.184 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.642e-05/0.4403, allocations: 16 kB / 0.5123 GB, free: 7.168 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.751e-05/0.4403, allocations: 24 kB / 0.5123 GB, free: 7.145 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005378/0.4457, allocations: 1.033 MB / 0.5133 GB, free: 6.125 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0018/0.4475, allocations: 434.1 kB / 0.5137 GB, free: 5.703 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01215/0.4597, allocations: 7.065 MB / 0.5206 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002354/0.462, allocations: 94.53 kB / 0.5207 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005686/0.4626, allocations: 123.6 kB / 0.5208 GB, free: 14.14 MB / 414.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.001581/0.4642, allocations: 399.8 kB / 0.5212 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007384/0.4649, allocations: 139.1 kB / 0.5213 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007927/0.4728, allocations: 2.174 MB / 0.5234 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.125e-05/0.4728, allocations: 12 kB / 0.5235 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.29e-05/0.4729, allocations: 4 kB / 0.5235 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.28e-05/0.4729, allocations: 7.969 kB / 0.5235 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01143/0.4843, allocations: 3.512 MB / 0.5269 GB, free: 7.867 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.291e-05/0.4843, allocations: 4 kB / 0.5269 GB, free: 7.863 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009067/0.4852, allocations: 174.4 kB / 0.5271 GB, free: 7.695 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00502/0.4902, allocations: 0.9239 MB / 0.528 GB, free: 6.781 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002149/0.4905, allocations: 47.89 kB / 0.528 GB, free: 6.734 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009751/0.5002, allocations: 6.334 MB / 0.5342 GB, free: 92 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.5002, allocations: 0 / 0.5342 GB, free: 92 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008751/0.509, allocations: 2.887 MB / 0.537 GB, free: 13.17 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004899/0.5095, allocations: 123.2 kB / 0.5371 GB, free: 13.05 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004204/0.5099, allocations: 27.98 kB / 0.5372 GB, free: 13.02 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001146/0.511, allocations: 34.64 kB / 0.5372 GB, free: 12.99 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003666/0.5114, allocations: 112.7 kB / 0.5373 GB, free: 12.88 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001485/0.5115, allocations: 55.97 kB / 0.5374 GB, free: 12.82 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001846/0.5134, allocations: 1.244 MB / 0.5386 GB, free: 11.57 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5134, allocations: 4 kB / 0.5386 GB, free: 11.57 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003896/0.5173, allocations: 0.9702 MB / 0.5395 GB, free: 10.59 MB / 430.1 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.003034/0.5203, allocations: 1.057 MB / 0.5406 GB, free: 9.586 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00565/0.526, allocations: 2.355 MB / 0.5429 GB, free: 7.203 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.173e-06/0.526, allocations: 0 / 0.5429 GB, free: 7.203 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002563/0.5285, allocations: 1.093 MB / 0.5439 GB, free: 6.074 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002034/0.5306, allocations: 225 kB / 0.5441 GB, free: 5.879 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007208/0.5378, allocations: 3.103 MB / 0.5472 GB, free: 2.793 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001259/0.539, allocations: 0.7267 MB / 0.5479 GB, free: 2.055 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001326/0.5404, allocations: 325.2 kB / 0.5482 GB, free: 1.836 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005138/0.5409, allocations: 175.2 kB / 0.5484 GB, free: 1.668 MB / 430.1 MB Notification: Performance of SimCode: time 1.173e-06/0.5409, allocations: 0 / 0.5484 GB, free: 1.668 MB / 430.1 MB Notification: Performance of Templates: time 0.06497/0.6058, allocations: 35.82 MB / 0.5833 GB, free: 14.37 MB / 478.1 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.345088358968496] Failed to read output from testmodel.py, exit status != 0: 0.6165615878999233 0.63176196 0.28189887199999997 Calling exit ...