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.001051/0.001051, 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.00112/0.00112, allocations: 169 kB / 23.49 MB, free: 1.059 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.034/1.034, allocations: 177.1 MB / 203.8 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.09134/0.09134, allocations: 17.46 MB / 277.7 MB, free: 11.6 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 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 1.322e-06/1.322e-06, allocations: 0 / 353.5 MB, free: 10.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.633e-05/1.765e-05, allocations: 6.25 kB / 353.6 MB, free: 10.17 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 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 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.02658/0.0266, allocations: 33.81 MB / 387.4 MB, free: 8.48 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.1622/0.1888, allocations: 28.79 MB / 416.2 MB, free: 33.65 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001343/0.1901, allocations: 30.66 kB / 416.2 MB, free: 33.65 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001468/0.1916, allocations: 0.6018 MB / 416.8 MB, free: 33.65 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005523/0.1971, allocations: 2.243 MB / 419 MB, free: 33.26 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009189/0.2063, allocations: 4.044 MB / 423.1 MB, free: 32.46 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.00443/0.2107, allocations: 2.941 MB / 426 MB, free: 31.71 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002348/0.2131, allocations: 1.404 MB / 427.4 MB, free: 31.57 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003067/0.2161, allocations: 1.913 MB / 429.3 MB, free: 31.12 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001816/0.218, allocations: 1.232 MB / 430.6 MB, free: 30.88 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006077/0.2186, allocations: 265.5 kB / 430.8 MB, free: 30.87 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008121/0.2267, allocations: 2.979 MB / 433.8 MB, free: 30.39 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006496/0.2273, allocations: 0.6235 MB / 434.4 MB, free: 30.04 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001476/0.2288, allocations: 0.9448 MB / 435.4 MB, free: 29.58 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0115/0.2403, allocations: 5.546 MB / 440.9 MB, free: 26.75 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.2403, allocations: 0 / 440.9 MB, free: 26.75 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.2403, allocations: 3.25 kB / 440.9 MB, free: 26.75 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.176e-05/0.2404, allocations: 0 / 440.9 MB, free: 26.75 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: 556 * Number of variables: 556 Notification: Performance of Generate backend data structure: time 0.004392/0.2448, allocations: 3.206 MB / 444.1 MB, free: 24.51 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.2448, allocations: 12.03 kB / 444.1 MB, free: 24.5 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00226/0.2471, allocations: 0.946 MB / 445.1 MB, free: 23.55 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00169/0.2488, allocations: 1.273 MB / 446.4 MB, free: 22.32 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001405/0.2489, allocations: 275.7 kB / 446.6 MB, free: 22.02 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002769/0.2492, allocations: 228.2 kB / 446.8 MB, free: 21.8 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002728/0.2519, allocations: 2.052 MB / 448.9 MB, free: 19.65 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.966e-05/0.252, allocations: 7.031 kB / 448.9 MB, free: 19.65 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001763/0.2522, allocations: 88 kB / 449 MB, free: 19.56 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.45e-05/0.2522, allocations: 52 kB / 449 MB, free: 19.51 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002956/0.2551, allocations: 2.056 MB / 451.1 MB, free: 17.46 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.008409/0.2636, allocations: 6.981 MB / 458.1 MB, free: 10.56 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001672/0.2652, allocations: 1.242 MB / 459.3 MB, free: 9.336 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007726/0.266, allocations: 0.5596 MB / 459.9 MB, free: 8.77 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005293/0.2713, allocations: 4.168 MB / 464 MB, free: 4.664 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.842e-05/0.2713, allocations: 53.52 kB / 464.1 MB, free: 4.602 MB / 330.7 MB Notification: Performance of pre-optimization done (n=128): time 2.866e-06/0.2713, allocations: 0 / 464.1 MB, free: 4.602 MB / 330.7 MB Notification: Performance of matching and sorting (n=181): time 0.01506/0.2864, allocations: 6.821 MB / 470.9 MB, free: 13.86 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.293e-05/0.2865, allocations: 97.92 kB / 471 MB, free: 13.75 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001074/0.2875, allocations: 1.165 MB / 472.2 MB, free: 12.57 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001096/0.2876, allocations: 53.7 kB / 472.2 MB, free: 12.51 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006839/0.2883, allocations: 1.14 MB / 473.4 MB, free: 11.37 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005118/0.2888, allocations: 0.6537 MB / 474 MB, free: 10.72 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004963/0.2893, allocations: 487.4 kB / 474.5 MB, free: 10.24 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001094/0.2895, allocations: 486.3 kB / 475 MB, free: 9.766 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007692/0.2902, allocations: 456.8 kB / 475.4 MB, free: 9.316 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001393/0.2916, allocations: 1.629 MB / 477.1 MB, free: 7.172 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002477/0.2941, allocations: 2.303 MB / 479.4 MB, free: 4.5 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.072e-05/0.2941, allocations: 8 kB / 479.4 MB, free: 4.492 MB / 346.7 MB Notification: Performance of matching and sorting (n=324) (initialization): time 0.00448/0.2986, allocations: 2.404 MB / 481.8 MB, free: 2.102 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.454e-05/0.2986, allocations: 16 kB / 481.8 MB, free: 2.086 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.822e-05/0.2987, allocations: 28 kB / 481.8 MB, free: 2.059 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002276/0.3009, allocations: 0.5939 MB / 482.4 MB, free: 1.465 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002055/0.303, allocations: 0.7997 MB / 483.2 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006402/0.3094, allocations: 9.814 MB / 493 MB, free: 6.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001309/0.3107, allocations: 95.89 kB / 493.1 MB, free: 6.246 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001864/0.3109, allocations: 144 kB / 493.3 MB, free: 6.105 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.0006783/0.3116, allocations: 326.3 kB / 493.6 MB, free: 5.777 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000407/0.312, allocations: 221.9 kB / 493.8 MB, free: 5.562 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003521/0.3155, allocations: 2.074 MB / 495.9 MB, free: 3.539 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.181e-05/0.3155, allocations: 20 kB / 495.9 MB, free: 3.52 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.3155, allocations: 6.656 kB / 495.9 MB, free: 3.516 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.364e-05/0.3155, allocations: 7.969 kB / 495.9 MB, free: 3.508 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005534/0.3211, allocations: 3.899 MB / 499.8 MB, free: 15.39 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.134e-05/0.3211, allocations: 14.66 kB / 499.8 MB, free: 15.38 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009084/0.322, allocations: 415.4 kB / 0.4885 GB, free: 14.97 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002187/0.3242, allocations: 0.6339 MB / 0.4891 GB, free: 14.34 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001309/0.3243, allocations: 79.97 kB / 0.4892 GB, free: 14.26 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005208/0.3295, allocations: 9.507 MB / 0.4985 GB, free: 4.219 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.157e-06/0.3295, allocations: 19.94 kB / 0.4985 GB, free: 4.199 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004022/0.3336, allocations: 2.91 MB / 0.5013 GB, free: 1.059 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003494/0.3339, allocations: 170.8 kB / 0.5015 GB, free: 0.8906 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001652/0.3341, allocations: 59.98 kB / 0.5016 GB, free: 0.832 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005336/0.3346, allocations: 44 kB / 0.5016 GB, free: 0.7891 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000264/0.3349, allocations: 203.4 kB / 0.5018 GB, free: 0.5938 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001077/0.335, allocations: 99.89 kB / 0.5019 GB, free: 0.4961 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006476/0.3356, allocations: 0.6399 MB / 0.5025 GB, free: 15.85 MB / 394.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3356, allocations: 0 / 0.5025 GB, free: 15.85 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003044/0.3387, allocations: 1.212 MB / 0.5037 GB, free: 14.64 MB / 394.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.002437/0.3411, allocations: 1.386 MB / 0.505 GB, free: 13.46 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003317/0.3444, allocations: 2.02 MB / 0.507 GB, free: 11.43 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.508e-06/0.3444, allocations: 4 kB / 0.507 GB, free: 11.43 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001577/0.346, allocations: 1.434 MB / 0.5084 GB, free: 9.93 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001437/0.3474, allocations: 375.2 kB / 0.5088 GB, free: 9.598 MB / 394.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005447/0.3529, allocations: 3.809 MB / 0.5125 GB, free: 5.602 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003331/0.3532, allocations: 369.8 kB / 0.5129 GB, free: 5.215 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.003357/0.3566, allocations: 453.1 kB / 0.5133 GB, free: 4.914 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005121/0.3571, allocations: 289.6 kB / 0.5136 GB, free: 4.637 MB / 394.7 MB Notification: Performance of SimCode: time 2.535e-06/0.3571, allocations: 0 / 0.5136 GB, free: 4.637 MB / 394.7 MB Notification: Performance of Templates: time 0.04475/0.4018, allocations: 41.75 MB / 0.5543 GB, free: 11.59 MB / 442.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: 4.422470141900703]