Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.001348/0.001348, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001587/0.001587, allocations: 217 kB / 23.01 MB, free: 4.609 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.48/1.48, allocations: 230.6 MB / 256.8 MB, free: 8.062 MB / 206.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.1373/0.1373, allocations: 23.9 MB / 337.1 MB, free: 11.2 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.ElectrolysisMethanation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation") translateModel(Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_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.002018/0.002018, allocations: 63.89 kB / 472.5 MB, free: 7.18 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3222/0.3242, allocations: 59.87 MB / 0.5199 GB, free: 9.844 MB / 382.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.ElectrolysisMethanation): time 0.04261/0.3669, allocations: 32.03 MB / 0.5512 GB, free: 8.156 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03709/0.4039, allocations: 29.09 MB / 0.5796 GB, free: 12.93 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002061/0.406, allocations: 35.69 kB / 0.5796 GB, free: 12.89 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002001/0.408, allocations: 0.6902 MB / 0.5803 GB, free: 12.2 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006742/0.4148, allocations: 2.266 MB / 0.5825 GB, free: 9.914 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0113/0.4261, allocations: 3.993 MB / 0.5864 GB, free: 5.898 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005093/0.4311, allocations: 3.089 MB / 0.5894 GB, free: 2.793 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002344/0.4335, allocations: 1.605 MB / 0.591 GB, free: 1.145 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002091/0.4356, allocations: 1.484 MB / 0.5924 GB, free: 15.66 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002527/0.4381, allocations: 1.689 MB / 0.5941 GB, free: 13.96 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004692/0.4386, allocations: 296 kB / 0.5944 GB, free: 13.67 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009334/0.4479, allocations: 3.183 MB / 0.5975 GB, free: 10.48 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009248/0.4488, allocations: 0.6894 MB / 0.5981 GB, free: 9.793 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001831/0.4507, allocations: 1.439 MB / 0.5995 GB, free: 8.348 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01411/0.4648, allocations: 6.572 MB / 0.606 GB, free: 1.75 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.4648, allocations: 4 kB / 0.606 GB, free: 1.746 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.4648, allocations: 0 / 0.606 GB, free: 1.746 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.163e-05/0.4649, allocations: 0 / 0.606 GB, free: 1.746 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.006888/0.4718, allocations: 3.327 MB / 0.6092 GB, free: 14.36 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.4718, allocations: 12.03 kB / 0.6092 GB, free: 14.35 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002354/0.4742, allocations: 0.5764 MB / 0.6098 GB, free: 13.77 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002724/0.4769, allocations: 1.364 MB / 0.6111 GB, free: 12.37 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003004/0.4772, allocations: 347.3 kB / 0.6115 GB, free: 11.99 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004129/0.4776, allocations: 243.9 kB / 0.6117 GB, free: 11.75 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00526/0.4828, allocations: 3.068 MB / 0.6147 GB, free: 8.578 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.586e-05/0.4829, allocations: 3.938 kB / 0.6147 GB, free: 8.574 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002395/0.4831, allocations: 96 kB / 0.6148 GB, free: 8.48 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.116e-05/0.4832, allocations: 60 kB / 0.6148 GB, free: 8.422 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006011/0.4892, allocations: 3.638 MB / 0.6184 GB, free: 4.781 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.01762/0.5068, allocations: 10.46 MB / 0.6286 GB, free: 9.945 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003035/0.5099, allocations: 1.775 MB / 0.6303 GB, free: 8.16 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001657/0.5115, allocations: 1.031 MB / 0.6313 GB, free: 7.117 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01149/0.523, allocations: 5.465 MB / 0.6367 GB, free: 1.613 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.734e-05/0.523, allocations: 55.81 kB / 0.6367 GB, free: 1.551 MB / 478.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001315/0.5244, allocations: 298.5 kB / 0.637 GB, free: 1.258 MB / 478.1 MB Notification: Performance of pre-optimization done (n=134): time 8.907e-06/0.5244, allocations: 7.984 kB / 0.637 GB, free: 1.25 MB / 478.1 MB Notification: Performance of matching and sorting (n=181): time 0.03581/0.5602, allocations: 9.53 MB / 0.6463 GB, free: 7.66 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.595e-05/0.5603, allocations: 128.8 kB / 0.6465 GB, free: 7.508 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001985/0.5623, allocations: 1.466 MB / 0.6479 GB, free: 6.031 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002571/0.5625, allocations: 57.77 kB / 0.6479 GB, free: 5.969 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009103/0.5634, allocations: 1.19 MB / 0.6491 GB, free: 4.766 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006812/0.5641, allocations: 0.6663 MB / 0.6498 GB, free: 4.094 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007601/0.5649, allocations: 0.5092 MB / 0.6503 GB, free: 3.578 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.565, allocations: 313 kB / 0.6506 GB, free: 3.27 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001802/0.5668, allocations: 0.9462 MB / 0.6515 GB, free: 2.32 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002934/0.5697, allocations: 1.906 MB / 0.6533 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004697/0.5744, allocations: 3.003 MB / 0.6563 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.962e-05/0.5745, allocations: 8 kB / 0.6563 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of matching and sorting (n=342) (initialization): time 0.01041/0.5849, allocations: 3.897 MB / 0.6601 GB, free: 8.609 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.73e-05/0.5849, allocations: 20 kB / 0.6601 GB, free: 8.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.001e-05/0.585, allocations: 36.5 kB / 0.6601 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005471/0.5904, allocations: 1.181 MB / 0.6613 GB, free: 7.359 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002262/0.5927, allocations: 0.5889 MB / 0.6619 GB, free: 6.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01052/0.6032, allocations: 7.202 MB / 0.6689 GB, free: 15.2 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002139/0.6054, allocations: 115.9 kB / 0.669 GB, free: 15.09 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003307/0.6057, allocations: 155.9 kB / 0.6692 GB, free: 14.94 MB / 0.5138 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.000983/0.6067, allocations: 484.8 kB / 0.6696 GB, free: 14.45 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004758/0.6071, allocations: 186.8 kB / 0.6698 GB, free: 14.27 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009692/0.6168, allocations: 3.249 MB / 0.673 GB, free: 10.99 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.218e-05/0.6169, allocations: 16 kB / 0.673 GB, free: 10.97 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.977e-06/0.6169, allocations: 8 kB / 0.673 GB, free: 10.96 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.928e-05/0.6169, allocations: 11.95 kB / 0.673 GB, free: 10.95 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01396/0.6309, allocations: 5.405 MB / 0.6783 GB, free: 5.453 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.32e-05/0.6309, allocations: 288 / 0.6783 GB, free: 5.453 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001381/0.6323, allocations: 311.6 kB / 0.6786 GB, free: 5.148 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005081/0.6373, allocations: 1.036 MB / 0.6796 GB, free: 4.098 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002806/0.6376, allocations: 75.89 kB / 0.6797 GB, free: 4.023 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00891/0.6465, allocations: 6.498 MB / 0.686 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.883e-06/0.6465, allocations: 4 kB / 0.686 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01065/0.6572, allocations: 4.124 MB / 0.69 GB, free: 8.965 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005421/0.6577, allocations: 158.8 kB / 0.6902 GB, free: 8.809 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003048/0.658, allocations: 43.98 kB / 0.6902 GB, free: 8.766 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001116/0.6591, allocations: 47.98 kB / 0.6903 GB, free: 8.719 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004066/0.6596, allocations: 185.5 kB / 0.6905 GB, free: 8.535 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001804/0.6597, allocations: 79.95 kB / 0.6905 GB, free: 8.457 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001286/0.661, allocations: 0.9664 MB / 0.6915 GB, free: 7.492 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.661, allocations: 3.938 kB / 0.6915 GB, free: 7.488 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004083/0.6651, allocations: 1.262 MB / 0.6927 GB, free: 6.223 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.002713/0.6678, allocations: 1.331 MB / 0.694 GB, free: 4.879 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0061/0.6739, allocations: 2.839 MB / 0.6968 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.743e-06/0.6739, allocations: 0 / 0.6968 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003096/0.677, allocations: 1.456 MB / 0.6982 GB, free: 0.5039 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001908/0.6789, allocations: 322.6 kB / 0.6985 GB, free: 200 kB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007968/0.6869, allocations: 4.168 MB / 0.7026 GB, free: 11.94 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001223/0.6881, allocations: 1.478 MB / 0.704 GB, free: 10.43 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001018/0.6891, allocations: 358.1 kB / 0.7044 GB, free: 10.08 MB / 0.545 GB Notification: Performance of SimCode: time 9.61e-07/0.6891, allocations: 4 kB / 0.7044 GB, free: 10.08 MB / 0.545 GB Notification: Performance of Templates: time 0.2844/0.9736, allocations: 81.46 MB / 0.7839 GB, free: 145 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation.sim & ./Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 11.451532709994353] Failed to read output from testmodel.py, exit status != 0: 0.982312826992711 0.990687245 0.523698761 Calling exit ...