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.0009813/0.0009813, allocations: 86.05 kB / 19.87 MB, free: 4.617 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.001016/0.001016, allocations: 169.7 kB / 23.27 MB, free: 1.223 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.8904/0.8904, allocations: 177.1 MB / 203.7 MB, free: 5.512 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.1103/0.1103, allocations: 17.38 MB / 277.6 MB, free: 11.49 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.282e-06/1.282e-06, allocations: 0 / 353.9 MB, free: 10.77 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.196e-05/1.324e-05, allocations: 2.312 kB / 353.9 MB, free: 10.76 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.02586/0.02587, allocations: 33.66 MB / 387.5 MB, free: 9.184 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01958/0.04545, allocations: 25.6 MB / 413.1 MB, free: 15.49 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001043/0.0465, allocations: 31.75 kB / 413.2 MB, free: 15.46 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001015/0.04751, allocations: 0.5657 MB / 413.7 MB, free: 14.89 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003623/0.05114, allocations: 2.199 MB / 415.9 MB, free: 12.68 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006323/0.05746, allocations: 3.642 MB / 419.6 MB, free: 9.012 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.002492/0.05995, allocations: 2.952 MB / 422.5 MB, free: 6.043 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001041/0.06099, allocations: 1.401 MB / 423.9 MB, free: 4.594 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001329/0.06232, allocations: 1.962 MB / 425.9 MB, free: 2.629 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001048/0.06337, allocations: 1.267 MB / 427.2 MB, free: 1.359 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002548/0.06362, allocations: 256 kB / 427.4 MB, free: 1.109 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005265/0.06889, allocations: 2.729 MB / 430.1 MB, free: 14.38 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003428/0.06923, allocations: 0.6308 MB / 430.8 MB, free: 13.74 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006201/0.06985, allocations: 0.9512 MB / 431.7 MB, free: 12.79 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00651/0.07636, allocations: 5.276 MB / 437 MB, free: 7.492 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.197e-06/0.07637, allocations: 0 / 437 MB, free: 7.492 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.07637, allocations: 0 / 437 MB, free: 7.492 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.605e-05/0.07638, allocations: 0 / 437 MB, free: 7.492 MB / 410.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.002869/0.07925, allocations: 3.171 MB / 440.2 MB, free: 4.262 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.07929, allocations: 16.03 kB / 440.2 MB, free: 4.246 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001439/0.08073, allocations: 0.8947 MB / 441.1 MB, free: 3.348 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00111/0.08184, allocations: 1.096 MB / 442.2 MB, free: 2.223 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001535/0.082, allocations: 275.7 kB / 442.4 MB, free: 1.926 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000227/0.08222, allocations: 224.3 kB / 442.7 MB, free: 1.707 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.136/0.2182, allocations: 1.865 MB / 444.5 MB, free: 87.52 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.573e-05/0.2183, allocations: 2.969 kB / 444.5 MB, free: 87.52 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001483/0.2184, allocations: 87.34 kB / 444.6 MB, free: 87.52 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.93e-05/0.2185, allocations: 53.19 kB / 444.7 MB, free: 87.52 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001864/0.2203, allocations: 1.756 MB / 446.4 MB, free: 87.48 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.006753/0.2271, allocations: 7.028 MB / 453.5 MB, free: 85.28 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000956/0.228, allocations: 1.119 MB / 454.6 MB, free: 85.19 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003777/0.2284, allocations: 487.4 kB / 455.1 MB, free: 85.16 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004445/0.2329, allocations: 4.231 MB / 459.3 MB, free: 84.55 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.053e-05/0.2329, allocations: 52.11 kB / 459.3 MB, free: 84.51 MB / 410.7 MB Notification: Performance of pre-optimization done (n=128): time 2.304e-06/0.2329, allocations: 0 / 459.3 MB, free: 84.51 MB / 410.7 MB Notification: Performance of matching and sorting (n=181): time 0.01156/0.2444, allocations: 5.976 MB / 465.3 MB, free: 83.87 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.81e-05/0.2445, allocations: 100.1 kB / 465.4 MB, free: 83.78 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006661/0.2451, allocations: 1.134 MB / 466.5 MB, free: 83.54 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.357e-05/0.2452, allocations: 53.45 kB / 466.6 MB, free: 83.5 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003834/0.2456, allocations: 1.154 MB / 467.7 MB, free: 82.97 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003057/0.2459, allocations: 0.6588 MB / 468.4 MB, free: 82.62 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004026/0.2463, allocations: 496.6 kB / 468.9 MB, free: 82.57 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.868e-05/0.2463, allocations: 480.7 kB / 469.4 MB, free: 82.11 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003893/0.2467, allocations: 355.9 kB / 469.7 MB, free: 82.1 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006514/0.2474, allocations: 1.55 MB / 471.3 MB, free: 80.61 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001291/0.2487, allocations: 2.13 MB / 473.4 MB, free: 79.12 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.407e-05/0.2487, allocations: 8.844 kB / 473.4 MB, free: 79.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=324) (initialization): time 0.002658/0.2513, allocations: 2.191 MB / 475.6 MB, free: 78.76 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.275e-05/0.2514, allocations: 17.62 kB / 475.6 MB, free: 78.76 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.675e-05/0.2514, allocations: 24.88 kB / 475.6 MB, free: 78.76 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001761/0.2532, allocations: 0.5952 MB / 476.2 MB, free: 78.67 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001835/0.255, allocations: 0.7952 MB / 477 MB, free: 78.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003673/0.2587, allocations: 9.705 MB / 486.7 MB, free: 69.33 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007633/0.2594, allocations: 93.19 kB / 486.8 MB, free: 69.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001488/0.2596, allocations: 124.9 kB / 486.9 MB, free: 69.26 MB / 410.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.0003682/0.2599, allocations: 327.9 kB / 487.3 MB, free: 69.03 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002535/0.2602, allocations: 218 kB / 487.5 MB, free: 68.92 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002798/0.263, allocations: 1.928 MB / 489.4 MB, free: 68.39 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-05/0.263, allocations: 18.31 kB / 489.4 MB, free: 68.39 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.263, allocations: 1.781 kB / 489.4 MB, free: 68.39 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.223e-05/0.263, allocations: 11.75 kB / 489.4 MB, free: 68.39 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003999/0.267, allocations: 3.815 MB / 493.2 MB, free: 66.83 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.338e-06/0.267, allocations: 11.34 kB / 493.3 MB, free: 66.83 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007238/0.2678, allocations: 416.8 kB / 493.7 MB, free: 66.81 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001732/0.2695, allocations: 0.6246 MB / 494.3 MB, free: 66.7 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001088/0.2696, allocations: 80.97 kB / 494.4 MB, free: 66.67 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002904/0.2725, allocations: 9.413 MB / 0.492 GB, free: 57.57 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.073e-06/0.2725, allocations: 15.69 kB / 0.492 GB, free: 57.57 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002634/0.2751, allocations: 2.698 MB / 0.4946 GB, free: 56.16 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001575/0.2753, allocations: 166.8 kB / 0.4948 GB, free: 56.06 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001235/0.2754, allocations: 55.53 kB / 0.4948 GB, free: 56.03 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004339/0.2759, allocations: 50.84 kB / 0.4949 GB, free: 56 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001593/0.276, allocations: 197.3 kB / 0.4951 GB, free: 55.97 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.182e-05/0.2761, allocations: 84.5 kB / 0.4952 GB, free: 55.95 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003422/0.2764, allocations: 0.5918 MB / 0.4957 GB, free: 55.77 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2764, allocations: 0 / 0.4957 GB, free: 55.77 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002279/0.2787, allocations: 1.156 MB / 0.4969 GB, free: 55.53 MB / 410.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.001366/0.2801, allocations: 1.335 MB / 0.4982 GB, free: 55.21 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001864/0.2819, allocations: 1.849 MB / 0.5 GB, free: 54.73 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/0.282, allocations: 2.25 kB / 0.5 GB, free: 54.73 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008654/0.2828, allocations: 1.373 MB / 0.5013 GB, free: 53.98 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001013/0.2838, allocations: 381.5 kB / 0.5017 GB, free: 53.86 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.003786/0.2876, allocations: 3.775 MB / 0.5054 GB, free: 51.62 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002967/0.2879, allocations: 368.7 kB / 0.5057 GB, free: 51.51 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0008887/0.2888, allocations: 426.2 kB / 0.5061 GB, free: 51.48 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008267/0.2896, allocations: 0.5878 MB / 0.5067 GB, free: 51.39 MB / 410.7 MB Notification: Performance of SimCode: time 9.12e-07/0.2896, allocations: 0 / 0.5067 GB, free: 51.39 MB / 410.7 MB Notification: Performance of Templates: time 0.0381/0.3277, allocations: 46 MB / 0.5516 GB, free: 10 MB / 410.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=240 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.ElectrochemicalCell.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.063575225882232]