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.0009484/0.0009484, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.0009278/0.0009278, allocations: 173 kB / 23.49 MB, free: 1.055 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.9675/0.9675, allocations: 177.1 MB / 203.8 MB, free: 5.648 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.1014/0.1014, allocations: 17.38 MB / 277.7 MB, free: 11.72 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.332e-06/1.332e-06, allocations: 0 / 353.4 MB, free: 10.32 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.611e-05/2.744e-05, allocations: 2.312 kB / 353.4 MB, free: 10.32 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.03104/0.03107, allocations: 31.87 MB / 385.3 MB, free: 10.57 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01856/0.04963, allocations: 19.43 MB / 404.7 MB, free: 7.066 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001571/0.0512, allocations: 27.81 kB / 404.8 MB, free: 7.039 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001352/0.05255, allocations: 468.2 kB / 405.2 MB, free: 6.578 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003114/0.05566, allocations: 1.249 MB / 406.5 MB, free: 5.32 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006023/0.06168, allocations: 2.977 MB / 409.5 MB, free: 2.324 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.00241/0.0641, allocations: 2.163 MB / 411.6 MB, free: 156 kB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1356/0.1997, allocations: 1.107 MB / 412.7 MB, free: 36.03 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002188/0.2019, allocations: 1.357 MB / 414.1 MB, free: 36.03 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0017/0.2036, allocations: 0.8763 MB / 415 MB, free: 36.03 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005213/0.2041, allocations: 198.8 kB / 415.2 MB, free: 36.03 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004931/0.209, allocations: 1.972 MB / 417.1 MB, free: 36.03 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000458/0.2095, allocations: 487.7 kB / 417.6 MB, free: 36.03 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001325/0.2108, allocations: 0.7071 MB / 418.3 MB, free: 36.03 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007112/0.2179, allocations: 3.805 MB / 422.1 MB, free: 35.69 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.2179, allocations: 3.125 kB / 422.1 MB, free: 35.69 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2179, allocations: 0.5 kB / 422.1 MB, free: 35.69 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.061e-05/0.218, allocations: 3.281 kB / 422.1 MB, free: 35.69 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.002919/0.2209, allocations: 2.434 MB / 424.6 MB, free: 34.49 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.2209, allocations: 9.969 kB / 424.6 MB, free: 34.49 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001314/0.2223, allocations: 0.7711 MB / 425.3 MB, free: 34.26 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001151/0.2234, allocations: 1.033 MB / 426.4 MB, free: 33.97 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001212/0.2235, allocations: 231.9 kB / 426.6 MB, free: 33.84 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001733/0.2237, allocations: 176.3 kB / 426.8 MB, free: 33.84 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001733/0.2254, allocations: 1.585 MB / 428.4 MB, free: 33.47 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.669e-05/0.2255, allocations: 1.469 kB / 428.4 MB, free: 33.47 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001095/0.2256, allocations: 76.41 kB / 428.4 MB, free: 33.41 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.648e-05/0.2256, allocations: 43.06 kB / 428.5 MB, free: 33.41 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001793/0.2274, allocations: 1.471 MB / 429.9 MB, free: 33.19 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.00566/0.233, allocations: 6.139 MB / 436.1 MB, free: 29.28 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009222/0.234, allocations: 0.7939 MB / 436.9 MB, free: 28.99 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003819/0.2344, allocations: 342.3 kB / 437.2 MB, free: 28.88 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003494/0.2378, allocations: 2.914 MB / 440.1 MB, free: 27.08 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.224e-05/0.2379, allocations: 48.89 kB / 440.2 MB, free: 27.04 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002654/0.2381, allocations: 104.6 kB / 440.3 MB, free: 26.96 MB / 330.7 MB Notification: Performance of pre-optimization done (n=71): time 2.875e-06/0.2381, allocations: 2.625 kB / 440.3 MB, free: 26.96 MB / 330.7 MB Notification: Performance of matching and sorting (n=95): time 0.008404/0.2465, allocations: 3.962 MB / 444.2 MB, free: 23.48 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.036e-05/0.2466, allocations: 111.8 kB / 444.3 MB, free: 23.34 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007856/0.2474, allocations: 1.12 MB / 445.5 MB, free: 22.2 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.656e-05/0.2474, allocations: 49.17 kB / 445.5 MB, free: 22.15 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002883/0.2477, allocations: 0.9814 MB / 446.5 MB, free: 21.17 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001633/0.2479, allocations: 370.2 kB / 446.9 MB, free: 20.81 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00029/0.2481, allocations: 365 kB / 447.2 MB, free: 20.45 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.878e-05/0.2482, allocations: 0.5316 MB / 447.7 MB, free: 19.91 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004088/0.2486, allocations: 287.8 kB / 448 MB, free: 19.62 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006435/0.2493, allocations: 1.296 MB / 449.3 MB, free: 17.89 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001172/0.2504, allocations: 1.712 MB / 451 MB, free: 15.85 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.107e-06/0.2505, allocations: 8 kB / 451 MB, free: 15.84 MB / 330.7 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.002527/0.253, allocations: 1.753 MB / 452.8 MB, free: 14.25 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.417e-05/0.253, allocations: 12 kB / 452.8 MB, free: 14.23 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.268e-05/0.253, allocations: 24 kB / 452.8 MB, free: 14.21 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001658/0.2547, allocations: 481.3 kB / 453.3 MB, free: 13.74 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001293/0.256, allocations: 0.5594 MB / 453.9 MB, free: 13.22 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003968/0.2599, allocations: 9.727 MB / 463.6 MB, free: 3.012 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008008/0.2608, allocations: 82.52 kB / 463.7 MB, free: 2.934 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.636e-05/0.2608, allocations: 114.6 kB / 463.8 MB, free: 2.824 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.0003931/0.2612, allocations: 275.8 kB / 464 MB, free: 2.574 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001867/0.2614, allocations: 151.2 kB / 464.2 MB, free: 2.426 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002221/0.2636, allocations: 1.258 MB / 465.5 MB, free: 1.207 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.654e-06/0.2637, allocations: 10.69 kB / 465.5 MB, free: 1.199 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.2637, allocations: 4 kB / 465.5 MB, free: 1.195 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.325e-06/0.2637, allocations: 3.984 kB / 465.5 MB, free: 1.191 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003574/0.2672, allocations: 2.506 MB / 468 MB, free: 14.59 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.506e-06/0.2673, allocations: 11.94 kB / 468 MB, free: 14.57 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004691/0.2677, allocations: 214 kB / 468.2 MB, free: 14.38 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001813/0.2695, allocations: 0.5074 MB / 468.7 MB, free: 13.87 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.186e-05/0.2696, allocations: 39.98 kB / 468.7 MB, free: 13.83 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005402/0.275, allocations: 9.458 MB / 478.2 MB, free: 3.883 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.072e-06/0.275, allocations: 11.75 kB / 478.2 MB, free: 3.875 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00301/0.278, allocations: 1.936 MB / 480.1 MB, free: 1.801 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002313/0.2783, allocations: 123.1 kB / 480.3 MB, free: 1.68 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001083/0.2784, allocations: 28 kB / 480.3 MB, free: 1.652 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000347/0.2787, allocations: 34.58 kB / 480.3 MB, free: 1.621 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000148/0.2789, allocations: 111.8 kB / 480.4 MB, free: 1.52 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-05/0.2789, allocations: 47.98 kB / 480.5 MB, free: 1.473 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0006166/0.2795, allocations: 0.6548 MB / 481.1 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.2795, allocations: 0 / 481.1 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002254/0.2818, allocations: 0.8222 MB / 482 MB, free: 15.98 MB / 362.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.001426/0.2832, allocations: 0.9247 MB / 482.9 MB, free: 15.21 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002039/0.2853, allocations: 1.429 MB / 484.3 MB, free: 13.84 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.112e-06/0.2853, allocations: 4 kB / 484.3 MB, free: 13.84 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008434/0.2861, allocations: 1.103 MB / 485.4 MB, free: 12.7 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008868/0.287, allocations: 252.4 kB / 485.7 MB, free: 12.48 MB / 362.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003657/0.2906, allocations: 2.707 MB / 488.4 MB, free: 9.711 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002054/0.2909, allocations: 277.6 kB / 488.6 MB, free: 9.422 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0006564/0.2915, allocations: 306 kB / 488.9 MB, free: 9.215 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002605/0.2918, allocations: 175.1 kB / 489.1 MB, free: 9.047 MB / 362.7 MB Notification: Performance of SimCode: time 1.853e-06/0.2918, allocations: 0 / 489.1 MB, free: 9.047 MB / 362.7 MB Notification: Performance of Templates: time 0.0337/0.3255, allocations: 28.23 MB / 0.5052 GB, free: 13.86 MB / 394.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.920430073980242]