Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction.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.001879/0.001879, allocations: 84.73 kB / 19.44 MB, free: 360 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.001629/0.001629, allocations: 161.7 kB / 22.76 MB, free: 1.684 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.491/1.491, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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.1482/0.1482, allocations: 17.45 MB / 277 MB, free: 11.6 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.ClimateChange.ElectrochemicalAcetateProduction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction") translateModel(Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 352.8 MB, free: 10.2 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.784e-05/2.941e-05, allocations: 6.312 kB / 352.8 MB, free: 10.19 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.ClimateChange.ElectrochemicalAcetateProduction): time 0.04663/0.04666, allocations: 30.31 MB / 383.1 MB, free: 12.01 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.03584/0.0825, allocations: 21.98 MB / 405.1 MB, free: 5.949 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00162/0.08412, allocations: 31.75 kB / 405.1 MB, free: 5.918 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002444/0.08656, allocations: 0.5579 MB / 405.7 MB, free: 5.355 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006957/0.09352, allocations: 1.908 MB / 407.6 MB, free: 3.434 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1618/0.2553, allocations: 3.578 MB / 411.2 MB, free: 34.38 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.004149/0.2595, allocations: 2.798 MB / 414 MB, free: 34.11 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002124/0.2616, allocations: 1.464 MB / 415.4 MB, free: 33.96 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004486/0.2661, allocations: 1.819 MB / 417.3 MB, free: 33.86 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003233/0.2693, allocations: 1.126 MB / 418.4 MB, free: 33.78 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000898/0.2702, allocations: 263 kB / 418.6 MB, free: 33.78 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008091/0.2783, allocations: 2.586 MB / 421.2 MB, free: 33.68 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001107/0.2794, allocations: 0.6174 MB / 421.9 MB, free: 33.6 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001685/0.2811, allocations: 0.923 MB / 422.8 MB, free: 33.52 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01076/0.2919, allocations: 6.013 MB / 428.8 MB, free: 31.98 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.724e-06/0.2919, allocations: 5.281 kB / 428.8 MB, free: 31.98 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.2919, allocations: 0 / 428.8 MB, free: 31.98 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.217e-05/0.2919, allocations: 0 / 428.8 MB, free: 31.98 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: 548 * Number of variables: 548 Notification: Performance of Generate backend data structure: time 0.005272/0.2972, allocations: 2.933 MB / 431.7 MB, free: 30.31 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.2973, allocations: 11.72 kB / 431.7 MB, free: 30.31 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002443/0.2997, allocations: 0.8876 MB / 432.6 MB, free: 29.91 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00215/0.3018, allocations: 1.244 MB / 433.9 MB, free: 29.31 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00018/0.302, allocations: 274.5 kB / 434.1 MB, free: 29.11 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003603/0.3024, allocations: 219 kB / 434.4 MB, free: 29.03 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003989/0.3064, allocations: 2.734 MB / 437.1 MB, free: 27.49 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.314e-05/0.3064, allocations: 3.406 kB / 437.1 MB, free: 27.49 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002203/0.3066, allocations: 89.22 kB / 437.2 MB, free: 27.42 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.118e-05/0.3067, allocations: 55.81 kB / 437.2 MB, free: 27.42 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004274/0.3109, allocations: 3.16 MB / 440.4 MB, free: 24.72 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.01218/0.3231, allocations: 7.828 MB / 448.2 MB, free: 16.97 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002063/0.3252, allocations: 1.451 MB / 449.7 MB, free: 15.52 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001089/0.3263, allocations: 0.8365 MB / 450.5 MB, free: 14.68 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008791/0.3351, allocations: 4.471 MB / 455 MB, free: 10.26 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.207e-05/0.3351, allocations: 51.02 kB / 455 MB, free: 10.2 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001075/0.3362, allocations: 225.5 kB / 455.2 MB, free: 9.984 MB / 330.7 MB Notification: Performance of pre-optimization done (n=113): time 5.901e-06/0.3362, allocations: 2.688 kB / 455.2 MB, free: 9.984 MB / 330.7 MB Notification: Performance of matching and sorting (n=161): time 0.03767/0.3739, allocations: 9.346 MB / 464.6 MB, free: 0.7695 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.768e-05/0.3739, allocations: 122.8 kB / 464.7 MB, free: 0.6289 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001857/0.3758, allocations: 1.307 MB / 466 MB, free: 15.31 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003025/0.3761, allocations: 53.7 kB / 466.1 MB, free: 15.25 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001252/0.3773, allocations: 1.086 MB / 467.2 MB, free: 14.16 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008437/0.3782, allocations: 0.5822 MB / 467.7 MB, free: 13.59 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001052/0.3792, allocations: 468.6 kB / 468.2 MB, free: 13.12 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001692/0.3794, allocations: 301.1 kB / 468.5 MB, free: 12.83 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001868/0.3812, allocations: 0.8546 MB / 469.3 MB, free: 11.97 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002795/0.384, allocations: 1.718 MB / 471.1 MB, free: 9.863 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00512/0.3892, allocations: 2.699 MB / 473.8 MB, free: 6.926 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.924e-05/0.3892, allocations: 8 kB / 473.8 MB, free: 6.918 MB / 346.7 MB Notification: Performance of matching and sorting (n=308) (initialization): time 0.01094/0.4001, allocations: 3.591 MB / 477.4 MB, free: 3.527 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.941e-05/0.4002, allocations: 16 kB / 477.4 MB, free: 3.512 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.936e-05/0.4002, allocations: 32 kB / 477.4 MB, free: 3.48 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007645/0.4079, allocations: 1.306 MB / 478.7 MB, free: 2.203 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002259/0.4101, allocations: 0.5027 MB / 479.2 MB, free: 1.734 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.013/0.4231, allocations: 7.223 MB / 486.4 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00213/0.4253, allocations: 106.5 kB / 486.5 MB, free: 10.15 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005076/0.4258, allocations: 143.9 kB / 486.7 MB, free: 10.01 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 129 * 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 (270): * Single equations (assignments): 265 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,11,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,20), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.001273/0.4271, allocations: 443.6 kB / 487.1 MB, free: 9.605 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007224/0.4278, allocations: 207 kB / 487.3 MB, free: 9.402 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009854/0.4376, allocations: 2.833 MB / 490.2 MB, free: 6.648 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.609e-05/0.4377, allocations: 16 kB / 490.2 MB, free: 6.633 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-05/0.4377, allocations: 7.047 kB / 490.2 MB, free: 6.629 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-05/0.4377, allocations: 11.97 kB / 490.2 MB, free: 6.617 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01344/0.4511, allocations: 4.364 MB / 494.6 MB, free: 2.273 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.061e-05/0.4512, allocations: 0 / 494.6 MB, free: 2.273 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00124/0.4524, allocations: 253.8 kB / 494.8 MB, free: 2.039 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007046/0.4594, allocations: 1.178 MB / 496 MB, free: 0.8867 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002968/0.4597, allocations: 59.95 kB / 496 MB, free: 0.8281 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0105/0.4702, allocations: 6.504 MB / 0.4908 GB, free: 10.04 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/0.4702, allocations: 4 kB / 0.4908 GB, free: 10.04 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01065/0.4809, allocations: 3.714 MB / 0.4944 GB, free: 6.305 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004452/0.4813, allocations: 135 kB / 0.4945 GB, free: 6.172 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003992/0.4817, allocations: 36 kB / 0.4946 GB, free: 6.137 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001221/0.483, allocations: 35.98 kB / 0.4946 GB, free: 6.102 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004438/0.4834, allocations: 156.4 kB / 0.4947 GB, free: 5.953 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002076/0.4836, allocations: 77.64 kB / 0.4948 GB, free: 5.879 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001335/0.485, allocations: 0.8254 MB / 0.4956 GB, free: 5.051 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.485, allocations: 0 / 0.4956 GB, free: 5.051 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00422/0.4892, allocations: 1.107 MB / 0.4967 GB, free: 3.941 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 7 (cathode.temperature,anode.temperature,solution1.temperature,H.logn,H2O.logn,AcAc.logn,CO2.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 (133): * Single equations (assignments): 128 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,9,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,21), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003082/0.4923, allocations: 1.188 MB / 0.4979 GB, free: 2.961 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.006417/0.4987, allocations: 2.586 MB / 0.5004 GB, free: 444 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/0.4987, allocations: 0 / 0.5004 GB, free: 444 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003154/0.5018, allocations: 1.32 MB / 0.5017 GB, free: 15.11 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002332/0.5042, allocations: 318.8 kB / 0.502 GB, free: 14.82 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008305/0.5125, allocations: 3.615 MB / 0.5055 GB, free: 11.23 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001518/0.514, allocations: 0.8186 MB / 0.5063 GB, free: 10.4 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001637/0.5156, allocations: 379.8 kB / 0.5067 GB, free: 10.14 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007078/0.5163, allocations: 231.1 kB / 0.5069 GB, free: 9.922 MB / 394.7 MB Notification: Performance of SimCode: time 1.864e-06/0.5163, allocations: 0 / 0.5069 GB, free: 9.922 MB / 394.7 MB Notification: Performance of Templates: time 0.1214/0.6378, allocations: 41.01 MB / 0.5469 GB, free: 1.688 MB / 426.7 MB " [Timeout remaining time 659] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction.sim & ./Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.849399373983033]