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.002082/0.002082, allocations: 103 kB / 16.45 MB, free: 6.5 MB / 14.72 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.002393/0.002393, allocations: 212.9 kB / 19.43 MB, free: 3.656 MB / 14.72 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.523/1.523, allocations: 230.6 MB / 252.8 MB, free: 8.973 MB / 206.1 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.1334/0.1334, allocations: 23.89 MB / 332.7 MB, free: 12.35 MB / 270.1 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: Chemical requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002064/0.002064, allocations: 67.91 kB / 466.5 MB, free: 9.566 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.291/0.2931, allocations: 59.84 MB / 0.514 GB, free: 9.117 MB / 382.1 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.04145/0.3345, allocations: 30.95 MB / 0.5443 GB, free: 9.98 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03222/0.3668, allocations: 25 MB / 0.5687 GB, free: 2.934 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001716/0.3685, allocations: 35.75 kB / 0.5687 GB, free: 2.898 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001892/0.3704, allocations: 0.6098 MB / 0.5693 GB, free: 2.422 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00553/0.3759, allocations: 1.879 MB / 0.5711 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009379/0.3853, allocations: 3.441 MB / 0.5745 GB, free: 13.22 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004408/0.3897, allocations: 2.703 MB / 0.5771 GB, free: 10.51 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002228/0.3919, allocations: 1.457 MB / 0.5786 GB, free: 9 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001876/0.3938, allocations: 1.278 MB / 0.5798 GB, free: 7.719 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002336/0.3961, allocations: 1.452 MB / 0.5812 GB, free: 6.262 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006397/0.3968, allocations: 260 kB / 0.5815 GB, free: 6.008 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008071/0.4048, allocations: 2.726 MB / 0.5841 GB, free: 3.277 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000786/0.4056, allocations: 0.6037 MB / 0.5847 GB, free: 2.672 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001715/0.4073, allocations: 1.28 MB / 0.586 GB, free: 1.387 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01084/0.4182, allocations: 5.712 MB / 0.5916 GB, free: 11.65 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.4182, allocations: 0 / 0.5916 GB, free: 11.65 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.4182, allocations: 0 / 0.5916 GB, free: 11.65 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.381e-05/0.4183, allocations: 4 kB / 0.5916 GB, free: 11.65 MB / 446.1 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.006227/0.4245, allocations: 3.035 MB / 0.5945 GB, free: 8.543 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.4245, allocations: 8.031 kB / 0.5945 GB, free: 8.535 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00207/0.4266, allocations: 0.5142 MB / 0.595 GB, free: 8.02 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002156/0.4288, allocations: 1.295 MB / 0.5963 GB, free: 6.676 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000215/0.429, allocations: 224 kB / 0.5965 GB, free: 6.441 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000357/0.4293, allocations: 216 kB / 0.5967 GB, free: 6.23 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004422/0.4338, allocations: 2.704 MB / 0.5994 GB, free: 3.414 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.591e-05/0.4338, allocations: 0 / 0.5994 GB, free: 3.414 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000225/0.434, allocations: 92 kB / 0.5994 GB, free: 3.324 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.916e-05/0.4341, allocations: 52 kB / 0.5995 GB, free: 3.273 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005162/0.4392, allocations: 3.172 MB / 0.6026 GB, free: 100 kB / 446.1 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.01468/0.4539, allocations: 9.32 MB / 0.6117 GB, free: 6.422 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002923/0.4568, allocations: 1.762 MB / 0.6134 GB, free: 4.566 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00144/0.4583, allocations: 0.8285 MB / 0.6142 GB, free: 3.727 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0117/0.47, allocations: 7.513 MB / 0.6216 GB, free: 11.46 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.5e-05/0.47, allocations: 51.5 kB / 0.6216 GB, free: 11.41 MB / 478.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00106/0.4711, allocations: 246.6 kB / 0.6218 GB, free: 11.16 MB / 478.1 MB Notification: Performance of pre-optimization done (n=113): time 3.727e-06/0.4711, allocations: 0 / 0.6218 GB, free: 11.16 MB / 478.1 MB Notification: Performance of matching and sorting (n=161): time 0.03714/0.5082, allocations: 9.523 MB / 0.6311 GB, free: 1.531 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.146e-05/0.5083, allocations: 120.1 kB / 0.6313 GB, free: 1.387 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00186/0.5102, allocations: 1.345 MB / 0.6326 GB, free: 24 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001932/0.5104, allocations: 49.7 kB / 0.6326 GB, free: 15.97 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008383/0.5112, allocations: 1.092 MB / 0.6337 GB, free: 14.86 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006292/0.5118, allocations: 0.5849 MB / 0.6343 GB, free: 14.27 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007727/0.5126, allocations: 476.6 kB / 0.6347 GB, free: 13.8 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001388/0.5127, allocations: 309.1 kB / 0.635 GB, free: 13.5 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001578/0.5143, allocations: 0.848 MB / 0.6358 GB, free: 12.64 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002374/0.5167, allocations: 1.709 MB / 0.6375 GB, free: 10.53 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004138/0.5208, allocations: 2.701 MB / 0.6401 GB, free: 7.434 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.748e-05/0.5209, allocations: 8 kB / 0.6401 GB, free: 7.426 MB / 494.1 MB Notification: Performance of matching and sorting (n=308) (initialization): time 0.009141/0.53, allocations: 3.472 MB / 0.6435 GB, free: 3.93 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.306e-05/0.53, allocations: 19.94 kB / 0.6436 GB, free: 3.91 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.697e-05/0.5301, allocations: 28 kB / 0.6436 GB, free: 3.883 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005577/0.5357, allocations: 1.158 MB / 0.6447 GB, free: 2.711 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001945/0.5376, allocations: 0.5109 MB / 0.6452 GB, free: 2.199 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01087/0.5485, allocations: 7.629 MB / 0.6527 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00182/0.5503, allocations: 99.95 kB / 0.6528 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003447/0.5506, allocations: 144 kB / 0.6529 GB, free: 9.891 MB / 0.4981 GB 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.000992/0.5516, allocations: 452.9 kB / 0.6533 GB, free: 9.438 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004522/0.5521, allocations: 162.9 kB / 0.6535 GB, free: 9.277 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008349/0.5604, allocations: 2.838 MB / 0.6563 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.841e-05/0.5604, allocations: 16 kB / 0.6563 GB, free: 6.414 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.317e-05/0.5605, allocations: 4 kB / 0.6563 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.035e-05/0.5605, allocations: 7.969 kB / 0.6563 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01179/0.5723, allocations: 4.856 MB / 0.661 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.154e-05/0.5723, allocations: 0 / 0.661 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001164/0.5734, allocations: 263.7 kB / 0.6613 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005044/0.5785, allocations: 1.042 MB / 0.6623 GB, free: 124 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002186/0.5787, allocations: 67.95 kB / 0.6624 GB, free: 56 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009349/0.5881, allocations: 6.921 MB / 0.6691 GB, free: 8.688 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.371e-06/0.5881, allocations: 7.969 kB / 0.6691 GB, free: 8.68 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00917/0.5972, allocations: 3.654 MB / 0.6727 GB, free: 4.969 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004802/0.5977, allocations: 231.9 kB / 0.6729 GB, free: 4.723 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003496/0.5981, allocations: 32 kB / 0.6729 GB, free: 4.691 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001034/0.5991, allocations: 39.98 kB / 0.673 GB, free: 4.652 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003812/0.5995, allocations: 157 kB / 0.6731 GB, free: 4.496 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000171/0.5996, allocations: 71.95 kB / 0.6732 GB, free: 4.426 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001247/0.6009, allocations: 0.8804 MB / 0.6741 GB, free: 3.543 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6009, allocations: 4 kB / 0.6741 GB, free: 3.539 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003626/0.6045, allocations: 1.111 MB / 0.6752 GB, free: 2.426 MB / 0.5137 GB 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.002368/0.6069, allocations: 1.159 MB / 0.6763 GB, free: 1.258 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00561/0.6125, allocations: 2.651 MB / 0.6789 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.6e-06/0.6125, allocations: 0 / 0.6789 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002677/0.6152, allocations: 1.391 MB / 0.6802 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001626/0.6168, allocations: 273.3 kB / 0.6805 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006557/0.6234, allocations: 3.702 MB / 0.6841 GB, free: 9.059 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001046/0.6244, allocations: 1.399 MB / 0.6855 GB, free: 7.629 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001275/0.6257, allocations: 395.7 kB / 0.6858 GB, free: 7.254 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005465/0.6262, allocations: 235.3 kB / 0.6861 GB, free: 7.023 MB / 0.5294 GB Notification: Performance of SimCode: time 7.92e-07/0.6262, allocations: 0 / 0.6861 GB, free: 7.023 MB / 0.5294 GB Notification: Performance of Templates: time 0.2511/0.8773, allocations: 42.54 MB / 0.7276 GB, free: 175.5 MB / 0.5606 GB " [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.377093468327075] Failed to read output from testmodel.py, exit status != 0: 0.8854126618243754 0.8944681130000001 0.47399158900000005 Calling exit ...