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.00147/0.00147, allocations: 88.72 kB / 19.44 MB, free: 352 kB / 13.93 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.001631/0.001631, allocations: 157.7 kB / 22.75 MB, free: 1.676 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.507/1.507, allocations: 177.1 MB / 203.1 MB, free: 5.133 MB / 186.7 MB " [Timeout remaining time 178] 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.1367/0.1367, allocations: 17.37 MB / 276.9 MB, free: 11.57 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 2.244e-06/2.244e-06, allocations: 0 / 352.7 MB, free: 10.34 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.99e-05/3.214e-05, allocations: 2.312 kB / 352.7 MB, free: 10.34 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.06643/0.06646, allocations: 30.39 MB / 383.1 MB, free: 12.07 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.04643/0.1129, allocations: 25.3 MB / 408.4 MB, free: 2.68 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001461/0.1143, allocations: 31.75 kB / 408.4 MB, free: 2.648 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002281/0.1166, allocations: 0.5968 MB / 409 MB, free: 2.047 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1388/0.2554, allocations: 2.234 MB / 411.2 MB, free: 33.54 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01034/0.2658, allocations: 4.046 MB / 415.3 MB, free: 33.16 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.004407/0.2702, allocations: 2.952 MB / 418.2 MB, free: 32.4 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002592/0.2728, allocations: 1.396 MB / 419.6 MB, free: 32.27 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003507/0.2763, allocations: 1.9 MB / 421.5 MB, free: 32.17 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002386/0.2786, allocations: 1.184 MB / 422.7 MB, free: 32.08 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006943/0.2793, allocations: 263.3 kB / 423 MB, free: 32.08 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008919/0.2883, allocations: 2.981 MB / 426 MB, free: 31.95 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000873/0.2891, allocations: 0.6196 MB / 426.6 MB, free: 31.73 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001576/0.2907, allocations: 0.9385 MB / 427.5 MB, free: 31.39 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01261/0.3033, allocations: 6.543 MB / 434.1 MB, free: 28.85 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.311e-06/0.3033, allocations: 2.656 kB / 434.1 MB, free: 28.85 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.3033, allocations: 0 / 434.1 MB, free: 28.85 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.484e-05/0.3034, allocations: 0 / 434.1 MB, free: 28.85 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.005401/0.3088, allocations: 3.074 MB / 437.1 MB, free: 26.77 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.3088, allocations: 9.25 kB / 437.1 MB, free: 26.77 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002572/0.3114, allocations: 0.9504 MB / 438.1 MB, free: 26.25 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002051/0.3134, allocations: 1.275 MB / 439.4 MB, free: 25.41 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000158/0.3136, allocations: 273.7 kB / 439.6 MB, free: 25.21 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003141/0.3139, allocations: 226.9 kB / 439.9 MB, free: 25.02 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003877/0.3178, allocations: 2.681 MB / 442.5 MB, free: 22.26 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.413e-05/0.3178, allocations: 3 kB / 442.5 MB, free: 22.26 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002114/0.3181, allocations: 94.59 kB / 442.6 MB, free: 22.17 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.662e-05/0.3181, allocations: 52 kB / 442.7 MB, free: 22.12 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004113/0.3222, allocations: 3.292 MB / 446 MB, free: 18.84 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.01156/0.3338, allocations: 7.074 MB / 453 MB, free: 11.86 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00207/0.3358, allocations: 1.529 MB / 454.6 MB, free: 10.36 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00107/0.3369, allocations: 0.8431 MB / 455.4 MB, free: 9.508 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008577/0.3455, allocations: 4.406 MB / 459.8 MB, free: 5.164 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.617e-05/0.3455, allocations: 51.88 kB / 459.9 MB, free: 5.102 MB / 330.7 MB Notification: Performance of pre-optimization done (n=128): time 2.866e-06/0.3455, allocations: 0 / 459.9 MB, free: 5.102 MB / 330.7 MB Notification: Performance of matching and sorting (n=181): time 0.03058/0.3761, allocations: 8.133 MB / 468 MB, free: 13.07 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.158e-05/0.3762, allocations: 103.1 kB / 468.1 MB, free: 12.95 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001938/0.3781, allocations: 1.313 MB / 469.4 MB, free: 11.62 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000181/0.3783, allocations: 62.45 kB / 469.5 MB, free: 11.55 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009576/0.3792, allocations: 1.078 MB / 470.6 MB, free: 10.47 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006994/0.3799, allocations: 0.6511 MB / 471.2 MB, free: 9.836 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007933/0.3807, allocations: 481.1 kB / 471.7 MB, free: 9.359 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.3809, allocations: 305.9 kB / 472 MB, free: 9.059 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001617/0.3825, allocations: 0.8132 MB / 472.8 MB, free: 8.242 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002522/0.385, allocations: 1.664 MB / 474.5 MB, free: 6.207 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004329/0.3894, allocations: 2.614 MB / 477.1 MB, free: 3.363 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.632e-05/0.3894, allocations: 10.69 kB / 477.1 MB, free: 3.355 MB / 346.7 MB Notification: Performance of matching and sorting (n=324) (initialization): time 0.008014/0.3974, allocations: 3.154 MB / 480.2 MB, free: 392 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.335e-05/0.3974, allocations: 22.03 kB / 480.3 MB, free: 372 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-05/0.3975, allocations: 26.66 kB / 480.3 MB, free: 348 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004907/0.4024, allocations: 0.6529 MB / 480.9 MB, free: 15.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004032/0.4064, allocations: 0.7962 MB / 481.7 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01054/0.417, allocations: 7.531 MB / 489.3 MB, free: 7.039 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001849/0.4188, allocations: 98.55 kB / 489.4 MB, free: 6.945 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002965/0.4191, allocations: 147.9 kB / 489.5 MB, free: 6.801 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.0009706/0.4201, allocations: 454.3 kB / 489.9 MB, free: 6.387 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005341/0.4206, allocations: 221.7 kB / 490.2 MB, free: 6.172 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007467/0.4281, allocations: 2.56 MB / 492.7 MB, free: 3.68 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-05/0.4281, allocations: 22.66 kB / 492.7 MB, free: 3.66 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.4281, allocations: 0 / 492.7 MB, free: 3.66 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.16e-05/0.4281, allocations: 7.969 kB / 492.8 MB, free: 3.652 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0108/0.4389, allocations: 4.271 MB / 497 MB, free: 15.31 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.322e-05/0.439, allocations: 12 kB / 497 MB, free: 15.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001817/0.4408, allocations: 416.8 kB / 497.4 MB, free: 14.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005024/0.4458, allocations: 0.6823 MB / 498.1 MB, free: 14.24 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002184/0.446, allocations: 79.97 kB / 498.2 MB, free: 14.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009935/0.4559, allocations: 7.302 MB / 0.4937 GB, free: 6.461 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.889e-05/0.456, allocations: 24.62 kB / 0.4937 GB, free: 6.445 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008442/0.4644, allocations: 3.499 MB / 0.4971 GB, free: 2.801 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005299/0.4649, allocations: 166.8 kB / 0.4973 GB, free: 2.637 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002711/0.4652, allocations: 55.98 kB / 0.4973 GB, free: 2.582 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001057/0.4663, allocations: 50.66 kB / 0.4974 GB, free: 2.535 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005285/0.4668, allocations: 197.6 kB / 0.4975 GB, free: 2.352 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000182/0.467, allocations: 91.95 kB / 0.4976 GB, free: 2.262 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001275/0.4683, allocations: 0.8352 MB / 0.4985 GB, free: 1.422 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.4683, allocations: 0 / 0.4985 GB, free: 1.422 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004024/0.4723, allocations: 1.204 MB / 0.4996 GB, free: 220 kB / 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.002756/0.475, allocations: 1.388 MB / 0.501 GB, free: 15.07 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005628/0.4807, allocations: 2.369 MB / 0.5033 GB, free: 12.8 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.305e-06/0.4807, allocations: 2.688 kB / 0.5033 GB, free: 12.8 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002398/0.4831, allocations: 1.366 MB / 0.5046 GB, free: 11.45 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002084/0.4852, allocations: 377.8 kB / 0.505 GB, free: 11.11 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007468/0.4926, allocations: 3.96 MB / 0.5089 GB, free: 7.059 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001124/0.4937, allocations: 0.8602 MB / 0.5097 GB, free: 6.188 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001675/0.4954, allocations: 453.3 kB / 0.5101 GB, free: 5.883 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007464/0.4962, allocations: 296 kB / 0.5104 GB, free: 5.605 MB / 394.7 MB Notification: Performance of SimCode: time 1.082e-06/0.4962, allocations: 0 / 0.5104 GB, free: 5.605 MB / 394.7 MB Notification: Performance of Templates: time 0.07498/0.5712, allocations: 41.43 MB / 0.5509 GB, free: 12.86 MB / 442.7 MB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.ElectrochemicalCell.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.007744431961328]