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.0013/0.0013, 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.00161/0.00161, allocations: 217.4 kB / 22.24 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.485/1.485, allocations: 230.6 MB / 256 MB, free: 7.82 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.1754/0.1754, allocations: 23.91 MB / 336.3 MB, free: 10.95 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.002123/0.002123, allocations: 67.83 kB / 471.7 MB, free: 6.969 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4001/0.4023, allocations: 59.87 MB / 0.5191 GB, free: 9.734 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.08149/0.4837, allocations: 29.21 MB / 0.5476 GB, free: 10.63 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03228/0.516, allocations: 19.47 MB / 0.5666 GB, free: 8.926 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00286/0.5189, allocations: 27.81 kB / 0.5667 GB, free: 8.898 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002082/0.521, allocations: 0.5248 MB / 0.5672 GB, free: 8.5 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005414/0.5264, allocations: 1.32 MB / 0.5685 GB, free: 7.266 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01134/0.5377, allocations: 3.34 MB / 0.5717 GB, free: 3.906 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004578/0.5423, allocations: 2.399 MB / 0.5741 GB, free: 1.492 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001716/0.544, allocations: 1.27 MB / 0.5753 GB, free: 180 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001316/0.5453, allocations: 1.06 MB / 0.5763 GB, free: 15.11 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001595/0.5469, allocations: 1.226 MB / 0.5775 GB, free: 13.88 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003324/0.5473, allocations: 232 kB / 0.5778 GB, free: 13.66 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006952/0.5542, allocations: 2.285 MB / 0.58 GB, free: 11.37 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005576/0.5548, allocations: 0.5297 MB / 0.5805 GB, free: 10.84 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001101/0.5559, allocations: 0.957 MB / 0.5814 GB, free: 9.875 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01029/0.5662, allocations: 5.015 MB / 0.5863 GB, free: 4.84 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.401e-06/0.5662, allocations: 0 / 0.5863 GB, free: 4.84 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.5662, allocations: 0 / 0.5863 GB, free: 4.84 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.791e-05/0.5662, allocations: 0 / 0.5863 GB, free: 4.84 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.005213/0.5714, allocations: 2.663 MB / 0.5889 GB, free: 2.133 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/0.5715, allocations: 12.03 kB / 0.5889 GB, free: 2.121 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002037/0.5735, allocations: 0.5103 MB / 0.5894 GB, free: 1.609 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002132/0.5756, allocations: 1.133 MB / 0.5905 GB, free: 452 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002424/0.5759, allocations: 262.9 kB / 0.5908 GB, free: 164 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003392/0.5762, allocations: 188 kB / 0.591 GB, free: 15.97 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004203/0.5804, allocations: 2.712 MB / 0.5936 GB, free: 13.2 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.39e-05/0.5805, allocations: 7.984 kB / 0.5936 GB, free: 13.19 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001979/0.5807, allocations: 76 kB / 0.5937 GB, free: 13.11 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.85e-05/0.5807, allocations: 48 kB / 0.5938 GB, free: 13.07 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005106/0.5858, allocations: 3.314 MB / 0.597 GB, free: 9.746 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.01277/0.5986, allocations: 7.293 MB / 0.6041 GB, free: 2.301 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002032/0.6006, allocations: 1.116 MB / 0.6052 GB, free: 1.16 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001011/0.6016, allocations: 0.595 MB / 0.6058 GB, free: 0.5508 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00789/0.6095, allocations: 3.383 MB / 0.6091 GB, free: 13.14 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.608e-05/0.6096, allocations: 51.2 kB / 0.6091 GB, free: 13.08 MB / 462.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008227/0.6104, allocations: 179 kB / 0.6093 GB, free: 12.9 MB / 462.1 MB Notification: Performance of pre-optimization done (n=81): time 2.845e-06/0.6104, allocations: 0 / 0.6093 GB, free: 12.9 MB / 462.1 MB Notification: Performance of matching and sorting (n=115): time 0.02631/0.6367, allocations: 6.909 MB / 0.6161 GB, free: 5.938 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001028/0.6368, allocations: 119.8 kB / 0.6162 GB, free: 5.797 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002248/0.639, allocations: 1.827 MB / 0.618 GB, free: 3.957 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 9.426e-05/0.6391, allocations: 45.7 kB / 0.618 GB, free: 3.906 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008138/0.6399, allocations: 1.045 MB / 0.619 GB, free: 2.848 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004004/0.6403, allocations: 440.4 kB / 0.6194 GB, free: 2.414 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006359/0.641, allocations: 415.3 kB / 0.6198 GB, free: 2 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.6411, allocations: 309.2 kB / 0.6201 GB, free: 1.695 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001437/0.6426, allocations: 0.8707 MB / 0.621 GB, free: 0.8203 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002116/0.6447, allocations: 1.608 MB / 0.6225 GB, free: 14.87 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003374/0.6481, allocations: 2.356 MB / 0.6248 GB, free: 12.18 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.101e-05/0.6481, allocations: 4 kB / 0.6249 GB, free: 12.17 MB / 478.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.008137/0.6562, allocations: 3.312 MB / 0.6281 GB, free: 8.836 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.245e-05/0.6562, allocations: 16 kB / 0.6281 GB, free: 8.82 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.508e-05/0.6563, allocations: 24 kB / 0.6281 GB, free: 8.797 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004747/0.661, allocations: 1.05 MB / 0.6291 GB, free: 7.73 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001553/0.6626, allocations: 431.3 kB / 0.6296 GB, free: 7.309 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0104/0.673, allocations: 7.049 MB / 0.6364 GB, free: 15.92 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001656/0.6746, allocations: 91.84 kB / 0.6365 GB, free: 15.83 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002315/0.6749, allocations: 120 kB / 0.6366 GB, free: 15.71 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.0008153/0.6757, allocations: 409 kB / 0.637 GB, free: 15.3 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000357/0.676, allocations: 143.1 kB / 0.6372 GB, free: 15.16 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006601/0.6826, allocations: 2.178 MB / 0.6393 GB, free: 12.96 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.351e-05/0.6826, allocations: 12 kB / 0.6393 GB, free: 12.95 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/0.6826, allocations: 4 kB / 0.6393 GB, free: 12.95 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.67e-05/0.6827, allocations: 7.969 kB / 0.6393 GB, free: 12.94 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009383/0.692, allocations: 3.508 MB / 0.6427 GB, free: 9.363 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.696e-06/0.6921, allocations: 7.938 kB / 0.6428 GB, free: 9.355 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007342/0.6928, allocations: 175.8 kB / 0.6429 GB, free: 9.184 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004109/0.6969, allocations: 0.9248 MB / 0.6438 GB, free: 8.242 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001139/0.697, allocations: 47.95 kB / 0.6439 GB, free: 8.195 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008664/0.7057, allocations: 6.332 MB / 0.6501 GB, free: 1.535 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/0.7057, allocations: 4 kB / 0.6501 GB, free: 1.531 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00732/0.713, allocations: 2.895 MB / 0.6529 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004163/0.7134, allocations: 131.1 kB / 0.653 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000207/0.7136, allocations: 24 kB / 0.653 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000819/0.7144, allocations: 31.98 kB / 0.6531 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002977/0.7147, allocations: 120.7 kB / 0.6532 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001107/0.7149, allocations: 51.97 kB / 0.6532 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001615/0.7165, allocations: 1.248 MB / 0.6545 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.7165, allocations: 3.938 kB / 0.6545 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003119/0.7196, allocations: 0.9705 MB / 0.6554 GB, free: 12 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.001831/0.7214, allocations: 1.009 MB / 0.6564 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004789/0.7262, allocations: 2.363 MB / 0.6587 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.823e-06/0.7262, allocations: 4.188 kB / 0.6587 GB, free: 8.578 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00216/0.7284, allocations: 1.098 MB / 0.6598 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001337/0.7297, allocations: 228.1 kB / 0.66 GB, free: 7.219 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005989/0.7357, allocations: 3.216 MB / 0.6631 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008756/0.7366, allocations: 0.7332 MB / 0.6638 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.00109/0.7377, allocations: 322.7 kB / 0.6642 GB, free: 2.875 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004052/0.7381, allocations: 179.3 kB / 0.6643 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of SimCode: time 1.312e-06/0.7381, allocations: 0 / 0.6643 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of Templates: time 0.06367/0.8017, allocations: 38.83 MB / 0.7022 GB, free: 12.02 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.8893346968106925] Failed to read output from testmodel.py, exit status != 0: 0.8106884220615029 0.824588343 0.255297687 Calling exit ...