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.000944/0.000944, allocations: 81.08 kB / 19.87 MB, free: 4.621 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.001082/0.001082, allocations: 169 kB / 23.28 MB, free: 1.219 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.8873/0.8873, allocations: 177.1 MB / 203.7 MB, free: 5.477 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.07825/0.07825, allocations: 17.37 MB / 277.6 MB, free: 11.46 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.723e-06/1.723e-06, allocations: 0 / 353.9 MB, free: 10.74 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.746e-05/1.919e-05, allocations: 2.312 kB / 353.9 MB, free: 10.74 MB / 330.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.02713/0.02715, allocations: 31.65 MB / 385.5 MB, free: 11.17 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01209/0.03923, allocations: 14.34 MB / 399.9 MB, free: 12.78 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008323/0.04006, allocations: 27.75 kB / 399.9 MB, free: 12.75 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008091/0.04087, allocations: 396.7 kB / 400.3 MB, free: 12.36 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002595/0.04347, allocations: 1.206 MB / 401.5 MB, free: 11.14 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003911/0.04738, allocations: 2.186 MB / 403.7 MB, free: 8.945 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001871/0.04925, allocations: 2.171 MB / 405.9 MB, free: 6.762 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00103/0.05028, allocations: 1.108 MB / 407 MB, free: 5.605 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001133/0.05141, allocations: 1.416 MB / 408.4 MB, free: 4.188 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001057/0.05247, allocations: 0.908 MB / 409.3 MB, free: 3.277 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000195/0.05267, allocations: 200 kB / 409.5 MB, free: 3.082 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002245/0.05491, allocations: 1.47 MB / 411 MB, free: 1.609 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000264/0.05517, allocations: 498.4 kB / 411.4 MB, free: 1.121 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004798/0.05565, allocations: 0.7211 MB / 412.2 MB, free: 408 kB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002785/0.05844, allocations: 3.21 MB / 415.4 MB, free: 13.18 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.05844, allocations: 4 kB / 415.4 MB, free: 13.17 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.05844, allocations: 0 / 415.4 MB, free: 13.17 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.505e-05/0.05846, allocations: 3.984 kB / 415.4 MB, free: 13.17 MB / 394.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.002428/0.06089, allocations: 2.356 MB / 417.7 MB, free: 10.76 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/0.06092, allocations: 8.031 kB / 417.7 MB, free: 10.75 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001054/0.06198, allocations: 0.7083 MB / 418.5 MB, free: 10.04 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008402/0.06282, allocations: 0.8691 MB / 419.3 MB, free: 9.145 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001158/0.06293, allocations: 234.7 kB / 419.6 MB, free: 8.891 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001631/0.06309, allocations: 172.4 kB / 419.7 MB, free: 8.723 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001293/0.06439, allocations: 1.451 MB / 421.2 MB, free: 7.184 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.351e-05/0.06441, allocations: 0 / 421.2 MB, free: 7.184 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.988e-05/0.06451, allocations: 75.98 kB / 421.2 MB, free: 7.109 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.373e-05/0.06453, allocations: 40 kB / 421.3 MB, free: 7.07 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001216/0.06575, allocations: 1.248 MB / 422.5 MB, free: 5.805 MB / 394.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.005329/0.07108, allocations: 6.179 MB / 428.7 MB, free: 15.46 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007259/0.0718, allocations: 0.7347 MB / 429.4 MB, free: 14.7 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002778/0.07208, allocations: 286.5 kB / 429.7 MB, free: 14.39 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003513/0.0756, allocations: 2.93 MB / 432.7 MB, free: 11.45 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.309e-05/0.07562, allocations: 42.05 kB / 432.7 MB, free: 11.39 MB / 410.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001866/0.0758, allocations: 99.17 kB / 432.8 MB, free: 11.3 MB / 410.7 MB Notification: Performance of pre-optimization done (n=71): time 1.723e-06/0.07581, allocations: 0 / 432.8 MB, free: 11.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=95): time 0.006888/0.08269, allocations: 3.135 MB / 435.9 MB, free: 8.105 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.127e-05/0.08274, allocations: 115.8 kB / 436 MB, free: 7.969 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006706/0.08341, allocations: 1.084 MB / 437.1 MB, free: 6.863 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.564e-05/0.08345, allocations: 45.69 kB / 437.2 MB, free: 6.812 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006403/0.08409, allocations: 0.9928 MB / 438.2 MB, free: 5.805 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001722/0.08426, allocations: 357 kB / 438.5 MB, free: 5.453 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003/0.08456, allocations: 368.9 kB / 438.9 MB, free: 5.086 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.0847, allocations: 0.551 MB / 439.4 MB, free: 4.527 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002532/0.08495, allocations: 223.8 kB / 439.6 MB, free: 4.309 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006528/0.08561, allocations: 1.241 MB / 440.9 MB, free: 2.613 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001025/0.08663, allocations: 1.622 MB / 442.5 MB, free: 0.5352 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/0.08664, allocations: 4 kB / 442.5 MB, free: 0.5312 MB / 410.7 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.1268/0.2134, allocations: 1.61 MB / 444.1 MB, free: 97.65 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.527e-05/0.2134, allocations: 21.25 kB / 444.1 MB, free: 97.65 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.103e-05/0.2135, allocations: 22.47 kB / 444.2 MB, free: 97.65 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001524/0.215, allocations: 472 kB / 444.6 MB, free: 97.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001197/0.2162, allocations: 0.5489 MB / 445.2 MB, free: 97.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003354/0.2195, allocations: 9.634 MB / 454.8 MB, free: 88.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006427/0.2202, allocations: 81.89 kB / 454.9 MB, free: 88.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.163e-05/0.2203, allocations: 91.28 kB / 455 MB, free: 88.52 MB / 410.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.0002927/0.2206, allocations: 283.5 kB / 455.3 MB, free: 88.36 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001684/0.2207, allocations: 151.8 kB / 455.4 MB, free: 88.36 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001781/0.2225, allocations: 1.176 MB / 456.6 MB, free: 88.21 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.2225, allocations: 16.97 kB / 456.6 MB, free: 88.21 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.2225, allocations: 0 / 456.6 MB, free: 88.21 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.715e-06/0.2225, allocations: 6.797 kB / 456.6 MB, free: 88.21 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002779/0.2253, allocations: 2.461 MB / 459.1 MB, free: 87.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/0.2253, allocations: 6.594 kB / 459.1 MB, free: 87.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003909/0.2257, allocations: 215 kB / 459.3 MB, free: 87.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001533/0.2272, allocations: 0.4939 MB / 459.8 MB, free: 87.41 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.609e-05/0.2273, allocations: 52.98 kB / 459.8 MB, free: 87.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002763/0.2301, allocations: 9.345 MB / 469.2 MB, free: 78.55 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.588e-06/0.2301, allocations: 11.62 kB / 469.2 MB, free: 78.55 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00181/0.2319, allocations: 1.829 MB / 471 MB, free: 77.62 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.963e-05/0.232, allocations: 119.4 kB / 471.1 MB, free: 77.56 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.018e-05/0.232, allocations: 29 kB / 471.2 MB, free: 77.56 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003048/0.2324, allocations: 33.41 kB / 471.2 MB, free: 77.56 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.919e-05/0.2325, allocations: 115.3 kB / 471.3 MB, free: 77.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.29e-05/0.2325, allocations: 42.39 kB / 471.3 MB, free: 77.55 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003052/0.2328, allocations: 0.5919 MB / 471.9 MB, free: 77.39 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2328, allocations: 0 / 471.9 MB, free: 77.39 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001439/0.2342, allocations: 0.7051 MB / 472.6 MB, free: 77.39 MB / 410.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.0008605/0.2351, allocations: 0.7265 MB / 473.4 MB, free: 77.31 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001296/0.2364, allocations: 1.336 MB / 474.7 MB, free: 76.92 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.2364, allocations: 0 / 474.7 MB, free: 76.92 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004998/0.2369, allocations: 1.078 MB / 475.8 MB, free: 76.22 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007519/0.2376, allocations: 253.2 kB / 476 MB, free: 76.21 MB / 410.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002614/0.2403, allocations: 2.685 MB / 478.7 MB, free: 74.8 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001691/0.2404, allocations: 270.7 kB / 479 MB, free: 74.71 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005287/0.241, allocations: 278.5 kB / 479.2 MB, free: 74.7 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004476/0.2414, allocations: 403.8 kB / 479.6 MB, free: 74.63 MB / 410.7 MB Notification: Performance of SimCode: time 8.11e-07/0.2414, allocations: 0 / 479.6 MB, free: 74.63 MB / 410.7 MB Notification: Performance of Templates: time 0.02824/0.2696, allocations: 28.55 MB / 0.4963 GB, free: 68.9 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.239724867977202]