Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.0007382/0.0007382, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.0007344/0.0007344, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.858/0.858, allocations: 177.2 MB / 203.5 MB, free: 5.715 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.07947/0.07947, allocations: 17.37 MB / 277.3 MB, free: 11.84 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.ElectrochemicalCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.ElectrochemicalCell") translateModel(Chemical.Obsolete.Examples.ElectrochemicalCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.ElectrochemicalCell") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 412.7 MB, free: 13.1 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.33e-05/2.475e-05, allocations: 5.625 kB / 412.7 MB, free: 13.09 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.ElectrochemicalCell): time 0.02152/0.02155, allocations: 30.17 MB / 442.9 MB, free: 10.38 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.01854/0.04009, allocations: 25.31 MB / 468.2 MB, free: 2.414 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001012/0.0411, allocations: 35.69 kB / 468.2 MB, free: 2.379 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001045/0.04214, allocations: 0.6045 MB / 468.8 MB, free: 1.77 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003594/0.04574, allocations: 2.234 MB / 471 MB, free: 15.52 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006234/0.05197, allocations: 4.045 MB / 475.1 MB, free: 11.45 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002044/0.05401, allocations: 2.949 MB / 478 MB, free: 8.488 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009722/0.05499, allocations: 1.354 MB / 479.4 MB, free: 7.086 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001132/0.05612, allocations: 1.899 MB / 481.3 MB, free: 5.184 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009326/0.05705, allocations: 1.185 MB / 482.5 MB, free: 3.996 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002085/0.05726, allocations: 260 kB / 482.7 MB, free: 3.742 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003723/0.06098, allocations: 2.979 MB / 485.7 MB, free: 0.7578 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003062/0.06129, allocations: 0.6113 MB / 486.3 MB, free: 148 kB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005528/0.06184, allocations: 0.9472 MB / 487.3 MB, free: 15.2 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004449/0.06629, allocations: 6.542 MB / 493.8 MB, free: 8.629 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.06629, allocations: 0 / 493.8 MB, free: 8.629 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.0663, allocations: 0 / 493.8 MB, free: 8.629 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.624e-05/0.06631, allocations: 0 / 493.8 MB, free: 8.629 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: 556 * Number of variables: 556 Notification: Performance of Generate backend data structure: time 0.002727/0.06904, allocations: 3.057 MB / 496.9 MB, free: 5.52 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.928e-05/0.06907, allocations: 12.03 kB / 496.9 MB, free: 5.508 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001075/0.07014, allocations: 0.5533 MB / 497.4 MB, free: 4.953 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001299/0.07144, allocations: 1.246 MB / 498.7 MB, free: 3.676 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000133/0.07158, allocations: 275.7 kB / 498.9 MB, free: 3.379 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002133/0.07179, allocations: 224.3 kB / 499.2 MB, free: 3.16 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002476/0.07426, allocations: 2.679 MB / 0.4901 GB, free: 400 kB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.929e-05/0.07429, allocations: 0 / 0.4901 GB, free: 400 kB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001403/0.07443, allocations: 95.98 kB / 0.4902 GB, free: 304 kB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.414e-05/0.07446, allocations: 52 kB / 0.4902 GB, free: 252 kB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003036/0.07749, allocations: 3.295 MB / 0.4934 GB, free: 12.95 MB / 410.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.006825/0.08432, allocations: 7.008 MB / 0.5003 GB, free: 5.801 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001517/0.08584, allocations: 1.52 MB / 0.5018 GB, free: 4.277 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008146/0.08665, allocations: 0.8508 MB / 0.5026 GB, free: 3.414 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004977/0.09163, allocations: 4.281 MB / 0.5068 GB, free: 15.11 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.319e-05/0.09165, allocations: 51.86 kB / 0.5068 GB, free: 15.05 MB / 426.7 MB Notification: Performance of pre-optimization done (n=128): time 2.264e-06/0.09165, allocations: 0 / 0.5068 GB, free: 15.05 MB / 426.7 MB Notification: Performance of matching and sorting (n=181): time 0.0142/0.1058, allocations: 8.097 MB / 0.5147 GB, free: 6.895 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.69e-05/0.1059, allocations: 107 kB / 0.5148 GB, free: 6.773 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009138/0.1068, allocations: 1.309 MB / 0.5161 GB, free: 5.453 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.513e-05/0.1069, allocations: 57.7 kB / 0.5162 GB, free: 5.391 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004309/0.1073, allocations: 1.081 MB / 0.5172 GB, free: 4.297 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003059/0.1076, allocations: 0.6507 MB / 0.5179 GB, free: 3.637 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004072/0.108, allocations: 481 kB / 0.5183 GB, free: 3.16 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.228e-05/0.1081, allocations: 301.1 kB / 0.5186 GB, free: 2.863 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008724/0.109, allocations: 0.8171 MB / 0.5194 GB, free: 2.043 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001227/0.1102, allocations: 1.661 MB / 0.521 GB, free: 16 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002234/0.1124, allocations: 2.61 MB / 0.5236 GB, free: 13.01 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.037e-06/0.1124, allocations: 8 kB / 0.5236 GB, free: 13 MB / 442.7 MB Notification: Performance of matching and sorting (n=324) (initialization): time 0.003634/0.1161, allocations: 3.043 MB / 0.5265 GB, free: 9.938 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.462e-05/0.1161, allocations: 26.7 kB / 0.5266 GB, free: 9.914 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.844e-05/0.1161, allocations: 28 kB / 0.5266 GB, free: 9.887 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001362/0.1175, allocations: 0.5143 MB / 0.5271 GB, free: 9.359 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001718/0.1192, allocations: 0.8035 MB / 0.5279 GB, free: 8.555 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004701/0.1239, allocations: 7.517 MB / 0.5352 GB, free: 0.5703 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006793/0.1246, allocations: 92.17 kB / 0.5353 GB, free: 492 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001335/0.1247, allocations: 140 kB / 0.5354 GB, free: 352 kB / 442.7 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.0005433/0.1252, allocations: 453.6 kB / 0.5359 GB, free: 15.89 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001767/0.1254, allocations: 166.9 kB / 0.536 GB, free: 15.72 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003457/0.1289, allocations: 2.569 MB / 0.5386 GB, free: 13.12 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.468e-06/0.1289, allocations: 16 kB / 0.5386 GB, free: 13.11 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.1289, allocations: 4 kB / 0.5386 GB, free: 13.1 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.161e-05/0.1289, allocations: 15.84 kB / 0.5386 GB, free: 13.09 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004916/0.1338, allocations: 4.249 MB / 0.5427 GB, free: 8.629 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.488e-06/0.1338, allocations: 12 kB / 0.5427 GB, free: 8.617 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007853/0.1346, allocations: 415.6 kB / 0.5431 GB, free: 8.211 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001391/0.136, allocations: 0.5508 MB / 0.5437 GB, free: 7.641 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.994e-05/0.1361, allocations: 75.97 kB / 0.5438 GB, free: 7.566 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004138/0.1402, allocations: 7.304 MB / 0.5509 GB, free: 15.79 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.377e-06/0.1402, allocations: 23.81 kB / 0.5509 GB, free: 15.77 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00364/0.1439, allocations: 3.427 MB / 0.5543 GB, free: 12.16 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000134/0.144, allocations: 166.8 kB / 0.5544 GB, free: 12 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000129/0.1441, allocations: 52 kB / 0.5545 GB, free: 11.95 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004515/0.1446, allocations: 51.98 kB / 0.5545 GB, free: 11.89 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001629/0.1448, allocations: 200.6 kB / 0.5547 GB, free: 11.7 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.024e-05/0.1449, allocations: 87.97 kB / 0.5548 GB, free: 11.61 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0006078/0.1455, allocations: 0.8352 MB / 0.5556 GB, free: 10.77 MB / 474.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1455, allocations: 0 / 0.5556 GB, free: 10.77 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002029/0.1475, allocations: 1.212 MB / 0.5568 GB, free: 9.559 MB / 474.7 MB 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.001405/0.1489, allocations: 1.385 MB / 0.5581 GB, free: 8.16 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002579/0.1515, allocations: 2.369 MB / 0.5605 GB, free: 5.766 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.1515, allocations: 4 kB / 0.5605 GB, free: 5.762 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001081/0.1526, allocations: 1.357 MB / 0.5618 GB, free: 4.355 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001002/0.1536, allocations: 332.7 kB / 0.5621 GB, free: 4.039 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003624/0.1572, allocations: 3.953 MB / 0.566 GB, free: 15.89 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000544/0.1577, allocations: 0.8538 MB / 0.5668 GB, free: 15 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005063/0.1582, allocations: 356.2 kB / 0.5671 GB, free: 14.65 MB / 490.7 MB Notification: Performance of SimCode: time 5.91e-07/0.1582, allocations: 0 / 0.5671 GB, free: 14.65 MB / 490.7 MB Notification: Performance of Templates: time 0.1715/0.3297, allocations: 83.58 MB / 0.6488 GB, free: 100.1 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_Chemical.Obsolete.Examples.ElectrochemicalCell.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.ElectrochemicalCell.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.ElectrochemicalCell.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.ElectrochemicalCell.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.ElectrochemicalCell.sim & ./Chemical_Chemical.Obsolete.Examples.ElectrochemicalCell -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.ElectrochemicalCell.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.84775919560343] Failed to read output from testmodel.py, exit status != 0: 0.4627745607867837 0.34029569600000004 0.272767586 Calling exit ...