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.0009348/0.0009348, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.0009511/0.0009511, allocations: 177 kB / 23.36 MB, free: 1.129 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.03/1.03, allocations: 177.1 MB / 203.8 MB, free: 5.449 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.08861/0.08861, allocations: 17.47 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.764e-06/1.764e-06, allocations: 0 / 300.8 MB, free: 1.727 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.962e-05/2.138e-05, allocations: 2.312 kB / 300.8 MB, free: 1.723 MB / 266.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.0347/0.03472, allocations: 39.51 MB / 340.3 MB, free: 12.79 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.02847/0.06319, allocations: 26 MB / 366.3 MB, free: 2.695 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00171/0.0649, allocations: 35.75 kB / 366.3 MB, free: 2.66 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001588/0.06649, allocations: 0.5774 MB / 366.9 MB, free: 2.078 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00531/0.0718, allocations: 2.183 MB / 369.1 MB, free: 15.88 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007857/0.07966, allocations: 3.614 MB / 372.7 MB, free: 12.24 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.003373/0.08303, allocations: 2.948 MB / 375.6 MB, free: 9.281 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001694/0.08472, allocations: 1.424 MB / 377.1 MB, free: 7.793 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002256/0.08698, allocations: 1.946 MB / 379 MB, free: 5.844 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001789/0.08877, allocations: 1.263 MB / 380.3 MB, free: 4.578 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004292/0.0892, allocations: 256 kB / 380.5 MB, free: 4.328 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006693/0.09589, allocations: 2.823 MB / 383.3 MB, free: 1.5 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006091/0.0965, allocations: 0.6269 MB / 384 MB, free: 0.8711 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001129/0.09763, allocations: 0.955 MB / 384.9 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009686/0.1073, allocations: 5.272 MB / 390.2 MB, free: 10.62 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.1073, allocations: 4 kB / 390.2 MB, free: 10.62 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1073, allocations: 4 kB / 390.2 MB, free: 10.61 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.006e-05/0.1073, allocations: 0 / 390.2 MB, free: 10.61 MB / 362.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.003459/0.1108, allocations: 3.024 MB / 393.2 MB, free: 7.543 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.1108, allocations: 8.031 kB / 393.2 MB, free: 7.535 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001623/0.1125, allocations: 0.8495 MB / 394.1 MB, free: 6.684 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00117/0.1136, allocations: 0.8474 MB / 394.9 MB, free: 5.805 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001521/0.1138, allocations: 271.7 kB / 395.2 MB, free: 5.512 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002159/0.114, allocations: 224.3 kB / 395.4 MB, free: 5.293 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001774/0.1158, allocations: 1.884 MB / 397.3 MB, free: 3.312 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.219e-05/0.1158, allocations: 3.938 kB / 397.3 MB, free: 3.309 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001227/0.1159, allocations: 92 kB / 397.4 MB, free: 3.219 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.87e-05/0.116, allocations: 52 kB / 397.4 MB, free: 3.168 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00164/0.1176, allocations: 1.55 MB / 399 MB, free: 1.613 MB / 362.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.006791/0.1244, allocations: 5.616 MB / 404.6 MB, free: 11.86 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00108/0.1255, allocations: 1.072 MB / 405.7 MB, free: 10.76 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004205/0.1259, allocations: 423.5 kB / 406.1 MB, free: 10.34 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005186/0.1311, allocations: 3.712 MB / 409.8 MB, free: 6.609 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.307e-05/0.1311, allocations: 51.88 kB / 409.9 MB, free: 6.551 MB / 378.7 MB Notification: Performance of pre-optimization done (n=128): time 2.505e-06/0.1311, allocations: 0 / 409.9 MB, free: 6.551 MB / 378.7 MB Notification: Performance of matching and sorting (n=181): time 0.01365/0.1448, allocations: 6.392 MB / 416.2 MB, free: 116 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.594e-05/0.1448, allocations: 99.05 kB / 416.3 MB, free: 16 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007814/0.1456, allocations: 1.079 MB / 417.4 MB, free: 14.91 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.738e-05/0.1457, allocations: 57.7 kB / 417.5 MB, free: 14.84 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003751/0.146, allocations: 0.9657 MB / 418.4 MB, free: 13.87 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003459/0.1464, allocations: 0.6623 MB / 419.1 MB, free: 13.2 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004137/0.1468, allocations: 476.9 kB / 419.6 MB, free: 12.73 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.516e-05/0.1469, allocations: 301.1 kB / 419.9 MB, free: 12.43 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003811/0.1473, allocations: 308.5 kB / 420.2 MB, free: 12.12 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007513/0.148, allocations: 1.158 MB / 421.3 MB, free: 10.58 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001374/0.1494, allocations: 1.762 MB / 423.1 MB, free: 8.434 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.828e-06/0.1494, allocations: 8 kB / 423.1 MB, free: 8.426 MB / 394.7 MB Notification: Performance of matching and sorting (n=324) (initialization): time 0.00243/0.1518, allocations: 1.726 MB / 424.8 MB, free: 6.676 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.664e-05/0.1518, allocations: 18.5 kB / 424.8 MB, free: 6.66 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.432e-05/0.1519, allocations: 28.34 kB / 424.9 MB, free: 6.633 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00184/0.1537, allocations: 0.6028 MB / 425.5 MB, free: 6.016 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002136/0.1558, allocations: 0.9401 MB / 426.4 MB, free: 5.074 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004158/0.16, allocations: 6.659 MB / 433.1 MB, free: 14.01 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001054/0.1611, allocations: 104 kB / 433.2 MB, free: 13.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001548/0.1612, allocations: 116 kB / 433.3 MB, free: 13.79 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.0004694/0.1617, allocations: 279.7 kB / 433.6 MB, free: 13.51 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002245/0.1619, allocations: 151.9 kB / 433.7 MB, free: 13.36 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002577/0.1645, allocations: 1.612 MB / 435.3 MB, free: 11.71 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.409e-05/0.1645, allocations: 16 kB / 435.3 MB, free: 11.7 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.557e-06/0.1645, allocations: 4 kB / 435.3 MB, free: 11.69 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.384e-05/0.1645, allocations: 11.95 kB / 435.4 MB, free: 11.68 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004261/0.1688, allocations: 3.054 MB / 438.4 MB, free: 8.422 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.465e-05/0.1688, allocations: 16.03 kB / 438.4 MB, free: 8.406 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001069/0.1699, allocations: 487.3 kB / 438.9 MB, free: 7.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001945/0.1718, allocations: 0.6316 MB / 439.5 MB, free: 7.277 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001143/0.1719, allocations: 79.91 kB / 439.6 MB, free: 7.199 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003844/0.1758, allocations: 6.438 MB / 446 MB, free: 356 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.957e-06/0.1758, allocations: 19.94 kB / 446.1 MB, free: 336 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1329/0.3087, allocations: 2.138 MB / 448.2 MB, free: 94.04 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003325/0.309, allocations: 164.4 kB / 448.4 MB, free: 94.04 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001908/0.3092, allocations: 55.38 kB / 448.4 MB, free: 94.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005493/0.3097, allocations: 57.95 kB / 448.5 MB, free: 94.04 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002922/0.31, allocations: 193.5 kB / 448.7 MB, free: 94.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001339/0.3102, allocations: 79.94 kB / 448.7 MB, free: 94.04 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005483/0.3107, allocations: 493.8 kB / 449.2 MB, free: 93.99 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3107, allocations: 0 / 449.2 MB, free: 93.99 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00283/0.3135, allocations: 1.153 MB / 450.4 MB, free: 93.99 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.002093/0.3156, allocations: 1.323 MB / 451.7 MB, free: 93.93 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002673/0.3183, allocations: 1.641 MB / 453.3 MB, free: 93.65 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.341e-05/0.3184, allocations: 27.22 kB / 453.4 MB, free: 93.64 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001027/0.3194, allocations: 1.102 MB / 454.5 MB, free: 93.18 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001269/0.3207, allocations: 375.4 kB / 454.8 MB, free: 93.17 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.004511/0.3252, allocations: 3.591 MB / 458.4 MB, free: 91.39 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002907/0.3255, allocations: 365.5 kB / 458.8 MB, free: 91.28 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001112/0.3266, allocations: 423.4 kB / 459.2 MB, free: 91.26 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008551/0.3274, allocations: 0.5307 MB / 459.7 MB, free: 91.21 MB / 410.7 MB Notification: Performance of SimCode: time 1.563e-06/0.3274, allocations: 5.75 kB / 459.7 MB, free: 91.21 MB / 410.7 MB Notification: Performance of Templates: time 0.04359/0.371, allocations: 46.11 MB / 0.494 GB, free: 61.24 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.ElectrochemicalCell.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.185219347011298]