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.00153/0.00153, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001947/0.001947, allocations: 169 kB / 23.49 MB, free: 1.062 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 0.9639/0.9639, allocations: 177.1 MB / 203.8 MB, free: 5.633 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.09111/0.09111, allocations: 17.39 MB / 277.7 MB, free: 11.71 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.573e-06/1.573e-06, allocations: 0 / 353.4 MB, free: 10.3 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.228e-05/2.386e-05, allocations: 2.312 kB / 353.5 MB, free: 10.3 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.06002/0.06005, allocations: 33.8 MB / 387.2 MB, free: 8.629 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.1413/0.2013, allocations: 28.79 MB / 416 MB, free: 33.7 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001092/0.2024, allocations: 31.03 kB / 416.1 MB, free: 33.7 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001162/0.2036, allocations: 0.6034 MB / 416.7 MB, free: 33.7 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003808/0.2074, allocations: 2.245 MB / 418.9 MB, free: 33.31 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006741/0.2141, allocations: 4.037 MB / 423 MB, free: 32.51 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002284/0.2164, allocations: 2.946 MB / 425.9 MB, free: 31.76 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001153/0.2176, allocations: 1.403 MB / 427.3 MB, free: 31.62 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001406/0.219, allocations: 1.915 MB / 429.2 MB, free: 31.19 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001003/0.22, allocations: 1.232 MB / 430.5 MB, free: 30.95 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002605/0.2202, allocations: 259.8 kB / 430.7 MB, free: 30.95 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004557/0.2248, allocations: 2.982 MB / 433.7 MB, free: 30.46 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000314/0.2251, allocations: 0.624 MB / 434.3 MB, free: 30.11 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006734/0.2258, allocations: 0.9451 MB / 435.3 MB, free: 29.68 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005193/0.231, allocations: 5.549 MB / 440.8 MB, free: 26.85 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.231, allocations: 2.656 kB / 440.8 MB, free: 26.85 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.231, allocations: 0 / 440.8 MB, free: 26.85 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.445e-05/0.231, allocations: 0 / 440.8 MB, free: 26.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.003253/0.2342, allocations: 3.203 MB / 444 MB, free: 24.65 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.2343, allocations: 8.031 kB / 444 MB, free: 24.64 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001607/0.2359, allocations: 0.9574 MB / 445 MB, free: 23.68 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001273/0.2372, allocations: 1.271 MB / 446.2 MB, free: 22.46 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001124/0.2373, allocations: 275.7 kB / 446.5 MB, free: 22.16 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002005/0.2375, allocations: 220.3 kB / 446.7 MB, free: 21.95 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001998/0.2395, allocations: 2.053 MB / 448.8 MB, free: 19.79 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.273e-05/0.2395, allocations: 3.938 kB / 448.8 MB, free: 19.79 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001321/0.2396, allocations: 94.75 kB / 448.9 MB, free: 19.7 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.467e-05/0.2397, allocations: 52 kB / 448.9 MB, free: 19.65 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002159/0.2418, allocations: 2.059 MB / 451 MB, free: 17.6 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.007475/0.2493, allocations: 6.983 MB / 458 MB, free: 10.69 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001345/0.2506, allocations: 1.238 MB / 459.2 MB, free: 9.473 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006094/0.2513, allocations: 0.5615 MB / 459.8 MB, free: 8.906 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005051/0.2563, allocations: 4.164 MB / 463.9 MB, free: 4.801 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.886e-05/0.2563, allocations: 53.39 kB / 464 MB, free: 4.738 MB / 330.7 MB Notification: Performance of pre-optimization done (n=128): time 2.986e-06/0.2563, allocations: 0 / 464 MB, free: 4.738 MB / 330.7 MB Notification: Performance of matching and sorting (n=181): time 0.01482/0.2712, allocations: 6.817 MB / 470.8 MB, free: 14 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.436e-05/0.2712, allocations: 99.11 kB / 470.9 MB, free: 13.89 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001057/0.2723, allocations: 1.165 MB / 472.1 MB, free: 12.71 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.747e-05/0.2724, allocations: 56.33 kB / 472.1 MB, free: 12.65 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005935/0.273, allocations: 1.14 MB / 473.3 MB, free: 11.51 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004789/0.2734, allocations: 0.6539 MB / 473.9 MB, free: 10.86 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004944/0.2739, allocations: 487.4 kB / 474.4 MB, free: 10.38 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.274, allocations: 479.4 kB / 474.9 MB, free: 9.91 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007451/0.2748, allocations: 464.7 kB / 475.3 MB, free: 9.453 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001287/0.2761, allocations: 1.629 MB / 476.9 MB, free: 7.309 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002244/0.2783, allocations: 2.307 MB / 479.2 MB, free: 4.637 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.699e-05/0.2783, allocations: 8 kB / 479.3 MB, free: 4.629 MB / 346.7 MB Notification: Performance of matching and sorting (n=324) (initialization): time 0.003896/0.2822, allocations: 2.404 MB / 481.7 MB, free: 2.254 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.234e-05/0.2823, allocations: 16 kB / 481.7 MB, free: 2.238 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.197e-05/0.2823, allocations: 28 kB / 481.7 MB, free: 2.211 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002178/0.2845, allocations: 0.5924 MB / 482.3 MB, free: 1.621 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002015/0.2865, allocations: 0.7997 MB / 483.1 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006318/0.2928, allocations: 9.811 MB / 492.9 MB, free: 6.496 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001112/0.2939, allocations: 98.55 kB / 493 MB, free: 6.402 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001688/0.2941, allocations: 144 kB / 493.1 MB, free: 6.262 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.0005538/0.2946, allocations: 322.3 kB / 493.5 MB, free: 5.938 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003177/0.2949, allocations: 222.9 kB / 493.7 MB, free: 5.719 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003403/0.2983, allocations: 2.076 MB / 495.8 MB, free: 3.695 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.479e-05/0.2984, allocations: 20 kB / 495.8 MB, free: 3.676 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.2984, allocations: 0 / 495.8 MB, free: 3.676 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.475e-05/0.2984, allocations: 14.66 kB / 495.8 MB, free: 3.664 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005709/0.3041, allocations: 3.9 MB / 499.7 MB, free: 15.54 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.083e-05/0.3041, allocations: 14.66 kB / 499.7 MB, free: 15.53 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008522/0.305, allocations: 419.4 kB / 0.4884 GB, free: 15.12 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002075/0.307, allocations: 0.633 MB / 0.489 GB, free: 14.49 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001385/0.3072, allocations: 86.64 kB / 0.4891 GB, free: 14.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005201/0.3124, allocations: 9.498 MB / 0.4984 GB, free: 4.371 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.097e-05/0.3124, allocations: 23.88 kB / 0.4984 GB, free: 4.348 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00417/0.3166, allocations: 2.91 MB / 0.5012 GB, free: 1.207 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003142/0.3169, allocations: 166.8 kB / 0.5014 GB, free: 1.043 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001679/0.317, allocations: 55.98 kB / 0.5014 GB, free: 0.9883 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005125/0.3175, allocations: 44 kB / 0.5015 GB, free: 0.9453 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002423/0.3178, allocations: 199.4 kB / 0.5017 GB, free: 0.7539 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001013/0.3179, allocations: 99.91 kB / 0.5018 GB, free: 0.6562 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005977/0.3185, allocations: 0.6399 MB / 0.5024 GB, free: 12 kB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3185, allocations: 0 / 0.5024 GB, free: 12 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.003161/0.3216, allocations: 1.216 MB / 0.5036 GB, free: 14.79 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.002423/0.3241, allocations: 1.386 MB / 0.5049 GB, free: 13.62 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003807/0.3279, allocations: 2.021 MB / 0.5069 GB, free: 11.59 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.419e-05/0.3279, allocations: 4 kB / 0.5069 GB, free: 11.58 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001333/0.3292, allocations: 1.434 MB / 0.5083 GB, free: 10.09 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001374/0.3306, allocations: 375.8 kB / 0.5087 GB, free: 9.75 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.005084/0.3357, allocations: 3.809 MB / 0.5124 GB, free: 5.754 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003392/0.336, allocations: 369.8 kB / 0.5127 GB, free: 5.367 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001547/0.3376, allocations: 448.3 kB / 0.5132 GB, free: 5.066 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005166/0.3381, allocations: 290.5 kB / 0.5134 GB, free: 4.789 MB / 394.7 MB Notification: Performance of SimCode: time 3.216e-06/0.3381, allocations: 0 / 0.5134 GB, free: 4.789 MB / 394.7 MB Notification: Performance of Templates: time 0.04506/0.3831, allocations: 41.76 MB / 0.5542 GB, free: 11.74 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.434546608943492]