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.001397/0.001397, allocations: 80.67 kB / 19.18 MB, free: 2.527 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.001484/0.001484, allocations: 166.9 kB / 22.46 MB, free: 5.355 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.482/1.482, allocations: 177.1 MB / 202.8 MB, free: 9.16 MB / 190.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.1397/0.1397, allocations: 17.45 MB / 276.6 MB, free: 15.2 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: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 412.1 MB, free: 4.254 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.406e-05/2.546e-05, allocations: 2.281 kB / 412.1 MB, free: 4.25 MB / 334.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.04243/0.04245, allocations: 30.96 MB / 443.1 MB, free: 5.406 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.1884/0.2309, allocations: 25.47 MB / 468.5 MB, free: 24.21 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001672/0.2325, allocations: 38.38 kB / 468.6 MB, free: 24.2 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001716/0.2342, allocations: 0.6435 MB / 469.2 MB, free: 23.85 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005703/0.2399, allocations: 2.278 MB / 471.5 MB, free: 22.48 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01042/0.2504, allocations: 4.117 MB / 475.6 MB, free: 20.06 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003785/0.2541, allocations: 3.201 MB / 478.8 MB, free: 18.15 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001701/0.2559, allocations: 1.587 MB / 480.4 MB, free: 16.99 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00218/0.258, allocations: 2.091 MB / 482.5 MB, free: 15.8 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001753/0.2598, allocations: 1.335 MB / 483.8 MB, free: 15.09 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003987/0.2602, allocations: 295.5 kB / 484.1 MB, free: 15.09 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007594/0.2678, allocations: 3.019 MB / 487.1 MB, free: 13.6 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005393/0.2683, allocations: 0.7087 MB / 487.9 MB, free: 12.89 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001284/0.2696, allocations: 1.041 MB / 488.9 MB, free: 11.85 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01063/0.2802, allocations: 6.924 MB / 495.8 MB, free: 4.898 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.2802, allocations: 2.656 kB / 495.8 MB, free: 4.898 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2802, allocations: 0 / 495.8 MB, free: 4.898 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.864e-05/0.2803, allocations: 3.938 kB / 495.8 MB, free: 4.895 MB / 366.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.004773/0.2851, allocations: 3.291 MB / 499.1 MB, free: 1.57 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.22e-05/0.2851, allocations: 12.03 kB / 499.1 MB, free: 1.559 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002086/0.2872, allocations: 0.5789 MB / 499.7 MB, free: 0.9805 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002133/0.2893, allocations: 1.355 MB / 0.4893 GB, free: 15.61 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002976/0.2896, allocations: 347.5 kB / 0.4896 GB, free: 15.23 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004313/0.29, allocations: 244.3 kB / 0.4899 GB, free: 14.99 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005441/0.2955, allocations: 3.09 MB / 0.4929 GB, free: 11.79 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.521e-05/0.2955, allocations: 4 kB / 0.4929 GB, free: 11.78 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002761/0.2958, allocations: 99.94 kB / 0.493 GB, free: 11.68 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.095e-05/0.2958, allocations: 62.66 kB / 0.4931 GB, free: 11.62 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006265/0.3021, allocations: 3.603 MB / 0.4966 GB, free: 8.02 MB / 382.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.01602/0.3181, allocations: 8.753 MB / 0.5051 GB, free: 15.12 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003088/0.3212, allocations: 1.771 MB / 0.5069 GB, free: 13.36 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001702/0.3229, allocations: 1.021 MB / 0.5079 GB, free: 12.33 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01143/0.3344, allocations: 5.178 MB / 0.5129 GB, free: 7.129 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.826e-05/0.3344, allocations: 51.81 kB / 0.513 GB, free: 7.07 MB / 398.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001397/0.3358, allocations: 290.6 kB / 0.5132 GB, free: 6.793 MB / 398.1 MB Notification: Performance of pre-optimization done (n=134): time 4.539e-06/0.3358, allocations: 0 / 0.5132 GB, free: 6.793 MB / 398.1 MB Notification: Performance of matching and sorting (n=181): time 0.03723/0.373, allocations: 9.541 MB / 0.5226 GB, free: 13.3 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.505e-05/0.3731, allocations: 124.8 kB / 0.5227 GB, free: 13.16 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00194/0.3751, allocations: 1.417 MB / 0.5241 GB, free: 11.72 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002219/0.3753, allocations: 57.7 kB / 0.5241 GB, free: 11.66 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009614/0.3763, allocations: 1.19 MB / 0.5253 GB, free: 10.46 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007038/0.377, allocations: 0.6572 MB / 0.5259 GB, free: 9.801 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008369/0.3778, allocations: 0.5131 MB / 0.5264 GB, free: 9.281 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001401/0.3779, allocations: 301.1 kB / 0.5267 GB, free: 8.984 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001809/0.3798, allocations: 0.9462 MB / 0.5276 GB, free: 8.035 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002737/0.3825, allocations: 1.906 MB / 0.5295 GB, free: 5.688 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004789/0.3873, allocations: 2.998 MB / 0.5324 GB, free: 2.301 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.015e-05/0.3873, allocations: 12 kB / 0.5324 GB, free: 2.289 MB / 414.1 MB Notification: Performance of matching and sorting (n=342) (initialization): time 0.01132/0.3986, allocations: 3.889 MB / 0.5362 GB, free: 14.41 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.465e-05/0.3987, allocations: 22.66 kB / 0.5362 GB, free: 14.39 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.923e-05/0.3987, allocations: 34.62 kB / 0.5363 GB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005996/0.4047, allocations: 1.179 MB / 0.5374 GB, free: 13.2 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00241/0.4071, allocations: 0.5811 MB / 0.538 GB, free: 12.62 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01146/0.4186, allocations: 7.087 MB / 0.5449 GB, free: 5.223 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002222/0.4208, allocations: 113.1 kB / 0.545 GB, free: 5.117 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004372/0.4212, allocations: 156 kB / 0.5452 GB, free: 4.965 MB / 430.1 MB 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.001195/0.4224, allocations: 487.5 kB / 0.5456 GB, free: 4.48 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005648/0.423, allocations: 182.8 kB / 0.5458 GB, free: 4.301 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0107/0.4337, allocations: 3.227 MB / 0.549 GB, free: 1.141 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-05/0.4337, allocations: 20 kB / 0.549 GB, free: 1.121 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-05/0.4337, allocations: 4.75 kB / 0.549 GB, free: 1.117 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.015e-05/0.4338, allocations: 7.969 kB / 0.549 GB, free: 1.109 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01497/0.4488, allocations: 4.869 MB / 0.5538 GB, free: 12.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-05/0.4488, allocations: 4 kB / 0.5538 GB, free: 12.17 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001554/0.4503, allocations: 312.8 kB / 0.5541 GB, free: 11.87 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00545/0.4558, allocations: 1.044 MB / 0.5551 GB, free: 10.84 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003023/0.4561, allocations: 74.61 kB / 0.5551 GB, free: 10.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009433/0.4655, allocations: 6.373 MB / 0.5614 GB, free: 4.082 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/0.4655, allocations: 4 kB / 0.5614 GB, free: 4.078 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01131/0.4768, allocations: 4.105 MB / 0.5654 GB, free: 15.92 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004824/0.4773, allocations: 162.8 kB / 0.5655 GB, free: 15.76 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002864/0.4776, allocations: 36 kB / 0.5656 GB, free: 15.73 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001153/0.4787, allocations: 42.64 kB / 0.5656 GB, free: 15.69 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004985/0.4792, allocations: 189.5 kB / 0.5658 GB, free: 15.5 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002278/0.4795, allocations: 83.95 kB / 0.5659 GB, free: 15.42 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001277/0.4808, allocations: 0.8852 MB / 0.5667 GB, free: 14.54 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4808, allocations: 7.938 kB / 0.5667 GB, free: 14.53 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004068/0.4848, allocations: 1.255 MB / 0.568 GB, free: 13.27 MB / 462.1 MB 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.003129/0.488, allocations: 1.389 MB / 0.5693 GB, free: 11.95 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006681/0.4946, allocations: 2.832 MB / 0.5721 GB, free: 9.094 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/0.4946, allocations: 2.656 kB / 0.5721 GB, free: 9.094 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003217/0.4979, allocations: 1.458 MB / 0.5735 GB, free: 7.602 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001842/0.4997, allocations: 299.7 kB / 0.5738 GB, free: 7.34 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007817/0.5075, allocations: 3.98 MB / 0.5777 GB, free: 3.371 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001073/0.5086, allocations: 0.9049 MB / 0.5786 GB, free: 2.449 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001525/0.5101, allocations: 454 kB / 0.579 GB, free: 2.113 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006844/0.5108, allocations: 273.4 kB / 0.5793 GB, free: 1.852 MB / 462.1 MB Notification: Performance of SimCode: time 1.232e-06/0.5108, allocations: 8 kB / 0.5793 GB, free: 1.844 MB / 462.1 MB Notification: Performance of Templates: time 0.07785/0.5887, allocations: 46.27 MB / 0.6245 GB, free: 3.957 MB / 0.4981 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: 6.963018015027046] Failed to read output from testmodel.py, exit status != 0: 0.5988207124173641 0.79180836 0.5086930559999999 Calling exit ...