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.001901/0.001901, allocations: 92.42 kB / 19.7 MB, free: 2.137 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.002402/0.002402, allocations: 212.7 kB / 22.99 MB, free: 4.953 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.432/1.432, allocations: 230.6 MB / 256.8 MB, free: 7.824 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.1471/0.1471, allocations: 23.93 MB / 337.1 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: translateModel(Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation") translateModel(Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_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.002075/0.002075, allocations: 67.89 kB / 472.4 MB, free: 6.961 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.333/0.3351, allocations: 59.87 MB / 0.5198 GB, free: 9.77 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.07892/0.414, allocations: 30.61 MB / 0.5497 GB, free: 9.355 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03641/0.4504, allocations: 25.49 MB / 0.5746 GB, free: 1.688 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002416/0.4528, allocations: 35.75 kB / 0.5747 GB, free: 1.652 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002497/0.4553, allocations: 0.6357 MB / 0.5753 GB, free: 1.012 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007746/0.4631, allocations: 2.2 MB / 0.5774 GB, free: 14.8 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01191/0.475, allocations: 3.996 MB / 0.5813 GB, free: 10.78 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004977/0.48, allocations: 3.089 MB / 0.5843 GB, free: 7.672 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002487/0.4825, allocations: 1.616 MB / 0.5859 GB, free: 6.012 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002138/0.4846, allocations: 1.484 MB / 0.5874 GB, free: 4.523 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002599/0.4872, allocations: 1.686 MB / 0.589 GB, free: 2.832 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006516/0.4878, allocations: 296 kB / 0.5893 GB, free: 2.543 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008811/0.4967, allocations: 3.069 MB / 0.5923 GB, free: 15.47 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001137/0.4978, allocations: 0.6932 MB / 0.593 GB, free: 14.77 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001791/0.4996, allocations: 1.21 MB / 0.5942 GB, free: 13.56 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01447/0.5141, allocations: 6.56 MB / 0.6006 GB, free: 6.973 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.5141, allocations: 0 / 0.6006 GB, free: 6.973 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.5141, allocations: 0 / 0.6006 GB, free: 6.973 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001102/0.5142, allocations: 0 / 0.6006 GB, free: 6.973 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.007698/0.5219, allocations: 3.323 MB / 0.6038 GB, free: 3.598 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/0.5219, allocations: 8.031 kB / 0.6038 GB, free: 3.59 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002569/0.5245, allocations: 0.5842 MB / 0.6044 GB, free: 3.004 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003146/0.5276, allocations: 1.368 MB / 0.6057 GB, free: 1.598 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00033/0.528, allocations: 339.3 kB / 0.606 GB, free: 1.227 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006088/0.5286, allocations: 248 kB / 0.6063 GB, free: 0.9844 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005894/0.5345, allocations: 3.09 MB / 0.6093 GB, free: 13.78 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.985e-05/0.5345, allocations: 0 / 0.6093 GB, free: 13.78 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002657/0.5348, allocations: 96 kB / 0.6094 GB, free: 13.68 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.567e-05/0.5348, allocations: 60 kB / 0.6095 GB, free: 13.62 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006609/0.5414, allocations: 3.599 MB / 0.613 GB, free: 10.02 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.01738/0.5588, allocations: 8.759 MB / 0.6215 GB, free: 1.09 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003261/0.5621, allocations: 1.776 MB / 0.6233 GB, free: 15.3 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001832/0.5639, allocations: 1.02 MB / 0.6243 GB, free: 14.27 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01282/0.5767, allocations: 5.181 MB / 0.6293 GB, free: 9.051 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.435e-05/0.5768, allocations: 55.88 kB / 0.6294 GB, free: 8.988 MB / 478.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001391/0.5782, allocations: 282.7 kB / 0.6296 GB, free: 8.711 MB / 478.1 MB Notification: Performance of pre-optimization done (n=134): time 6.232e-06/0.5782, allocations: 4 kB / 0.6296 GB, free: 8.707 MB / 478.1 MB Notification: Performance of matching and sorting (n=181): time 0.03531/0.6135, allocations: 9.526 MB / 0.6389 GB, free: 15.12 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.655e-05/0.6136, allocations: 128.7 kB / 0.6391 GB, free: 14.97 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001872/0.6155, allocations: 1.417 MB / 0.6404 GB, free: 13.54 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002871/0.6158, allocations: 57.7 kB / 0.6405 GB, free: 13.47 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008864/0.6167, allocations: 1.206 MB / 0.6417 GB, free: 12.25 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007235/0.6174, allocations: 0.6585 MB / 0.6423 GB, free: 11.59 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007883/0.6182, allocations: 0.5209 MB / 0.6428 GB, free: 11.06 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.6183, allocations: 305.1 kB / 0.6431 GB, free: 10.76 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001655/0.62, allocations: 0.9501 MB / 0.644 GB, free: 9.809 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002551/0.6225, allocations: 1.894 MB / 0.6459 GB, free: 7.477 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004496/0.627, allocations: 3.007 MB / 0.6488 GB, free: 4.035 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.217e-05/0.627, allocations: 8 kB / 0.6488 GB, free: 4.027 MB / 494.1 MB Notification: Performance of matching and sorting (n=342) (initialization): time 0.01048/0.6375, allocations: 3.894 MB / 0.6526 GB, free: 112 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.203e-05/0.6375, allocations: 16 kB / 0.6527 GB, free: 96 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.241e-05/0.6376, allocations: 39.97 kB / 0.6527 GB, free: 56 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005348/0.6429, allocations: 1.176 MB / 0.6538 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002283/0.6452, allocations: 0.5889 MB / 0.6544 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01055/0.6558, allocations: 7.077 MB / 0.6613 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0021/0.6579, allocations: 115.9 kB / 0.6614 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000374/0.6583, allocations: 159.9 kB / 0.6616 GB, free: 6.605 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.001043/0.6593, allocations: 484.8 kB / 0.6621 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005013/0.6598, allocations: 178.8 kB / 0.6622 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009706/0.6695, allocations: 3.232 MB / 0.6654 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.15e-05/0.6695, allocations: 16 kB / 0.6654 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.41e-05/0.6695, allocations: 7.938 kB / 0.6654 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.222e-05/0.6696, allocations: 11.95 kB / 0.6654 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01372/0.6833, allocations: 4.872 MB / 0.6702 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.749e-05/0.6833, allocations: 7.938 kB / 0.6702 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001425/0.6848, allocations: 299.6 kB / 0.6705 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004811/0.6896, allocations: 1.054 MB / 0.6715 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003232/0.6899, allocations: 67.95 kB / 0.6716 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008649/0.6985, allocations: 6.378 MB / 0.6778 GB, free: 5.547 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/0.6985, allocations: 7.875 kB / 0.6778 GB, free: 5.539 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01032/0.7089, allocations: 4.116 MB / 0.6818 GB, free: 1.359 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005167/0.7094, allocations: 158.8 kB / 0.682 GB, free: 1.203 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000355/0.7097, allocations: 36 kB / 0.682 GB, free: 1.168 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00107/0.7108, allocations: 43.98 kB / 0.682 GB, free: 1.125 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004196/0.7112, allocations: 185.5 kB / 0.6822 GB, free: 0.9414 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001977/0.7114, allocations: 83.95 kB / 0.6823 GB, free: 0.8594 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001222/0.7127, allocations: 0.8852 MB / 0.6832 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.7127, allocations: 0 / 0.6832 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00427/0.7169, allocations: 1.267 MB / 0.6844 GB, free: 14.7 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.002711/0.7196, allocations: 1.332 MB / 0.6857 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006124/0.7258, allocations: 2.833 MB / 0.6885 GB, free: 10.49 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.802e-06/0.7258, allocations: 0 / 0.6885 GB, free: 10.49 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003168/0.7289, allocations: 1.465 MB / 0.6899 GB, free: 8.98 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001834/0.7308, allocations: 307.8 kB / 0.6902 GB, free: 8.684 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007732/0.7385, allocations: 4.157 MB / 0.6943 GB, free: 4.445 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009818/0.7395, allocations: 0.9064 MB / 0.6951 GB, free: 3.496 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009761/0.7405, allocations: 358 kB / 0.6955 GB, free: 3.148 MB / 0.5294 GB Notification: Performance of SimCode: time 9.12e-07/0.7405, allocations: 0 / 0.6955 GB, free: 3.148 MB / 0.5294 GB Notification: Performance of Templates: time 0.3185/1.059, allocations: 82.09 MB / 0.7757 GB, free: 153.4 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation.makefile [Timeout 660] (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 & ./Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 12.727833217999432] Failed to read output from testmodel.py, exit status != 0: 1.0678047529654577 1.075928944 0.559507831 Calling exit ...