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.001482/0.001482, allocations: 82.05 kB / 19.87 MB, free: 4.621 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.001866/0.001866, allocations: 169.7 kB / 23.28 MB, free: 1.223 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.035/1.035, allocations: 177.1 MB / 203.7 MB, free: 5.52 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.08964/0.08964, allocations: 17.46 MB / 277.7 MB, free: 11.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 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.904e-06/1.904e-06, allocations: 0 / 354 MB, free: 10.48 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.063e-05/2.253e-05, allocations: 6.312 kB / 354 MB, free: 10.47 MB / 330.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.03245/0.03247, allocations: 33.65 MB / 387.7 MB, free: 8.902 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.02063/0.0531, allocations: 25.6 MB / 413.3 MB, free: 15.21 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009571/0.05405, allocations: 31.75 kB / 413.3 MB, free: 15.18 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001078/0.05513, allocations: 0.5657 MB / 413.9 MB, free: 14.61 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003842/0.05897, allocations: 2.195 MB / 416.1 MB, free: 12.39 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006148/0.06512, allocations: 3.646 MB / 419.7 MB, free: 8.727 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.002244/0.06737, allocations: 2.956 MB / 422.7 MB, free: 5.754 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001051/0.06842, allocations: 1.397 MB / 424 MB, free: 4.309 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001588/0.07001, allocations: 1.966 MB / 426 MB, free: 2.34 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001082/0.07109, allocations: 1.267 MB / 427.3 MB, free: 1.07 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002477/0.07134, allocations: 256 kB / 427.5 MB, free: 0.8203 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004372/0.07571, allocations: 2.729 MB / 430.3 MB, free: 14.09 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005799/0.07629, allocations: 0.6269 MB / 430.9 MB, free: 13.46 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006184/0.07691, allocations: 0.9473 MB / 431.8 MB, free: 12.51 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004992/0.0819, allocations: 5.28 MB / 437.1 MB, free: 7.207 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.0819, allocations: 4 kB / 437.1 MB, free: 7.203 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.0819, allocations: 0 / 437.1 MB, free: 7.203 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.572e-05/0.08192, allocations: 0 / 437.1 MB, free: 7.203 MB / 410.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.00311/0.08503, allocations: 3.167 MB / 440.3 MB, free: 3.977 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.08506, allocations: 12.03 kB / 440.3 MB, free: 3.965 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001419/0.08648, allocations: 0.8986 MB / 441.2 MB, free: 3.062 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001101/0.08758, allocations: 1.092 MB / 442.3 MB, free: 1.941 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001375/0.08772, allocations: 271.7 kB / 442.6 MB, free: 1.648 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002228/0.08795, allocations: 224.3 kB / 442.8 MB, free: 1.43 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1447/0.2326, allocations: 1.872 MB / 444.6 MB, free: 87.32 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.643e-05/0.2327, allocations: 0 / 444.6 MB, free: 87.32 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001531/0.2328, allocations: 93.69 kB / 444.7 MB, free: 87.32 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.473e-05/0.2328, allocations: 56.17 kB / 444.8 MB, free: 87.32 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002049/0.2349, allocations: 1.753 MB / 446.5 MB, free: 87.28 MB / 410.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.007488/0.2424, allocations: 7.029 MB / 453.6 MB, free: 85.08 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001161/0.2435, allocations: 1.112 MB / 454.7 MB, free: 84.99 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004536/0.244, allocations: 494.6 kB / 455.2 MB, free: 84.96 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006538/0.2505, allocations: 4.229 MB / 459.4 MB, free: 84.35 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.622e-05/0.2506, allocations: 48.52 kB / 459.4 MB, free: 84.31 MB / 410.7 MB Notification: Performance of pre-optimization done (n=128): time 3.437e-06/0.2506, allocations: 0 / 459.4 MB, free: 84.31 MB / 410.7 MB Notification: Performance of matching and sorting (n=181): time 0.02163/0.2722, allocations: 5.972 MB / 465.4 MB, free: 83.67 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.494e-05/0.2722, allocations: 101.2 kB / 465.5 MB, free: 83.58 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006899/0.2791, allocations: 1.136 MB / 466.7 MB, free: 83.34 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000108/0.2792, allocations: 55.2 kB / 466.7 MB, free: 83.3 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004524/0.2797, allocations: 1.15 MB / 467.9 MB, free: 82.77 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003698/0.2801, allocations: 0.6603 MB / 468.5 MB, free: 82.43 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005307/0.2806, allocations: 0.4935 MB / 469 MB, free: 82.38 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.561e-05/0.2806, allocations: 476.8 kB / 469.5 MB, free: 81.91 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005252/0.2812, allocations: 352 kB / 469.8 MB, free: 81.9 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006876/0.288, allocations: 1.542 MB / 471.4 MB, free: 80.41 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001669/0.2897, allocations: 2.132 MB / 473.5 MB, free: 78.92 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.66e-05/0.2897, allocations: 9.375 kB / 473.5 MB, free: 78.92 MB / 410.7 MB Notification: Performance of matching and sorting (n=324) (initialization): time 0.01575/0.3055, allocations: 2.198 MB / 475.7 MB, free: 78.59 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.383e-05/0.3055, allocations: 17.84 kB / 475.7 MB, free: 78.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-05/0.3056, allocations: 27.83 kB / 475.7 MB, free: 78.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002436/0.308, allocations: 0.5919 MB / 476.3 MB, free: 78.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008535/0.3165, allocations: 0.8005 MB / 477.1 MB, free: 78.47 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01035/0.3269, allocations: 9.703 MB / 486.8 MB, free: 69.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001386/0.3283, allocations: 99.14 kB / 486.9 MB, free: 69.11 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001757/0.3284, allocations: 120.4 kB / 487.1 MB, free: 69.09 MB / 410.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.0005103/0.329, allocations: 319.9 kB / 487.4 MB, free: 68.86 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003034/0.3293, allocations: 226.1 kB / 487.6 MB, free: 68.75 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003001/0.3323, allocations: 1.931 MB / 489.5 MB, free: 68.22 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.022e-05/0.3323, allocations: 22.59 kB / 489.5 MB, free: 68.22 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/0.3323, allocations: 1.375 kB / 489.5 MB, free: 68.22 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.74e-05/0.3323, allocations: 10.27 kB / 489.6 MB, free: 68.22 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004381/0.3367, allocations: 3.814 MB / 493.4 MB, free: 66.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.054e-05/0.3367, allocations: 13.34 kB / 493.4 MB, free: 66.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007814/0.3375, allocations: 415.4 kB / 493.8 MB, free: 66.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001935/0.3394, allocations: 0.6326 MB / 494.4 MB, free: 66.52 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001174/0.3395, allocations: 77.66 kB / 494.5 MB, free: 66.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003503/0.343, allocations: 9.409 MB / 0.4921 GB, free: 57.4 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.504e-06/0.343, allocations: 20.97 kB / 0.4921 GB, free: 57.4 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003071/0.3461, allocations: 2.696 MB / 0.4947 GB, free: 55.98 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003684/0.3465, allocations: 170.5 kB / 0.4949 GB, free: 55.88 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001441/0.3466, allocations: 54.95 kB / 0.495 GB, free: 55.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004895/0.3471, allocations: 52.28 kB / 0.495 GB, free: 55.82 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000199/0.3473, allocations: 198.3 kB / 0.4952 GB, free: 55.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.545e-05/0.3474, allocations: 78.3 kB / 0.4953 GB, free: 55.78 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004122/0.3478, allocations: 0.5967 MB / 0.4959 GB, free: 55.6 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3478, allocations: 0 / 0.4959 GB, free: 55.6 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002544/0.3504, allocations: 1.157 MB / 0.497 GB, free: 55.36 MB / 410.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.001678/0.352, allocations: 1.329 MB / 0.4983 GB, free: 55.04 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002428/0.3545, allocations: 1.859 MB / 0.5001 GB, free: 54.55 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.644e-06/0.3545, allocations: 0 / 0.5001 GB, free: 54.55 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001082/0.3556, allocations: 1.373 MB / 0.5014 GB, free: 53.8 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001334/0.3569, allocations: 373.7 kB / 0.5018 GB, free: 53.68 MB / 410.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004594/0.3615, allocations: 3.764 MB / 0.5055 GB, free: 51.45 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003465/0.3618, allocations: 376.8 kB / 0.5058 GB, free: 51.34 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001088/0.3629, allocations: 424.2 kB / 0.5062 GB, free: 51.31 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009696/0.3639, allocations: 0.5873 MB / 0.5068 GB, free: 51.22 MB / 410.7 MB Notification: Performance of SimCode: time 1.974e-06/0.3639, allocations: 0 / 0.5068 GB, free: 51.22 MB / 410.7 MB Notification: Performance of Templates: time 0.0425/0.4064, allocations: 46 MB / 0.5517 GB, free: 9.621 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: 4.3728011175990105]