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.001121/0.001121, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001841/0.002962, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001321/0.001321, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01492/0.01624, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9238/0.9238, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08621/1.01, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.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.07711/0.07711, allocations: 17.36 MB / 261.5 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.008801/0.08591, allocations: 6.933 MB / 268.4 MB, free: 6.406 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.553e-06/1.553e-06, allocations: 0 / 269.7 MB, free: 5.117 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.667e-06/1.022e-05, allocations: 6.25 kB / 269.7 MB, free: 5.109 MB / 266.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.1356/0.1356, allocations: 10.1 MB / 279.8 MB, free: 0.5625 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.02741/0.163, allocations: 26.21 MB / 306 MB, free: 14.25 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001031/0.1641, allocations: 31.75 kB / 306.1 MB, free: 14.22 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001072/0.1651, allocations: 0.5735 MB / 306.7 MB, free: 13.64 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0036/0.1687, allocations: 2.171 MB / 308.8 MB, free: 11.45 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006651/0.1754, allocations: 3.61 MB / 312.4 MB, free: 7.82 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002347/0.1777, allocations: 2.933 MB / 315.4 MB, free: 4.879 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001077/0.1788, allocations: 1.425 MB / 316.8 MB, free: 3.387 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001479/0.1803, allocations: 2.091 MB / 318.9 MB, free: 1.281 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001063/0.1813, allocations: 1.259 MB / 320.1 MB, free: 16 kB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002439/0.1816, allocations: 260 kB / 320.4 MB, free: 15.76 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005615/0.1872, allocations: 2.831 MB / 323.2 MB, free: 12.93 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003106/0.1875, allocations: 454.6 kB / 323.7 MB, free: 12.48 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000653/0.1882, allocations: 0.7526 MB / 324.4 MB, free: 11.73 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004908/0.1931, allocations: 4.809 MB / 329.2 MB, free: 6.898 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.206e-05/0.1931, allocations: 4 kB / 329.2 MB, free: 6.895 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1931, allocations: 0 / 329.2 MB, free: 6.895 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.069e-05/0.1931, allocations: 3.938 kB / 329.2 MB, free: 6.891 MB / 314.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.003125/0.1962, allocations: 3.852 MB / 333.1 MB, free: 2.992 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.722e-05/0.1963, allocations: 8.031 kB / 333.1 MB, free: 2.984 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001327/0.1976, allocations: 0.9324 MB / 334 MB, free: 2.031 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009771/0.1986, allocations: 0.8397 MB / 334.9 MB, free: 1.164 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001409/0.1987, allocations: 275.7 kB / 335.1 MB, free: 0.8672 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002113/0.1989, allocations: 228.2 kB / 335.4 MB, free: 0.6445 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001617/0.2005, allocations: 1.876 MB / 337.2 MB, free: 14.67 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.935e-05/0.2006, allocations: 8 kB / 337.2 MB, free: 14.66 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001251/0.2007, allocations: 84 kB / 337.3 MB, free: 14.58 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.829e-05/0.2007, allocations: 56 kB / 337.4 MB, free: 14.53 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001468/0.2022, allocations: 1.552 MB / 338.9 MB, free: 12.97 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.005773/0.208, allocations: 5.643 MB / 344.6 MB, free: 7.188 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009364/0.2089, allocations: 1.073 MB / 345.7 MB, free: 6.094 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003747/0.2093, allocations: 427.4 kB / 346.1 MB, free: 5.676 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004229/0.2135, allocations: 3.58 MB / 349.6 MB, free: 2.074 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.848e-05/0.2135, allocations: 47.88 kB / 349.7 MB, free: 2.02 MB / 330.7 MB Notification: Performance of pre-optimization done (n=128): time 1.903e-06/0.2135, allocations: 0 / 349.7 MB, free: 2.02 MB / 330.7 MB Notification: Performance of matching and sorting (n=164): time 0.01066/0.2242, allocations: 5.78 MB / 355.5 MB, free: 12.2 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.007e-05/0.2242, allocations: 98.42 kB / 355.6 MB, free: 12.08 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000668/0.2249, allocations: 1.064 MB / 356.6 MB, free: 11.01 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.875e-05/0.225, allocations: 57.7 kB / 356.7 MB, free: 10.95 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004343/0.2254, allocations: 0.9693 MB / 357.7 MB, free: 9.965 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000343/0.2257, allocations: 0.6003 MB / 358.3 MB, free: 9.359 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003822/0.2261, allocations: 456.4 kB / 358.7 MB, free: 8.906 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.82e-05/0.2262, allocations: 305.1 kB / 359 MB, free: 8.605 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003158/0.2265, allocations: 276.1 kB / 359.3 MB, free: 8.332 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006748/0.2272, allocations: 1.12 MB / 360.4 MB, free: 6.824 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00128/0.2285, allocations: 1.786 MB / 362.2 MB, free: 4.652 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.697e-06/0.2285, allocations: 8 kB / 362.2 MB, free: 4.645 MB / 346.7 MB Notification: Performance of matching and sorting (n=307) (initialization): time 0.002053/0.2305, allocations: 1.656 MB / 363.8 MB, free: 2.965 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.295e-05/0.2305, allocations: 19.94 kB / 363.9 MB, free: 2.945 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.048e-05/0.2306, allocations: 28 kB / 363.9 MB, free: 2.918 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001645/0.2322, allocations: 0.5912 MB / 364.5 MB, free: 2.312 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001793/0.234, allocations: 0.9115 MB / 365.4 MB, free: 1.402 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003942/0.2379, allocations: 6.647 MB / 372 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006527/0.2386, allocations: 99.97 kB / 372.1 MB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001234/0.2387, allocations: 112 kB / 372.2 MB, free: 10.15 MB / 362.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 (294): * Single equations (assignments): 288 * 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.0003319/0.2391, allocations: 271.8 kB / 372.5 MB, free: 9.871 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001642/0.2392, allocations: 139.9 kB / 372.6 MB, free: 9.734 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002157/0.2414, allocations: 1.5 MB / 374.1 MB, free: 8.227 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.119e-05/0.2414, allocations: 20 kB / 374.2 MB, free: 8.207 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.464e-06/0.2414, allocations: 0 / 374.2 MB, free: 8.207 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.117e-05/0.2414, allocations: 7.969 kB / 374.2 MB, free: 8.199 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0033/0.2447, allocations: 2.892 MB / 377.1 MB, free: 5.105 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.035e-06/0.2447, allocations: 8.938 kB / 377.1 MB, free: 5.098 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007692/0.2455, allocations: 471.4 kB / 377.5 MB, free: 4.637 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000118/0.2456, allocations: 154.8 kB / 377.7 MB, free: 4.484 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001654/0.2472, allocations: 0.6241 MB / 378.3 MB, free: 3.84 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-05/0.2473, allocations: 67.97 kB / 378.4 MB, free: 3.773 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003275/0.2506, allocations: 6.438 MB / 384.8 MB, free: 12.93 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.155e-06/0.2506, allocations: 20 kB / 384.8 MB, free: 12.91 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00209/0.2527, allocations: 2.012 MB / 386.8 MB, free: 10.71 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001144/0.2528, allocations: 55.98 kB / 386.9 MB, free: 10.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003603/0.2532, allocations: 40 kB / 386.9 MB, free: 10.62 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001606/0.2533, allocations: 184.7 kB / 387.1 MB, free: 10.44 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.487e-05/0.2534, allocations: 75.97 kB / 387.2 MB, free: 10.36 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003315/0.2537, allocations: 498.1 kB / 387.7 MB, free: 9.871 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2537, allocations: 0 / 387.7 MB, free: 9.871 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002164/0.2559, allocations: 1.134 MB / 388.8 MB, free: 8.734 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * 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 (180): * Single equations (assignments): 174 * 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.001431/0.2573, allocations: 1.319 MB / 390.1 MB, free: 7.41 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001601/0.2589, allocations: 1.602 MB / 391.7 MB, free: 5.781 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.91e-05/0.259, allocations: 45.75 kB / 391.8 MB, free: 5.738 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008684/0.2598, allocations: 1.165 MB / 392.9 MB, free: 4.523 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001506/0.2614, allocations: 2.085 MB / 395 MB, free: 2.102 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01238/0.2737, allocations: 3.616 MB / 398.6 MB, free: 14.29 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002456/0.274, allocations: 349.4 kB / 399 MB, free: 13.92 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000765/0.2747, allocations: 403.3 kB / 399.4 MB, free: 13.54 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007033/0.2754, allocations: 0.5068 MB / 399.9 MB, free: 13.03 MB / 394.7 MB Notification: Performance of SimCode: time 1.342e-06/0.2754, allocations: 0 / 399.9 MB, free: 13.03 MB / 394.7 MB Notification: Performance of Templates: time 0.1584/0.4338, allocations: 44.09 MB / 444 MB, free: 103.3 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: 3.858896463178098]