Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.001618/0.001618, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001996/0.001996, allocations: 210.1 kB / 22.99 MB, free: 4.957 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.458/1.458, allocations: 230.6 MB / 256.8 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] 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.1424/0.1424, allocations: 23.87 MB / 337.1 MB, free: 11.05 MB / 270.1 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.ClimateChange.ElectrochemicalAcetateProduction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction") translateModel(Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_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.002135/0.002135, allocations: 63.89 kB / 472.4 MB, free: 7.008 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2976/0.2998, allocations: 59.87 MB / 0.5198 GB, free: 9.738 MB / 382.1 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.ClimateChange.ElectrochemicalAcetateProduction): time 0.07607/0.3758, allocations: 29.68 MB / 0.5488 GB, free: 10.24 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03329/0.4091, allocations: 21.98 MB / 0.5702 GB, free: 6.199 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001774/0.4109, allocations: 31.75 kB / 0.5702 GB, free: 6.168 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001874/0.4128, allocations: 0.5504 MB / 0.5708 GB, free: 5.613 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006172/0.4189, allocations: 1.851 MB / 0.5726 GB, free: 3.75 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01011/0.429, allocations: 3.48 MB / 0.576 GB, free: 256 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004183/0.4332, allocations: 2.699 MB / 0.5786 GB, free: 13.54 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002047/0.4353, allocations: 1.434 MB / 0.58 GB, free: 12.05 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001946/0.4372, allocations: 1.286 MB / 0.5813 GB, free: 10.77 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002322/0.4395, allocations: 1.448 MB / 0.5827 GB, free: 9.312 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005781/0.4401, allocations: 260 kB / 0.5829 GB, free: 9.059 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006824/0.4469, allocations: 2.633 MB / 0.5855 GB, free: 6.422 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009347/0.4479, allocations: 0.6076 MB / 0.5861 GB, free: 5.812 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001553/0.4494, allocations: 1.07 MB / 0.5872 GB, free: 4.738 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01153/0.461, allocations: 5.708 MB / 0.5927 GB, free: 15.01 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.461, allocations: 0 / 0.5927 GB, free: 15.01 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.461, allocations: 0 / 0.5927 GB, free: 15.01 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.16e-05/0.461, allocations: 4 kB / 0.5927 GB, free: 15 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.006941/0.468, allocations: 2.952 MB / 0.5956 GB, free: 12 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.468, allocations: 8.031 kB / 0.5956 GB, free: 11.99 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002404/0.4704, allocations: 0.5142 MB / 0.5961 GB, free: 11.48 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00291/0.4733, allocations: 1.223 MB / 0.5973 GB, free: 10.21 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002949/0.4736, allocations: 275.4 kB / 0.5976 GB, free: 9.918 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005969/0.4742, allocations: 219.9 kB / 0.5978 GB, free: 9.703 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005785/0.48, allocations: 2.733 MB / 0.6005 GB, free: 6.852 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.24e-05/0.4801, allocations: 7.938 kB / 0.6005 GB, free: 6.844 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002409/0.4803, allocations: 84 kB / 0.6005 GB, free: 6.762 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.954e-05/0.4804, allocations: 60 kB / 0.6006 GB, free: 6.703 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00595/0.4863, allocations: 3.16 MB / 0.6037 GB, free: 3.539 MB / 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.01693/0.5032, allocations: 7.733 MB / 0.6112 GB, free: 11.63 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002865/0.5061, allocations: 1.459 MB / 0.6127 GB, free: 10.15 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001522/0.5076, allocations: 0.8263 MB / 0.6135 GB, free: 9.316 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01091/0.5185, allocations: 4.35 MB / 0.6177 GB, free: 4.934 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.064e-05/0.5186, allocations: 43.56 kB / 0.6178 GB, free: 4.883 MB / 462.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001153/0.5197, allocations: 222.8 kB / 0.618 GB, free: 4.664 MB / 462.1 MB Notification: Performance of pre-optimization done (n=113): time 4.348e-06/0.5197, allocations: 4 kB / 0.618 GB, free: 4.66 MB / 462.1 MB Notification: Performance of matching and sorting (n=161): time 0.04234/0.5621, allocations: 9.314 MB / 0.6271 GB, free: 11.29 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.768e-05/0.5622, allocations: 120.1 kB / 0.6272 GB, free: 11.15 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001898/0.5641, allocations: 1.316 MB / 0.6285 GB, free: 9.82 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003502/0.5644, allocations: 49.7 kB / 0.6285 GB, free: 9.766 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009107/0.5653, allocations: 1.092 MB / 0.6296 GB, free: 8.66 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008064/0.5661, allocations: 0.5889 MB / 0.6302 GB, free: 8.066 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008151/0.567, allocations: 472.6 kB / 0.6306 GB, free: 7.598 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.5671, allocations: 309 kB / 0.6309 GB, free: 7.293 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001604/0.5687, allocations: 0.8519 MB / 0.6317 GB, free: 6.438 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002557/0.5712, allocations: 1.716 MB / 0.6334 GB, free: 4.316 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004431/0.5757, allocations: 2.709 MB / 0.6361 GB, free: 1.207 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.779e-05/0.5757, allocations: 8 kB / 0.6361 GB, free: 1.199 MB / 478.1 MB Notification: Performance of matching and sorting (n=308) (initialization): time 0.01043/0.5861, allocations: 3.472 MB / 0.6395 GB, free: 13.7 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.732e-05/0.5862, allocations: 18.66 kB / 0.6395 GB, free: 13.69 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-05/0.5862, allocations: 28 kB / 0.6395 GB, free: 13.66 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006249/0.5925, allocations: 1.166 MB / 0.6406 GB, free: 12.48 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002082/0.5946, allocations: 0.507 MB / 0.6411 GB, free: 11.97 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01153/0.6061, allocations: 7.184 MB / 0.6482 GB, free: 4.457 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002014/0.6081, allocations: 111.9 kB / 0.6483 GB, free: 4.348 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004002/0.6085, allocations: 144.1 kB / 0.6484 GB, free: 4.207 MB / 494.1 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.001057/0.6096, allocations: 460.8 kB / 0.6488 GB, free: 3.746 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005063/0.6101, allocations: 158.9 kB / 0.649 GB, free: 3.59 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009177/0.6192, allocations: 2.825 MB / 0.6517 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.813e-05/0.6193, allocations: 19.94 kB / 0.6518 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.6193, allocations: 4 kB / 0.6518 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.661e-05/0.6193, allocations: 11.97 kB / 0.6518 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01333/0.6326, allocations: 4.355 MB / 0.656 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.952e-05/0.6327, allocations: 4 kB / 0.656 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001366/0.634, allocations: 259.9 kB / 0.6563 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005742/0.6398, allocations: 1.022 MB / 0.6573 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003028/0.6401, allocations: 67.95 kB / 0.6573 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009715/0.6498, allocations: 6.495 MB / 0.6637 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/0.6498, allocations: 4.031 kB / 0.6637 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009946/0.6597, allocations: 3.654 MB / 0.6673 GB, free: 396 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004671/0.6602, allocations: 143 kB / 0.6674 GB, free: 252 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003614/0.6606, allocations: 31.94 kB / 0.6674 GB, free: 220 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001206/0.6618, allocations: 47.98 kB / 0.6675 GB, free: 172 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003914/0.6622, allocations: 157 kB / 0.6676 GB, free: 16 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002267/0.6624, allocations: 68.05 kB / 0.6677 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001165/0.6636, allocations: 0.8228 MB / 0.6685 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.6636, allocations: 0 / 0.6685 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003617/0.6672, allocations: 1.114 MB / 0.6696 GB, free: 14 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.002457/0.6696, allocations: 1.157 MB / 0.6707 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005847/0.6755, allocations: 2.575 MB / 0.6732 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.613e-06/0.6755, allocations: 0 / 0.6732 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002929/0.6784, allocations: 1.315 MB / 0.6745 GB, free: 8.859 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001716/0.6801, allocations: 265.5 kB / 0.6748 GB, free: 8.598 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007228/0.6874, allocations: 3.689 MB / 0.6784 GB, free: 4.848 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001014/0.6884, allocations: 0.8305 MB / 0.6792 GB, free: 3.98 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001425/0.6898, allocations: 377.1 kB / 0.6795 GB, free: 3.621 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006032/0.6904, allocations: 227.3 kB / 0.6798 GB, free: 3.398 MB / 0.5137 GB Notification: Performance of SimCode: time 1.312e-06/0.6904, allocations: 0 / 0.6798 GB, free: 3.398 MB / 0.5137 GB Notification: Performance of Templates: time 0.07012/0.7605, allocations: 44.18 MB / 0.7229 GB, free: 7.465 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction.sim & ./Chemical_Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.932124963001115] Failed to read output from testmodel.py, exit status != 0: 0.7708801609987859 0.959625176 0.495518686 Calling exit ...