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.001567/0.001567, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001695/0.001695, allocations: 215.2 kB / 22.25 MB, free: 5.082 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.398/1.398, allocations: 230.6 MB / 256 MB, free: 8.031 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.1337/0.1337, allocations: 23.86 MB / 336.3 MB, free: 11.21 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.001969/0.001969, allocations: 67.89 kB / 471.7 MB, free: 7.199 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3229/0.3249, allocations: 59.85 MB / 0.5191 GB, free: 9.867 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.04337/0.3683, allocations: 31.95 MB / 0.5503 GB, free: 8.258 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03876/0.407, allocations: 29.09 MB / 0.5787 GB, free: 13.03 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002338/0.4094, allocations: 39.69 kB / 0.5787 GB, free: 12.99 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002211/0.4116, allocations: 0.6862 MB / 0.5794 GB, free: 12.3 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007301/0.4189, allocations: 2.266 MB / 0.5816 GB, free: 10.02 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01136/0.4303, allocations: 3.989 MB / 0.5855 GB, free: 6.004 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005297/0.4356, allocations: 3.093 MB / 0.5885 GB, free: 2.895 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00254/0.4381, allocations: 1.605 MB / 0.5901 GB, free: 1.246 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002213/0.4403, allocations: 1.481 MB / 0.5915 GB, free: 15.76 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002704/0.443, allocations: 1.689 MB / 0.5932 GB, free: 14.07 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005237/0.4435, allocations: 296 kB / 0.5935 GB, free: 13.78 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009806/0.4533, allocations: 3.183 MB / 0.5966 GB, free: 10.59 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001443/0.4548, allocations: 0.6933 MB / 0.5972 GB, free: 9.895 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00211/0.4569, allocations: 1.439 MB / 0.5986 GB, free: 8.449 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01694/0.4738, allocations: 6.58 MB / 0.6051 GB, free: 1.844 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.4738, allocations: 0 / 0.6051 GB, free: 1.844 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.355e-06/0.4738, allocations: 0 / 0.6051 GB, free: 1.844 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001521/0.474, allocations: 0 / 0.6051 GB, free: 1.844 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.007767/0.4818, allocations: 3.327 MB / 0.6083 GB, free: 14.46 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.958e-05/0.4818, allocations: 8.031 kB / 0.6083 GB, free: 14.45 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002497/0.4843, allocations: 0.5804 MB / 0.6089 GB, free: 13.87 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002883/0.4872, allocations: 1.356 MB / 0.6102 GB, free: 12.48 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002963/0.4875, allocations: 351.2 kB / 0.6106 GB, free: 12.09 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004072/0.4879, allocations: 240 kB / 0.6108 GB, free: 11.86 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005251/0.4931, allocations: 3.068 MB / 0.6138 GB, free: 8.684 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.744e-05/0.4932, allocations: 7.938 kB / 0.6138 GB, free: 8.676 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002422/0.4934, allocations: 96 kB / 0.6139 GB, free: 8.582 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.698e-05/0.4935, allocations: 60 kB / 0.6139 GB, free: 8.523 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006061/0.4995, allocations: 3.634 MB / 0.6175 GB, free: 4.887 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.01841/0.518, allocations: 10.45 MB / 0.6277 GB, free: 10.05 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003318/0.5213, allocations: 1.771 MB / 0.6294 GB, free: 8.273 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001817/0.5231, allocations: 1.026 MB / 0.6304 GB, free: 7.238 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01328/0.5364, allocations: 5.48 MB / 0.6358 GB, free: 1.719 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.305e-05/0.5364, allocations: 51.81 kB / 0.6358 GB, free: 1.66 MB / 478.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0016/0.538, allocations: 306.4 kB / 0.6361 GB, free: 1.359 MB / 478.1 MB Notification: Performance of pre-optimization done (n=134): time 8.365e-06/0.538, allocations: 0 / 0.6361 GB, free: 1.359 MB / 478.1 MB Notification: Performance of matching and sorting (n=181): time 0.03899/0.577, allocations: 9.537 MB / 0.6454 GB, free: 7.762 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.194e-05/0.5771, allocations: 124.8 kB / 0.6456 GB, free: 7.613 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002136/0.5793, allocations: 1.466 MB / 0.647 GB, free: 6.137 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001729/0.5794, allocations: 61.69 kB / 0.647 GB, free: 6.07 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009462/0.5804, allocations: 1.194 MB / 0.6482 GB, free: 4.863 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007571/0.5811, allocations: 0.6546 MB / 0.6488 GB, free: 4.203 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008636/0.582, allocations: 0.5131 MB / 0.6493 GB, free: 3.684 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001316/0.5821, allocations: 309.1 kB / 0.6496 GB, free: 3.379 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00195/0.5841, allocations: 0.9462 MB / 0.6506 GB, free: 2.43 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003168/0.5872, allocations: 1.902 MB / 0.6524 GB, free: 92 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004906/0.5922, allocations: 3 MB / 0.6554 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.359e-05/0.5922, allocations: 12 kB / 0.6554 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of matching and sorting (n=342) (initialization): time 0.0113/0.6035, allocations: 3.905 MB / 0.6592 GB, free: 8.715 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.862e-05/0.6035, allocations: 20 kB / 0.6592 GB, free: 8.695 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.712e-05/0.6036, allocations: 39.88 kB / 0.6592 GB, free: 8.656 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005952/0.6095, allocations: 1.179 MB / 0.6604 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002262/0.6118, allocations: 0.585 MB / 0.661 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01144/0.6232, allocations: 7.204 MB / 0.668 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002002/0.6252, allocations: 111.9 kB / 0.6681 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000397/0.6256, allocations: 155.9 kB / 0.6682 GB, free: 15.04 MB / 0.5137 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.001184/0.6268, allocations: 488.8 kB / 0.6687 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000535/0.6273, allocations: 186.8 kB / 0.6689 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01032/0.6376, allocations: 3.253 MB / 0.6721 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.768e-05/0.6377, allocations: 16 kB / 0.6721 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.153e-05/0.6377, allocations: 4 kB / 0.6721 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.362e-05/0.6377, allocations: 15.97 kB / 0.6721 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01403/0.6517, allocations: 5.397 MB / 0.6774 GB, free: 5.562 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.198e-05/0.6517, allocations: 4 kB / 0.6774 GB, free: 5.559 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001319/0.653, allocations: 307.9 kB / 0.6777 GB, free: 5.258 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005084/0.6581, allocations: 1.034 MB / 0.6787 GB, free: 4.207 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002126/0.6583, allocations: 75.89 kB / 0.6788 GB, free: 4.133 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009184/0.6675, allocations: 6.499 MB / 0.6851 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/0.6675, allocations: 4 kB / 0.6851 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01075/0.6783, allocations: 4.12 MB / 0.6891 GB, free: 9.078 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004814/0.6788, allocations: 170.7 kB / 0.6893 GB, free: 8.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003541/0.6791, allocations: 36 kB / 0.6893 GB, free: 8.875 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00126/0.6804, allocations: 47.98 kB / 0.6894 GB, free: 8.828 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000432/0.6808, allocations: 193.5 kB / 0.6896 GB, free: 8.637 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001911/0.681, allocations: 79.95 kB / 0.6896 GB, free: 8.559 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001482/0.6825, allocations: 0.9664 MB / 0.6906 GB, free: 7.594 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.6825, allocations: 0 / 0.6906 GB, free: 7.594 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00413/0.6866, allocations: 1.259 MB / 0.6918 GB, free: 6.332 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.00287/0.6895, allocations: 1.331 MB / 0.6931 GB, free: 4.988 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006022/0.6955, allocations: 2.837 MB / 0.6959 GB, free: 2.113 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/0.6955, allocations: 0 / 0.6959 GB, free: 2.113 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003015/0.6985, allocations: 1.461 MB / 0.6973 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001758/0.7003, allocations: 323.5 kB / 0.6976 GB, free: 308 kB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008185/0.7085, allocations: 4.113 MB / 0.7016 GB, free: 12.11 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001408/0.7099, allocations: 1.482 MB / 0.7031 GB, free: 10.59 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001551/0.7114, allocations: 466.7 kB / 0.7035 GB, free: 10.13 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006891/0.7121, allocations: 285.1 kB / 0.7038 GB, free: 9.859 MB / 0.545 GB Notification: Performance of SimCode: time 1.443e-06/0.7121, allocations: 0 / 0.7038 GB, free: 9.859 MB / 0.545 GB Notification: Performance of Templates: time 0.2986/1.011, allocations: 49.57 MB / 0.7522 GB, free: 167.4 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 sys.exit(0), Time elapsed: 7.08411389705725] Failed to read output from testmodel.py, exit status != 0: 1.0200867040548474 1.03006823 0.553840377 Calling exit ...