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.001281/0.001281, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.001349/0.001349, allocations: 159.7 kB / 23.01 MB, free: 4.602 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.338/1.338, allocations: 177.2 MB / 203.4 MB, free: 8.973 MB / 190.1 MB " [Timeout remaining time 179] 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.1269/0.1269, allocations: 17.36 MB / 277.1 MB, free: 15.29 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: translateModel(Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation") translateModel(Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation") [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.002004/0.002004, allocations: 63.91 kB / 412.4 MB, free: 5.73 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1034, allocations: 59.85 MB / 472.3 MB, free: 9.762 MB / 446.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.2583/0.3617, allocations: 30.66 MB / 0.4912 GB, free: 37.34 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02295/0.3847, allocations: 25.48 MB / 0.5161 GB, free: 23.48 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001537/0.3862, allocations: 34.91 kB / 0.5161 GB, free: 23.46 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001659/0.3879, allocations: 0.6366 MB / 0.5167 GB, free: 23.12 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005551/0.3934, allocations: 2.211 MB / 0.5189 GB, free: 21.79 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009528/0.403, allocations: 3.991 MB / 0.5228 GB, free: 19.45 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003763/0.4067, allocations: 3.081 MB / 0.5258 GB, free: 17.94 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001848/0.4086, allocations: 1.577 MB / 0.5273 GB, free: 17.19 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00179/0.4104, allocations: 1.48 MB / 0.5288 GB, free: 16.62 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002102/0.4125, allocations: 1.498 MB / 0.5302 GB, free: 16.09 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000473/0.4129, allocations: 301.1 kB / 0.5305 GB, free: 16.08 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00778/0.4207, allocations: 2.992 MB / 0.5334 GB, free: 15.44 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006437/0.4214, allocations: 0.6971 MB / 0.5341 GB, free: 14.99 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00139/0.4228, allocations: 1.221 MB / 0.5353 GB, free: 14.36 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01058/0.4333, allocations: 6.554 MB / 0.5417 GB, free: 9.523 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.4333, allocations: 0 / 0.5417 GB, free: 9.523 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.4333, allocations: 0 / 0.5417 GB, free: 9.523 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.485e-05/0.4334, allocations: 0 / 0.5417 GB, free: 9.523 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.005303/0.4387, allocations: 3.329 MB / 0.545 GB, free: 6.496 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.4387, allocations: 8.031 kB / 0.545 GB, free: 6.488 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002109/0.4408, allocations: 0.5794 MB / 0.5455 GB, free: 5.992 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002059/0.4429, allocations: 1.347 MB / 0.5468 GB, free: 4.855 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001605/0.4431, allocations: 353.3 kB / 0.5472 GB, free: 4.473 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003122/0.4434, allocations: 241.3 kB / 0.5474 GB, free: 4.238 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004128/0.4475, allocations: 3.099 MB / 0.5504 GB, free: 1.625 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.884e-05/0.4476, allocations: 4 kB / 0.5504 GB, free: 1.621 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002189/0.4478, allocations: 96 kB / 0.5505 GB, free: 1.527 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.892e-05/0.4478, allocations: 60 kB / 0.5506 GB, free: 1.469 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005276/0.4531, allocations: 3.605 MB / 0.5541 GB, free: 14.39 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.01613/0.4692, allocations: 8.759 MB / 0.5627 GB, free: 6.605 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002936/0.4722, allocations: 1.769 MB / 0.5644 GB, free: 4.992 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001618/0.4738, allocations: 1.026 MB / 0.5654 GB, free: 4.059 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01117/0.4849, allocations: 5.187 MB / 0.5705 GB, free: 15.12 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.307e-05/0.485, allocations: 47.88 kB / 0.5705 GB, free: 15.07 MB / 478.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001279/0.4863, allocations: 290.6 kB / 0.5708 GB, free: 14.78 MB / 478.1 MB Notification: Performance of pre-optimization done (n=134): time 5.07e-06/0.4863, allocations: 0 / 0.5708 GB, free: 14.78 MB / 478.1 MB Notification: Performance of matching and sorting (n=181): time 0.03672/0.523, allocations: 9.535 MB / 0.5801 GB, free: 5.188 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.675e-05/0.5231, allocations: 124.8 kB / 0.5802 GB, free: 5.039 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001956/0.525, allocations: 1.417 MB / 0.5816 GB, free: 3.605 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002706/0.5253, allocations: 57.7 kB / 0.5816 GB, free: 3.543 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009422/0.5262, allocations: 1.198 MB / 0.5828 GB, free: 2.332 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007377/0.527, allocations: 0.6663 MB / 0.5835 GB, free: 1.66 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008855/0.5279, allocations: 0.517 MB / 0.584 GB, free: 1.137 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.528, allocations: 305.1 kB / 0.5843 GB, free: 0.8359 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001779/0.5298, allocations: 0.9501 MB / 0.5852 GB, free: 15.88 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002649/0.5324, allocations: 1.902 MB / 0.587 GB, free: 13.54 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004853/0.5373, allocations: 3.003 MB / 0.59 GB, free: 10.11 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.613e-05/0.5373, allocations: 8 kB / 0.59 GB, free: 10.1 MB / 494.1 MB Notification: Performance of matching and sorting (n=342) (initialization): time 0.01122/0.5485, allocations: 3.894 MB / 0.5938 GB, free: 6.18 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.136e-05/0.5486, allocations: 16.56 kB / 0.5938 GB, free: 6.164 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.324e-05/0.5486, allocations: 39.94 kB / 0.5938 GB, free: 6.125 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005438/0.5541, allocations: 1.17 MB / 0.595 GB, free: 4.941 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002263/0.5563, allocations: 0.5811 MB / 0.5956 GB, free: 4.359 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01063/0.567, allocations: 7.087 MB / 0.6025 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002061/0.569, allocations: 115.9 kB / 0.6026 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004742/0.5695, allocations: 163.9 kB / 0.6027 GB, free: 12.67 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.001173/0.5707, allocations: 488.8 kB / 0.6032 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005498/0.5712, allocations: 178.8 kB / 0.6034 GB, free: 12 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009963/0.5812, allocations: 3.229 MB / 0.6065 GB, free: 8.746 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.89e-05/0.5812, allocations: 20 kB / 0.6066 GB, free: 8.727 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.156e-05/0.5812, allocations: 7.938 kB / 0.6066 GB, free: 8.719 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.634e-05/0.5812, allocations: 7.969 kB / 0.6066 GB, free: 8.711 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01329/0.5945, allocations: 4.881 MB / 0.6113 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.077e-05/0.5945, allocations: 4 kB / 0.6113 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001303/0.5958, allocations: 303.6 kB / 0.6116 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004959/0.6008, allocations: 1.049 MB / 0.6127 GB, free: 2.383 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002613/0.6011, allocations: 67.95 kB / 0.6127 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009151/0.6102, allocations: 6.376 MB / 0.6189 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.765e-06/0.6102, allocations: 7.875 kB / 0.619 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01062/0.6208, allocations: 4.12 MB / 0.623 GB, free: 7.414 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004037/0.6212, allocations: 150.8 kB / 0.6231 GB, free: 7.266 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003115/0.6216, allocations: 40 kB / 0.6232 GB, free: 7.227 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001128/0.6227, allocations: 43.98 kB / 0.6232 GB, free: 7.184 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004014/0.6231, allocations: 185.6 kB / 0.6234 GB, free: 7 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001903/0.6233, allocations: 83.89 kB / 0.6235 GB, free: 6.918 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001227/0.6245, allocations: 0.8891 MB / 0.6243 GB, free: 6.027 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.6245, allocations: 0 / 0.6243 GB, free: 6.027 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003652/0.6282, allocations: 1.262 MB / 0.6256 GB, free: 4.762 MB / 0.5137 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.002717/0.6309, allocations: 1.326 MB / 0.6268 GB, free: 3.426 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005926/0.6368, allocations: 2.838 MB / 0.6296 GB, free: 0.5508 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.264e-06/0.6368, allocations: 4 kB / 0.6296 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002953/0.6398, allocations: 1.457 MB / 0.631 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001966/0.6417, allocations: 307.4 kB / 0.6313 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008082/0.6498, allocations: 4.126 MB / 0.6354 GB, free: 10.56 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001193/0.651, allocations: 0.9026 MB / 0.6363 GB, free: 9.613 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002067/0.6531, allocations: 453.7 kB / 0.6367 GB, free: 9.168 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000987/0.6541, allocations: 270.7 kB / 0.6369 GB, free: 8.906 MB / 0.5294 GB Notification: Performance of SimCode: time 1.042e-06/0.6541, allocations: 0 / 0.6369 GB, free: 8.906 MB / 0.5294 GB Notification: Performance of Templates: time 0.08683/0.7409, allocations: 46.28 MB / 0.6821 GB, free: 10.84 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation.makefile [Timeout 660] (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 & ./Chemical_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.532601306913421] Failed to read output from testmodel.py, exit status != 0: 0.7498662699945271 0.911641275 0.47571312600000004 Calling exit ...