Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.00084/0.00084, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001121/0.001961, allocations: 435.8 kB / 10.33 MB, free: 368 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.0008956/0.0008956, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001133/0.002029, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9493/0.9493, allocations: 177.1 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0771/1.026, allocations: 53.67 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/package.mo): time 0.08294/0.08294, allocations: 17.44 MB / 261.4 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.009545/0.09249, allocations: 6.96 MB / 268.4 MB, free: 6.41 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/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_master_Chemical.Obsolete.Examples.ElectrochemicalCell") translateModel(Chemical.Obsolete.Examples.ElectrochemicalCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.ElectrochemicalCell") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.565e-06/2.565e-06, allocations: 3.984 kB / 269.7 MB, free: 5.129 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.094e-05/1.351e-05, allocations: 2.312 kB / 269.7 MB, free: 5.125 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/Obsolete.mo:14335:7-14335: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.1-master/Obsolete.mo:14335:7-14335: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.1269/0.1269, allocations: 10.09 MB / 279.7 MB, free: 0.5508 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0218/0.1487, allocations: 26.21 MB / 306 MB, free: 14.23 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001095/0.1498, allocations: 31.75 kB / 306 MB, free: 14.2 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001058/0.1509, allocations: 0.5696 MB / 306.6 MB, free: 13.62 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00438/0.1552, allocations: 2.175 MB / 308.7 MB, free: 11.43 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007074/0.1623, allocations: 3.618 MB / 312.3 MB, free: 7.793 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002456/0.1648, allocations: 2.932 MB / 315.3 MB, free: 4.852 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001265/0.166, allocations: 1.425 MB / 316.7 MB, free: 3.363 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001696/0.1677, allocations: 2.087 MB / 318.8 MB, free: 1.262 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001155/0.1689, allocations: 1.263 MB / 320.1 MB, free: 15.99 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002906/0.1692, allocations: 260 kB / 320.3 MB, free: 15.73 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004501/0.1737, allocations: 2.834 MB / 323.1 MB, free: 12.9 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003143/0.174, allocations: 446.7 kB / 323.6 MB, free: 12.46 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006528/0.1746, allocations: 0.7565 MB / 324.3 MB, free: 11.7 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004746/0.1794, allocations: 4.813 MB / 329.2 MB, free: 6.871 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.708e-05/0.1794, allocations: 0 / 329.2 MB, free: 6.871 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.1794, allocations: 0 / 329.2 MB, free: 6.871 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.959e-05/0.1795, allocations: 0 / 329.2 MB, free: 6.871 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.003807/0.1833, allocations: 3.848 MB / 333 MB, free: 2.977 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.087e-05/0.1833, allocations: 12.02 kB / 333 MB, free: 2.965 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001608/0.1849, allocations: 0.9287 MB / 333.9 MB, free: 2.016 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001074/0.186, allocations: 0.8436 MB / 334.8 MB, free: 1.145 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001375/0.1861, allocations: 271.7 kB / 335 MB, free: 0.8516 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002041/0.1863, allocations: 228.3 kB / 335.3 MB, free: 0.6289 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001597/0.1879, allocations: 1.88 MB / 337.2 MB, free: 14.65 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.042e-05/0.188, allocations: 4 kB / 337.2 MB, free: 14.65 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001164/0.1881, allocations: 84 kB / 337.2 MB, free: 14.57 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.907e-05/0.1881, allocations: 59.98 kB / 337.3 MB, free: 14.51 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001557/0.1897, allocations: 1.555 MB / 338.9 MB, free: 12.95 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.006156/0.1958, allocations: 5.636 MB / 344.5 MB, free: 7.168 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009431/0.1968, allocations: 1.069 MB / 345.6 MB, free: 6.078 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003834/0.1971, allocations: 427.5 kB / 346 MB, free: 5.656 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00466/0.2018, allocations: 3.583 MB / 349.6 MB, free: 2.051 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.831e-05/0.2018, allocations: 43.88 kB / 349.6 MB, free: 2 MB / 330.7 MB Notification: Performance of pre-optimization done (n=128): time 2.184e-06/0.2018, allocations: 0 / 349.6 MB, free: 2 MB / 330.7 MB Notification: Performance of matching and sorting (n=181): time 0.01246/0.2143, allocations: 6.408 MB / 356 MB, free: 11.54 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.732e-05/0.2143, allocations: 99.05 kB / 356.1 MB, free: 11.43 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006395/0.215, allocations: 1.079 MB / 357.2 MB, free: 10.34 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.398e-05/0.215, allocations: 57.7 kB / 357.2 MB, free: 10.27 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003609/0.2154, allocations: 0.9695 MB / 358.2 MB, free: 9.289 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003012/0.2157, allocations: 0.6584 MB / 358.9 MB, free: 8.625 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003769/0.2161, allocations: 472.9 kB / 359.3 MB, free: 8.156 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.625e-05/0.2161, allocations: 301.1 kB / 359.6 MB, free: 7.859 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003553/0.2165, allocations: 315.4 kB / 359.9 MB, free: 7.551 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006824/0.2172, allocations: 1.154 MB / 361.1 MB, free: 6.012 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001489/0.2187, allocations: 1.762 MB / 362.8 MB, free: 3.863 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.046e-05/0.2187, allocations: 8 kB / 362.9 MB, free: 3.855 MB / 346.7 MB Notification: Performance of matching and sorting (n=324) (initialization): time 0.002153/0.2208, allocations: 1.727 MB / 364.6 MB, free: 2.105 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/0.2209, allocations: 24.06 kB / 364.6 MB, free: 2.082 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.132e-05/0.2209, allocations: 28 kB / 364.6 MB, free: 2.055 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001611/0.2225, allocations: 0.595 MB / 365.2 MB, free: 1.445 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002082/0.2246, allocations: 1.014 MB / 366.2 MB, free: 448 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004467/0.229, allocations: 6.651 MB / 372.9 MB, free: 9.387 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006342/0.2297, allocations: 100.1 kB / 373 MB, free: 9.289 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001285/0.2298, allocations: 116 kB / 373.1 MB, free: 9.176 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 (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.0003388/0.2301, allocations: 284.2 kB / 373.4 MB, free: 8.887 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001848/0.2303, allocations: 151.9 kB / 373.5 MB, free: 8.738 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002352/0.2327, allocations: 1.622 MB / 375.2 MB, free: 7.105 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.718e-06/0.2327, allocations: 20 kB / 375.2 MB, free: 7.086 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.2327, allocations: 3.938 kB / 375.2 MB, free: 7.082 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.142e-05/0.2327, allocations: 11.97 kB / 375.2 MB, free: 7.07 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003815/0.2365, allocations: 3.054 MB / 378.2 MB, free: 3.812 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.119e-05/0.2365, allocations: 12 kB / 378.3 MB, free: 3.801 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009827/0.2375, allocations: 0.5386 MB / 378.8 MB, free: 3.262 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001193/0.2376, allocations: 150.9 kB / 378.9 MB, free: 3.113 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001672/0.2393, allocations: 0.6199 MB / 379.6 MB, free: 2.473 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-05/0.2394, allocations: 79.97 kB / 379.6 MB, free: 2.395 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003473/0.2429, allocations: 6.446 MB / 386.1 MB, free: 11.54 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.785e-06/0.2429, allocations: 15.94 kB / 386.1 MB, free: 11.52 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002241/0.2451, allocations: 2.16 MB / 388.3 MB, free: 9.184 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001345/0.2452, allocations: 55.98 kB / 388.3 MB, free: 9.129 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004094/0.2456, allocations: 52 kB / 388.4 MB, free: 9.078 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001577/0.2458, allocations: 200.6 kB / 388.6 MB, free: 8.883 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.79e-05/0.2459, allocations: 71.97 kB / 388.6 MB, free: 8.812 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003225/0.2462, allocations: 0.4943 MB / 389.1 MB, free: 8.312 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2462, allocations: 0 / 389.1 MB, free: 8.312 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002251/0.2485, allocations: 1.157 MB / 390.3 MB, free: 7.152 MB / 378.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.001327/0.2498, allocations: 1.319 MB / 391.6 MB, free: 5.828 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001664/0.2514, allocations: 1.655 MB / 393.3 MB, free: 4.137 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.075e-05/0.2515, allocations: 38.47 kB / 393.3 MB, free: 4.098 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007595/0.2523, allocations: 1.108 MB / 394.4 MB, free: 2.941 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00101/0.2533, allocations: 0.5639 MB / 395 MB, free: 2.387 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01287/0.2661, allocations: 3.743 MB / 398.7 MB, free: 14.44 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002582/0.2664, allocations: 377.7 kB / 399.1 MB, free: 14.04 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0008729/0.2673, allocations: 419.5 kB / 399.5 MB, free: 13.64 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007517/0.268, allocations: 0.5353 MB / 400 MB, free: 13.11 MB / 394.7 MB Notification: Performance of SimCode: time 6.41e-07/0.268, allocations: 0 / 400 MB, free: 13.11 MB / 394.7 MB Notification: Performance of Templates: time 0.1553/0.4233, allocations: 46.81 MB / 446.8 MB, free: 102.1 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.ElectrochemicalCell.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.ElectrochemicalCell.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.ElectrochemicalCell.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.ElectrochemicalCell.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.ElectrochemicalCell.sim & ./Chemical_master_Chemical.Obsolete.Examples.ElectrochemicalCell -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.ElectrochemicalCell.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9555269852280617]