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.001231/0.001231, allocations: 75.75 kB / 19.76 MB, free: 1.875 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.001357/0.001357, allocations: 155.9 kB / 23.01 MB, free: 4.605 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.348/1.348, allocations: 177.2 MB / 203.4 MB, free: 8.977 MB / 190.1 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.1228/0.1228, allocations: 17.44 MB / 277.2 MB, free: 15.2 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.002133/0.002133, allocations: 63.91 kB / 412.6 MB, free: 5.562 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1062, allocations: 59.88 MB / 472.5 MB, free: 9.57 MB / 446.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.2447/0.3509, allocations: 29.82 MB / 0.4905 GB, free: 37.82 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0206/0.3715, allocations: 21.99 MB / 0.512 GB, free: 26.18 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001322/0.3728, allocations: 33.78 kB / 0.512 GB, free: 26.16 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001422/0.3742, allocations: 0.5499 MB / 0.5126 GB, free: 25.87 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004643/0.3789, allocations: 1.851 MB / 0.5144 GB, free: 24.75 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007896/0.3868, allocations: 3.478 MB / 0.5178 GB, free: 22.71 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003086/0.3898, allocations: 2.702 MB / 0.5204 GB, free: 21.37 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001433/0.3913, allocations: 1.404 MB / 0.5218 GB, free: 20.68 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001339/0.3926, allocations: 1.275 MB / 0.523 GB, free: 20.18 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001578/0.3942, allocations: 1.279 MB / 0.5243 GB, free: 19.72 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003393/0.3945, allocations: 262.7 kB / 0.5245 GB, free: 19.72 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006672/0.4012, allocations: 2.569 MB / 0.527 GB, free: 19.16 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005091/0.4017, allocations: 0.6022 MB / 0.5276 GB, free: 18.77 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001231/0.4029, allocations: 1.075 MB / 0.5287 GB, free: 18.21 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009079/0.412, allocations: 5.698 MB / 0.5342 GB, free: 15.8 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.412, allocations: 0 / 0.5342 GB, free: 15.8 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.412, allocations: 3 kB / 0.5342 GB, free: 15.8 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.564e-05/0.4121, allocations: 0 / 0.5342 GB, free: 15.8 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.00451/0.4166, allocations: 2.964 MB / 0.5371 GB, free: 13.13 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.4166, allocations: 8.031 kB / 0.5371 GB, free: 13.12 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001772/0.4184, allocations: 0.5108 MB / 0.5376 GB, free: 12.68 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001779/0.4202, allocations: 1.22 MB / 0.5388 GB, free: 11.65 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000132/0.4203, allocations: 277.4 kB / 0.5391 GB, free: 11.35 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002528/0.4206, allocations: 216.7 kB / 0.5393 GB, free: 11.14 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003366/0.4239, allocations: 2.736 MB / 0.542 GB, free: 8.805 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.297e-05/0.424, allocations: 7.938 kB / 0.542 GB, free: 8.797 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001769/0.4241, allocations: 84 kB / 0.542 GB, free: 8.715 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.55e-05/0.4242, allocations: 56 kB / 0.5421 GB, free: 8.66 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003807/0.428, allocations: 3.157 MB / 0.5452 GB, free: 5.949 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.01044/0.4384, allocations: 7.744 MB / 0.5527 GB, free: 15.04 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002403/0.4408, allocations: 1.458 MB / 0.5542 GB, free: 13.7 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001336/0.4422, allocations: 0.8266 MB / 0.555 GB, free: 12.95 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009477/0.4516, allocations: 4.345 MB / 0.5592 GB, free: 9.242 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.95e-05/0.4517, allocations: 48.17 kB / 0.5593 GB, free: 9.188 MB / 462.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009941/0.4527, allocations: 232 kB / 0.5595 GB, free: 8.984 MB / 462.1 MB Notification: Performance of pre-optimization done (n=113): time 3.115e-06/0.4527, allocations: 0 / 0.5595 GB, free: 8.984 MB / 462.1 MB Notification: Performance of matching and sorting (n=161): time 0.03504/0.4877, allocations: 9.312 MB / 0.5686 GB, free: 0.5586 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.917e-05/0.4878, allocations: 124.1 kB / 0.5687 GB, free: 424 kB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001577/0.4894, allocations: 1.308 MB / 0.57 GB, free: 15.09 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001177/0.4895, allocations: 53.64 kB / 0.57 GB, free: 15.04 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008049/0.4903, allocations: 1.1 MB / 0.5711 GB, free: 13.92 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005137/0.4908, allocations: 0.585 MB / 0.5717 GB, free: 13.33 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006895/0.4915, allocations: 472.6 kB / 0.5721 GB, free: 12.86 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.4916, allocations: 309.1 kB / 0.5724 GB, free: 12.56 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001474/0.4931, allocations: 0.852 MB / 0.5733 GB, free: 11.7 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002218/0.4953, allocations: 1.712 MB / 0.5749 GB, free: 9.586 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003895/0.4992, allocations: 2.701 MB / 0.5776 GB, free: 6.484 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.364e-05/0.4992, allocations: 8 kB / 0.5776 GB, free: 6.477 MB / 478.1 MB Notification: Performance of matching and sorting (n=308) (initialization): time 0.008663/0.5079, allocations: 3.468 MB / 0.581 GB, free: 2.984 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.938e-05/0.5079, allocations: 16 kB / 0.581 GB, free: 2.969 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.032e-05/0.508, allocations: 28 kB / 0.581 GB, free: 2.941 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005347/0.5133, allocations: 1.166 MB / 0.5821 GB, free: 1.762 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001748/0.5151, allocations: 0.5148 MB / 0.5826 GB, free: 1.246 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01046/0.5255, allocations: 7.2 MB / 0.5897 GB, free: 9.711 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00158/0.5271, allocations: 111.9 kB / 0.5898 GB, free: 9.602 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002437/0.5273, allocations: 143.9 kB / 0.5899 GB, free: 9.461 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.0008155/0.5282, allocations: 443.4 kB / 0.5903 GB, free: 9.02 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000343/0.5285, allocations: 155 kB / 0.5905 GB, free: 8.867 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008037/0.5365, allocations: 2.827 MB / 0.5932 GB, free: 6.031 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-05/0.5366, allocations: 23.94 kB / 0.5933 GB, free: 6.008 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.5366, allocations: 0 / 0.5933 GB, free: 6.008 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.741e-05/0.5366, allocations: 11.97 kB / 0.5933 GB, free: 5.996 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01094/0.5475, allocations: 4.356 MB / 0.5975 GB, free: 1.559 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.376e-06/0.5475, allocations: 4 kB / 0.5975 GB, free: 1.555 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001095/0.5486, allocations: 263.9 kB / 0.5978 GB, free: 1.297 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004816/0.5534, allocations: 1.022 MB / 0.5988 GB, free: 264 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001459/0.5536, allocations: 67.89 kB / 0.5989 GB, free: 196 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00891/0.5625, allocations: 6.503 MB / 0.6052 GB, free: 9.363 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.5625, allocations: 0 / 0.6052 GB, free: 9.363 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00866/0.5712, allocations: 3.65 MB / 0.6088 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003951/0.5716, allocations: 146.9 kB / 0.6089 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002437/0.5718, allocations: 31.94 kB / 0.6089 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009767/0.5728, allocations: 43.98 kB / 0.609 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003309/0.5731, allocations: 157 kB / 0.6091 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000163/0.5733, allocations: 71.95 kB / 0.6092 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001106/0.5744, allocations: 0.8189 MB / 0.61 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5744, allocations: 4 kB / 0.61 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003355/0.5777, allocations: 1.111 MB / 0.6111 GB, free: 3.273 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.00239/0.5801, allocations: 1.149 MB / 0.6122 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.005163/0.5853, allocations: 2.575 MB / 0.6147 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.5853, allocations: 0 / 0.6147 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002515/0.5878, allocations: 1.323 MB / 0.616 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00146/0.5893, allocations: 261.5 kB / 0.6163 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006351/0.5956, allocations: 3.693 MB / 0.6199 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008813/0.5965, allocations: 0.8266 MB / 0.6207 GB, free: 9.258 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001207/0.5977, allocations: 386.4 kB / 0.621 GB, free: 8.895 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005177/0.5982, allocations: 236.3 kB / 0.6213 GB, free: 8.664 MB / 0.5137 GB Notification: Performance of SimCode: time 5.91e-07/0.5982, allocations: 4 kB / 0.6213 GB, free: 8.66 MB / 0.5137 GB Notification: Performance of Templates: time 0.06456/0.6628, allocations: 40.81 MB / 0.6611 GB, free: 56 kB / 0.545 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 -s ida -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.162390735000372] Failed to read output from testmodel.py, exit status != 0: 0.6714049580041319 0.685694671 0.27059304700000003 Calling exit ...