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.001201/0.001201, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.001446/0.001446, allocations: 177.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.858/0.858, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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.0753/0.0753, allocations: 17.36 MB / 277.3 MB, free: 11.83 MB / 266.7 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: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 0 / 412.7 MB, free: 13.06 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.212e-05/3.429e-05, allocations: 2.281 kB / 412.7 MB, free: 13.06 MB / 330.7 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.02455/0.02458, allocations: 29.54 MB / 442.2 MB, free: 10.94 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.01586/0.04044, allocations: 19.46 MB / 461.7 MB, free: 8.879 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001019/0.04146, allocations: 31.75 kB / 461.7 MB, free: 8.848 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009309/0.04239, allocations: 0.5387 MB / 462.3 MB, free: 8.305 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002411/0.0448, allocations: 1.365 MB / 463.6 MB, free: 6.93 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005563/0.05036, allocations: 3.443 MB / 467.1 MB, free: 3.465 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001642/0.052, allocations: 2.483 MB / 469.6 MB, free: 0.9727 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001073/0.05308, allocations: 1.243 MB / 470.8 MB, free: 15.68 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009339/0.05401, allocations: 1.532 MB / 472.3 MB, free: 14.14 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007666/0.05478, allocations: 0.9429 MB / 473.3 MB, free: 13.2 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001889/0.05496, allocations: 232 kB / 473.5 MB, free: 12.97 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002948/0.05791, allocations: 2.246 MB / 475.8 MB, free: 10.72 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003642/0.05828, allocations: 0.549 MB / 476.3 MB, free: 10.17 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006036/0.05888, allocations: 0.8147 MB / 477.1 MB, free: 9.355 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004245/0.06313, allocations: 5.274 MB / 482.4 MB, free: 4.062 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.06313, allocations: 4 kB / 482.4 MB, free: 4.059 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.06313, allocations: 0 / 482.4 MB, free: 4.059 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.65e-05/0.06316, allocations: 0 / 482.4 MB, free: 4.059 MB / 378.7 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.002777/0.06594, allocations: 2.639 MB / 485 MB, free: 1.375 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.322e-05/0.06597, allocations: 8.031 kB / 485 MB, free: 1.367 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009664/0.06693, allocations: 0.5103 MB / 485.6 MB, free: 0.8555 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001204/0.06814, allocations: 1.128 MB / 486.7 MB, free: 15.7 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001293/0.06827, allocations: 259.1 kB / 486.9 MB, free: 15.42 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001853/0.06845, allocations: 188.4 kB / 487.1 MB, free: 15.24 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002376/0.07083, allocations: 2.72 MB / 489.8 MB, free: 12.45 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.931e-05/0.07086, allocations: 7.875 kB / 489.8 MB, free: 12.44 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00012/0.07098, allocations: 76 kB / 489.9 MB, free: 12.37 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.258e-05/0.071, allocations: 52 kB / 490 MB, free: 12.32 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002984/0.07399, allocations: 3.314 MB / 493.3 MB, free: 8.996 MB / 394.7 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.006717/0.0807, allocations: 7.274 MB / 0.4888 GB, free: 1.562 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00124/0.08194, allocations: 1.118 MB / 0.4899 GB, free: 432 kB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005889/0.08253, allocations: 0.5911 MB / 0.4905 GB, free: 15.82 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004016/0.08655, allocations: 3.397 MB / 0.4938 GB, free: 12.39 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.205e-05/0.08657, allocations: 39.22 kB / 0.4938 GB, free: 12.35 MB / 410.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003741/0.08694, allocations: 183 kB / 0.494 GB, free: 12.17 MB / 410.7 MB Notification: Performance of pre-optimization done (n=81): time 2.264e-06/0.08695, allocations: 0 / 0.494 GB, free: 12.17 MB / 410.7 MB Notification: Performance of matching and sorting (n=115): time 0.01291/0.09986, allocations: 6.921 MB / 0.5008 GB, free: 5.195 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.784e-05/0.0999, allocations: 119.9 kB / 0.5009 GB, free: 5.051 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001228/0.1011, allocations: 1.831 MB / 0.5027 GB, free: 3.207 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.976e-05/0.1012, allocations: 45.7 kB / 0.5027 GB, free: 3.156 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000536/0.1017, allocations: 1.045 MB / 0.5037 GB, free: 2.098 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002085/0.1019, allocations: 432.4 kB / 0.5042 GB, free: 1.672 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003588/0.1023, allocations: 411.3 kB / 0.5046 GB, free: 1.262 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.11e-05/0.1024, allocations: 305.1 kB / 0.5048 GB, free: 0.9609 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000835/0.1032, allocations: 0.8668 MB / 0.5057 GB, free: 92 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001139/0.1043, allocations: 1.604 MB / 0.5073 GB, free: 14.14 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001908/0.1062, allocations: 2.356 MB / 0.5096 GB, free: 11.45 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.558e-06/0.1062, allocations: 8 kB / 0.5096 GB, free: 11.44 MB / 426.7 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.004391/0.1106, allocations: 3.323 MB / 0.5128 GB, free: 8.094 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/0.1107, allocations: 12 kB / 0.5128 GB, free: 8.082 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.852e-05/0.1107, allocations: 24 kB / 0.5128 GB, free: 8.059 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002225/0.1129, allocations: 1.038 MB / 0.5139 GB, free: 7.004 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007209/0.1136, allocations: 435.3 kB / 0.5143 GB, free: 6.578 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005574/0.1192, allocations: 7.051 MB / 0.5212 GB, free: 15.18 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007015/0.1199, allocations: 95.91 kB / 0.5213 GB, free: 15.09 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000116/0.12, allocations: 120 kB / 0.5214 GB, free: 14.97 MB / 442.7 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.0004881/0.1205, allocations: 401.1 kB / 0.5217 GB, free: 14.57 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001729/0.1207, allocations: 139.1 kB / 0.5219 GB, free: 14.43 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003485/0.1242, allocations: 2.166 MB / 0.524 GB, free: 12.25 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.313e-06/0.1242, allocations: 12 kB / 0.524 GB, free: 12.23 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.1242, allocations: 4 kB / 0.524 GB, free: 12.23 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.05e-05/0.1242, allocations: 15.97 kB / 0.524 GB, free: 12.21 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004804/0.129, allocations: 3.509 MB / 0.5275 GB, free: 8.641 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.129, allocations: 0 / 0.5275 GB, free: 8.641 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003587/0.1294, allocations: 179.7 kB / 0.5276 GB, free: 8.465 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001979/0.1313, allocations: 0.9319 MB / 0.5285 GB, free: 7.52 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.679e-05/0.1314, allocations: 47.95 kB / 0.5286 GB, free: 7.473 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004379/0.1358, allocations: 6.325 MB / 0.5348 GB, free: 0.8125 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.1358, allocations: 4.031 kB / 0.5348 GB, free: 0.8086 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003728/0.1395, allocations: 2.879 MB / 0.5376 GB, free: 13.89 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001315/0.1396, allocations: 131.1 kB / 0.5377 GB, free: 13.76 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001065/0.1397, allocations: 24 kB / 0.5377 GB, free: 13.73 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003947/0.1401, allocations: 32.11 kB / 0.5378 GB, free: 13.7 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001668/0.1403, allocations: 128.7 kB / 0.5379 GB, free: 13.57 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.938e-05/0.1404, allocations: 51.97 kB / 0.5379 GB, free: 13.52 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0009814/0.1413, allocations: 1.248 MB / 0.5391 GB, free: 12.27 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.1413, allocations: 0 / 0.5391 GB, free: 12.27 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001828/0.1432, allocations: 0.978 MB / 0.5401 GB, free: 11.29 MB / 458.7 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.001179/0.1444, allocations: 1.043 MB / 0.5411 GB, free: 10.23 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002496/0.1468, allocations: 2.354 MB / 0.5434 GB, free: 7.836 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1469, allocations: 0 / 0.5434 GB, free: 7.836 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001067/0.1479, allocations: 1.1 MB / 0.5445 GB, free: 6.703 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000757/0.1487, allocations: 226.5 kB / 0.5447 GB, free: 6.488 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003423/0.1521, allocations: 3.142 MB / 0.5478 GB, free: 3.277 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004505/0.1525, allocations: 0.7254 MB / 0.5485 GB, free: 2.52 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003137/0.1529, allocations: 220.3 kB / 0.5487 GB, free: 2.305 MB / 458.7 MB Notification: Performance of SimCode: time 6.31e-07/0.1529, allocations: 4 kB / 0.5487 GB, free: 2.301 MB / 458.7 MB Notification: Performance of Templates: time 0.165/0.3179, allocations: 66.01 MB / 0.6132 GB, free: 139.5 MB / 490.7 MB " [Timeout remaining time 660] 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: 7.648934313096106] Failed to read output from testmodel.py, exit status != 0: 0.45447856187820435 0.32892830599999995 0.26451843699999994 Calling exit ...