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.001414/0.001414, allocations: 84.73 kB / 19.44 MB, free: 360 kB / 13.93 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.001824/0.001824, allocations: 157.7 kB / 22.76 MB, free: 1.684 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 1.477/1.477, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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.1483/0.1483, allocations: 17.37 MB / 276.9 MB, free: 11.68 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.773e-06/1.773e-06, allocations: 3.938 kB / 352.7 MB, free: 10.35 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.898e-05/3.076e-05, allocations: 2.312 kB / 352.7 MB, free: 10.34 MB / 282.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.04396/0.04399, allocations: 28.71 MB / 381.4 MB, free: 13.77 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.02697/0.07096, allocations: 17.12 MB / 398.5 MB, free: 12.58 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001179/0.07214, allocations: 23.81 kB / 398.6 MB, free: 12.55 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0017/0.07384, allocations: 476.2 kB / 399 MB, free: 12.09 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004293/0.07814, allocations: 1.252 MB / 400.3 MB, free: 10.82 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008572/0.08671, allocations: 2.973 MB / 403.2 MB, free: 7.832 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.00385/0.09056, allocations: 2.171 MB / 405.4 MB, free: 5.652 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002072/0.09263, allocations: 1.101 MB / 406.5 MB, free: 4.5 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00238/0.09501, allocations: 1.345 MB / 407.9 MB, free: 3.152 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001736/0.09675, allocations: 0.826 MB / 408.7 MB, free: 2.324 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004786/0.09722, allocations: 200 kB / 408.9 MB, free: 2.129 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0058/0.103, allocations: 1.98 MB / 410.9 MB, free: 148 kB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.1603/0.2634, allocations: 475.9 kB / 411.3 MB, free: 37.63 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001287/0.2646, allocations: 0.7001 MB / 412 MB, free: 37.63 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009607/0.2743, allocations: 4.577 MB / 416.6 MB, free: 37.44 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/0.2743, allocations: 0.75 kB / 416.6 MB, free: 37.44 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.033e-06/0.2743, allocations: 0 / 416.6 MB, free: 37.44 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.161e-05/0.2743, allocations: 0 / 416.6 MB, free: 37.44 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.005116/0.2794, allocations: 2.309 MB / 418.9 MB, free: 36.36 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/0.2795, allocations: 11.31 kB / 418.9 MB, free: 36.36 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002219/0.2817, allocations: 0.7656 MB / 419.7 MB, free: 36.13 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001967/0.2837, allocations: 1.043 MB / 420.7 MB, free: 35.85 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001775/0.2839, allocations: 236.6 kB / 421 MB, free: 35.72 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000303/0.2842, allocations: 167.5 kB / 421.1 MB, free: 35.71 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00349/0.2876, allocations: 2.237 MB / 423.4 MB, free: 35.5 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.618e-05/0.2877, allocations: 0 / 423.4 MB, free: 35.5 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001789/0.2879, allocations: 76.55 kB / 423.4 MB, free: 35.5 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.687e-05/0.2879, allocations: 38.56 kB / 423.5 MB, free: 35.5 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003432/0.2913, allocations: 2.698 MB / 426.2 MB, free: 35.12 MB / 330.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.009406/0.3007, allocations: 6.169 MB / 432.3 MB, free: 31.68 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001511/0.3022, allocations: 0.9779 MB / 433.3 MB, free: 31.25 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007834/0.303, allocations: 0.5147 MB / 433.8 MB, free: 31.02 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006284/0.3093, allocations: 3.064 MB / 436.9 MB, free: 29.59 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.067e-05/0.3093, allocations: 46.73 kB / 436.9 MB, free: 29.54 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005033/0.3098, allocations: 100.9 kB / 437 MB, free: 29.46 MB / 330.7 MB Notification: Performance of pre-optimization done (n=71): time 2.295e-06/0.3098, allocations: 0 / 437 MB, free: 29.46 MB / 330.7 MB Notification: Performance of matching and sorting (n=95): time 0.01774/0.3276, allocations: 4.576 MB / 441.6 MB, free: 26.5 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.917e-05/0.3276, allocations: 114.5 kB / 441.7 MB, free: 26.36 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00133/0.3289, allocations: 1.453 MB / 443.2 MB, free: 24.89 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001228/0.3291, allocations: 41.7 kB / 443.2 MB, free: 24.84 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003277/0.3294, allocations: 0.9238 MB / 444.2 MB, free: 23.92 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002213/0.3296, allocations: 358.9 kB / 444.5 MB, free: 23.57 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004234/0.33, allocations: 359.3 kB / 444.9 MB, free: 23.21 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.906e-05/0.3301, allocations: 357.9 kB / 445.2 MB, free: 22.86 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007686/0.3309, allocations: 0.6346 MB / 445.8 MB, free: 22.23 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001028/0.3319, allocations: 1.343 MB / 447.2 MB, free: 20.57 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001808/0.3337, allocations: 1.934 MB / 449.1 MB, free: 18.43 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.079e-05/0.3337, allocations: 4 kB / 449.1 MB, free: 18.43 MB / 330.7 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.005043/0.3388, allocations: 2.467 MB / 451.6 MB, free: 16.12 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.028e-05/0.3388, allocations: 16 kB / 451.6 MB, free: 16.1 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.294e-05/0.3388, allocations: 24 kB / 451.6 MB, free: 16.08 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003739/0.3426, allocations: 0.5013 MB / 452.1 MB, free: 15.59 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002568/0.3451, allocations: 0.5629 MB / 452.7 MB, free: 15.06 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006444/0.3516, allocations: 7.377 MB / 460.1 MB, free: 7.301 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001607/0.3532, allocations: 90.53 kB / 460.2 MB, free: 7.215 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001761/0.3534, allocations: 103.3 kB / 460.3 MB, free: 7.117 MB / 330.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.0006813/0.3541, allocations: 369.1 kB / 460.6 MB, free: 6.773 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003386/0.3544, allocations: 154.9 kB / 460.8 MB, free: 6.625 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004283/0.3587, allocations: 1.52 MB / 462.3 MB, free: 5.145 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.11e-05/0.3587, allocations: 14.66 kB / 462.3 MB, free: 5.133 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.3587, allocations: 0 / 462.3 MB, free: 5.133 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.797e-05/0.3587, allocations: 7.547 kB / 462.3 MB, free: 5.129 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005901/0.3646, allocations: 2.675 MB / 465 MB, free: 2.398 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.048e-05/0.3646, allocations: 8 kB / 465 MB, free: 2.391 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007818/0.3654, allocations: 214.8 kB / 465.2 MB, free: 2.191 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003806/0.3692, allocations: 0.5352 MB / 465.7 MB, free: 1.664 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001429/0.3694, allocations: 39.98 kB / 465.8 MB, free: 1.625 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008542/0.3779, allocations: 7.184 MB / 473 MB, free: 10.04 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-05/0.3779, allocations: 10.69 kB / 473 MB, free: 10.03 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005959/0.3839, allocations: 2.173 MB / 475.1 MB, free: 7.77 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004721/0.3843, allocations: 123.2 kB / 475.3 MB, free: 7.648 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001941/0.3845, allocations: 31.98 kB / 475.3 MB, free: 7.617 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007253/0.3853, allocations: 24 kB / 475.3 MB, free: 7.594 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002479/0.3855, allocations: 117.8 kB / 475.4 MB, free: 7.488 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001222/0.3856, allocations: 54.61 kB / 475.5 MB, free: 7.438 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001403/0.387, allocations: 0.9712 MB / 476.5 MB, free: 6.457 MB / 346.7 MB Notification: Performance of sort global known variables: time 8e-08/0.387, allocations: 2.844 kB / 476.5 MB, free: 6.457 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003438/0.3905, allocations: 0.8221 MB / 477.3 MB, free: 5.633 MB / 346.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.002224/0.3927, allocations: 0.9218 MB / 478.2 MB, free: 4.863 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003865/0.3966, allocations: 1.707 MB / 479.9 MB, free: 3.234 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.15e-05/0.3966, allocations: 6.656 kB / 479.9 MB, free: 3.23 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001634/0.3982, allocations: 0.9584 MB / 480.9 MB, free: 2.258 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001661/0.3999, allocations: 252.6 kB / 481.1 MB, free: 2.039 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005438/0.4053, allocations: 2.781 MB / 483.9 MB, free: 15.22 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008522/0.4062, allocations: 0.6434 MB / 484.5 MB, free: 14.55 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001116/0.4073, allocations: 316.3 kB / 484.9 MB, free: 14.34 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004469/0.4077, allocations: 171.1 kB / 485 MB, free: 14.18 MB / 362.7 MB Notification: Performance of SimCode: time 1.472e-06/0.4077, allocations: 5.391 kB / 485 MB, free: 14.18 MB / 362.7 MB Notification: Performance of Templates: time 0.05208/0.4598, allocations: 27.94 MB / 0.5009 GB, free: 3.129 MB / 378.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=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.172787221032195]