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.001497/0.001497, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.001703/0.001703, allocations: 218.8 kB / 22.26 MB, free: 5.125 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.371/1.371, allocations: 230.6 MB / 256 MB, free: 7.969 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.1299/0.1299, allocations: 23.85 MB / 336.3 MB, free: 11.16 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation,fileNamePrefix="Chemical_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.002006/0.002006, allocations: 68.19 kB / 471.2 MB, free: 7.66 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2767/0.2787, allocations: 59.86 MB / 0.5186 GB, free: 9.59 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.0411/0.3198, allocations: 31.94 MB / 0.5498 GB, free: 8.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03668/0.3565, allocations: 29.09 MB / 0.5782 GB, free: 13.08 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001834/0.3584, allocations: 39.69 kB / 0.5782 GB, free: 13.04 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001909/0.3603, allocations: 0.6862 MB / 0.5789 GB, free: 12.35 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006372/0.3666, allocations: 2.262 MB / 0.5811 GB, free: 10.07 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01057/0.3772, allocations: 3.996 MB / 0.585 GB, free: 6.051 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004539/0.3818, allocations: 3.085 MB / 0.588 GB, free: 2.949 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001998/0.3838, allocations: 1.613 MB / 0.5896 GB, free: 1.293 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001698/0.3855, allocations: 1.477 MB / 0.591 GB, free: 15.81 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002264/0.3877, allocations: 1.689 MB / 0.5927 GB, free: 14.12 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004412/0.3882, allocations: 300 kB / 0.593 GB, free: 13.82 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008539/0.3967, allocations: 3.186 MB / 0.5961 GB, free: 10.63 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008345/0.3975, allocations: 0.6855 MB / 0.5968 GB, free: 9.945 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001675/0.3992, allocations: 1.439 MB / 0.5982 GB, free: 8.5 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01366/0.4129, allocations: 6.58 MB / 0.6046 GB, free: 1.895 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.4129, allocations: 0 / 0.6046 GB, free: 1.895 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.4129, allocations: 4 kB / 0.6046 GB, free: 1.891 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.875e-05/0.413, allocations: 0 / 0.6046 GB, free: 1.891 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.007007/0.42, allocations: 3.323 MB / 0.6078 GB, free: 14.52 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.42, allocations: 12.03 kB / 0.6079 GB, free: 14.5 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004097/0.4204, allocations: 329.7 kB / 0.6082 GB, free: 14.17 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002323/0.4227, allocations: 0.5803 MB / 0.6087 GB, free: 13.59 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002669/0.4254, allocations: 1.356 MB / 0.6101 GB, free: 12.19 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002785/0.4257, allocations: 343.1 kB / 0.6104 GB, free: 11.82 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004224/0.4261, allocations: 247.9 kB / 0.6106 GB, free: 11.57 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005018/0.4311, allocations: 3.061 MB / 0.6136 GB, free: 8.406 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.009e-05/0.4312, allocations: 7.938 kB / 0.6136 GB, free: 8.398 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002399/0.4314, allocations: 96 kB / 0.6137 GB, free: 8.305 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.291e-05/0.4315, allocations: 63.98 kB / 0.6138 GB, free: 8.242 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005812/0.4373, allocations: 3.638 MB / 0.6173 GB, free: 4.602 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.01742/0.4547, allocations: 10.45 MB / 0.6275 GB, free: 9.773 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00299/0.4577, allocations: 1.783 MB / 0.6293 GB, free: 7.98 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001635/0.4593, allocations: 1.02 MB / 0.6303 GB, free: 6.949 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01168/0.471, allocations: 5.484 MB / 0.6356 GB, free: 1.426 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.034e-05/0.4711, allocations: 55.88 kB / 0.6357 GB, free: 1.363 MB / 478.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001354/0.4724, allocations: 298.5 kB / 0.636 GB, free: 1.07 MB / 478.1 MB Notification: Performance of pre-optimization done (n=134): time 4.598e-06/0.4724, allocations: 0 / 0.636 GB, free: 1.07 MB / 478.1 MB Notification: Performance of matching and sorting (n=181): time 0.0355/0.5079, allocations: 9.533 MB / 0.6453 GB, free: 7.477 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.938e-05/0.508, allocations: 128.9 kB / 0.6454 GB, free: 7.324 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001965/0.51, allocations: 1.474 MB / 0.6468 GB, free: 5.84 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000307/0.5103, allocations: 53.7 kB / 0.6469 GB, free: 5.781 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009424/0.5112, allocations: 1.194 MB / 0.6481 GB, free: 4.574 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007724/0.512, allocations: 0.6546 MB / 0.6487 GB, free: 3.914 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008004/0.5128, allocations: 0.517 MB / 0.6492 GB, free: 3.391 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001312/0.5129, allocations: 309.1 kB / 0.6495 GB, free: 3.086 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001706/0.5146, allocations: 0.9462 MB / 0.6504 GB, free: 2.137 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002579/0.5172, allocations: 1.906 MB / 0.6523 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004333/0.5215, allocations: 3.003 MB / 0.6552 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.447e-05/0.5216, allocations: 12 kB / 0.6552 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of matching and sorting (n=342) (initialization): time 0.0103/0.5319, allocations: 3.902 MB / 0.659 GB, free: 8.418 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.715e-05/0.5319, allocations: 24.03 kB / 0.6591 GB, free: 8.395 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-05/0.5319, allocations: 32 kB / 0.6591 GB, free: 8.363 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005257/0.5372, allocations: 1.175 MB / 0.6602 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002096/0.5393, allocations: 0.5811 MB / 0.6608 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01041/0.5497, allocations: 7.203 MB / 0.6678 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002022/0.5517, allocations: 107.8 kB / 0.6679 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003372/0.5521, allocations: 160 kB / 0.6681 GB, free: 14.76 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.0009521/0.553, allocations: 493.3 kB / 0.6686 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004507/0.5535, allocations: 186.8 kB / 0.6687 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009716/0.5632, allocations: 3.245 MB / 0.6719 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.617e-05/0.5632, allocations: 20 kB / 0.6719 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.859e-06/0.5632, allocations: 4 kB / 0.6719 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.498e-05/0.5633, allocations: 7.969 kB / 0.6719 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0137/0.577, allocations: 5.409 MB / 0.6772 GB, free: 5.277 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.36e-05/0.577, allocations: 48 / 0.6772 GB, free: 5.277 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001355/0.5783, allocations: 307.6 kB / 0.6775 GB, free: 4.977 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004888/0.5832, allocations: 1.05 MB / 0.6785 GB, free: 3.91 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002942/0.5835, allocations: 71.89 kB / 0.6786 GB, free: 3.84 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008619/0.5921, allocations: 6.491 MB / 0.6849 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.5921, allocations: 64 / 0.6849 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01026/0.6024, allocations: 4.128 MB / 0.689 GB, free: 8.789 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004765/0.6029, allocations: 162.8 kB / 0.6891 GB, free: 8.629 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000302/0.6032, allocations: 40.14 kB / 0.6892 GB, free: 8.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001087/0.6043, allocations: 47.98 kB / 0.6892 GB, free: 8.543 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004087/0.6047, allocations: 193.6 kB / 0.6894 GB, free: 8.352 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001821/0.6049, allocations: 79.95 kB / 0.6895 GB, free: 8.273 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001276/0.6061, allocations: 0.9585 MB / 0.6904 GB, free: 7.316 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6061, allocations: 7.938 kB / 0.6904 GB, free: 7.309 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003881/0.61, allocations: 1.27 MB / 0.6917 GB, free: 6.035 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.01298/0.623, allocations: 5.9 MB / 0.6974 GB, free: 60 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.005869/0.6289, allocations: 2.838 MB / 0.7002 GB, free: 13.18 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/0.6289, allocations: 3.938 kB / 0.7002 GB, free: 13.18 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002894/0.6318, allocations: 1.46 MB / 0.7016 GB, free: 11.68 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001878/0.6336, allocations: 318.2 kB / 0.7019 GB, free: 11.38 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03748/0.6711, allocations: 19.18 MB / 0.7207 GB, free: 6.941 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001195/0.6723, allocations: 1.474 MB / 0.7221 GB, free: 5.434 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001553/0.6739, allocations: 462.4 kB / 0.7225 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001383/0.6752, allocations: 1.014 MB / 0.7235 GB, free: 3.969 MB / 0.5606 GB Notification: Performance of SimCode: time 1.663e-06/0.6752, allocations: 0 / 0.7235 GB, free: 3.969 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2943/0.9696, allocations: 66.96 MB / 0.7889 GB, free: 140.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 33.86/34.83, allocations: 3.375 kB / 0.7889 GB, free: 140.2 MB / 0.5606 GB " [Timeout remaining time 625] (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 & python3 -m fmpy simulate --output-file Chemical_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_Chemical_Obsolete_Examples_ClimateChange_ElectrolysisMethanation.fmu > Chemical_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 37.520907660000375] Failed to read output from testmodel.py, exit status != 0: 34.98850413499895 35.008254037 34.591564224 Calling exit ...