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.0009617/0.0009617, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 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.001041/0.001041, allocations: 177 kB / 23.36 MB, free: 1.129 MB / 18.57 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 0.9286/0.9286, allocations: 177.1 MB / 203.8 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] 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.08736/0.08736, allocations: 17.39 MB / 277.6 MB, free: 11.5 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 300.6 MB, free: 1.852 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.261e-05/1.39e-05, allocations: 2.859 kB / 300.6 MB, free: 1.848 MB / 266.7 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.03611/0.03612, allocations: 37.45 MB / 338.1 MB, free: 15.14 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01382/0.04995, allocations: 14.6 MB / 352.7 MB, free: 0.4922 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001106/0.05105, allocations: 23.81 kB / 352.7 MB, free: 480 kB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007569/0.05181, allocations: 400.6 kB / 353.1 MB, free: 76 kB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002245/0.05405, allocations: 1.225 MB / 354.3 MB, free: 14.84 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004473/0.05853, allocations: 2.202 MB / 356.5 MB, free: 12.62 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001992/0.06052, allocations: 2.167 MB / 358.7 MB, free: 10.45 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001026/0.06155, allocations: 1.124 MB / 359.8 MB, free: 9.258 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001243/0.06279, allocations: 1.415 MB / 361.2 MB, free: 7.84 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001045/0.06383, allocations: 0.9002 MB / 362.1 MB, free: 6.938 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003284/0.06416, allocations: 196 kB / 362.3 MB, free: 6.746 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00281/0.06697, allocations: 1.485 MB / 363.8 MB, free: 5.258 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002994/0.06727, allocations: 486.4 kB / 364.3 MB, free: 4.781 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006094/0.06788, allocations: 0.7172 MB / 365 MB, free: 4.062 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003298/0.07118, allocations: 3.21 MB / 368.2 MB, free: 0.8398 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.07118, allocations: 0 / 368.2 MB, free: 0.8398 MB / 330.7 MB Notification: Performance of FrontEnd: time 8.61e-07/0.07118, allocations: 0 / 368.2 MB, free: 0.8398 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.661e-05/0.07122, allocations: 0 / 368.2 MB, free: 0.8398 MB / 330.7 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.002355/0.07357, allocations: 2.213 MB / 370.4 MB, free: 14.59 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.656e-05/0.0736, allocations: 16.03 kB / 370.4 MB, free: 14.57 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001016/0.07462, allocations: 0.6745 MB / 371.1 MB, free: 13.9 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008068/0.07542, allocations: 0.6688 MB / 371.8 MB, free: 13.2 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001215/0.07555, allocations: 234.7 kB / 372 MB, free: 12.95 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001647/0.07571, allocations: 168.4 kB / 372.2 MB, free: 12.78 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001422/0.07713, allocations: 1.438 MB / 373.6 MB, free: 11.27 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.484e-05/0.07716, allocations: 4 kB / 373.6 MB, free: 11.27 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-05/0.07725, allocations: 68 kB / 373.7 MB, free: 11.2 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.083e-05/0.07727, allocations: 40 kB / 373.7 MB, free: 11.16 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001151/0.07842, allocations: 1.096 MB / 374.8 MB, free: 10.05 MB / 346.7 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.004997/0.08342, allocations: 4.768 MB / 379.6 MB, free: 5.141 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006815/0.0841, allocations: 0.6963 MB / 380.3 MB, free: 4.422 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002509/0.08435, allocations: 257.9 kB / 380.5 MB, free: 4.152 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003209/0.08756, allocations: 2.475 MB / 383 MB, free: 1.656 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.08759, allocations: 47.16 kB / 383 MB, free: 1.602 MB / 346.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002024/0.08779, allocations: 103.1 kB / 383.1 MB, free: 1.5 MB / 346.7 MB Notification: Performance of pre-optimization done (n=71): time 1.703e-06/0.08779, allocations: 0 / 383.1 MB, free: 1.5 MB / 346.7 MB Notification: Performance of matching and sorting (n=95): time 0.007606/0.0954, allocations: 3.254 MB / 386.4 MB, free: 14.2 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.613e-05/0.09544, allocations: 119.8 kB / 386.5 MB, free: 14.06 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006796/0.09612, allocations: 1.015 MB / 387.5 MB, free: 13.02 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.834e-05/0.09617, allocations: 45.77 kB / 387.6 MB, free: 12.97 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003411/0.09651, allocations: 0.8436 MB / 388.4 MB, free: 12.11 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001924/0.0967, allocations: 361 kB / 388.8 MB, free: 11.76 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002944/0.097, allocations: 351.2 kB / 389.1 MB, free: 11.41 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001016/0.0971, allocations: 365.8 kB / 389.5 MB, free: 11.05 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002532/0.09735, allocations: 202.7 kB / 389.7 MB, free: 10.85 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005388/0.09789, allocations: 0.9075 MB / 390.6 MB, free: 9.609 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001009/0.0989, allocations: 1.321 MB / 391.9 MB, free: 7.949 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.248e-05/0.09891, allocations: 12 kB / 391.9 MB, free: 7.938 MB / 362.7 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.001957/0.1009, allocations: 1.305 MB / 393.2 MB, free: 6.605 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/0.1009, allocations: 12 kB / 393.2 MB, free: 6.594 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.769e-05/0.1009, allocations: 24 kB / 393.2 MB, free: 6.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001337/0.1022, allocations: 475.2 kB / 393.7 MB, free: 6.094 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001183/0.1034, allocations: 0.5422 MB / 394.2 MB, free: 5.551 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003923/0.1074, allocations: 6.585 MB / 400.8 MB, free: 14.56 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005661/0.1079, allocations: 79.98 kB / 400.9 MB, free: 14.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000102/0.108, allocations: 91.97 kB / 401 MB, free: 14.39 MB / 378.7 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.0002921/0.1083, allocations: 231.9 kB / 401.2 MB, free: 14.16 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001412/0.1085, allocations: 99.84 kB / 401.3 MB, free: 14.06 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001654/0.1101, allocations: 1.004 MB / 402.3 MB, free: 13.03 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.662e-06/0.1101, allocations: 12 kB / 402.3 MB, free: 13.02 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.1101, allocations: 3.938 kB / 402.3 MB, free: 13.01 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.957e-06/0.1101, allocations: 3.984 kB / 402.3 MB, free: 13.01 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002615/0.1127, allocations: 1.991 MB / 404.3 MB, free: 10.88 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.083e-06/0.1128, allocations: 8 kB / 404.3 MB, free: 10.88 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003971/0.1131, allocations: 207.7 kB / 404.5 MB, free: 10.67 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001459/0.1146, allocations: 488.8 kB / 405 MB, free: 10.18 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.341e-05/0.1147, allocations: 51.97 kB / 405.1 MB, free: 10.12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003683/0.1184, allocations: 6.378 MB / 411.5 MB, free: 3.336 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.295e-06/0.1184, allocations: 11.94 kB / 411.5 MB, free: 3.324 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001828/0.1202, allocations: 1.443 MB / 412.9 MB, free: 1.762 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001112/0.1203, allocations: 111.2 kB / 413 MB, free: 1.652 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.576e-05/0.1204, allocations: 28 kB / 413 MB, free: 1.625 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003024/0.1207, allocations: 32 kB / 413.1 MB, free: 1.594 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001164/0.1208, allocations: 112.4 kB / 413.2 MB, free: 1.484 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.548e-05/0.1209, allocations: 43.98 kB / 413.2 MB, free: 1.441 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003478/0.1212, allocations: 480.1 kB / 413.7 MB, free: 0.9609 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1212, allocations: 0 / 413.7 MB, free: 0.9609 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001739/0.1229, allocations: 0.7055 MB / 414.4 MB, free: 260 kB / 378.7 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.000907/0.1239, allocations: 0.7245 MB / 415.1 MB, free: 15.52 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001415/0.1253, allocations: 1.169 MB / 416.3 MB, free: 14.32 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.688e-05/0.1253, allocations: 17.94 kB / 416.3 MB, free: 14.31 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008389/0.1262, allocations: 0.8263 MB / 417.1 MB, free: 13.43 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007505/0.1269, allocations: 247 kB / 417.4 MB, free: 13.2 MB / 394.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002972/0.1299, allocations: 2.566 MB / 419.9 MB, free: 10.49 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001846/0.1301, allocations: 263.1 kB / 420.2 MB, free: 10.21 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005545/0.1306, allocations: 289.8 kB / 420.5 MB, free: 9.922 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006703/0.1313, allocations: 349.2 kB / 420.8 MB, free: 9.582 MB / 394.7 MB Notification: Performance of SimCode: time 4.71e-07/0.1313, allocations: 0 / 420.8 MB, free: 9.582 MB / 394.7 MB Notification: Performance of Templates: time 0.1514/0.2827, allocations: 28.48 MB / 449.3 MB, free: 111.1 MB / 410.7 MB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.650099561084062]