Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.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.00126/0.00126, allocations: 116.3 kB / 17.13 MB, free: 6.027 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.001324/0.001324, allocations: 208.7 kB / 20.1 MB, free: 3.074 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.471/1.471, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.1385/0.1385, allocations: 23.91 MB / 333.4 MB, free: 1.242 MB / 254.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.H2O_ElectrochemicalCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell") translateModel(Chemical.Obsolete.Examples.H2O_ElectrochemicalCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell") [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.002023/0.002023, allocations: 64.77 kB / 467.2 MB, free: 30.5 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09525/0.09728, allocations: 59.84 MB / 0.5147 GB, free: 12.4 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.H2O_ElectrochemicalCell): time 0.0421/0.1394, allocations: 29.13 MB / 0.5432 GB, free: 15.3 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02435/0.1637, allocations: 19.49 MB / 0.5622 GB, free: 11.75 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00101/0.1647, allocations: 23.81 kB / 0.5622 GB, free: 11.73 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00124/0.166, allocations: 0.504 MB / 0.5627 GB, free: 11.22 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002787/0.1688, allocations: 1.234 MB / 0.5639 GB, free: 9.977 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006488/0.1752, allocations: 2.854 MB / 0.5667 GB, free: 7.105 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002321/0.1776, allocations: 2.09 MB / 0.5687 GB, free: 5.004 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001319/0.1789, allocations: 1.096 MB / 0.5698 GB, free: 3.859 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009688/0.1799, allocations: 0.931 MB / 0.5707 GB, free: 2.926 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001299/0.1811, allocations: 1.074 MB / 0.5718 GB, free: 1.848 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003078/0.1815, allocations: 200 kB / 0.5719 GB, free: 1.652 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00477/0.1862, allocations: 2.079 MB / 0.574 GB, free: 15.57 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004539/0.1867, allocations: 474.5 kB / 0.5744 GB, free: 15.11 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009349/0.1876, allocations: 0.984 MB / 0.5754 GB, free: 14.12 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005966/0.1936, allocations: 4.362 MB / 0.5797 GB, free: 9.738 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.1936, allocations: 0 / 0.5797 GB, free: 9.738 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.153e-06/0.1936, allocations: 0 / 0.5797 GB, free: 9.738 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.893e-05/0.1936, allocations: 0 / 0.5797 GB, free: 9.738 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: 422 * Number of variables: 422 Notification: Performance of Generate backend data structure: time 0.004188/0.1978, allocations: 2.41 MB / 0.582 GB, free: 7.266 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.334e-05/0.1978, allocations: 8.031 kB / 0.582 GB, free: 7.258 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001702/0.1995, allocations: 450.8 kB / 0.5824 GB, free: 6.816 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001742/0.2013, allocations: 1.084 MB / 0.5835 GB, free: 5.688 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001688/0.2014, allocations: 187 kB / 0.5837 GB, free: 5.492 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003068/0.2017, allocations: 172 kB / 0.5838 GB, free: 5.324 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003523/0.2053, allocations: 2.214 MB / 0.586 GB, free: 3.043 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.035e-05/0.2053, allocations: 3.938 kB / 0.586 GB, free: 3.039 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001788/0.2055, allocations: 68 kB / 0.5861 GB, free: 2.973 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.505e-05/0.2055, allocations: 40 kB / 0.5861 GB, free: 2.934 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004158/0.2097, allocations: 2.692 MB / 0.5887 GB, free: 240 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.2211/0.4307, allocations: 7.267 MB / 0.5958 GB, free: 59.98 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001736/0.4325, allocations: 1.129 MB / 0.5969 GB, free: 59.36 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008327/0.4333, allocations: 0.5072 MB / 0.5974 GB, free: 59.14 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006923/0.4402, allocations: 5.158 MB / 0.6025 GB, free: 55.32 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.706e-05/0.4403, allocations: 43.31 kB / 0.6025 GB, free: 55.28 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004201/0.4407, allocations: 118.5 kB / 0.6026 GB, free: 55.23 MB / 446.1 MB Notification: Performance of pre-optimization done (n=71): time 2.274e-06/0.4407, allocations: 0 / 0.6026 GB, free: 55.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=95): time 0.01781/0.4585, allocations: 4.855 MB / 0.6074 GB, free: 53.04 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.473e-05/0.4585, allocations: 116 kB / 0.6075 GB, free: 52.92 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00169/0.4602, allocations: 1.484 MB / 0.6089 GB, free: 52.28 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.88e-05/0.4603, allocations: 41.89 kB / 0.609 GB, free: 52.24 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004202/0.4607, allocations: 0.9188 MB / 0.6099 GB, free: 51.61 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002464/0.461, allocations: 362.7 kB / 0.6102 GB, free: 51.38 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005027/0.4615, allocations: 365.4 kB / 0.6106 GB, free: 51.21 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.402e-05/0.4615, allocations: 305.1 kB / 0.6108 GB, free: 50.91 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009641/0.4625, allocations: 0.6226 MB / 0.6115 GB, free: 50.68 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001176/0.4636, allocations: 1.33 MB / 0.6128 GB, free: 49.52 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002029/0.4657, allocations: 1.927 MB / 0.6146 GB, free: 47.96 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.297e-05/0.4657, allocations: 7.75 kB / 0.6146 GB, free: 47.96 MB / 446.1 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.00516/0.4708, allocations: 2.361 MB / 0.617 GB, free: 46.75 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.618e-05/0.4709, allocations: 15.75 kB / 0.617 GB, free: 46.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.366e-05/0.4709, allocations: 23.62 kB / 0.617 GB, free: 46.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002429/0.4733, allocations: 375.3 kB / 0.6173 GB, free: 46.58 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00259/0.4759, allocations: 0.5649 MB / 0.6179 GB, free: 46.44 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006698/0.4826, allocations: 7.904 MB / 0.6256 GB, free: 38.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001481/0.4841, allocations: 92.69 kB / 0.6257 GB, free: 38.63 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001481/0.4842, allocations: 100.6 kB / 0.6258 GB, free: 38.61 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 108 * 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 (219): * Single equations (assignments): 213 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,1), (1,1), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0006081/0.4848, allocations: 371.7 kB / 0.6262 GB, free: 38.34 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002429/0.4851, allocations: 129 kB / 0.6263 GB, free: 38.27 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00428/0.4894, allocations: 1.529 MB / 0.6278 GB, free: 37.44 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.674e-06/0.4894, allocations: 9.5 kB / 0.6278 GB, free: 37.44 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.4894, allocations: 3.906 kB / 0.6278 GB, free: 37.44 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.078e-05/0.4894, allocations: 7.969 kB / 0.6278 GB, free: 37.43 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005886/0.4953, allocations: 3.014 MB / 0.6307 GB, free: 35.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.856e-06/0.4953, allocations: 7.75 kB / 0.6307 GB, free: 35.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007871/0.4961, allocations: 212.5 kB / 0.6309 GB, free: 35.35 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002545/0.4986, allocations: 410.7 kB / 0.6313 GB, free: 35.15 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.859e-05/0.4987, allocations: 42.42 kB / 0.6314 GB, free: 35.13 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005914/0.5046, allocations: 7.718 MB / 0.6389 GB, free: 27.52 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.5046, allocations: 11.5 kB / 0.6389 GB, free: 27.51 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004231/0.5088, allocations: 2.161 MB / 0.641 GB, free: 25.68 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001971/0.509, allocations: 212.2 kB / 0.6412 GB, free: 25.45 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00015/0.5092, allocations: 27.94 kB / 0.6413 GB, free: 25.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006792/0.5099, allocations: 31.98 kB / 0.6413 GB, free: 25.39 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001517/0.51, allocations: 105.7 kB / 0.6414 GB, free: 25.29 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.737e-05/0.5101, allocations: 51.98 kB / 0.6414 GB, free: 25.24 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008759/0.5109, allocations: 1.017 MB / 0.6424 GB, free: 24.22 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5109, allocations: 5.875 kB / 0.6424 GB, free: 24.21 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002275/0.5132, allocations: 0.8204 MB / 0.6432 GB, free: 23.39 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 5 (cathode.temperature,anode.temperature,solution1.temperature,H.logn,H2O.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 (101): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 5 systems {(1,1), (1,1), (1,3), (1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001229/0.5145, allocations: 0.895 MB / 0.6441 GB, free: 22.64 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002816/0.5173, allocations: 1.71 MB / 0.6458 GB, free: 20.92 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.5173, allocations: 4 kB / 0.6458 GB, free: 20.91 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001071/0.5183, allocations: 0.9558 MB / 0.6467 GB, free: 19.92 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0013/0.5196, allocations: 231.5 kB / 0.6469 GB, free: 19.72 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003461/0.5231, allocations: 2.924 MB / 0.6498 GB, free: 16.8 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005218/0.5236, allocations: 1.218 MB / 0.651 GB, free: 15.56 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004192/0.524, allocations: 224.2 kB / 0.6512 GB, free: 15.35 MB / 446.1 MB Notification: Performance of SimCode: time 4.51e-07/0.524, allocations: 2.656 kB / 0.6512 GB, free: 15.35 MB / 446.1 MB Notification: Performance of Templates: time 0.06291/0.587, allocations: 61.39 MB / 0.7112 GB, free: 2.648 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.sim & ./Chemical_master_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.966020024992758] Failed to read output from testmodel.py, exit status != 0: 0.5947282490087673 0.608589421 0.41209134000000003 Calling exit ...