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.00127/0.00127, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001808/0.001808, allocations: 169 kB / 24.05 MB, free: 460 kB / 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.9651/0.9651, allocations: 177.1 MB / 204.5 MB, free: 5.523 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.1172/0.1172, allocations: 17.38 MB / 278.4 MB, free: 11.5 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.393e-06/1.393e-06, allocations: 0 / 354.7 MB, free: 9.707 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.356e-05/2.496e-05, allocations: 2.312 kB / 354.7 MB, free: 9.703 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.ElectrochemicalCell): time 0.03738/0.0374, allocations: 33.64 MB / 388.3 MB, free: 8.168 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.1632/0.2007, allocations: 25.58 MB / 413.9 MB, free: 34.23 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00141/0.2021, allocations: 34.5 kB / 413.9 MB, free: 34.23 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001302/0.2034, allocations: 0.5613 MB / 414.5 MB, free: 34.23 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005675/0.209, allocations: 2.208 MB / 416.7 MB, free: 33.91 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00904/0.2181, allocations: 3.642 MB / 420.3 MB, free: 33.21 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.004061/0.2221, allocations: 2.944 MB / 423.3 MB, free: 32.46 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00199/0.2241, allocations: 1.402 MB / 424.7 MB, free: 32.32 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002994/0.2271, allocations: 1.967 MB / 426.6 MB, free: 32.16 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00216/0.2293, allocations: 1.271 MB / 427.9 MB, free: 31.91 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006714/0.23, allocations: 257.9 kB / 428.2 MB, free: 31.91 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007718/0.2377, allocations: 2.723 MB / 430.9 MB, free: 31.48 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006964/0.2384, allocations: 0.6276 MB / 431.5 MB, free: 31.13 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001516/0.2399, allocations: 0.9525 MB / 432.5 MB, free: 30.78 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01197/0.2519, allocations: 5.275 MB / 437.7 MB, free: 28.34 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.241e-06/0.2519, allocations: 0 / 437.7 MB, free: 28.34 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2519, allocations: 0 / 437.7 MB, free: 28.34 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.12e-05/0.2519, allocations: 0 / 437.7 MB, free: 28.34 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.004132/0.256, allocations: 3.183 MB / 440.9 MB, free: 26.29 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.136e-05/0.2561, allocations: 9.469 kB / 440.9 MB, free: 26.29 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002087/0.2582, allocations: 0.8946 MB / 441.8 MB, free: 25.75 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001451/0.2596, allocations: 1.1 MB / 442.9 MB, free: 24.7 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001319/0.2597, allocations: 275.7 kB / 443.2 MB, free: 24.4 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002676/0.26, allocations: 222.4 kB / 443.4 MB, free: 24.19 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002161/0.2622, allocations: 1.871 MB / 445.3 MB, free: 22.3 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.758e-05/0.2622, allocations: 0 / 445.3 MB, free: 22.3 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000171/0.2624, allocations: 98.56 kB / 445.4 MB, free: 22.21 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.019e-05/0.2624, allocations: 52 kB / 445.4 MB, free: 22.16 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002042/0.2645, allocations: 1.754 MB / 447.2 MB, free: 20.41 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.008164/0.2726, allocations: 7.034 MB / 454.2 MB, free: 13.71 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001247/0.2739, allocations: 1.124 MB / 455.3 MB, free: 12.63 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003883/0.2743, allocations: 487.6 kB / 455.8 MB, free: 12.16 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004886/0.2791, allocations: 4.167 MB / 460 MB, free: 8.094 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.486e-05/0.2792, allocations: 54.7 kB / 460 MB, free: 8.027 MB / 330.7 MB Notification: Performance of pre-optimization done (n=128): time 2.324e-06/0.2792, allocations: 2.656 kB / 460 MB, free: 8.027 MB / 330.7 MB Notification: Performance of matching and sorting (n=181): time 0.01222/0.2914, allocations: 5.961 MB / 466 MB, free: 2.199 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.162e-05/0.2914, allocations: 95.11 kB / 466.1 MB, free: 2.086 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007093/0.2921, allocations: 1.145 MB / 467.2 MB, free: 1.121 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.886e-05/0.2922, allocations: 57.7 kB / 467.3 MB, free: 1.059 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003622/0.2926, allocations: 1.148 MB / 468.4 MB, free: 15.96 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004133/0.293, allocations: 0.6579 MB / 469.1 MB, free: 15.34 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004601/0.2935, allocations: 495.7 kB / 469.6 MB, free: 14.89 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001102/0.2936, allocations: 482.6 kB / 470.1 MB, free: 14.43 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004706/0.294, allocations: 355.4 kB / 470.4 MB, free: 14.08 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001036/0.2951, allocations: 1.539 MB / 471.9 MB, free: 12.08 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001693/0.2968, allocations: 2.142 MB / 474.1 MB, free: 9.633 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.029e-05/0.2968, allocations: 10.69 kB / 474.1 MB, free: 9.625 MB / 346.7 MB Notification: Performance of matching and sorting (n=324) (initialization): time 0.003208/0.3, allocations: 2.174 MB / 476.3 MB, free: 7.633 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.401e-05/0.3, allocations: 20 kB / 476.3 MB, free: 7.613 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.093e-05/0.3, allocations: 24 kB / 476.3 MB, free: 7.59 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001955/0.302, allocations: 0.5898 MB / 476.9 MB, free: 7.004 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001831/0.3038, allocations: 0.7998 MB / 477.7 MB, free: 6.254 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005078/0.3089, allocations: 9.709 MB / 487.4 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001238/0.3102, allocations: 90.61 kB / 487.5 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001922/0.3103, allocations: 128 kB / 487.6 MB, free: 11.93 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.0005943/0.3109, allocations: 328.7 kB / 488 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003438/0.3113, allocations: 218.9 kB / 488.2 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003057/0.3143, allocations: 1.911 MB / 490.1 MB, free: 9.578 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.168e-05/0.3143, allocations: 20 kB / 490.1 MB, free: 9.559 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.3144, allocations: 0 / 490.1 MB, free: 9.559 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.356e-05/0.3144, allocations: 11.97 kB / 490.1 MB, free: 9.547 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004994/0.3194, allocations: 3.806 MB / 493.9 MB, free: 5.828 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-05/0.3194, allocations: 14.69 kB / 493.9 MB, free: 5.816 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008883/0.3203, allocations: 418.1 kB / 494.3 MB, free: 5.41 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002105/0.3224, allocations: 0.6251 MB / 495 MB, free: 4.785 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001344/0.3225, allocations: 82.62 kB / 495 MB, free: 4.707 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00478/0.3273, allocations: 9.405 MB / 0.4926 GB, free: 10.84 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.687e-06/0.3273, allocations: 15.94 kB / 0.4926 GB, free: 10.82 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003245/0.3305, allocations: 2.683 MB / 0.4953 GB, free: 7.945 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003449/0.3309, allocations: 170.2 kB / 0.4954 GB, free: 7.781 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000165/0.331, allocations: 52 kB / 0.4955 GB, free: 7.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005027/0.3315, allocations: 58.55 kB / 0.4955 GB, free: 7.676 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002173/0.3318, allocations: 200.6 kB / 0.4957 GB, free: 7.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.614e-05/0.3319, allocations: 82.66 kB / 0.4958 GB, free: 7.402 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004689/0.3323, allocations: 0.5916 MB / 0.4964 GB, free: 6.859 MB / 378.7 MB Notification: Performance of sort global known variables: time 4e-08/0.3323, allocations: 0 / 0.4964 GB, free: 6.859 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002916/0.3352, allocations: 1.153 MB / 0.4975 GB, free: 5.703 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.002199/0.3374, allocations: 1.33 MB / 0.4988 GB, free: 4.574 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002503/0.3399, allocations: 1.853 MB / 0.5006 GB, free: 2.738 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.232e-06/0.34, allocations: 4 kB / 0.5006 GB, free: 2.734 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001092/0.341, allocations: 1.373 MB / 0.502 GB, free: 1.324 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001277/0.3423, allocations: 378.5 kB / 0.5023 GB, free: 0.9883 MB / 378.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004804/0.3471, allocations: 3.762 MB / 0.506 GB, free: 13.09 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003554/0.3475, allocations: 373.7 kB / 0.5063 GB, free: 12.7 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.00122/0.3487, allocations: 429.7 kB / 0.5068 GB, free: 12.41 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00091/0.3496, allocations: 0.5781 MB / 0.5073 GB, free: 11.83 MB / 394.7 MB Notification: Performance of SimCode: time 1.543e-06/0.3496, allocations: 2.656 kB / 0.5073 GB, free: 11.83 MB / 394.7 MB Notification: Performance of Templates: time 0.0495/0.3991, allocations: 46.61 MB / 0.5528 GB, free: 13.98 MB / 442.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: 4.617514884099364]