Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis.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.001948/0.001948, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.00305/0.00305, allocations: 216 kB / 22.26 MB, free: 5.113 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.506/1.506, allocations: 230.6 MB / 256 MB, free: 8.016 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.1441/0.1441, allocations: 23.89 MB / 336.3 MB, free: 11.16 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.MethanElectrosynthesis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis") translateModel(Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis") [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.001952/0.001952, allocations: 67.91 kB / 471.7 MB, free: 7.137 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2974/0.2994, allocations: 59.88 MB / 0.5191 GB, free: 9.848 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.MethanElectrosynthesis): time 0.04054/0.3399, allocations: 30.31 MB / 0.5487 GB, free: 9.719 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02871/0.3686, allocations: 22.2 MB / 0.5704 GB, free: 5.273 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001956/0.3706, allocations: 31.75 kB / 0.5704 GB, free: 5.242 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002157/0.3727, allocations: 0.5761 MB / 0.571 GB, free: 4.793 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005266/0.378, allocations: 1.365 MB / 0.5723 GB, free: 3.535 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00973/0.3877, allocations: 3.332 MB / 0.5756 GB, free: 188 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003903/0.3916, allocations: 2.41 MB / 0.5779 GB, free: 13.76 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002038/0.3937, allocations: 1.259 MB / 0.5792 GB, free: 12.45 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00167/0.3953, allocations: 1.06 MB / 0.5802 GB, free: 11.39 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002061/0.3974, allocations: 1.23 MB / 0.5814 GB, free: 10.16 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005543/0.3979, allocations: 232 kB / 0.5816 GB, free: 9.93 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006871/0.4048, allocations: 2.379 MB / 0.584 GB, free: 7.547 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006879/0.4055, allocations: 0.5336 MB / 0.5845 GB, free: 7.012 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00137/0.4069, allocations: 1.139 MB / 0.5856 GB, free: 5.867 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01035/0.4172, allocations: 5.023 MB / 0.5905 GB, free: 0.8242 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.4172, allocations: 0 / 0.5905 GB, free: 0.8242 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.4172, allocations: 0 / 0.5905 GB, free: 0.8242 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.242e-05/0.4173, allocations: 0 / 0.5905 GB, free: 0.8242 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 484 * Number of variables: 484 Notification: Performance of Generate backend data structure: time 0.005683/0.423, allocations: 2.67 MB / 0.5931 GB, free: 14.11 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/0.423, allocations: 12.03 kB / 0.5931 GB, free: 14.1 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001978/0.425, allocations: 0.5103 MB / 0.5936 GB, free: 13.59 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002135/0.4271, allocations: 1.133 MB / 0.5947 GB, free: 12.42 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002421/0.4274, allocations: 262.9 kB / 0.595 GB, free: 12.14 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002856/0.4277, allocations: 184 kB / 0.5951 GB, free: 11.96 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004152/0.4318, allocations: 2.69 MB / 0.5978 GB, free: 9.203 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.501e-05/0.4319, allocations: 0 / 0.5978 GB, free: 9.203 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001826/0.432, allocations: 80 kB / 0.5978 GB, free: 9.125 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.954e-05/0.4321, allocations: 44 kB / 0.5979 GB, free: 9.082 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004887/0.437, allocations: 3.353 MB / 0.6012 GB, free: 5.723 MB / 446.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.01319/0.4502, allocations: 8.475 MB / 0.6094 GB, free: 12.96 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00194/0.4521, allocations: 1.116 MB / 0.6105 GB, free: 11.83 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009423/0.453, allocations: 0.5989 MB / 0.6111 GB, free: 11.21 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008012/0.4611, allocations: 3.588 MB / 0.6146 GB, free: 7.602 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.997e-05/0.4611, allocations: 51.09 kB / 0.6147 GB, free: 7.543 MB / 462.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009182/0.462, allocations: 202.8 kB / 0.6149 GB, free: 7.344 MB / 462.1 MB Notification: Performance of pre-optimization done (n=81): time 4.208e-06/0.462, allocations: 0 / 0.6149 GB, free: 7.344 MB / 462.1 MB Notification: Performance of matching and sorting (n=115): time 0.02881/0.4908, allocations: 6.913 MB / 0.6216 GB, free: 380 kB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.066e-05/0.4909, allocations: 111.8 kB / 0.6217 GB, free: 244 kB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002531/0.4934, allocations: 1.888 MB / 0.6236 GB, free: 14.33 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001396/0.4936, allocations: 45.7 kB / 0.6236 GB, free: 14.28 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008064/0.4944, allocations: 1.037 MB / 0.6246 GB, free: 13.23 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004662/0.4949, allocations: 440.4 kB / 0.625 GB, free: 12.8 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006663/0.4955, allocations: 419.4 kB / 0.6254 GB, free: 12.38 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.4956, allocations: 301.1 kB / 0.6257 GB, free: 12.08 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001423/0.4971, allocations: 0.8746 MB / 0.6266 GB, free: 11.2 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002099/0.4992, allocations: 1.608 MB / 0.6282 GB, free: 9.25 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003535/0.5027, allocations: 2.356 MB / 0.6305 GB, free: 6.559 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-05/0.5027, allocations: 8 kB / 0.6305 GB, free: 6.551 MB / 478.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.008766/0.5115, allocations: 3.327 MB / 0.6337 GB, free: 3.199 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.511e-05/0.5115, allocations: 18.34 kB / 0.6337 GB, free: 3.184 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.578e-05/0.5116, allocations: 24 kB / 0.6338 GB, free: 3.16 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004876/0.5164, allocations: 1.046 MB / 0.6348 GB, free: 2.098 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001581/0.518, allocations: 431.3 kB / 0.6352 GB, free: 1.676 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01082/0.5288, allocations: 7.172 MB / 0.6422 GB, free: 10.13 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001779/0.5306, allocations: 91.91 kB / 0.6423 GB, free: 10.04 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003513/0.531, allocations: 120 kB / 0.6424 GB, free: 9.922 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 109 * 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 (226): * Single equations (assignments): 221 * 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 {(2,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 {(2,15), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0009367/0.5319, allocations: 412.9 kB / 0.6428 GB, free: 9.508 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004712/0.5324, allocations: 151 kB / 0.6429 GB, free: 9.359 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007008/0.5394, allocations: 2.179 MB / 0.6451 GB, free: 7.156 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.651e-05/0.5394, allocations: 19.88 kB / 0.6451 GB, free: 7.137 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.487e-06/0.5394, allocations: 8 kB / 0.6451 GB, free: 7.129 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.643e-05/0.5394, allocations: 7.969 kB / 0.6451 GB, free: 7.121 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01035/0.5498, allocations: 3.908 MB / 0.6489 GB, free: 3.125 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-05/0.5498, allocations: 4 kB / 0.6489 GB, free: 3.121 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007823/0.5506, allocations: 175.8 kB / 0.6491 GB, free: 2.949 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004424/0.555, allocations: 0.9249 MB / 0.65 GB, free: 2.008 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000161/0.5552, allocations: 47.95 kB / 0.65 GB, free: 1.961 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00911/0.5643, allocations: 6.459 MB / 0.6563 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.5643, allocations: 0 / 0.6563 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00795/0.5722, allocations: 2.896 MB / 0.6592 GB, free: 8.188 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004278/0.5726, allocations: 143.3 kB / 0.6593 GB, free: 8.047 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003092/0.573, allocations: 28 kB / 0.6593 GB, free: 8.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00101/0.574, allocations: 31.98 kB / 0.6594 GB, free: 7.988 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002953/0.5743, allocations: 124.7 kB / 0.6595 GB, free: 7.867 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001213/0.5744, allocations: 51.95 kB / 0.6595 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001779/0.5762, allocations: 1.337 MB / 0.6608 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.5762, allocations: 0 / 0.6608 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003361/0.5795, allocations: 0.9741 MB / 0.6618 GB, free: 5.5 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 5 (cathode.temperature,anode.temperature,solution1.temperature,H.logn,H2O.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 (90): * Single equations (assignments): 85 * 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 {(2,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,17), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002074/0.5816, allocations: 1.005 MB / 0.6628 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004727/0.5863, allocations: 2.359 MB / 0.6651 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.5863, allocations: 0 / 0.6651 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002165/0.5885, allocations: 1.099 MB / 0.6661 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00141/0.5899, allocations: 236.3 kB / 0.6664 GB, free: 0.7188 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005917/0.5958, allocations: 3.233 MB / 0.6695 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001068/0.5969, allocations: 1.31 MB / 0.6708 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001043/0.5979, allocations: 343.1 kB / 0.6711 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003999/0.5983, allocations: 175.3 kB / 0.6713 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of SimCode: time 6.72e-07/0.5983, allocations: 0 / 0.6713 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of Templates: time 0.05917/0.6575, allocations: 38.5 MB / 0.7089 GB, free: 5.16 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis.sim & ./Chemical_master_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.179232086986303] Failed to read output from testmodel.py, exit status != 0: 0.6663348679430783 0.68025211 0.259949001 Calling exit ...