Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.ElectrochemicalCell.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.00161/0.00161, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.002006/0.002006, allocations: 217.9 kB / 23.01 MB, free: 5.125 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.434/1.434, allocations: 230.6 MB / 256.8 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 178] 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.13/0.13, allocations: 23.86 MB / 337 MB, free: 11.18 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.ElectrochemicalCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.ElectrochemicalCell") translateModel(Chemical.Obsolete.Examples.ElectrochemicalCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.ElectrochemicalCell") [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.001995/0.001995, allocations: 67.91 kB / 472.4 MB, free: 7.199 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.285/0.287, allocations: 59.86 MB / 0.5198 GB, free: 9.879 MB / 382.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.ElectrochemicalCell): time 0.04088/0.3279, allocations: 31.07 MB / 0.5501 GB, free: 9.066 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03816/0.3661, allocations: 28.9 MB / 0.5784 GB, free: 14.07 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001843/0.3679, allocations: 31.75 kB / 0.5784 GB, free: 14.04 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002133/0.3701, allocations: 0.6514 MB / 0.579 GB, free: 13.39 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006967/0.377, allocations: 2.227 MB / 0.5812 GB, free: 11.14 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01106/0.3881, allocations: 3.926 MB / 0.585 GB, free: 7.195 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004505/0.3926, allocations: 2.856 MB / 0.5878 GB, free: 4.328 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00194/0.3945, allocations: 1.361 MB / 0.5892 GB, free: 2.91 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001693/0.3962, allocations: 1.34 MB / 0.5905 GB, free: 1.566 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00221/0.3984, allocations: 1.514 MB / 0.5919 GB, free: 48 kB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000487/0.3989, allocations: 260 kB / 0.5922 GB, free: 15.79 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009051/0.408, allocations: 3.151 MB / 0.5953 GB, free: 12.64 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007876/0.4088, allocations: 0.6037 MB / 0.5959 GB, free: 12.03 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001594/0.4104, allocations: 1.307 MB / 0.5971 GB, free: 10.72 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01306/0.4234, allocations: 6.194 MB / 0.6032 GB, free: 4.5 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.516e-06/0.4234, allocations: 0 / 0.6032 GB, free: 4.5 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.4234, allocations: 0 / 0.6032 GB, free: 4.5 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.232e-05/0.4235, allocations: 0 / 0.6032 GB, free: 4.5 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: 556 * Number of variables: 556 Notification: Performance of Generate backend data structure: time 0.006396/0.4299, allocations: 3.1 MB / 0.6062 GB, free: 1.348 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.4299, allocations: 12.03 kB / 0.6062 GB, free: 1.336 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002263/0.4322, allocations: 0.557 MB / 0.6068 GB, free: 0.7773 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002466/0.4346, allocations: 1.239 MB / 0.608 GB, free: 15.5 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002453/0.4349, allocations: 283.5 kB / 0.6082 GB, free: 15.2 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003537/0.4352, allocations: 227.9 kB / 0.6085 GB, free: 14.97 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00447/0.4397, allocations: 2.679 MB / 0.6111 GB, free: 12.2 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.362e-05/0.4397, allocations: 0 / 0.6111 GB, free: 12.2 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002195/0.44, allocations: 92 kB / 0.6112 GB, free: 12.11 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.63e-05/0.44, allocations: 52 kB / 0.6112 GB, free: 12.06 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005385/0.4454, allocations: 3.326 MB / 0.6145 GB, free: 8.73 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.01504/0.4604, allocations: 8.595 MB / 0.6229 GB, free: 15.79 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002714/0.4631, allocations: 1.535 MB / 0.6244 GB, free: 14.26 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001481/0.4646, allocations: 0.8508 MB / 0.6252 GB, free: 13.39 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01042/0.475, allocations: 4.534 MB / 0.6296 GB, free: 8.832 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.238e-05/0.4751, allocations: 51.81 kB / 0.6297 GB, free: 8.773 MB / 478.1 MB Notification: Performance of pre-optimization done (n=128): time 2.785e-06/0.4751, allocations: 0 / 0.6297 GB, free: 8.773 MB / 478.1 MB Notification: Performance of matching and sorting (n=181): time 0.0323/0.5074, allocations: 8.111 MB / 0.6376 GB, free: 0.6055 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.199e-05/0.5075, allocations: 99.05 kB / 0.6377 GB, free: 500 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001873/0.5094, allocations: 1.37 MB / 0.639 GB, free: 15.1 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000191/0.5095, allocations: 53.7 kB / 0.6391 GB, free: 15.04 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008519/0.5104, allocations: 1.085 MB / 0.6401 GB, free: 13.95 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006736/0.5111, allocations: 0.6586 MB / 0.6408 GB, free: 13.28 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007541/0.5118, allocations: 481.1 kB / 0.6412 GB, free: 12.8 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001312/0.512, allocations: 301.1 kB / 0.6415 GB, free: 12.51 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001514/0.5135, allocations: 0.8132 MB / 0.6423 GB, free: 11.69 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002323/0.5158, allocations: 1.665 MB / 0.6439 GB, free: 9.641 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003932/0.5197, allocations: 2.614 MB / 0.6465 GB, free: 6.648 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.346e-05/0.5197, allocations: 8 kB / 0.6465 GB, free: 6.641 MB / 494.1 MB Notification: Performance of matching and sorting (n=324) (initialization): time 0.007278/0.527, allocations: 3.058 MB / 0.6495 GB, free: 3.562 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.575e-05/0.5271, allocations: 20 kB / 0.6495 GB, free: 3.543 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.72e-05/0.5271, allocations: 24 kB / 0.6495 GB, free: 3.52 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003408/0.5305, allocations: 0.5224 MB / 0.65 GB, free: 2.984 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003733/0.5342, allocations: 0.8036 MB / 0.6508 GB, free: 2.18 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00971/0.5439, allocations: 7.634 MB / 0.6583 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0018/0.5457, allocations: 95.91 kB / 0.6584 GB, free: 9.945 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002665/0.546, allocations: 148.1 kB / 0.6585 GB, free: 9.801 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 124 * 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 (311): * Single equations (assignments): 305 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,6), (1,1), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0008885/0.5469, allocations: 457.3 kB / 0.6589 GB, free: 9.344 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003744/0.5473, allocations: 175 kB / 0.6591 GB, free: 9.172 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007008/0.5543, allocations: 2.57 MB / 0.6616 GB, free: 6.566 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.865e-05/0.5543, allocations: 20 kB / 0.6616 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.942e-06/0.5543, allocations: 0 / 0.6616 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.832e-05/0.5543, allocations: 15.95 kB / 0.6617 GB, free: 6.531 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01038/0.5647, allocations: 4.734 MB / 0.6663 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.093e-05/0.5647, allocations: 12 kB / 0.6663 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001694/0.5664, allocations: 420.2 kB / 0.6667 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003397/0.5698, allocations: 0.5394 MB / 0.6672 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001786/0.57, allocations: 83.97 kB / 0.6673 GB, free: 0.5078 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008582/0.5786, allocations: 7.427 MB / 0.6746 GB, free: 8.562 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.727e-05/0.5786, allocations: 19.94 kB / 0.6746 GB, free: 8.543 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007391/0.586, allocations: 3.459 MB / 0.6779 GB, free: 4.906 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000477/0.5865, allocations: 186.7 kB / 0.6781 GB, free: 4.723 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002579/0.5867, allocations: 48 kB / 0.6782 GB, free: 4.676 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00101/0.5877, allocations: 55.92 kB / 0.6782 GB, free: 4.621 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003175/0.5881, allocations: 200.7 kB / 0.6784 GB, free: 4.422 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001611/0.5882, allocations: 91.97 kB / 0.6785 GB, free: 4.332 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001212/0.5894, allocations: 0.9006 MB / 0.6794 GB, free: 3.43 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.5894, allocations: 0 / 0.6794 GB, free: 3.43 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003572/0.593, allocations: 1.216 MB / 0.6806 GB, free: 2.211 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 51 * Number of states: 8 (cathode.temperature,Ag.logn,anode.temperature,solution1.temperature,Cl.logn,AgCl.logn,H.logn,liquidWater.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 (198): * Single equations (assignments): 192 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 5 systems {(1,6), (1,1), (1,3), (1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0025/0.5955, allocations: 1.33 MB / 0.6819 GB, free: 0.8711 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005149/0.6007, allocations: 2.362 MB / 0.6842 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.051e-05/0.6007, allocations: 4 kB / 0.6842 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002351/0.603, allocations: 1.367 MB / 0.6855 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001932/0.605, allocations: 351.9 kB / 0.6859 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006899/0.6119, allocations: 4.098 MB / 0.6899 GB, free: 8.426 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001179/0.613, allocations: 1.429 MB / 0.6912 GB, free: 6.965 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001008/0.614, allocations: 359.2 kB / 0.6916 GB, free: 6.613 MB / 0.5294 GB Notification: Performance of SimCode: time 9.12e-07/0.614, allocations: 4 kB / 0.6916 GB, free: 6.609 MB / 0.5294 GB Notification: Performance of Templates: time 0.2791/0.8931, allocations: 82.78 MB / 0.7724 GB, free: 154.8 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Obsolete.Examples.ElectrochemicalCell.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.ElectrochemicalCell.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.ElectrochemicalCell.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.ElectrochemicalCell.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.ElectrochemicalCell.sim & ./Chemical_Chemical.Obsolete.Examples.ElectrochemicalCell -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.ElectrochemicalCell.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.628437821054831] Failed to read output from testmodel.py, exit status != 0: 0.9021427950356156 0.9104548179999999 0.48477523600000005 Calling exit ...