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.001982/0.001982, allocations: 106.8 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.002389/0.002389, 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.455/1.455, allocations: 230.6 MB / 252.8 MB, free: 8.965 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.1371/0.1371, allocations: 23.85 MB / 332.7 MB, free: 12.38 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.002005/0.002005, allocations: 63.91 kB / 466 MB, free: 10.11 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2953/0.2973, allocations: 59.82 MB / 0.5135 GB, free: 8.844 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.04274/0.34, allocations: 31.89 MB / 0.5446 GB, free: 9.188 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03728/0.3773, allocations: 29.02 MB / 0.573 GB, free: 14.41 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002/0.3793, allocations: 39.69 kB / 0.573 GB, free: 14.37 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001975/0.3813, allocations: 0.6901 MB / 0.5737 GB, free: 13.67 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00725/0.3885, allocations: 2.254 MB / 0.5759 GB, free: 11.4 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01122/0.3998, allocations: 3.953 MB / 0.5797 GB, free: 7.426 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004819/0.4046, allocations: 3.085 MB / 0.5827 GB, free: 4.324 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00231/0.4069, allocations: 1.643 MB / 0.5844 GB, free: 2.633 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001963/0.4088, allocations: 1.488 MB / 0.5858 GB, free: 1.141 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002694/0.4115, allocations: 1.686 MB / 0.5875 GB, free: 15.45 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006282/0.4122, allocations: 303.9 kB / 0.5877 GB, free: 15.15 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009369/0.4215, allocations: 3.179 MB / 0.5908 GB, free: 11.97 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001039/0.4226, allocations: 0.6933 MB / 0.5915 GB, free: 11.27 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001867/0.4244, allocations: 1.439 MB / 0.5929 GB, free: 9.828 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01543/0.4399, allocations: 6.576 MB / 0.5994 GB, free: 3.227 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.297e-06/0.4399, allocations: 0 / 0.5994 GB, free: 3.227 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.4399, allocations: 0 / 0.5994 GB, free: 3.227 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.471e-05/0.44, allocations: 0 / 0.5994 GB, free: 3.227 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.008387/0.4484, allocations: 3.401 MB / 0.6027 GB, free: 15.75 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.4484, allocations: 8.031 kB / 0.6027 GB, free: 15.75 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004542/0.4489, allocations: 333.7 kB / 0.603 GB, free: 15.41 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002466/0.4513, allocations: 0.5764 MB / 0.6036 GB, free: 14.83 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002574/0.4539, allocations: 1.436 MB / 0.605 GB, free: 13.34 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002564/0.4542, allocations: 263 kB / 0.6052 GB, free: 13.07 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004367/0.4546, allocations: 244 kB / 0.6054 GB, free: 12.83 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005395/0.46, allocations: 3.061 MB / 0.6084 GB, free: 9.66 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.122e-05/0.46, allocations: 0 / 0.6084 GB, free: 9.66 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002741/0.4603, allocations: 96 kB / 0.6085 GB, free: 9.566 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.873e-05/0.4604, allocations: 60 kB / 0.6086 GB, free: 9.508 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006264/0.4666, allocations: 3.622 MB / 0.6121 GB, free: 5.883 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.01783/0.4845, allocations: 10.54 MB / 0.6224 GB, free: 10.97 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003352/0.4878, allocations: 2.16 MB / 0.6245 GB, free: 8.695 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001761/0.4896, allocations: 1.024 MB / 0.6255 GB, free: 7.66 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01394/0.5035, allocations: 8.83 MB / 0.6341 GB, free: 13.98 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.002e-05/0.5036, allocations: 55.88 kB / 0.6342 GB, free: 13.91 MB / 494.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001366/0.5049, allocations: 302.4 kB / 0.6345 GB, free: 13.62 MB / 494.1 MB Notification: Performance of pre-optimization done (n=134): time 5.701e-06/0.5049, allocations: 3.984 kB / 0.6345 GB, free: 13.61 MB / 494.1 MB Notification: Performance of matching and sorting (n=181): time 0.03764/0.5426, allocations: 9.784 MB / 0.644 GB, free: 3.715 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001024/0.5427, allocations: 124.8 kB / 0.6442 GB, free: 3.566 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002193/0.5449, allocations: 1.455 MB / 0.6456 GB, free: 2.102 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000383/0.5453, allocations: 53.7 kB / 0.6456 GB, free: 2.043 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009934/0.5462, allocations: 1.19 MB / 0.6468 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006908/0.5469, allocations: 0.6624 MB / 0.6474 GB, free: 176 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008612/0.5478, allocations: 0.5172 MB / 0.648 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.5479, allocations: 301.1 kB / 0.6482 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001773/0.5497, allocations: 0.9462 MB / 0.6492 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002639/0.5524, allocations: 1.902 MB / 0.651 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004669/0.557, allocations: 2.992 MB / 0.6539 GB, free: 8.637 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-05/0.557, allocations: 8 kB / 0.6539 GB, free: 8.629 MB / 0.4981 GB Notification: Performance of matching and sorting (n=342) (initialization): time 0.01106/0.5681, allocations: 3.886 MB / 0.6577 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.876e-05/0.5681, allocations: 16 kB / 0.6578 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.654e-05/0.5682, allocations: 35.94 kB / 0.6578 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005797/0.574, allocations: 1.175 MB / 0.6589 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002223/0.5762, allocations: 0.585 MB / 0.6595 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01114/0.5873, allocations: 7.519 MB / 0.6669 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002076/0.5894, allocations: 111.8 kB / 0.667 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003417/0.5898, allocations: 160 kB / 0.6671 GB, free: 10.66 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.0009959/0.5908, allocations: 484.9 kB / 0.6676 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004682/0.5912, allocations: 186.8 kB / 0.6678 GB, free: 9.992 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01038/0.6016, allocations: 3.237 MB / 0.6709 GB, free: 6.723 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-05/0.6016, allocations: 20 kB / 0.6709 GB, free: 6.703 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.1e-05/0.6016, allocations: 4 kB / 0.6709 GB, free: 6.699 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.834e-05/0.6017, allocations: 7.969 kB / 0.6709 GB, free: 6.691 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01432/0.616, allocations: 5.422 MB / 0.6762 GB, free: 1.168 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.709e-05/0.616, allocations: 4 kB / 0.6762 GB, free: 1.164 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001536/0.6176, allocations: 303.6 kB / 0.6765 GB, free: 0.8672 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005275/0.6228, allocations: 1.046 MB / 0.6776 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002984/0.6231, allocations: 79.94 kB / 0.6776 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009452/0.6326, allocations: 6.812 MB / 0.6843 GB, free: 8.473 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.686e-06/0.6326, allocations: 0 / 0.6843 GB, free: 8.473 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0112/0.6438, allocations: 4.132 MB / 0.6883 GB, free: 4.277 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004985/0.6443, allocations: 243.8 kB / 0.6886 GB, free: 4.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002896/0.6446, allocations: 43.98 kB / 0.6886 GB, free: 3.977 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001157/0.6457, allocations: 43.98 kB / 0.6886 GB, free: 3.934 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004474/0.6462, allocations: 177.6 kB / 0.6888 GB, free: 3.758 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001903/0.6464, allocations: 83.95 kB / 0.6889 GB, free: 3.676 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00134/0.6477, allocations: 0.9546 MB / 0.6898 GB, free: 2.723 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6477, allocations: 3.938 kB / 0.6898 GB, free: 2.719 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003843/0.6515, allocations: 1.263 MB / 0.6911 GB, free: 1.453 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.01391/0.6655, allocations: 5.899 MB / 0.6968 GB, free: 11.47 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.006433/0.6719, allocations: 2.906 MB / 0.6997 GB, free: 8.512 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.081e-06/0.6719, allocations: 0 / 0.6997 GB, free: 8.512 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00319/0.6751, allocations: 1.535 MB / 0.7012 GB, free: 6.918 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001855/0.6769, allocations: 319.3 kB / 0.7015 GB, free: 6.613 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04041/0.7174, allocations: 19.15 MB / 0.7202 GB, free: 2.223 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001269/0.7186, allocations: 1.486 MB / 0.7216 GB, free: 0.7031 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001628/0.7202, allocations: 451.2 kB / 0.722 GB, free: 264 kB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.2118/0.9321, allocations: 1.013 MB / 0.723 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of SimCode: time 1.102e-06/0.9321, allocations: 0 / 0.723 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1103/1.042, allocations: 64.81 MB / 0.7863 GB, free: 137.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 33.68/34.72, allocations: 0 / 0.7863 GB, free: 137.3 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 & /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: 37.64201621594839] Failed to read output from testmodel.py, exit status != 0: 34.86663080519065 34.882448848 34.439120101 Calling exit ...