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.001364/0.001364, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.001657/0.001657, allocations: 219.4 kB / 22.26 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.384/1.384, allocations: 230.6 MB / 256 MB, free: 7.957 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.1341/0.1341, allocations: 23.85 MB / 336.3 MB, free: 11.16 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.002263/0.002263, allocations: 67.89 kB / 471.6 MB, free: 7.176 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2961/0.2984, allocations: 59.86 MB / 0.5191 GB, free: 9.844 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.0395/0.3379, allocations: 29.09 MB / 0.5475 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02664/0.3645, allocations: 19.53 MB / 0.5665 GB, free: 8.891 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00146/0.366, allocations: 27.81 kB / 0.5666 GB, free: 8.863 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001389/0.3673, allocations: 0.4983 MB / 0.567 GB, free: 8.473 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003657/0.371, allocations: 1.243 MB / 0.5683 GB, free: 7.414 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007874/0.3789, allocations: 2.89 MB / 0.5711 GB, free: 4.766 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003061/0.3819, allocations: 2.094 MB / 0.5731 GB, free: 2.66 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001315/0.3833, allocations: 1.08 MB / 0.5742 GB, free: 1.531 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001083/0.3843, allocations: 0.9387 MB / 0.5751 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001476/0.3858, allocations: 1.062 MB / 0.5761 GB, free: 15.52 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002696/0.3861, allocations: 200 kB / 0.5763 GB, free: 15.33 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0059/0.392, allocations: 2.087 MB / 0.5784 GB, free: 13.24 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004609/0.3924, allocations: 466.6 kB / 0.5788 GB, free: 12.78 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009811/0.3934, allocations: 0.9878 MB / 0.5798 GB, free: 11.79 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007413/0.4008, allocations: 4.358 MB / 0.584 GB, free: 7.414 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.4008, allocations: 4 kB / 0.584 GB, free: 7.41 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.4008, allocations: 0 / 0.584 GB, free: 7.41 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.959e-05/0.4009, allocations: 0 / 0.584 GB, free: 7.41 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.004178/0.4051, allocations: 2.324 MB / 0.5863 GB, free: 5.043 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.4051, allocations: 8.031 kB / 0.5863 GB, free: 5.035 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001587/0.4067, allocations: 455 kB / 0.5867 GB, free: 4.59 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001898/0.4086, allocations: 1.018 MB / 0.5877 GB, free: 3.539 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002095/0.4088, allocations: 234.4 kB / 0.588 GB, free: 3.285 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002501/0.409, allocations: 168 kB / 0.5881 GB, free: 3.121 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003411/0.4124, allocations: 2.245 MB / 0.5903 GB, free: 0.8086 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.292e-05/0.4125, allocations: 3.938 kB / 0.5903 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001582/0.4126, allocations: 68 kB / 0.5904 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.698e-05/0.4127, allocations: 40 kB / 0.5904 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004097/0.4168, allocations: 2.715 MB / 0.5931 GB, free: 13.98 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.01087/0.4276, allocations: 7.226 MB / 0.6001 GB, free: 6.477 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00171/0.4293, allocations: 0.979 MB / 0.6011 GB, free: 5.473 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008409/0.4302, allocations: 0.5174 MB / 0.6016 GB, free: 4.941 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007027/0.4372, allocations: 3.153 MB / 0.6047 GB, free: 1.766 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.385e-05/0.4373, allocations: 47.16 kB / 0.6047 GB, free: 1.711 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004614/0.4377, allocations: 123 kB / 0.6048 GB, free: 1.59 MB / 446.1 MB Notification: Performance of pre-optimization done (n=71): time 2.825e-06/0.4377, allocations: 0 / 0.6048 GB, free: 1.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=95): time 0.01878/0.4565, allocations: 4.559 MB / 0.6093 GB, free: 12.97 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.34e-05/0.4566, allocations: 111.8 kB / 0.6094 GB, free: 12.83 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001911/0.4585, allocations: 1.505 MB / 0.6109 GB, free: 11.31 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 7.291e-05/0.4586, allocations: 41.7 kB / 0.6109 GB, free: 11.27 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007391/0.4593, allocations: 0.9161 MB / 0.6118 GB, free: 10.34 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003266/0.4596, allocations: 365 kB / 0.6121 GB, free: 9.977 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005346/0.4602, allocations: 363.3 kB / 0.6125 GB, free: 9.613 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000132/0.4603, allocations: 301.1 kB / 0.6128 GB, free: 9.316 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001071/0.4614, allocations: 0.6325 MB / 0.6134 GB, free: 8.684 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001733/0.4631, allocations: 1.341 MB / 0.6147 GB, free: 7.012 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002765/0.4659, allocations: 1.94 MB / 0.6166 GB, free: 4.742 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.284e-05/0.4659, allocations: 4 kB / 0.6166 GB, free: 4.738 MB / 462.1 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.005873/0.4718, allocations: 2.383 MB / 0.6189 GB, free: 2.332 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.17e-05/0.4718, allocations: 19.94 kB / 0.619 GB, free: 2.312 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.043e-05/0.4718, allocations: 24 kB / 0.619 GB, free: 2.289 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002617/0.4744, allocations: 379 kB / 0.6193 GB, free: 1.906 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002624/0.4771, allocations: 0.5617 MB / 0.6199 GB, free: 1.344 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009222/0.4863, allocations: 7.489 MB / 0.6272 GB, free: 9.34 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001238/0.4875, allocations: 87.84 kB / 0.6273 GB, free: 9.254 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002077/0.4877, allocations: 95.98 kB / 0.6274 GB, free: 9.16 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.0006948/0.4884, allocations: 381.6 kB / 0.6277 GB, free: 8.777 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003283/0.4888, allocations: 127.2 kB / 0.6279 GB, free: 8.652 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004947/0.4937, allocations: 1.534 MB / 0.6294 GB, free: 7.094 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.083e-05/0.4937, allocations: 8 kB / 0.6294 GB, free: 7.086 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.4937, allocations: 7.938 kB / 0.6294 GB, free: 7.078 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.107e-05/0.4937, allocations: 12 kB / 0.6294 GB, free: 7.066 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007169/0.5009, allocations: 2.975 MB / 0.6323 GB, free: 3.941 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-05/0.5009, allocations: 11.98 kB / 0.6323 GB, free: 3.93 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008479/0.5018, allocations: 219.8 kB / 0.6325 GB, free: 3.715 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002645/0.5044, allocations: 404.8 kB / 0.6329 GB, free: 3.301 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001014/0.5045, allocations: 35.98 kB / 0.6329 GB, free: 3.266 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008418/0.5129, allocations: 7.31 MB / 0.6401 GB, free: 11.44 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.847e-06/0.5129, allocations: 11.94 kB / 0.6401 GB, free: 11.43 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005189/0.5181, allocations: 2.16 MB / 0.6422 GB, free: 9.145 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002916/0.5184, allocations: 127.2 kB / 0.6423 GB, free: 9.02 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001951/0.5186, allocations: 28 kB / 0.6423 GB, free: 8.992 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007284/0.5193, allocations: 32 kB / 0.6424 GB, free: 8.961 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001887/0.5195, allocations: 120.2 kB / 0.6425 GB, free: 8.844 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.786e-05/0.5196, allocations: 47.98 kB / 0.6425 GB, free: 8.797 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001331/0.5209, allocations: 1.029 MB / 0.6435 GB, free: 7.762 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5209, allocations: 0 / 0.6435 GB, free: 7.762 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002614/0.5236, allocations: 0.8338 MB / 0.6443 GB, free: 6.926 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.001791/0.5254, allocations: 0.9078 MB / 0.6452 GB, free: 6.008 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00341/0.5288, allocations: 1.698 MB / 0.6469 GB, free: 4.281 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.5288, allocations: 0 / 0.6469 GB, free: 4.281 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001412/0.5302, allocations: 0.962 MB / 0.6478 GB, free: 3.27 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00132/0.5315, allocations: 226.2 kB / 0.648 GB, free: 3.051 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004713/0.5362, allocations: 2.885 MB / 0.6509 GB, free: 44 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001001/0.5372, allocations: 1.223 MB / 0.6521 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0009763/0.5382, allocations: 326.5 kB / 0.6524 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003901/0.5386, allocations: 183.3 kB / 0.6525 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of SimCode: time 7.11e-07/0.5386, allocations: 0 / 0.6525 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of Templates: time 0.05011/0.5887, allocations: 29.77 MB / 0.6816 GB, free: 0.6016 MB / 0.5137 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: 5.943146330071613] Failed to read output from testmodel.py, exit status != 0: 0.5980109660886228 0.612462281 0.20845434599999996 Calling exit ...