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.001496/0.001496, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.001388/0.001388, allocations: 215.2 kB / 22.25 MB, free: 5.105 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.402/1.402, allocations: 230.6 MB / 256 MB, free: 7.828 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.1296/0.1296, allocations: 23.92 MB / 336.3 MB, free: 10.94 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: "" <> 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.001904/0.001904, allocations: 75.41 kB / 471.2 MB, free: 7.457 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2871/0.289, allocations: 59.88 MB / 0.5186 GB, free: 9.488 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.07333/0.3623, allocations: 30.57 MB / 0.5485 GB, free: 9.344 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03302/0.3954, allocations: 25.49 MB / 0.5734 GB, free: 1.777 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001793/0.3971, allocations: 39.69 kB / 0.5734 GB, free: 1.738 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001696/0.3988, allocations: 0.6317 MB / 0.574 GB, free: 1.102 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006086/0.4049, allocations: 2.208 MB / 0.5762 GB, free: 14.88 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01057/0.4155, allocations: 3.989 MB / 0.5801 GB, free: 10.86 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005115/0.4206, allocations: 3.085 MB / 0.5831 GB, free: 7.766 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002299/0.4229, allocations: 1.62 MB / 0.5847 GB, free: 6.102 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001945/0.4249, allocations: 1.481 MB / 0.5861 GB, free: 4.617 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002551/0.4274, allocations: 1.686 MB / 0.5878 GB, free: 2.926 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004971/0.4279, allocations: 296 kB / 0.588 GB, free: 2.637 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007081/0.435, allocations: 3.073 MB / 0.591 GB, free: 15.56 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007516/0.4357, allocations: 0.6932 MB / 0.5917 GB, free: 14.86 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001429/0.4372, allocations: 1.218 MB / 0.5929 GB, free: 13.64 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01115/0.4483, allocations: 6.556 MB / 0.5993 GB, free: 7.059 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.391e-06/0.4483, allocations: 0 / 0.5993 GB, free: 7.059 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.4483, allocations: 3.938 kB / 0.5993 GB, free: 7.055 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.051e-05/0.4484, allocations: 0 / 0.5993 GB, free: 7.055 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.006238/0.4546, allocations: 3.319 MB / 0.6026 GB, free: 3.684 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.4546, allocations: 12.03 kB / 0.6026 GB, free: 3.672 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000408/0.4551, allocations: 329.7 kB / 0.6029 GB, free: 3.34 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002329/0.4574, allocations: 0.5804 MB / 0.6034 GB, free: 2.758 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002569/0.4599, allocations: 1.356 MB / 0.6048 GB, free: 1.363 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002688/0.4602, allocations: 347.1 kB / 0.6051 GB, free: 0.9844 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004143/0.4606, allocations: 240 kB / 0.6053 GB, free: 0.75 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004981/0.4656, allocations: 3.094 MB / 0.6084 GB, free: 13.54 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.836e-05/0.4657, allocations: 3.938 kB / 0.6084 GB, free: 13.54 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002459/0.4659, allocations: 100 kB / 0.6084 GB, free: 13.44 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.83e-05/0.466, allocations: 56 kB / 0.6085 GB, free: 13.39 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005748/0.4717, allocations: 3.607 MB / 0.612 GB, free: 9.777 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.01644/0.4881, allocations: 9.037 MB / 0.6208 GB, free: 0.5547 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003032/0.4912, allocations: 1.78 MB / 0.6226 GB, free: 14.76 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001645/0.4928, allocations: 1.02 MB / 0.6236 GB, free: 13.73 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01148/0.5043, allocations: 5.192 MB / 0.6287 GB, free: 8.5 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.344e-05/0.5043, allocations: 55.8 kB / 0.6287 GB, free: 8.438 MB / 478.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001333/0.5057, allocations: 302.5 kB / 0.629 GB, free: 8.141 MB / 478.1 MB Notification: Performance of pre-optimization done (n=134): time 3.677e-06/0.5057, allocations: 0 / 0.629 GB, free: 8.141 MB / 478.1 MB Notification: Performance of matching and sorting (n=181): time 0.03665/0.5423, allocations: 9.526 MB / 0.6383 GB, free: 14.55 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.345e-05/0.5424, allocations: 124.8 kB / 0.6384 GB, free: 14.41 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002085/0.5445, allocations: 1.54 MB / 0.6399 GB, free: 12.86 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002868/0.5448, allocations: 57.7 kB / 0.64 GB, free: 12.79 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008471/0.5456, allocations: 1.186 MB / 0.6411 GB, free: 11.59 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006529/0.5463, allocations: 0.6585 MB / 0.6418 GB, free: 10.93 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007846/0.5471, allocations: 0.517 MB / 0.6423 GB, free: 10.41 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001247/0.5472, allocations: 309 kB / 0.6426 GB, free: 10.1 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001658/0.5489, allocations: 0.9423 MB / 0.6435 GB, free: 9.156 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002477/0.5513, allocations: 1.909 MB / 0.6454 GB, free: 6.809 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004395/0.5557, allocations: 2.999 MB / 0.6483 GB, free: 3.375 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.153e-05/0.5557, allocations: 12 kB / 0.6483 GB, free: 3.363 MB / 494.1 MB Notification: Performance of matching and sorting (n=342) (initialization): time 0.01106/0.5668, allocations: 3.902 MB / 0.6521 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.237e-05/0.5668, allocations: 20 kB / 0.6521 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.686e-05/0.5669, allocations: 32 kB / 0.6522 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005891/0.5728, allocations: 1.185 MB / 0.6533 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002213/0.575, allocations: 0.5811 MB / 0.6539 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01016/0.5852, allocations: 7.155 MB / 0.6609 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002028/0.5872, allocations: 115.9 kB / 0.661 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002944/0.5875, allocations: 163.9 kB / 0.6611 GB, free: 5.816 MB / 0.4981 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.0008837/0.5884, allocations: 480.9 kB / 0.6616 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004047/0.5888, allocations: 194.7 kB / 0.6618 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01016/0.5989, allocations: 3.233 MB / 0.6649 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.346e-05/0.5989, allocations: 20 kB / 0.665 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.027e-05/0.599, allocations: 4 kB / 0.665 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-05/0.599, allocations: 15.89 kB / 0.665 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01401/0.613, allocations: 5.105 MB / 0.67 GB, free: 12.64 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-05/0.613, allocations: 0 / 0.67 GB, free: 12.64 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001455/0.6145, allocations: 303.6 kB / 0.6703 GB, free: 12.34 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005222/0.6197, allocations: 1.045 MB / 0.6713 GB, free: 11.29 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002256/0.6199, allocations: 79.89 kB / 0.6714 GB, free: 11.21 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008526/0.6285, allocations: 6.44 MB / 0.6776 GB, free: 4.395 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.125e-06/0.6285, allocations: 8.109 kB / 0.6776 GB, free: 4.387 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01063/0.6391, allocations: 4.135 MB / 0.6817 GB, free: 192 kB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005026/0.6396, allocations: 162.8 kB / 0.6818 GB, free: 28 kB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003043/0.6399, allocations: 44.03 kB / 0.6819 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00114/0.641, allocations: 43.94 kB / 0.6819 GB, free: 15.94 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004143/0.6415, allocations: 189.5 kB / 0.6821 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001823/0.6416, allocations: 79.95 kB / 0.6822 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001259/0.6429, allocations: 0.9624 MB / 0.6831 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.6429, allocations: 4 kB / 0.6831 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00382/0.6467, allocations: 1.266 MB / 0.6844 GB, free: 13.44 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.01321/0.6599, allocations: 5.903 MB / 0.6901 GB, free: 7.461 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.005845/0.6658, allocations: 2.846 MB / 0.6929 GB, free: 4.578 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.6658, allocations: 4.25 kB / 0.6929 GB, free: 4.574 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002925/0.6687, allocations: 1.448 MB / 0.6943 GB, free: 3.086 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001702/0.6704, allocations: 319.4 kB / 0.6946 GB, free: 2.781 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03888/0.7093, allocations: 19.17 MB / 0.7133 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001007/0.7103, allocations: 0.9184 MB / 0.7142 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001526/0.7118, allocations: 459.1 kB / 0.7147 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001364/0.7132, allocations: 1.009 MB / 0.7157 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of SimCode: time 6.71e-07/0.7132, allocations: 4 kB / 0.7157 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3048/1.018, allocations: 67.04 MB / 0.7811 GB, free: 146.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.14/16.16, allocations: 8.062 kB / 0.7812 GB, free: 146.4 MB / 0.5606 GB " [Timeout remaining time 644] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_master_Chemical_Obsolete_Examples_ClimateChange_ElectrolysisMethanation_fmu --startTime=0 --stopTime=0.0001 --stepSize=4e-08 --timeout=50 --tolerance=1e-06 Chemical_master_Chemical_Obsolete_Examples_ClimateChange_ElectrolysisMethanation.fmu > Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 18.767544984992128] Failed to read output from testmodel.py, exit status != 0: 16.319547601015074 16.338219999 15.886287277 Calling exit ...