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.001557/0.001557, allocations: 112.4 kB / 17.13 MB, free: 6.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.001517/0.001517, allocations: 211.2 kB / 20.1 MB, free: 3.055 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.501/1.501, allocations: 230.6 MB / 253.5 MB, free: 15.08 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.1376/0.1376, allocations: 23.86 MB / 333.4 MB, free: 1.207 MB / 254.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.001964/0.001964, allocations: 68.19 kB / 467.2 MB, free: 30.57 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1063, allocations: 59.82 MB / 0.5146 GB, free: 12.45 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.04384/0.1502, allocations: 30.04 MB / 0.544 GB, free: 14.45 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02777/0.178, allocations: 22.15 MB / 0.5656 GB, free: 8.207 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001621/0.1796, allocations: 27.81 kB / 0.5656 GB, free: 8.18 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001573/0.1811, allocations: 0.5738 MB / 0.5662 GB, free: 7.602 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003668/0.1848, allocations: 1.35 MB / 0.5675 GB, free: 6.242 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008832/0.1936, allocations: 3.316 MB / 0.5707 GB, free: 2.906 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00396/0.1976, allocations: 2.402 MB / 0.5731 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001827/0.1994, allocations: 1.289 MB / 0.5744 GB, free: 15.15 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001351/0.2008, allocations: 1.06 MB / 0.5754 GB, free: 14.09 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001649/0.2024, allocations: 1.222 MB / 0.5766 GB, free: 12.86 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003295/0.2028, allocations: 236 kB / 0.5768 GB, free: 12.63 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006891/0.2097, allocations: 2.367 MB / 0.5791 GB, free: 10.26 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006861/0.2103, allocations: 0.5452 MB / 0.5796 GB, free: 9.715 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001345/0.2117, allocations: 1.128 MB / 0.5807 GB, free: 8.582 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01027/0.222, allocations: 5.035 MB / 0.5857 GB, free: 3.527 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.222, allocations: 0 / 0.5857 GB, free: 3.527 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.222, allocations: 0 / 0.5857 GB, free: 3.527 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.75e-05/0.222, allocations: 4 kB / 0.5857 GB, free: 3.523 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: 484 * Number of variables: 484 Notification: Performance of Generate backend data structure: time 0.005401/0.2274, allocations: 2.733 MB / 0.5883 GB, free: 0.7305 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.2275, allocations: 8.031 kB / 0.5883 GB, free: 0.7227 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001978/0.2294, allocations: 0.5105 MB / 0.5888 GB, free: 216 kB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2219/0.4513, allocations: 1.197 MB / 0.59 GB, free: 63.43 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002208/0.4515, allocations: 205.5 kB / 0.5902 GB, free: 63.36 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004318/0.452, allocations: 191.6 kB / 0.5904 GB, free: 63.36 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004624/0.4566, allocations: 2.662 MB / 0.593 GB, free: 62.59 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.786e-05/0.4566, allocations: 4.969 kB / 0.593 GB, free: 62.58 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001807/0.4568, allocations: 78.36 kB / 0.5931 GB, free: 62.52 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.245e-05/0.4569, allocations: 50.31 kB / 0.5931 GB, free: 62.52 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004986/0.4619, allocations: 3.285 MB / 0.5963 GB, free: 61.46 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.01239/0.4742, allocations: 8.528 MB / 0.6047 GB, free: 56.56 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00196/0.4762, allocations: 1.264 MB / 0.6059 GB, free: 55.88 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000924/0.4771, allocations: 0.5947 MB / 0.6065 GB, free: 55.62 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00776/0.4849, allocations: 5.585 MB / 0.6119 GB, free: 51.13 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.098e-05/0.4849, allocations: 50.02 kB / 0.612 GB, free: 51.08 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009241/0.4858, allocations: 200.7 kB / 0.6122 GB, free: 50.99 MB / 446.1 MB Notification: Performance of pre-optimization done (n=81): time 3.076e-06/0.4859, allocations: 0 / 0.6122 GB, free: 50.99 MB / 446.1 MB Notification: Performance of matching and sorting (n=115): time 0.02612/0.512, allocations: 7.221 MB / 0.6192 GB, free: 47.02 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.367e-05/0.512, allocations: 123.5 kB / 0.6193 GB, free: 46.89 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001775/0.5138, allocations: 1.858 MB / 0.6211 GB, free: 45.86 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001039/0.5139, allocations: 41.64 kB / 0.6212 GB, free: 45.81 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003958/0.5143, allocations: 1.052 MB / 0.6222 GB, free: 44.93 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002557/0.5145, allocations: 432.7 kB / 0.6226 GB, free: 44.57 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005401/0.5151, allocations: 416.2 kB / 0.623 GB, free: 44.33 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.035e-05/0.5151, allocations: 305.1 kB / 0.6233 GB, free: 44.03 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001062/0.5162, allocations: 0.8564 MB / 0.6242 GB, free: 43.59 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001346/0.5175, allocations: 1.59 MB / 0.6257 GB, free: 42.17 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002352/0.5199, allocations: 2.329 MB / 0.628 GB, free: 40.28 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.538e-06/0.5199, allocations: 6.688 kB / 0.628 GB, free: 40.27 MB / 446.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.007138/0.527, allocations: 3.296 MB / 0.6312 GB, free: 36.98 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.669e-05/0.5271, allocations: 19.94 kB / 0.6312 GB, free: 36.96 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.369e-05/0.5271, allocations: 24 kB / 0.6312 GB, free: 36.94 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004382/0.5315, allocations: 1.031 MB / 0.6323 GB, free: 35.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001413/0.5329, allocations: 431.3 kB / 0.6327 GB, free: 35.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008197/0.5411, allocations: 7.478 MB / 0.64 GB, free: 27.62 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001914/0.543, allocations: 94.5 kB / 0.6401 GB, free: 27.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002095/0.5432, allocations: 116 kB / 0.6402 GB, free: 27.42 MB / 446.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.0007589/0.544, allocations: 414.6 kB / 0.6406 GB, free: 27.01 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003529/0.5443, allocations: 151 kB / 0.6407 GB, free: 26.86 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005903/0.5502, allocations: 2.182 MB / 0.6428 GB, free: 24.71 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.073e-05/0.5502, allocations: 12 kB / 0.6428 GB, free: 24.7 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.757e-06/0.5503, allocations: 4 kB / 0.6429 GB, free: 24.7 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.542e-05/0.5503, allocations: 7.969 kB / 0.6429 GB, free: 24.69 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008429/0.5587, allocations: 3.942 MB / 0.6467 GB, free: 20.69 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.642e-06/0.5587, allocations: 0 / 0.6467 GB, free: 20.69 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006716/0.5594, allocations: 171.8 kB / 0.6469 GB, free: 20.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004016/0.5634, allocations: 0.9306 MB / 0.6478 GB, free: 19.61 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001211/0.5635, allocations: 43.97 kB / 0.6478 GB, free: 19.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006404/0.5699, allocations: 6.771 MB / 0.6544 GB, free: 12.39 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.5699, allocations: 7.938 kB / 0.6544 GB, free: 12.38 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006477/0.5764, allocations: 2.901 MB / 0.6573 GB, free: 9.449 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004497/0.5768, allocations: 222.7 kB / 0.6575 GB, free: 9.215 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002126/0.5771, allocations: 27.98 kB / 0.6575 GB, free: 9.188 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008918/0.578, allocations: 28 kB / 0.6575 GB, free: 9.16 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000276/0.5782, allocations: 111.5 kB / 0.6576 GB, free: 9.055 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.671e-05/0.5783, allocations: 51.97 kB / 0.6577 GB, free: 9.004 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001179/0.5795, allocations: 1.298 MB / 0.659 GB, free: 7.703 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5795, allocations: 0 / 0.659 GB, free: 7.703 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002929/0.5824, allocations: 0.9741 MB / 0.6599 GB, free: 6.727 MB / 446.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.001664/0.5841, allocations: 1.015 MB / 0.6609 GB, free: 5.871 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004012/0.5881, allocations: 2.415 MB / 0.6633 GB, free: 3.41 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.618e-06/0.5881, allocations: 0 / 0.6633 GB, free: 3.41 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001759/0.5899, allocations: 1.178 MB / 0.6644 GB, free: 2.172 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001658/0.5915, allocations: 245.8 kB / 0.6647 GB, free: 1.961 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005419/0.5969, allocations: 3.263 MB / 0.6678 GB, free: 14.76 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001024/0.598, allocations: 1.31 MB / 0.6691 GB, free: 13.45 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006565/0.5986, allocations: 228.7 kB / 0.6693 GB, free: 13.23 MB / 462.1 MB Notification: Performance of SimCode: time 8.02e-07/0.5986, allocations: 0 / 0.6693 GB, free: 13.23 MB / 462.1 MB Notification: Performance of Templates: time 0.08028/0.6789, allocations: 65.48 MB / 0.7333 GB, free: 12.36 MB / 0.5137 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: 12.230271993001224] Failed to read output from testmodel.py, exit status != 0: 0.6872608579869848 0.700914641 0.475868431 Calling exit ...