Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.H2O_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.001323/0.001323, 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.001462/0.001462, allocations: 215.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.437/1.437, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.1474/0.1474, allocations: 23.88 MB / 337.1 MB, free: 10.95 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.H2O_ElectrochemicalCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell") translateModel(Chemical.Obsolete.Examples.H2O_ElectrochemicalCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.H2O_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.003017/0.003017, allocations: 75.02 kB / 472.4 MB, free: 7.004 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4086/0.4116, allocations: 59.85 MB / 0.5197 GB, free: 9.867 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.H2O_ElectrochemicalCell): time 0.07503/0.4866, allocations: 28.18 MB / 0.5473 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02517/0.5118, allocations: 17.13 MB / 0.564 GB, free: 11.98 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001834/0.5136, allocations: 31.75 kB / 0.564 GB, free: 11.95 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001666/0.5153, allocations: 450.8 kB / 0.5645 GB, free: 11.62 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00446/0.5198, allocations: 1.204 MB / 0.5656 GB, free: 10.6 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008359/0.5281, allocations: 2.893 MB / 0.5685 GB, free: 7.93 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0036/0.5317, allocations: 2.094 MB / 0.5705 GB, free: 5.824 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001831/0.5335, allocations: 1.084 MB / 0.5716 GB, free: 4.691 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001511/0.5351, allocations: 0.9271 MB / 0.5725 GB, free: 3.762 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001779/0.5368, allocations: 1.078 MB / 0.5735 GB, free: 2.68 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004067/0.5372, allocations: 200 kB / 0.5737 GB, free: 2.484 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00592/0.5432, allocations: 2.001 MB / 0.5757 GB, free: 492 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000744/0.5439, allocations: 474.5 kB / 0.5761 GB, free: 16 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001233/0.5451, allocations: 0.8287 MB / 0.5769 GB, free: 15.18 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009875/0.555, allocations: 4.346 MB / 0.5812 GB, free: 10.82 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.555, allocations: 4 kB / 0.5812 GB, free: 10.82 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.555, allocations: 0 / 0.5812 GB, free: 10.82 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.641e-05/0.5551, allocations: 0 / 0.5812 GB, free: 10.82 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: 422 * Number of variables: 422 Notification: Performance of Generate backend data structure: time 0.004892/0.56, allocations: 2.331 MB / 0.5835 GB, free: 8.441 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.56, allocations: 12.03 kB / 0.5835 GB, free: 8.43 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001784/0.5618, allocations: 443 kB / 0.5839 GB, free: 7.996 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002231/0.564, allocations: 1.015 MB / 0.5849 GB, free: 6.949 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002366/0.5643, allocations: 238.4 kB / 0.5851 GB, free: 6.691 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003504/0.5646, allocations: 164 kB / 0.5853 GB, free: 6.531 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003796/0.5684, allocations: 2.237 MB / 0.5874 GB, free: 4.227 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.215e-05/0.5685, allocations: 7.938 kB / 0.5875 GB, free: 4.219 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000167/0.5686, allocations: 71.94 kB / 0.5875 GB, free: 4.148 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.021e-05/0.5687, allocations: 44 kB / 0.5876 GB, free: 4.105 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004223/0.5729, allocations: 2.688 MB / 0.5902 GB, free: 1.41 MB / 430.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.01123/0.5841, allocations: 6.127 MB / 0.5962 GB, free: 11.14 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001874/0.586, allocations: 0.9755 MB / 0.5971 GB, free: 10.14 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008712/0.5869, allocations: 0.5135 MB / 0.5976 GB, free: 9.613 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007275/0.5941, allocations: 2.977 MB / 0.6005 GB, free: 6.613 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.697e-05/0.5942, allocations: 43.22 kB / 0.6006 GB, free: 6.562 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000529/0.5947, allocations: 107.1 kB / 0.6007 GB, free: 6.457 MB / 446.1 MB Notification: Performance of pre-optimization done (n=71): time 2.895e-06/0.5947, allocations: 0 / 0.6007 GB, free: 6.457 MB / 446.1 MB Notification: Performance of matching and sorting (n=95): time 0.01776/0.6125, allocations: 4.555 MB / 0.6051 GB, free: 1.844 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001036/0.6126, allocations: 119.7 kB / 0.6052 GB, free: 1.699 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001873/0.6144, allocations: 1.453 MB / 0.6067 GB, free: 232 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001353/0.6146, allocations: 45.7 kB / 0.6067 GB, free: 180 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000816/0.6154, allocations: 0.9278 MB / 0.6076 GB, free: 15.23 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004617/0.6159, allocations: 365 kB / 0.608 GB, free: 14.88 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005626/0.6164, allocations: 359.4 kB / 0.6083 GB, free: 14.51 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001997/0.6166, allocations: 357.9 kB / 0.6086 GB, free: 14.16 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001068/0.6177, allocations: 0.6325 MB / 0.6093 GB, free: 13.52 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001693/0.6194, allocations: 1.341 MB / 0.6106 GB, free: 11.85 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002838/0.6222, allocations: 1.933 MB / 0.6125 GB, free: 9.59 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.486e-05/0.6222, allocations: 8 kB / 0.6125 GB, free: 9.582 MB / 462.1 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.005648/0.6279, allocations: 2.379 MB / 0.6148 GB, free: 7.18 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.126e-05/0.6279, allocations: 16 kB / 0.6148 GB, free: 7.164 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.456e-05/0.628, allocations: 28 kB / 0.6148 GB, free: 7.137 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002358/0.6303, allocations: 379.1 kB / 0.6152 GB, free: 6.754 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002744/0.6331, allocations: 0.5617 MB / 0.6157 GB, free: 6.191 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009109/0.6422, allocations: 7.385 MB / 0.6229 GB, free: 14.34 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001429/0.6436, allocations: 84.11 kB / 0.623 GB, free: 14.26 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002092/0.6438, allocations: 111.9 kB / 0.6231 GB, free: 14.15 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 108 * 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 (219): * Single equations (assignments): 213 * 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,1), (1,1), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0007451/0.6446, allocations: 369.1 kB / 0.6235 GB, free: 13.78 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003342/0.6449, allocations: 123.3 kB / 0.6236 GB, free: 13.66 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004537/0.6494, allocations: 1.526 MB / 0.6251 GB, free: 12.11 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-05/0.6494, allocations: 11.94 kB / 0.6251 GB, free: 12.1 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.904e-06/0.6495, allocations: 4 kB / 0.6251 GB, free: 12.1 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.732e-05/0.6495, allocations: 3.984 kB / 0.6251 GB, free: 12.09 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006831/0.6563, allocations: 2.645 MB / 0.6277 GB, free: 9.309 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-05/0.6563, allocations: 8 kB / 0.6277 GB, free: 9.301 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008828/0.6572, allocations: 212.4 kB / 0.6279 GB, free: 9.094 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002454/0.6597, allocations: 412.7 kB / 0.6283 GB, free: 8.672 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001093/0.6598, allocations: 47.92 kB / 0.6283 GB, free: 8.625 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008349/0.6681, allocations: 7.164 MB / 0.6353 GB, free: 0.9922 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.136e-05/0.6681, allocations: 11.94 kB / 0.6354 GB, free: 0.9805 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005031/0.6732, allocations: 2.164 MB / 0.6375 GB, free: 14.7 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003595/0.6735, allocations: 123.2 kB / 0.6376 GB, free: 14.57 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000171/0.6737, allocations: 24 kB / 0.6376 GB, free: 14.55 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006481/0.6743, allocations: 39.98 kB / 0.6376 GB, free: 14.51 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000208/0.6745, allocations: 108.3 kB / 0.6378 GB, free: 14.41 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.674e-05/0.6746, allocations: 47.98 kB / 0.6378 GB, free: 14.36 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00122/0.6759, allocations: 0.9713 MB / 0.6387 GB, free: 13.38 MB / 494.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.6759, allocations: 0 / 0.6387 GB, free: 13.38 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002693/0.6786, allocations: 0.8182 MB / 0.6395 GB, free: 12.56 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * 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 (101): * Single equations (assignments): 95 * 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,1), (1,1), (1,3), (1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001658/0.6802, allocations: 0.911 MB / 0.6404 GB, free: 11.63 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003478/0.6837, allocations: 1.698 MB / 0.6421 GB, free: 9.906 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.438e-06/0.6837, allocations: 0 / 0.6421 GB, free: 9.906 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00148/0.6852, allocations: 0.9542 MB / 0.643 GB, free: 8.902 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001478/0.6867, allocations: 229.7 kB / 0.6432 GB, free: 8.68 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005022/0.6917, allocations: 2.916 MB / 0.6461 GB, free: 5.641 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007655/0.6924, allocations: 0.6369 MB / 0.6467 GB, free: 4.969 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005849/0.693, allocations: 215.3 kB / 0.6469 GB, free: 4.758 MB / 494.1 MB Notification: Performance of SimCode: time 1.032e-06/0.693, allocations: 0 / 0.6469 GB, free: 4.758 MB / 494.1 MB Notification: Performance of Templates: time 0.07284/0.7659, allocations: 61.77 MB / 0.7072 GB, free: 6.977 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.sim & ./Chemical_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.456704488024116] Failed to read output from testmodel.py, exit status != 0: 0.7774375370354392 0.790612498 0.23218068500000003 Calling exit ...