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.001204/0.001204, allocations: 92.22 kB / 19.65 MB, free: 276 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.001251/0.001251, allocations: 169 kB / 23.02 MB, free: 1.551 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.9967/0.9967, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.09772/0.09772, allocations: 17.46 MB / 277.4 MB, free: 11.56 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.122e-06/1.122e-06, allocations: 0 / 353.5 MB, free: 9.859 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.295e-05/2.408e-05, allocations: 14.12 kB / 353.6 MB, free: 9.844 MB / 282.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.02973/0.02976, allocations: 33.77 MB / 387.3 MB, free: 8.184 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.1621/0.1919, allocations: 26.24 MB / 413.6 MB, free: 32.78 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001426/0.1933, allocations: 35.12 kB / 413.6 MB, free: 32.78 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001299/0.1946, allocations: 0.5612 MB / 414.2 MB, free: 32.78 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005498/0.2001, allocations: 2.204 MB / 416.4 MB, free: 32.44 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007857/0.208, allocations: 3.643 MB / 420 MB, free: 31.74 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.004282/0.2122, allocations: 2.938 MB / 422.9 MB, free: 30.99 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001813/0.2141, allocations: 1.402 MB / 424.3 MB, free: 30.86 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003003/0.2171, allocations: 1.905 MB / 426.3 MB, free: 30.61 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001778/0.2188, allocations: 1.238 MB / 427.5 MB, free: 30.36 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004781/0.2193, allocations: 259.2 kB / 427.7 MB, free: 30.36 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006736/0.2261, allocations: 2.728 MB / 430.5 MB, free: 29.93 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009204/0.227, allocations: 0.6282 MB / 431.1 MB, free: 29.57 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001509/0.2285, allocations: 0.9454 MB / 432 MB, free: 29.22 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0128/0.2413, allocations: 5.223 MB / 437.3 MB, free: 26.72 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.223e-06/0.2413, allocations: 0 / 437.3 MB, free: 26.72 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2413, allocations: 0 / 437.3 MB, free: 26.72 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.721e-05/0.2413, allocations: 3.25 kB / 437.3 MB, free: 26.72 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.004035/0.2454, allocations: 3.152 MB / 440.4 MB, free: 24.57 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/0.2454, allocations: 10.03 kB / 440.4 MB, free: 24.57 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001701/0.2471, allocations: 0.9544 MB / 441.4 MB, free: 24.05 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001495/0.2486, allocations: 1.263 MB / 442.7 MB, free: 23.21 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001509/0.2488, allocations: 278.3 kB / 442.9 MB, free: 23.01 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002417/0.249, allocations: 225.3 kB / 443.1 MB, free: 22.93 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002168/0.2512, allocations: 2.056 MB / 445.2 MB, free: 21.36 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.222e-05/0.2512, allocations: 3.562 kB / 445.2 MB, free: 21.36 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001216/0.2513, allocations: 87.94 kB / 445.3 MB, free: 21.27 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.676e-05/0.2514, allocations: 58.69 kB / 445.3 MB, free: 21.22 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002161/0.2535, allocations: 2.056 MB / 447.4 MB, free: 19.17 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.006992/0.2605, allocations: 6.983 MB / 454.4 MB, free: 12.27 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00129/0.2618, allocations: 1.226 MB / 455.6 MB, free: 11.05 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000586/0.2624, allocations: 0.5635 MB / 456.2 MB, free: 10.48 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005054/0.2674, allocations: 4.17 MB / 460.3 MB, free: 6.383 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.886e-05/0.2675, allocations: 46.7 kB / 460.4 MB, free: 6.324 MB / 330.7 MB Notification: Performance of pre-optimization done (n=128): time 2.976e-06/0.2675, allocations: 0 / 460.4 MB, free: 6.324 MB / 330.7 MB Notification: Performance of matching and sorting (n=181): time 0.01387/0.2814, allocations: 6.811 MB / 467.2 MB, free: 15.59 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.592e-05/0.2814, allocations: 99.11 kB / 467.3 MB, free: 15.48 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001061/0.2825, allocations: 1.161 MB / 468.5 MB, free: 14.3 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001039/0.2826, allocations: 57.7 kB / 468.5 MB, free: 14.24 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008702/0.2834, allocations: 1.135 MB / 469.6 MB, free: 13.1 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004191/0.2839, allocations: 0.6648 MB / 470.3 MB, free: 12.45 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004558/0.2843, allocations: 487.4 kB / 470.8 MB, free: 11.96 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001178/0.2844, allocations: 480.7 kB / 471.3 MB, free: 11.49 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007015/0.2851, allocations: 456.8 kB / 471.7 MB, free: 11.04 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001213/0.2864, allocations: 1.635 MB / 473.3 MB, free: 8.895 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002218/0.2886, allocations: 2.308 MB / 475.6 MB, free: 6.219 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.978e-05/0.2886, allocations: 8 kB / 475.7 MB, free: 6.211 MB / 346.7 MB Notification: Performance of matching and sorting (n=324) (initialization): time 0.004148/0.2927, allocations: 2.398 MB / 478.1 MB, free: 3.992 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.165e-05/0.2928, allocations: 16 kB / 478.1 MB, free: 3.977 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.293e-05/0.2928, allocations: 30.11 kB / 478.1 MB, free: 3.949 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002217/0.295, allocations: 0.5969 MB / 478.7 MB, free: 3.355 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00203/0.2971, allocations: 0.7991 MB / 479.5 MB, free: 2.605 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006502/0.3036, allocations: 9.811 MB / 489.3 MB, free: 8.324 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001664/0.3052, allocations: 95.89 kB / 489.4 MB, free: 8.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002665/0.3055, allocations: 142.6 kB / 489.5 MB, free: 8.094 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.0007133/0.3062, allocations: 330.2 kB / 489.9 MB, free: 7.777 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003725/0.3066, allocations: 218.9 kB / 490.1 MB, free: 7.562 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003708/0.3103, allocations: 2.074 MB / 492.1 MB, free: 5.543 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.381e-05/0.3103, allocations: 22.69 kB / 492.2 MB, free: 5.523 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.3103, allocations: 0 / 492.2 MB, free: 5.523 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.275e-05/0.3103, allocations: 7.969 kB / 492.2 MB, free: 5.516 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005546/0.3159, allocations: 3.914 MB / 496.1 MB, free: 1.387 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.201e-05/0.3159, allocations: 12 kB / 496.1 MB, free: 1.375 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008713/0.3167, allocations: 419.4 kB / 496.5 MB, free: 0.9648 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002102/0.3188, allocations: 0.6236 MB / 497.1 MB, free: 344 kB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001403/0.319, allocations: 79.95 kB / 497.2 MB, free: 264 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005687/0.3247, allocations: 9.509 MB / 0.4948 GB, free: 6.219 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.768e-06/0.3247, allocations: 15.94 kB / 0.4949 GB, free: 6.203 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003788/0.3285, allocations: 2.913 MB / 0.4977 GB, free: 3.059 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003407/0.3288, allocations: 166.8 kB / 0.4979 GB, free: 2.895 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001365/0.3289, allocations: 58.67 kB / 0.4979 GB, free: 2.84 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004964/0.3294, allocations: 48 kB / 0.498 GB, free: 2.793 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002246/0.3297, allocations: 200.7 kB / 0.4982 GB, free: 2.598 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001025/0.3298, allocations: 91.97 kB / 0.4982 GB, free: 2.508 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006259/0.3304, allocations: 0.6476 MB / 0.4989 GB, free: 1.855 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3304, allocations: 3.938 kB / 0.4989 GB, free: 1.852 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002913/0.3333, allocations: 1.153 MB / 0.5 GB, free: 0.6953 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.002426/0.3357, allocations: 1.271 MB / 0.5013 GB, free: 15.61 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003083/0.3388, allocations: 2.028 MB / 0.5032 GB, free: 13.57 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.302e-05/0.3388, allocations: 0 / 0.5032 GB, free: 13.57 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001262/0.3401, allocations: 1.439 MB / 0.5046 GB, free: 12.07 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001314/0.3414, allocations: 368.7 kB / 0.505 GB, free: 11.74 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.00521/0.3466, allocations: 3.818 MB / 0.5087 GB, free: 7.746 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003454/0.347, allocations: 369.8 kB / 0.5091 GB, free: 7.359 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001099/0.3481, allocations: 445.7 kB / 0.5095 GB, free: 7.055 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004415/0.3485, allocations: 288.8 kB / 0.5098 GB, free: 6.777 MB / 394.7 MB Notification: Performance of SimCode: time 1.643e-06/0.3485, allocations: 0 / 0.5098 GB, free: 6.777 MB / 394.7 MB Notification: Performance of Templates: time 0.04491/0.3934, allocations: 40.28 MB / 0.5491 GB, free: 15.25 MB / 442.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.342927714809775]