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.001283/0.001283, allocations: 77.86 kB / 19.76 MB, free: 2.031 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.00136/0.00136, allocations: 163.8 kB / 23.02 MB, free: 4.945 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.331/1.331, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.1 MB " [Timeout remaining time 179] 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.1221/0.1221, allocations: 17.36 MB / 277.1 MB, free: 15.26 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.002089/0.002089, allocations: 70.86 kB / 412.4 MB, free: 5.707 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09562/0.09771, allocations: 59.85 MB / 472.3 MB, free: 9.738 MB / 446.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.2517/0.3494, allocations: 29.82 MB / 0.4904 GB, free: 38.22 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02068/0.3701, allocations: 21.97 MB / 0.5118 GB, free: 26.59 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001178/0.3713, allocations: 32.59 kB / 0.5118 GB, free: 26.57 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001317/0.3726, allocations: 0.5607 MB / 0.5124 GB, free: 26.27 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003903/0.3765, allocations: 1.845 MB / 0.5142 GB, free: 25.16 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0081/0.3846, allocations: 3.473 MB / 0.5176 GB, free: 23.12 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002643/0.3872, allocations: 2.701 MB / 0.5202 GB, free: 21.79 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001375/0.3886, allocations: 1.407 MB / 0.5216 GB, free: 21.09 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001362/0.39, allocations: 1.278 MB / 0.5228 GB, free: 20.59 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001502/0.3915, allocations: 1.28 MB / 0.5241 GB, free: 20.12 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000358/0.3918, allocations: 266.1 kB / 0.5243 GB, free: 20.12 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006805/0.3986, allocations: 2.566 MB / 0.5269 GB, free: 19.57 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004414/0.3991, allocations: 0.6057 MB / 0.5274 GB, free: 19.18 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001001/0.4001, allocations: 1.075 MB / 0.5285 GB, free: 18.62 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008821/0.4089, allocations: 5.693 MB / 0.5341 GB, free: 16.21 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.4089, allocations: 3.938 kB / 0.5341 GB, free: 16.21 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.4089, allocations: 5 kB / 0.5341 GB, free: 16.21 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.056e-05/0.409, allocations: 4 kB / 0.5341 GB, free: 16.2 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.004622/0.4136, allocations: 2.95 MB / 0.5369 GB, free: 13.64 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.4136, allocations: 12.03 kB / 0.537 GB, free: 13.63 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001769/0.4154, allocations: 0.516 MB / 0.5375 GB, free: 13.19 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001914/0.4173, allocations: 1.225 MB / 0.5387 GB, free: 12.15 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001329/0.4174, allocations: 276.2 kB / 0.5389 GB, free: 11.86 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002549/0.4177, allocations: 217.3 kB / 0.5391 GB, free: 11.64 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003706/0.4214, allocations: 2.736 MB / 0.5418 GB, free: 9.309 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.538e-05/0.4214, allocations: 0 / 0.5418 GB, free: 9.309 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001829/0.4216, allocations: 88 kB / 0.5419 GB, free: 9.223 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.68e-05/0.4216, allocations: 59.94 kB / 0.5419 GB, free: 9.164 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003943/0.4256, allocations: 3.157 MB / 0.545 GB, free: 6.453 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.01113/0.4367, allocations: 7.739 MB / 0.5526 GB, free: 15.54 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002517/0.4392, allocations: 1.46 MB / 0.554 GB, free: 14.2 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001346/0.4406, allocations: 0.8228 MB / 0.5548 GB, free: 13.45 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009529/0.4501, allocations: 4.345 MB / 0.5591 GB, free: 9.754 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.103e-05/0.4502, allocations: 52.3 kB / 0.5591 GB, free: 9.695 MB / 462.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009755/0.4511, allocations: 215.9 kB / 0.5593 GB, free: 9.508 MB / 462.1 MB Notification: Performance of pre-optimization done (n=113): time 3.336e-06/0.4511, allocations: 4 kB / 0.5593 GB, free: 9.504 MB / 462.1 MB Notification: Performance of matching and sorting (n=161): time 0.03581/0.4869, allocations: 9.321 MB / 0.5684 GB, free: 1.098 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.541e-05/0.487, allocations: 120.1 kB / 0.5685 GB, free: 0.957 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001613/0.4886, allocations: 1.308 MB / 0.5698 GB, free: 15.64 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001327/0.4888, allocations: 53.7 kB / 0.5699 GB, free: 15.58 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008009/0.4896, allocations: 1.092 MB / 0.5709 GB, free: 14.47 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005325/0.4901, allocations: 0.5889 MB / 0.5715 GB, free: 13.88 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006821/0.4908, allocations: 472.6 kB / 0.5719 GB, free: 13.41 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.4909, allocations: 309 kB / 0.5722 GB, free: 13.11 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00144/0.4924, allocations: 0.852 MB / 0.5731 GB, free: 12.25 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002223/0.4946, allocations: 1.716 MB / 0.5748 GB, free: 10.13 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003898/0.4985, allocations: 2.705 MB / 0.5774 GB, free: 7.023 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.429e-05/0.4985, allocations: 8 kB / 0.5774 GB, free: 7.016 MB / 478.1 MB Notification: Performance of matching and sorting (n=308) (initialization): time 0.008919/0.5074, allocations: 3.468 MB / 0.5808 GB, free: 3.523 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.436e-05/0.5075, allocations: 20 kB / 0.5808 GB, free: 3.504 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.015e-05/0.5075, allocations: 31.94 kB / 0.5808 GB, free: 3.473 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005439/0.513, allocations: 1.163 MB / 0.582 GB, free: 2.293 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001923/0.5149, allocations: 0.5109 MB / 0.5825 GB, free: 1.781 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01045/0.5253, allocations: 7.206 MB / 0.5895 GB, free: 10.24 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001838/0.5272, allocations: 103.9 kB / 0.5896 GB, free: 10.14 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000255/0.5274, allocations: 140 kB / 0.5897 GB, free: 10 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.0008891/0.5283, allocations: 449 kB / 0.5902 GB, free: 9.555 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003748/0.5287, allocations: 158.9 kB / 0.5903 GB, free: 9.398 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008041/0.5367, allocations: 2.826 MB / 0.5931 GB, free: 6.562 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.926e-05/0.5368, allocations: 19.94 kB / 0.5931 GB, free: 6.543 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/0.5368, allocations: 4 kB / 0.5931 GB, free: 6.539 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.04e-05/0.5368, allocations: 7.969 kB / 0.5931 GB, free: 6.531 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01113/0.5479, allocations: 4.363 MB / 0.5974 GB, free: 2.086 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-05/0.5479, allocations: 8 kB / 0.5974 GB, free: 2.078 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001102/0.549, allocations: 251.9 kB / 0.5976 GB, free: 1.832 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004905/0.5539, allocations: 1.033 MB / 0.5986 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001563/0.5541, allocations: 63.95 kB / 0.5987 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008753/0.5628, allocations: 6.489 MB / 0.605 GB, free: 9.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.449e-06/0.5628, allocations: 4 kB / 0.605 GB, free: 9.906 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008791/0.5716, allocations: 3.654 MB / 0.6086 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004277/0.5721, allocations: 135 kB / 0.6087 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002132/0.5723, allocations: 39.94 kB / 0.6088 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009776/0.5733, allocations: 43.98 kB / 0.6088 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003438/0.5736, allocations: 157 kB / 0.609 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001528/0.5738, allocations: 67.97 kB / 0.609 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001084/0.5748, allocations: 0.8228 MB / 0.6098 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7e-08/0.5748, allocations: 0 / 0.6098 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003561/0.5784, allocations: 1.118 MB / 0.6109 GB, free: 3.812 MB / 0.4981 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.002241/0.5806, allocations: 1.151 MB / 0.612 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.005227/0.5859, allocations: 2.583 MB / 0.6146 GB, free: 28 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.5859, allocations: 0.5 kB / 0.6146 GB, free: 28 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002481/0.5883, allocations: 1.307 MB / 0.6158 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001589/0.5899, allocations: 279.6 kB / 0.6161 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006729/0.5967, allocations: 3.696 MB / 0.6197 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009916/0.5977, allocations: 0.8228 MB / 0.6205 GB, free: 9.797 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001353/0.599, allocations: 377.5 kB / 0.6209 GB, free: 9.438 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005492/0.5996, allocations: 232.3 kB / 0.6211 GB, free: 9.211 MB / 0.5137 GB Notification: Performance of SimCode: time 9.12e-07/0.5996, allocations: 0 / 0.6211 GB, free: 9.211 MB / 0.5137 GB Notification: Performance of Templates: time 0.06387/0.6634, allocations: 40.81 MB / 0.661 GB, free: 0.5977 MB / 0.545 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 ida -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.203139709075913] Failed to read output from testmodel.py, exit status != 0: 0.6720454880269244 0.685857868 0.273934483 Calling exit ...