Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.001331/0.001331, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001475/0.001475, allocations: 212.2 kB / 22.99 MB, free: 4.957 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.413/1.413, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.1328/0.1328, allocations: 23.92 MB / 337.1 MB, free: 10.92 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.ElectrochemicalCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.ElectrochemicalCell") translateModel(Chemical.Obsolete.Examples.ElectrochemicalCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_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.002042/0.002042, allocations: 67.89 kB / 472.4 MB, free: 6.945 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3463/0.3484, allocations: 59.88 MB / 0.5198 GB, free: 9.77 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.ElectrochemicalCell): time 0.07393/0.4223, allocations: 29.76 MB / 0.5489 GB, free: 10.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03559/0.4579, allocations: 25.31 MB / 0.5736 GB, free: 2.688 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002258/0.4602, allocations: 31.75 kB / 0.5736 GB, free: 2.656 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002197/0.4624, allocations: 0.593 MB / 0.5742 GB, free: 2.059 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007853/0.4702, allocations: 2.161 MB / 0.5763 GB, free: 15.88 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01165/0.4819, allocations: 3.934 MB / 0.5802 GB, free: 11.93 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004658/0.4865, allocations: 2.848 MB / 0.5829 GB, free: 9.066 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002027/0.4885, allocations: 1.373 MB / 0.5843 GB, free: 7.645 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001852/0.4904, allocations: 1.348 MB / 0.5856 GB, free: 6.293 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00226/0.4927, allocations: 1.506 MB / 0.5871 GB, free: 4.781 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005057/0.4932, allocations: 260 kB / 0.5873 GB, free: 4.527 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008147/0.5013, allocations: 3.034 MB / 0.5903 GB, free: 1.488 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009208/0.5022, allocations: 0.5998 MB / 0.5909 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001592/0.5038, allocations: 1.093 MB / 0.5919 GB, free: 15.79 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0159/0.5197, allocations: 6.19 MB / 0.598 GB, free: 9.574 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.5197, allocations: 0 / 0.598 GB, free: 9.574 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.5197, allocations: 4 kB / 0.598 GB, free: 9.57 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.41e-05/0.5198, allocations: 0 / 0.598 GB, free: 9.57 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.006731/0.5266, allocations: 3.084 MB / 0.601 GB, free: 6.434 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.5266, allocations: 8.031 kB / 0.601 GB, free: 6.426 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002603/0.5292, allocations: 0.5609 MB / 0.6016 GB, free: 5.863 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002771/0.532, allocations: 1.246 MB / 0.6028 GB, free: 4.578 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002655/0.5322, allocations: 279.5 kB / 0.603 GB, free: 4.277 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004451/0.5327, allocations: 224 kB / 0.6033 GB, free: 4.059 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004841/0.5375, allocations: 2.679 MB / 0.6059 GB, free: 1.289 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.559e-05/0.5376, allocations: 3.938 kB / 0.6059 GB, free: 1.285 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002229/0.5378, allocations: 95.98 kB / 0.606 GB, free: 1.191 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.817e-05/0.5378, allocations: 52 kB / 0.606 GB, free: 1.141 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005607/0.5434, allocations: 3.291 MB / 0.6092 GB, free: 13.84 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.0145/0.5579, allocations: 6.995 MB / 0.6161 GB, free: 6.711 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002649/0.5606, allocations: 1.531 MB / 0.6176 GB, free: 5.176 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001358/0.5619, allocations: 0.8547 MB / 0.6184 GB, free: 4.309 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01025/0.5722, allocations: 4.273 MB / 0.6226 GB, free: 8 kB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.825e-05/0.5723, allocations: 47.86 kB / 0.6226 GB, free: 15.95 MB / 478.1 MB Notification: Performance of pre-optimization done (n=128): time 3.206e-06/0.5723, allocations: 0 / 0.6226 GB, free: 15.95 MB / 478.1 MB Notification: Performance of matching and sorting (n=181): time 0.03367/0.6059, allocations: 8.103 MB / 0.6305 GB, free: 7.797 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.965e-05/0.606, allocations: 99.14 kB / 0.6306 GB, free: 7.68 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001627/0.6076, allocations: 1.317 MB / 0.6319 GB, free: 6.352 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00014/0.6078, allocations: 57.7 kB / 0.632 GB, free: 6.289 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008219/0.6086, allocations: 1.085 MB / 0.633 GB, free: 5.191 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006442/0.6092, allocations: 0.6585 MB / 0.6337 GB, free: 4.527 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007298/0.61, allocations: 485 kB / 0.6341 GB, free: 4.047 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.6101, allocations: 305.1 kB / 0.6344 GB, free: 3.746 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001472/0.6116, allocations: 0.8171 MB / 0.6352 GB, free: 2.926 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002213/0.6138, allocations: 1.661 MB / 0.6368 GB, free: 0.8789 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003772/0.6176, allocations: 2.618 MB / 0.6394 GB, free: 13.88 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.586e-05/0.6176, allocations: 8 kB / 0.6394 GB, free: 13.87 MB / 494.1 MB Notification: Performance of matching and sorting (n=324) (initialization): time 0.007157/0.6247, allocations: 3.039 MB / 0.6424 GB, free: 10.81 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.561e-05/0.6248, allocations: 19.94 kB / 0.6424 GB, free: 10.79 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.551e-05/0.6248, allocations: 28.34 kB / 0.6424 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003426/0.6282, allocations: 0.5143 MB / 0.6429 GB, free: 10.24 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003802/0.632, allocations: 0.8035 MB / 0.6437 GB, free: 9.438 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009541/0.6416, allocations: 7.52 MB / 0.651 GB, free: 1.457 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001969/0.6435, allocations: 100.1 kB / 0.6511 GB, free: 1.359 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002935/0.6438, allocations: 140 kB / 0.6513 GB, free: 1.223 MB / 494.1 MB 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.0009414/0.6448, allocations: 452.9 kB / 0.6517 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004097/0.6452, allocations: 166.9 kB / 0.6519 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007105/0.6523, allocations: 2.562 MB / 0.6544 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.802e-05/0.6523, allocations: 23.88 kB / 0.6544 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.887e-06/0.6523, allocations: 4 kB / 0.6544 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.358e-05/0.6523, allocations: 11.95 kB / 0.6544 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01012/0.6625, allocations: 4.244 MB / 0.6585 GB, free: 9.516 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.908e-05/0.6625, allocations: 12 kB / 0.6586 GB, free: 9.504 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00175/0.6642, allocations: 420.3 kB / 0.659 GB, free: 9.094 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003595/0.6678, allocations: 0.5469 MB / 0.6595 GB, free: 8.527 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001788/0.668, allocations: 87.89 kB / 0.6596 GB, free: 8.441 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008601/0.6766, allocations: 7.293 MB / 0.6667 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.661e-05/0.6766, allocations: 19.88 kB / 0.6667 GB, free: 0.6602 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007454/0.6841, allocations: 3.45 MB / 0.6701 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004734/0.6846, allocations: 174.7 kB / 0.6703 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000251/0.6848, allocations: 52 kB / 0.6703 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001012/0.6858, allocations: 55.98 kB / 0.6704 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003365/0.6862, allocations: 200.6 kB / 0.6705 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000173/0.6863, allocations: 95.97 kB / 0.6706 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.00111/0.6874, allocations: 0.8274 MB / 0.6714 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6874, allocations: 0 / 0.6714 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003682/0.6911, allocations: 1.208 MB / 0.6726 GB, free: 10.42 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.002639/0.6938, allocations: 1.335 MB / 0.6739 GB, free: 9.074 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005103/0.6989, allocations: 2.37 MB / 0.6762 GB, free: 6.684 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.858e-05/0.6989, allocations: 4 kB / 0.6762 GB, free: 6.68 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002277/0.7012, allocations: 1.36 MB / 0.6776 GB, free: 5.27 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001967/0.7031, allocations: 342.6 kB / 0.6779 GB, free: 4.941 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006508/0.7096, allocations: 4.07 MB / 0.6819 GB, free: 0.6719 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009708/0.7106, allocations: 0.8577 MB / 0.6827 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.00163/0.7122, allocations: 453.7 kB / 0.6831 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006596/0.7129, allocations: 287.2 kB / 0.6834 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of SimCode: time 1.092e-06/0.7129, allocations: 0 / 0.6834 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of Templates: time 0.07146/0.7844, allocations: 44.82 MB / 0.7272 GB, free: 2.484 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.ElectrochemicalCell.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.ElectrochemicalCell.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.ElectrochemicalCell.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.ElectrochemicalCell.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.ElectrochemicalCell.sim & ./Chemical_master_Chemical.Obsolete.Examples.ElectrochemicalCell -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.ElectrochemicalCell.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.9118792270019185] Failed to read output from testmodel.py, exit status != 0: 0.7937213299883297 0.988858255 0.466177184 Calling exit ...