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.00152/0.00152, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001478/0.001478, allocations: 213.8 kB / 22.99 MB, free: 4.945 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.441/1.441, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.1354/0.1354, allocations: 23.89 MB / 337.1 MB, free: 11.06 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.00212/0.00212, allocations: 71.89 kB / 472.4 MB, free: 7.004 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3352/0.3373, allocations: 59.85 MB / 0.5198 GB, free: 9.738 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.08572/0.423, allocations: 30.7 MB / 0.5497 GB, free: 9.312 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03818/0.4612, allocations: 25.49 MB / 0.5746 GB, free: 1.672 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002847/0.464, allocations: 39.69 kB / 0.5747 GB, free: 1.633 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002809/0.4668, allocations: 0.6278 MB / 0.5753 GB, free: 1 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008548/0.4754, allocations: 2.204 MB / 0.5774 GB, free: 14.78 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01276/0.4882, allocations: 3.989 MB / 0.5813 GB, free: 10.77 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005491/0.4936, allocations: 3.085 MB / 0.5843 GB, free: 7.668 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002571/0.4962, allocations: 1.581 MB / 0.5859 GB, free: 6.043 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002442/0.4987, allocations: 1.488 MB / 0.5873 GB, free: 4.551 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002814/0.5015, allocations: 1.498 MB / 0.5888 GB, free: 3.047 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005909/0.5021, allocations: 296 kB / 0.5891 GB, free: 2.758 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008569/0.5106, allocations: 2.987 MB / 0.592 GB, free: 15.77 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001006/0.5116, allocations: 0.701 MB / 0.5927 GB, free: 15.06 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001765/0.5134, allocations: 1.206 MB / 0.5939 GB, free: 13.85 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01384/0.5272, allocations: 6.564 MB / 0.6003 GB, free: 7.262 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.5272, allocations: 0 / 0.6003 GB, free: 7.262 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.5272, allocations: 0 / 0.6003 GB, free: 7.262 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001005/0.5273, allocations: 3.938 kB / 0.6003 GB, free: 7.258 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.007121/0.5345, allocations: 3.327 MB / 0.6035 GB, free: 3.879 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/0.5345, allocations: 8.031 kB / 0.6035 GB, free: 3.871 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002447/0.537, allocations: 0.5764 MB / 0.6041 GB, free: 3.293 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002787/0.5397, allocations: 1.364 MB / 0.6054 GB, free: 1.891 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003055/0.5401, allocations: 351.3 kB / 0.6058 GB, free: 1.508 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004324/0.5405, allocations: 240 kB / 0.606 GB, free: 1.273 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005152/0.5456, allocations: 3.09 MB / 0.609 GB, free: 14.07 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.04e-05/0.5457, allocations: 7.938 kB / 0.609 GB, free: 14.06 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000233/0.5459, allocations: 96 kB / 0.6091 GB, free: 13.96 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.107e-05/0.546, allocations: 60 kB / 0.6092 GB, free: 13.91 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005753/0.5517, allocations: 3.603 MB / 0.6127 GB, free: 10.3 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.01579/0.5675, allocations: 8.751 MB / 0.6212 GB, free: 1.375 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003006/0.5705, allocations: 1.772 MB / 0.623 GB, free: 15.59 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001658/0.5722, allocations: 1.018 MB / 0.624 GB, free: 14.56 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01168/0.5839, allocations: 5.18 MB / 0.629 GB, free: 9.344 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.681e-05/0.5839, allocations: 55.81 kB / 0.6291 GB, free: 9.281 MB / 478.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001281/0.5852, allocations: 286.7 kB / 0.6293 GB, free: 9 MB / 478.1 MB Notification: Performance of pre-optimization done (n=134): time 3.858e-06/0.5852, allocations: 0 / 0.6293 GB, free: 9 MB / 478.1 MB Notification: Performance of matching and sorting (n=181): time 0.03552/0.6207, allocations: 9.541 MB / 0.6387 GB, free: 15.4 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.281e-05/0.6208, allocations: 120.8 kB / 0.6388 GB, free: 15.25 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001808/0.6226, allocations: 1.413 MB / 0.6401 GB, free: 13.82 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001327/0.6228, allocations: 57.7 kB / 0.6402 GB, free: 13.76 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000868/0.6236, allocations: 1.202 MB / 0.6414 GB, free: 12.55 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005923/0.6242, allocations: 0.6585 MB / 0.642 GB, free: 11.88 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000754/0.625, allocations: 0.5209 MB / 0.6425 GB, free: 11.36 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.6251, allocations: 305.1 kB / 0.6428 GB, free: 11.05 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001681/0.6268, allocations: 0.954 MB / 0.6438 GB, free: 10.1 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002719/0.6295, allocations: 1.898 MB / 0.6456 GB, free: 7.762 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004313/0.6338, allocations: 3.003 MB / 0.6485 GB, free: 4.324 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.524e-05/0.6338, allocations: 8 kB / 0.6485 GB, free: 4.316 MB / 494.1 MB Notification: Performance of matching and sorting (n=342) (initialization): time 0.01012/0.6439, allocations: 3.886 MB / 0.6523 GB, free: 416 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.48e-05/0.644, allocations: 16 kB / 0.6524 GB, free: 400 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.45e-05/0.644, allocations: 39.92 kB / 0.6524 GB, free: 360 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005247/0.6493, allocations: 1.179 MB / 0.6535 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001973/0.6512, allocations: 0.5928 MB / 0.6541 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01019/0.6614, allocations: 7.082 MB / 0.661 GB, free: 7.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001909/0.6633, allocations: 107.9 kB / 0.6611 GB, free: 7.055 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000273/0.6636, allocations: 159.9 kB / 0.6613 GB, free: 6.898 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.0009559/0.6646, allocations: 492.8 kB / 0.6618 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003987/0.665, allocations: 178.8 kB / 0.6619 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009402/0.6744, allocations: 3.221 MB / 0.6651 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.992e-05/0.6744, allocations: 16 kB / 0.6651 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.368e-05/0.6744, allocations: 15.86 kB / 0.6651 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.331e-05/0.6744, allocations: 11.97 kB / 0.6651 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0128/0.6872, allocations: 4.88 MB / 0.6699 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.013e-05/0.6872, allocations: 8.031 kB / 0.6699 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001276/0.6885, allocations: 307.6 kB / 0.6702 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004809/0.6933, allocations: 1.038 MB / 0.6712 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000227/0.6935, allocations: 67.95 kB / 0.6713 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00853/0.7021, allocations: 6.387 MB / 0.6775 GB, free: 5.828 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.342e-06/0.7021, allocations: 7.938 kB / 0.6775 GB, free: 5.82 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01009/0.7122, allocations: 4.112 MB / 0.6815 GB, free: 1.645 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000428/0.7126, allocations: 150.9 kB / 0.6817 GB, free: 1.496 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002493/0.7129, allocations: 36 kB / 0.6817 GB, free: 1.461 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001018/0.7139, allocations: 47.98 kB / 0.6818 GB, free: 1.414 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000393/0.7143, allocations: 185.5 kB / 0.6819 GB, free: 1.23 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001697/0.7144, allocations: 87.94 kB / 0.682 GB, free: 1.145 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001158/0.7156, allocations: 0.8813 MB / 0.6829 GB, free: 268 kB / 0.5137 GB Notification: Performance of sort global known variables: time 9.1e-08/0.7156, allocations: 3.938 kB / 0.6829 GB, free: 264 kB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003589/0.7192, allocations: 1.267 MB / 0.6841 GB, free: 14.98 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.002441/0.7216, allocations: 1.328 MB / 0.6854 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.005838/0.7275, allocations: 2.834 MB / 0.6882 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.824e-06/0.7275, allocations: 4 kB / 0.6882 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002933/0.7304, allocations: 1.46 MB / 0.6896 GB, free: 9.27 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00169/0.7321, allocations: 307.6 kB / 0.6899 GB, free: 8.973 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007831/0.7399, allocations: 4.165 MB / 0.694 GB, free: 4.727 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001045/0.741, allocations: 0.9065 MB / 0.6949 GB, free: 3.777 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000937/0.7419, allocations: 353.5 kB / 0.6952 GB, free: 3.438 MB / 0.5294 GB Notification: Performance of SimCode: time 9.31e-07/0.7419, allocations: 3.938 kB / 0.6952 GB, free: 3.434 MB / 0.5294 GB Notification: Performance of Templates: time 0.2985/1.04, allocations: 82.07 MB / 0.7753 GB, free: 154.3 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: 12.235818130895495] Failed to read output from testmodel.py, exit status != 0: 1.0493944599293172 1.05777986 0.528112598 Calling exit ...