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.001902/0.001902, allocations: 114.9 kB / 17.13 MB, free: 6.008 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.002437/0.002437, allocations: 212.7 kB / 20.1 MB, free: 3.055 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.538/1.538, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.1506/0.1506, allocations: 23.86 MB / 333.4 MB, free: 1.207 MB / 254.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.002012/0.002012, allocations: 73.98 kB / 467.2 MB, free: 30.7 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1074, allocations: 59.82 MB / 0.5146 GB, free: 12.58 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.0417/0.1491, allocations: 28.86 MB / 0.5428 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02511/0.1742, allocations: 19.48 MB / 0.5618 GB, free: 12.2 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001578/0.1758, allocations: 23.81 kB / 0.5619 GB, free: 12.18 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001538/0.1773, allocations: 0.5001 MB / 0.5623 GB, free: 11.67 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003814/0.1812, allocations: 1.237 MB / 0.5636 GB, free: 10.43 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007875/0.189, allocations: 2.858 MB / 0.5663 GB, free: 7.551 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003519/0.1925, allocations: 2.094 MB / 0.5684 GB, free: 5.445 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001887/0.1944, allocations: 1.103 MB / 0.5695 GB, free: 4.293 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001512/0.1959, allocations: 0.9348 MB / 0.5704 GB, free: 3.355 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001468/0.1974, allocations: 1.066 MB / 0.5714 GB, free: 2.285 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002912/0.1977, allocations: 200 kB / 0.5716 GB, free: 2.09 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00663/0.2043, allocations: 2.087 MB / 0.5737 GB, free: 0 / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006327/0.205, allocations: 466.6 kB / 0.5741 GB, free: 15.54 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001256/0.2062, allocations: 0.9878 MB / 0.5751 GB, free: 14.55 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01006/0.2163, allocations: 4.358 MB / 0.5793 GB, free: 10.18 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.2163, allocations: 0 / 0.5793 GB, free: 10.18 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.2163, allocations: 0 / 0.5793 GB, free: 10.18 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.28e-05/0.2163, allocations: 0 / 0.5793 GB, free: 10.18 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: 422 * Number of variables: 422 Notification: Performance of Generate backend data structure: time 0.005045/0.2214, allocations: 2.41 MB / 0.5817 GB, free: 7.707 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.2214, allocations: 8.031 kB / 0.5817 GB, free: 7.699 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001782/0.2232, allocations: 451 kB / 0.5821 GB, free: 7.258 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002035/0.2253, allocations: 1.088 MB / 0.5832 GB, free: 6.125 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001896/0.2254, allocations: 187 kB / 0.5833 GB, free: 5.93 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002862/0.2257, allocations: 163.9 kB / 0.5835 GB, free: 5.77 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003683/0.2294, allocations: 2.222 MB / 0.5857 GB, free: 3.48 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.252e-05/0.2294, allocations: 0 / 0.5857 GB, free: 3.48 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001724/0.2296, allocations: 68 kB / 0.5857 GB, free: 3.414 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.578e-05/0.2297, allocations: 43.94 kB / 0.5858 GB, free: 3.371 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004346/0.234, allocations: 2.684 MB / 0.5884 GB, free: 0.6797 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.2486/0.4826, allocations: 7.264 MB / 0.5955 GB, free: 60.27 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001822/0.4844, allocations: 1.126 MB / 0.5966 GB, free: 59.66 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008808/0.4853, allocations: 0.5114 MB / 0.5971 GB, free: 59.43 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007885/0.4932, allocations: 5.152 MB / 0.6021 GB, free: 55.62 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.338e-05/0.4932, allocations: 46.42 kB / 0.6022 GB, free: 55.57 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005252/0.4937, allocations: 116.6 kB / 0.6023 GB, free: 55.52 MB / 446.1 MB Notification: Performance of pre-optimization done (n=71): time 3.316e-06/0.4937, allocations: 0 / 0.6023 GB, free: 55.52 MB / 446.1 MB Notification: Performance of matching and sorting (n=95): time 0.01889/0.5126, allocations: 4.865 MB / 0.607 GB, free: 53.33 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.846e-05/0.5127, allocations: 114.8 kB / 0.6071 GB, free: 53.21 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001829/0.5145, allocations: 1.474 MB / 0.6086 GB, free: 52.58 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001224/0.5146, allocations: 42.17 kB / 0.6086 GB, free: 52.54 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004569/0.5151, allocations: 0.9238 MB / 0.6095 GB, free: 51.91 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002913/0.5154, allocations: 368.8 kB / 0.6099 GB, free: 51.68 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005458/0.5159, allocations: 359 kB / 0.6102 GB, free: 51.51 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.797e-05/0.516, allocations: 306.2 kB / 0.6105 GB, free: 51.21 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009699/0.5169, allocations: 0.6202 MB / 0.6111 GB, free: 50.98 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0012/0.5181, allocations: 1.331 MB / 0.6124 GB, free: 49.83 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002066/0.5202, allocations: 1.922 MB / 0.6143 GB, free: 48.35 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.464e-05/0.5202, allocations: 7.562 kB / 0.6143 GB, free: 48.35 MB / 446.1 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.005275/0.5255, allocations: 2.363 MB / 0.6166 GB, free: 47.3 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.045e-05/0.5255, allocations: 18.44 kB / 0.6166 GB, free: 47.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.166e-05/0.5256, allocations: 23.59 kB / 0.6166 GB, free: 47.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002398/0.528, allocations: 386.4 kB / 0.617 GB, free: 47.12 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002608/0.5306, allocations: 0.5634 MB / 0.6176 GB, free: 46.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006869/0.5374, allocations: 7.907 MB / 0.6253 GB, free: 39.22 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001606/0.539, allocations: 84.89 kB / 0.6254 GB, free: 39.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001769/0.5392, allocations: 103.7 kB / 0.6255 GB, free: 39.16 MB / 446.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.0006364/0.5398, allocations: 370.2 kB / 0.6258 GB, free: 38.89 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003057/0.5402, allocations: 129.5 kB / 0.6259 GB, free: 38.82 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004186/0.5443, allocations: 1.53 MB / 0.6274 GB, free: 37.98 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.097e-06/0.5444, allocations: 7.875 kB / 0.6274 GB, free: 37.98 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.5444, allocations: 3.969 kB / 0.6274 GB, free: 37.98 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.093e-05/0.5444, allocations: 6.641 kB / 0.6275 GB, free: 37.98 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006027/0.5504, allocations: 3.02 MB / 0.6304 GB, free: 35.94 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.006e-05/0.5504, allocations: 6.812 kB / 0.6304 GB, free: 35.94 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000784/0.5512, allocations: 218.1 kB / 0.6306 GB, free: 35.89 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002424/0.5536, allocations: 409.7 kB / 0.631 GB, free: 35.69 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.597e-05/0.5537, allocations: 44.48 kB / 0.6311 GB, free: 35.67 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005878/0.5596, allocations: 7.711 MB / 0.6386 GB, free: 28.05 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.763e-06/0.5596, allocations: 10.08 kB / 0.6386 GB, free: 28.05 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004446/0.564, allocations: 2.171 MB / 0.6407 GB, free: 26.25 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003498/0.5644, allocations: 209 kB / 0.6409 GB, free: 26.02 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001571/0.5645, allocations: 30.56 kB / 0.6409 GB, free: 26 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006618/0.5652, allocations: 30.66 kB / 0.641 GB, free: 25.97 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000182/0.5654, allocations: 106.9 kB / 0.6411 GB, free: 25.86 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-05/0.5654, allocations: 51.98 kB / 0.6411 GB, free: 25.81 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008908/0.5663, allocations: 1.017 MB / 0.6421 GB, free: 24.79 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5663, allocations: 0 / 0.6421 GB, free: 24.79 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002699/0.569, allocations: 0.8297 MB / 0.6429 GB, free: 23.97 MB / 446.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.00136/0.5704, allocations: 0.8931 MB / 0.6438 GB, free: 23.21 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002927/0.5733, allocations: 1.694 MB / 0.6455 GB, free: 21.51 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/0.5733, allocations: 0 / 0.6455 GB, free: 21.51 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00107/0.5744, allocations: 0.9627 MB / 0.6464 GB, free: 20.51 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001407/0.5758, allocations: 234.5 kB / 0.6466 GB, free: 20.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003726/0.5795, allocations: 2.916 MB / 0.6495 GB, free: 17.39 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005253/0.5801, allocations: 1.218 MB / 0.6507 GB, free: 16.15 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004772/0.5805, allocations: 220.8 kB / 0.6509 GB, free: 15.95 MB / 446.1 MB Notification: Performance of SimCode: time 7.72e-07/0.5805, allocations: 0 / 0.6509 GB, free: 15.95 MB / 446.1 MB Notification: Performance of Templates: time 0.06358/0.6441, allocations: 61.39 MB / 0.7108 GB, free: 3.211 MB / 494.1 MB " [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.715878397022607] Failed to read output from testmodel.py, exit status != 0: 0.6528633779962547 0.666532493 0.44721885199999994 Calling exit ...