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.001656/0.001656, allocations: 110.1 kB / 19.73 MB, free: 2.242 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.00145/0.00145, allocations: 221.3 kB / 23.05 MB, free: 5.074 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.431/1.431, allocations: 230.6 MB / 256.8 MB, free: 7.98 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.1393/0.1393, allocations: 23.85 MB / 337.1 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: "" <> buildModelFMU(Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_ClimateChange_ElectrolysisMethanation",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_ClimateChange_ElectrolysisMethanation",fmuType="cs",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.001982/0.001982, allocations: 63.91 kB / 472 MB, free: 7.695 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3038/0.3058, allocations: 59.84 MB / 0.5193 GB, free: 9.602 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.04288/0.3487, allocations: 31.78 MB / 0.5504 GB, free: 8.422 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03818/0.3869, allocations: 29.09 MB / 0.5788 GB, free: 13.26 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001887/0.3888, allocations: 43.69 kB / 0.5788 GB, free: 13.21 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001944/0.3907, allocations: 0.6861 MB / 0.5795 GB, free: 12.53 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006898/0.3976, allocations: 2.27 MB / 0.5817 GB, free: 10.24 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01162/0.4092, allocations: 3.985 MB / 0.5856 GB, free: 6.234 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005041/0.4143, allocations: 3.093 MB / 0.5886 GB, free: 3.125 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002408/0.4167, allocations: 1.601 MB / 0.5902 GB, free: 1.48 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00203/0.4187, allocations: 1.481 MB / 0.5916 GB, free: 15.99 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002686/0.4214, allocations: 1.697 MB / 0.5933 GB, free: 14.29 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005176/0.4219, allocations: 299.9 kB / 0.5936 GB, free: 14 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008882/0.4308, allocations: 3.179 MB / 0.5967 GB, free: 10.82 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001082/0.4319, allocations: 0.6894 MB / 0.5974 GB, free: 10.12 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001858/0.4337, allocations: 1.443 MB / 0.5988 GB, free: 8.676 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01395/0.4477, allocations: 6.568 MB / 0.6052 GB, free: 2.082 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.4477, allocations: 4 kB / 0.6052 GB, free: 2.078 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4477, allocations: 0 / 0.6052 GB, free: 2.078 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.664e-05/0.4478, allocations: 0 / 0.6052 GB, free: 2.078 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.007374/0.4552, allocations: 3.334 MB / 0.6084 GB, free: 14.69 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.272e-05/0.4552, allocations: 8.031 kB / 0.6084 GB, free: 14.68 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.348e-05/0.4553, allocations: 64.97 kB / 0.6085 GB, free: 14.62 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004245/0.4557, allocations: 325.7 kB / 0.6088 GB, free: 14.29 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002489/0.4582, allocations: 0.5804 MB / 0.6094 GB, free: 13.7 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002692/0.4609, allocations: 1.356 MB / 0.6107 GB, free: 12.31 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003109/0.4612, allocations: 354.9 kB / 0.611 GB, free: 11.92 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004583/0.4617, allocations: 240 kB / 0.6113 GB, free: 11.69 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005271/0.4669, allocations: 3.061 MB / 0.6143 GB, free: 8.52 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.038e-05/0.467, allocations: 7.938 kB / 0.6143 GB, free: 8.512 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002571/0.4672, allocations: 96 kB / 0.6144 GB, free: 8.418 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.579e-05/0.4673, allocations: 60 kB / 0.6144 GB, free: 8.359 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006358/0.4736, allocations: 3.642 MB / 0.618 GB, free: 4.715 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.01855/0.4922, allocations: 10.45 MB / 0.6282 GB, free: 9.883 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003378/0.4956, allocations: 1.783 MB / 0.6299 GB, free: 8.09 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00174/0.4973, allocations: 1.026 MB / 0.6309 GB, free: 7.055 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01243/0.5097, allocations: 5.473 MB / 0.6363 GB, free: 1.543 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.397e-05/0.5098, allocations: 51.81 kB / 0.6363 GB, free: 1.484 MB / 478.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001409/0.5112, allocations: 306.4 kB / 0.6366 GB, free: 1.184 MB / 478.1 MB Notification: Performance of pre-optimization done (n=134): time 5.16e-06/0.5112, allocations: 0 / 0.6366 GB, free: 1.184 MB / 478.1 MB Notification: Performance of matching and sorting (n=181): time 0.03847/0.5497, allocations: 9.541 MB / 0.6459 GB, free: 7.582 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.167e-05/0.5498, allocations: 120.8 kB / 0.6461 GB, free: 7.438 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002375/0.5521, allocations: 1.47 MB / 0.6475 GB, free: 5.957 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003254/0.5525, allocations: 53.7 kB / 0.6475 GB, free: 5.898 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009451/0.5534, allocations: 1.194 MB / 0.6487 GB, free: 4.691 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008952/0.5543, allocations: 0.6546 MB / 0.6493 GB, free: 4.031 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001093/0.5554, allocations: 0.5131 MB / 0.6498 GB, free: 3.512 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.5555, allocations: 309.1 kB / 0.6501 GB, free: 3.207 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001845/0.5574, allocations: 0.9539 MB / 0.6511 GB, free: 2.25 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002948/0.5603, allocations: 1.902 MB / 0.6529 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00523/0.5656, allocations: 3 MB / 0.6559 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-05/0.5656, allocations: 12 kB / 0.6559 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of matching and sorting (n=342) (initialization): time 0.01145/0.577, allocations: 3.905 MB / 0.6597 GB, free: 8.535 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.949e-05/0.5771, allocations: 20 kB / 0.6597 GB, free: 8.516 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.012e-05/0.5771, allocations: 32 kB / 0.6597 GB, free: 8.484 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005645/0.5828, allocations: 1.179 MB / 0.6609 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002291/0.5851, allocations: 0.5811 MB / 0.6615 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01086/0.5959, allocations: 7.217 MB / 0.6685 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002112/0.598, allocations: 111.9 kB / 0.6686 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004518/0.5985, allocations: 159.9 kB / 0.6688 GB, free: 14.86 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.001148/0.5996, allocations: 485.3 kB / 0.6692 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005676/0.6002, allocations: 190.7 kB / 0.6694 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01007/0.6103, allocations: 3.233 MB / 0.6726 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.163e-05/0.6103, allocations: 20 kB / 0.6726 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.388e-05/0.6103, allocations: 7.984 kB / 0.6726 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-05/0.6103, allocations: 7.969 kB / 0.6726 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01522/0.6256, allocations: 5.409 MB / 0.6779 GB, free: 5.387 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-05/0.6256, allocations: 0 / 0.6779 GB, free: 5.387 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001676/0.6273, allocations: 307.6 kB / 0.6782 GB, free: 5.086 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005335/0.6326, allocations: 1.046 MB / 0.6792 GB, free: 4.023 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000401/0.633, allocations: 63.95 kB / 0.6793 GB, free: 3.961 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01001/0.643, allocations: 6.499 MB / 0.6856 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.643, allocations: 0 / 0.6856 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01192/0.6549, allocations: 4.124 MB / 0.6896 GB, free: 8.906 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006753/0.6556, allocations: 170.7 kB / 0.6898 GB, free: 8.738 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005875/0.6562, allocations: 40 kB / 0.6898 GB, free: 8.699 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001487/0.6577, allocations: 43.98 kB / 0.6899 GB, free: 8.656 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005513/0.6582, allocations: 185.5 kB / 0.69 GB, free: 8.473 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000289/0.6585, allocations: 87.94 kB / 0.6901 GB, free: 8.387 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001615/0.6601, allocations: 0.9586 MB / 0.6911 GB, free: 7.43 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.6601, allocations: 0 / 0.6911 GB, free: 7.43 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005602/0.6657, allocations: 1.274 MB / 0.6923 GB, free: 6.152 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.01494/0.6807, allocations: 5.903 MB / 0.6981 GB, free: 176 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006773/0.6875, allocations: 2.839 MB / 0.7008 GB, free: 13.3 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/0.6875, allocations: 128 / 0.7008 GB, free: 13.3 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003257/0.6907, allocations: 1.46 MB / 0.7023 GB, free: 11.8 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002028/0.6927, allocations: 311.4 kB / 0.7026 GB, free: 11.5 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04222/0.735, allocations: 19.19 MB / 0.7213 GB, free: 7.059 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001482/0.7364, allocations: 1.482 MB / 0.7228 GB, free: 5.543 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001721/0.7382, allocations: 455.2 kB / 0.7232 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001567/0.7397, allocations: 1.017 MB / 0.7242 GB, free: 4.082 MB / 0.5606 GB Notification: Performance of SimCode: time 8.01e-07/0.7397, allocations: 0 / 0.7242 GB, free: 4.082 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3001/1.04, allocations: 66.98 MB / 0.7896 GB, free: 140.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 35.54/36.58, allocations: 11.88 kB / 0.7896 GB, free: 140.5 MB / 0.5606 GB " [Timeout remaining time 623] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Obsolete_Examples_ClimateChange_ElectrolysisMethanation_fmu --startTime=0 --stopTime=0.0001 --stepSize=4e-08 --timeout=50 --tolerance=1e-06 Chemical_Chemical_Obsolete_Examples_ClimateChange_ElectrolysisMethanation.fmu > Chemical_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 39.61711281002499] Failed to read output from testmodel.py, exit status != 0: 36.799806077964604 36.818437751 36.367002293 Calling exit ...