Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.H2O_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.0009285/0.0009285, 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.00107/0.00107, allocations: 173 kB / 23.5 MB, free: 1.055 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.018/1.018, allocations: 177.1 MB / 203.8 MB, free: 5.285 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.08218/0.08218, allocations: 17.45 MB / 277.7 MB, free: 11.48 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.H2O_ElectrochemicalCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell") translateModel(Chemical.Obsolete.Examples.H2O_ElectrochemicalCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 353.6 MB, free: 11.22 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.255e-05/3.422e-05, allocations: 2.312 kB / 353.6 MB, free: 11.21 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.H2O_ElectrochemicalCell): time 0.04117/0.0412, allocations: 31.88 MB / 385.4 MB, free: 11.43 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01874/0.05994, allocations: 19.43 MB / 404.9 MB, free: 7.938 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001689/0.06163, allocations: 27.75 kB / 404.9 MB, free: 7.91 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001295/0.06293, allocations: 468.2 kB / 405.3 MB, free: 7.449 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003232/0.06616, allocations: 1.252 MB / 406.6 MB, free: 6.188 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006505/0.07267, allocations: 2.97 MB / 409.6 MB, free: 3.199 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002423/0.07509, allocations: 2.171 MB / 411.7 MB, free: 1.016 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001363/0.07645, allocations: 1.116 MB / 412.9 MB, free: 15.85 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001077/0.07753, allocations: 1.365 MB / 414.2 MB, free: 14.48 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008778/0.07841, allocations: 0.8689 MB / 415.1 MB, free: 13.61 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001839/0.07859, allocations: 200 kB / 415.3 MB, free: 13.42 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004361/0.08295, allocations: 1.977 MB / 417.3 MB, free: 11.44 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000324/0.08327, allocations: 482.4 kB / 417.7 MB, free: 10.96 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007855/0.08406, allocations: 0.7133 MB / 418.4 MB, free: 10.25 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007573/0.09163, allocations: 3.801 MB / 422.2 MB, free: 6.434 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.09164, allocations: 0 / 422.2 MB, free: 6.434 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.09164, allocations: 0 / 422.2 MB, free: 6.434 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.981e-05/0.09169, allocations: 0 / 422.2 MB, free: 6.434 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 422 * Number of variables: 422 Notification: Performance of Generate backend data structure: time 0.003797/0.09549, allocations: 2.445 MB / 424.7 MB, free: 3.938 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/0.09553, allocations: 12.03 kB / 424.7 MB, free: 3.926 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00181/0.09734, allocations: 0.7666 MB / 425.5 MB, free: 3.156 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001599/0.09894, allocations: 1.036 MB / 426.5 MB, free: 2.09 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001707/0.09911, allocations: 234.7 kB / 426.7 MB, free: 1.836 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002485/0.09936, allocations: 164.4 kB / 426.9 MB, free: 1.676 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002508/0.1019, allocations: 1.588 MB / 428.5 MB, free: 16 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.502e-05/0.1019, allocations: 7.938 kB / 428.5 MB, free: 15.99 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000148/0.1021, allocations: 68 kB / 428.6 MB, free: 15.92 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.704e-05/0.1021, allocations: 43.94 kB / 428.6 MB, free: 15.88 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002833/0.1049, allocations: 1.47 MB / 430.1 MB, free: 14.4 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.00813/0.1131, allocations: 6.147 MB / 436.2 MB, free: 8.094 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001616/0.1147, allocations: 0.7893 MB / 437 MB, free: 7.27 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005439/0.1152, allocations: 338.5 kB / 437.3 MB, free: 6.918 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005081/0.1203, allocations: 2.912 MB / 440.2 MB, free: 3.977 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.034e-05/0.1203, allocations: 53.97 kB / 440.3 MB, free: 3.914 MB / 410.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003886/0.1207, allocations: 95.19 kB / 440.4 MB, free: 3.82 MB / 410.7 MB Notification: Performance of pre-optimization done (n=71): time 3.306e-06/0.1207, allocations: 0 / 440.4 MB, free: 3.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=95): time 0.1698/0.2905, allocations: 3.97 MB / 444.4 MB, free: 119.7 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.252e-05/0.2905, allocations: 113.6 kB / 444.5 MB, free: 119.6 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00103/0.2916, allocations: 1.124 MB / 445.6 MB, free: 119.4 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001434/0.2917, allocations: 41.92 kB / 445.6 MB, free: 119.4 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003951/0.2921, allocations: 0.9879 MB / 446.6 MB, free: 119.1 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001929/0.2923, allocations: 354.2 kB / 447 MB, free: 118.9 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003253/0.2926, allocations: 362.7 kB / 447.3 MB, free: 118.9 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.498e-05/0.2927, allocations: 0.5349 MB / 447.9 MB, free: 118.4 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004666/0.2932, allocations: 286.3 kB / 448.1 MB, free: 118.4 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007131/0.2939, allocations: 1.296 MB / 449.4 MB, free: 117.1 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001341/0.2952, allocations: 1.715 MB / 451.2 MB, free: 115.6 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.666e-05/0.2953, allocations: 9.844 kB / 451.2 MB, free: 115.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.002744/0.298, allocations: 1.753 MB / 452.9 MB, free: 115 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.016e-05/0.298, allocations: 18.78 kB / 452.9 MB, free: 115 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.608e-05/0.2981, allocations: 22.84 kB / 453 MB, free: 115 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001721/0.2998, allocations: 484.9 kB / 453.4 MB, free: 114.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00132/0.3011, allocations: 0.5645 MB / 454 MB, free: 114.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004244/0.3054, allocations: 9.729 MB / 463.7 MB, free: 105.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007959/0.3061, allocations: 83.23 kB / 463.8 MB, free: 105.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001027/0.3063, allocations: 107.1 kB / 463.9 MB, free: 105.4 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 108 * 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 (219): * Single equations (assignments): 213 * 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,1), (1,1), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0003678/0.3066, allocations: 277.9 kB / 464.2 MB, free: 105.1 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002022/0.3068, allocations: 155.5 kB / 464.3 MB, free: 105 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002186/0.309, allocations: 1.244 MB / 465.6 MB, free: 104.7 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.748e-06/0.309, allocations: 16.42 kB / 465.6 MB, free: 104.7 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.309, allocations: 0 / 465.6 MB, free: 104.7 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.338e-06/0.309, allocations: 9.25 kB / 465.6 MB, free: 104.7 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003384/0.3124, allocations: 2.502 MB / 468.1 MB, free: 103.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.935e-06/0.3124, allocations: 8.719 kB / 468.1 MB, free: 103.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004411/0.3129, allocations: 216.3 kB / 468.3 MB, free: 103.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001754/0.3146, allocations: 0.5019 MB / 468.8 MB, free: 103.2 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.715e-05/0.3147, allocations: 46.7 kB / 468.9 MB, free: 103.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003595/0.3183, allocations: 9.451 MB / 478.3 MB, free: 93.96 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.3183, allocations: 13.28 kB / 478.3 MB, free: 93.96 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002391/0.3207, allocations: 1.944 MB / 480.3 MB, free: 92.8 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001825/0.3209, allocations: 118 kB / 480.4 MB, free: 92.73 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001097/0.321, allocations: 32.16 kB / 480.4 MB, free: 92.71 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003476/0.3213, allocations: 24.94 kB / 480.4 MB, free: 92.7 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001633/0.3215, allocations: 120.7 kB / 480.6 MB, free: 92.67 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.977e-05/0.3215, allocations: 50.22 kB / 480.6 MB, free: 92.66 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005362/0.3221, allocations: 0.652 MB / 481.3 MB, free: 92.43 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.3221, allocations: 0 / 481.3 MB, free: 92.43 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001966/0.324, allocations: 0.8222 MB / 482.1 MB, free: 92.36 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 5 (cathode.temperature,anode.temperature,solution1.temperature,H.logn,H2O.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 (101): * Single equations (assignments): 95 * 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,1), (1,1), (1,3), (1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001256/0.3253, allocations: 0.9211 MB / 483 MB, free: 92.18 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001868/0.3272, allocations: 1.429 MB / 484.4 MB, free: 91.59 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.521e-06/0.3272, allocations: 3.094 kB / 484.4 MB, free: 91.59 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007059/0.3279, allocations: 1.105 MB / 485.5 MB, free: 90.79 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008606/0.3287, allocations: 257 kB / 485.8 MB, free: 90.71 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.003421/0.3321, allocations: 2.704 MB / 488.5 MB, free: 89.09 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002077/0.3324, allocations: 276.3 kB / 488.8 MB, free: 89 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006595/0.333, allocations: 304.8 kB / 489.1 MB, free: 88.99 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002463/0.3333, allocations: 175.2 kB / 489.2 MB, free: 88.98 MB / 410.7 MB Notification: Performance of SimCode: time 1.553e-06/0.3333, allocations: 0 / 489.2 MB, free: 88.98 MB / 410.7 MB Notification: Performance of Templates: time 0.02944/0.3627, allocations: 28.25 MB / 0.5054 GB, free: 76.1 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.sim & ./Chemical_master_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.909852458862588]