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.001764/0.001764, allocations: 103.6 kB / 16.45 MB, free: 6.5 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.002169/0.002169, allocations: 210.4 kB / 19.43 MB, free: 3.656 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.438/1.438, allocations: 230.6 MB / 252.8 MB, free: 9 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.135/0.135, allocations: 23.89 MB / 332.7 MB, free: 12.34 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/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: "" <> buildModelFMU(Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_ClimateChange_ElectrolysisMethanation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_ClimateChange_ElectrolysisMethanation",fmuType="me",version="2.0",platforms={"static"}) [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.002148/0.002148, allocations: 59.91 kB / 466 MB, free: 10.06 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2942/0.2963, allocations: 59.84 MB / 0.5135 GB, free: 8.891 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.05415/0.3505, allocations: 31.88 MB / 0.5447 GB, free: 9.129 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03761/0.3881, allocations: 29.03 MB / 0.573 GB, free: 14.33 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001868/0.3899, allocations: 35.75 kB / 0.5731 GB, free: 14.3 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001976/0.3919, allocations: 0.6939 MB / 0.5737 GB, free: 13.6 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006626/0.3985, allocations: 2.242 MB / 0.5759 GB, free: 11.34 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01077/0.4093, allocations: 3.953 MB / 0.5798 GB, free: 7.363 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004741/0.4141, allocations: 3.089 MB / 0.5828 GB, free: 4.258 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002283/0.4163, allocations: 1.643 MB / 0.5844 GB, free: 2.566 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001958/0.4183, allocations: 1.481 MB / 0.5859 GB, free: 1.082 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002391/0.4207, allocations: 1.689 MB / 0.5875 GB, free: 15.39 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005474/0.4212, allocations: 296 kB / 0.5878 GB, free: 15.1 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009222/0.4305, allocations: 3.183 MB / 0.5909 GB, free: 11.91 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009772/0.4314, allocations: 0.6894 MB / 0.5916 GB, free: 11.22 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001823/0.4333, allocations: 1.443 MB / 0.593 GB, free: 9.77 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0143/0.4476, allocations: 6.572 MB / 0.5994 GB, free: 3.172 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.038e-05/0.4476, allocations: 7.984 kB / 0.5994 GB, free: 3.164 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.4476, allocations: 0 / 0.5994 GB, free: 3.164 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001112/0.4477, allocations: 0 / 0.5994 GB, free: 3.164 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.007684/0.4554, allocations: 3.394 MB / 0.6027 GB, free: 15.7 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.4554, allocations: 12.03 kB / 0.6027 GB, free: 15.69 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004386/0.4558, allocations: 329.7 kB / 0.6031 GB, free: 15.36 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002514/0.4584, allocations: 0.5842 MB / 0.6036 GB, free: 14.77 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002497/0.4609, allocations: 1.42 MB / 0.605 GB, free: 13.3 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002476/0.4611, allocations: 278 kB / 0.6053 GB, free: 13 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004223/0.4615, allocations: 244 kB / 0.6055 GB, free: 12.77 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005287/0.4668, allocations: 3.045 MB / 0.6085 GB, free: 9.613 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.255e-05/0.4669, allocations: 7.938 kB / 0.6085 GB, free: 9.605 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002682/0.4671, allocations: 99.98 kB / 0.6086 GB, free: 9.508 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.477e-05/0.4672, allocations: 60 kB / 0.6086 GB, free: 9.449 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006225/0.4734, allocations: 3.622 MB / 0.6122 GB, free: 5.824 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.017/0.4904, allocations: 10.53 MB / 0.6225 GB, free: 10.91 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003377/0.4938, allocations: 2.163 MB / 0.6246 GB, free: 8.637 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001729/0.4955, allocations: 1.024 MB / 0.6256 GB, free: 7.602 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01315/0.5087, allocations: 8.838 MB / 0.6342 GB, free: 13.91 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.004e-05/0.5087, allocations: 43.88 kB / 0.6343 GB, free: 13.86 MB / 494.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001244/0.5099, allocations: 310.4 kB / 0.6346 GB, free: 13.55 MB / 494.1 MB Notification: Performance of pre-optimization done (n=134): time 4.278e-06/0.51, allocations: 3.938 kB / 0.6346 GB, free: 13.55 MB / 494.1 MB Notification: Performance of matching and sorting (n=181): time 0.0376/0.5475, allocations: 9.772 MB / 0.6441 GB, free: 3.664 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.572e-05/0.5476, allocations: 120.8 kB / 0.6442 GB, free: 3.52 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002048/0.5497, allocations: 1.462 MB / 0.6456 GB, free: 2.047 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001952/0.5499, allocations: 57.7 kB / 0.6457 GB, free: 1.984 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009067/0.5508, allocations: 1.19 MB / 0.6469 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006786/0.5515, allocations: 0.6585 MB / 0.6475 GB, free: 120 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009097/0.5524, allocations: 0.517 MB / 0.648 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001263/0.5525, allocations: 309.1 kB / 0.6483 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001811/0.5543, allocations: 0.9423 MB / 0.6492 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002731/0.5571, allocations: 1.898 MB / 0.6511 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004816/0.5619, allocations: 2.984 MB / 0.654 GB, free: 8.59 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.289e-05/0.5619, allocations: 12 kB / 0.654 GB, free: 8.578 MB / 0.4981 GB Notification: Performance of matching and sorting (n=342) (initialization): time 0.01135/0.5732, allocations: 3.89 MB / 0.6578 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.547e-05/0.5733, allocations: 20 kB / 0.6578 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.706e-05/0.5733, allocations: 28 kB / 0.6578 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005729/0.5791, allocations: 1.187 MB / 0.659 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002191/0.5813, allocations: 0.585 MB / 0.6596 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01121/0.5925, allocations: 7.515 MB / 0.6669 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001937/0.5944, allocations: 115.9 kB / 0.667 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003518/0.5948, allocations: 155.9 kB / 0.6672 GB, free: 10.6 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.001054/0.5958, allocations: 484.8 kB / 0.6676 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005089/0.5963, allocations: 182.8 kB / 0.6678 GB, free: 9.938 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01041/0.6067, allocations: 3.249 MB / 0.671 GB, free: 6.656 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.995e-05/0.6067, allocations: 16 kB / 0.671 GB, free: 6.641 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.143e-05/0.6068, allocations: 4 kB / 0.671 GB, free: 6.637 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.231e-05/0.6068, allocations: 11.97 kB / 0.671 GB, free: 6.625 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01402/0.6208, allocations: 5.429 MB / 0.6763 GB, free: 1.094 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.236e-05/0.6208, allocations: 4 kB / 0.6763 GB, free: 1.09 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001331/0.6221, allocations: 303.6 kB / 0.6766 GB, free: 0.793 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00512/0.6273, allocations: 1.054 MB / 0.6776 GB, free: 15.72 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002197/0.6275, allocations: 67.89 kB / 0.6777 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00932/0.6368, allocations: 6.801 MB / 0.6843 GB, free: 8.414 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.88e-06/0.6368, allocations: 4 kB / 0.6843 GB, free: 8.41 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01075/0.6476, allocations: 4.124 MB / 0.6884 GB, free: 4.223 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004501/0.648, allocations: 243.9 kB / 0.6886 GB, free: 3.965 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003205/0.6483, allocations: 39.98 kB / 0.6886 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001152/0.6495, allocations: 51.98 kB / 0.6887 GB, free: 3.875 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004263/0.6499, allocations: 181.7 kB / 0.6889 GB, free: 3.695 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000182/0.6501, allocations: 79.95 kB / 0.6889 GB, free: 3.617 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001373/0.6515, allocations: 0.9507 MB / 0.6899 GB, free: 2.668 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.6515, allocations: 0 / 0.6899 GB, free: 2.668 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003716/0.6552, allocations: 1.27 MB / 0.6911 GB, free: 1.395 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.01356/0.6687, allocations: 5.911 MB / 0.6969 GB, free: 11.4 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.006614/0.6754, allocations: 2.898 MB / 0.6997 GB, free: 8.449 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.6754, allocations: 4.531 kB / 0.6997 GB, free: 8.445 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003662/0.679, allocations: 1.539 MB / 0.7012 GB, free: 6.848 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001953/0.681, allocations: 316.2 kB / 0.7015 GB, free: 6.543 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04214/0.7231, allocations: 19.13 MB / 0.7202 GB, free: 2.16 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001442/0.7246, allocations: 1.474 MB / 0.7216 GB, free: 0.6523 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001634/0.7262, allocations: 462.2 kB / 0.7221 GB, free: 204 kB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.1953/0.9215, allocations: 1.006 MB / 0.7231 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of SimCode: time 1.112e-06/0.9215, allocations: 0.5938 kB / 0.7231 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.108/1.029, allocations: 64.85 MB / 0.7864 GB, free: 137.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 31.56/32.59, allocations: 12 kB / 0.7864 GB, free: 137.2 MB / 0.5606 GB " [Timeout remaining time 627] (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 & python3 -m fmpy simulate --output-file Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation_res.csv --start-time 0 --stop-time 0.0001 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4e-08 Chemical_master_Chemical_Obsolete_Examples_ClimateChange_ElectrolysisMethanation.fmu > Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 35.32100500189699] Failed to read output from testmodel.py, exit status != 0: 32.7142019381281 32.721968589 32.272369662 Calling exit ...