Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.001259/0.001259, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.001333/0.001333, allocations: 159.5 kB / 23.01 MB, free: 4.602 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.323/1.323, allocations: 177.2 MB / 203.4 MB, free: 8.961 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.1213/0.1213, allocations: 17.36 MB / 277.1 MB, free: 15.3 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.H2O_ElectrochemicalCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell") translateModel(Chemical.Obsolete.Examples.H2O_ElectrochemicalCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_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.002039/0.002039, allocations: 70.33 kB / 412.4 MB, free: 5.758 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.1046, allocations: 59.85 MB / 472.3 MB, free: 9.789 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.H2O_ElectrochemicalCell): time 0.4117/0.5164, allocations: 28.21 MB / 0.4888 GB, free: 38.61 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01545/0.5318, allocations: 17.13 MB / 0.5055 GB, free: 29.79 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009508/0.5328, allocations: 24.81 kB / 0.5055 GB, free: 29.77 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001078/0.5338, allocations: 465 kB / 0.506 GB, free: 29.53 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002667/0.5365, allocations: 1.211 MB / 0.5071 GB, free: 28.79 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00614/0.5427, allocations: 2.882 MB / 0.51 GB, free: 27.1 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002048/0.5447, allocations: 2.092 MB / 0.512 GB, free: 26.06 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001054/0.5458, allocations: 1.054 MB / 0.513 GB, free: 25.53 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001018/0.5468, allocations: 0.932 MB / 0.5139 GB, free: 25.14 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001209/0.548, allocations: 0.9443 MB / 0.5149 GB, free: 24.79 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002822/0.5483, allocations: 199.2 kB / 0.5151 GB, free: 24.79 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00498/0.5532, allocations: 1.96 MB / 0.517 GB, free: 24.37 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003922/0.5536, allocations: 472.1 kB / 0.5174 GB, free: 24.07 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009153/0.5546, allocations: 0.8289 MB / 0.5182 GB, free: 23.63 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00693/0.5615, allocations: 4.35 MB / 0.5225 GB, free: 21.77 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.5615, allocations: 0 / 0.5225 GB, free: 21.77 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.5615, allocations: 0 / 0.5225 GB, free: 21.77 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.558e-05/0.5615, allocations: 0 / 0.5225 GB, free: 21.77 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.003714/0.5652, allocations: 2.33 MB / 0.5247 GB, free: 20.38 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.365e-05/0.5653, allocations: 8.25 kB / 0.5248 GB, free: 20.38 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001547/0.5668, allocations: 452.6 kB / 0.5252 GB, free: 20.23 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001618/0.5684, allocations: 1.019 MB / 0.5262 GB, free: 19.65 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001352/0.5686, allocations: 238.3 kB / 0.5264 GB, free: 19.46 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000225/0.5688, allocations: 164.9 kB / 0.5266 GB, free: 19.41 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00277/0.5716, allocations: 2.246 MB / 0.5288 GB, free: 18.46 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.527e-05/0.5716, allocations: 3.469 kB / 0.5288 GB, free: 18.46 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000135/0.5717, allocations: 69.92 kB / 0.5288 GB, free: 18.4 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.465e-05/0.5718, allocations: 40.56 kB / 0.5289 GB, free: 18.4 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00292/0.5747, allocations: 2.693 MB / 0.5315 GB, free: 17.55 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.008007/0.5827, allocations: 6.125 MB / 0.5375 GB, free: 13.57 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001307/0.584, allocations: 0.9741 MB / 0.5384 GB, free: 12.66 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006227/0.5846, allocations: 0.5149 MB / 0.5389 GB, free: 12.2 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005573/0.5902, allocations: 2.979 MB / 0.5418 GB, free: 9.652 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.749e-05/0.5902, allocations: 43.92 kB / 0.5419 GB, free: 9.602 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003948/0.5906, allocations: 111 kB / 0.542 GB, free: 9.496 MB / 446.1 MB Notification: Performance of pre-optimization done (n=71): time 2.335e-06/0.5906, allocations: 0 / 0.542 GB, free: 9.496 MB / 446.1 MB Notification: Performance of matching and sorting (n=95): time 0.01617/0.6068, allocations: 4.562 MB / 0.5464 GB, free: 5.492 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.375e-05/0.6068, allocations: 120.4 kB / 0.5466 GB, free: 5.348 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001248/0.608, allocations: 1.448 MB / 0.548 GB, free: 4.059 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.742e-05/0.6081, allocations: 42.64 kB / 0.548 GB, free: 4.012 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003466/0.6085, allocations: 0.9293 MB / 0.5489 GB, free: 3.16 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001935/0.6086, allocations: 362.7 kB / 0.5493 GB, free: 2.836 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003924/0.609, allocations: 355.4 kB / 0.5496 GB, free: 2.52 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.279e-05/0.6091, allocations: 357.9 kB / 0.55 GB, free: 2.18 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007734/0.6099, allocations: 0.6383 MB / 0.5506 GB, free: 1.621 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001035/0.6109, allocations: 1.338 MB / 0.5519 GB, free: 60 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002611/0.6135, allocations: 1.933 MB / 0.5538 GB, free: 13.88 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-05/0.6135, allocations: 8 kB / 0.5538 GB, free: 13.87 MB / 462.1 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.005601/0.6191, allocations: 2.376 MB / 0.5561 GB, free: 11.74 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.196e-05/0.6192, allocations: 17.17 kB / 0.5561 GB, free: 11.72 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.173e-05/0.6192, allocations: 28 kB / 0.5561 GB, free: 11.7 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002476/0.6217, allocations: 373.5 kB / 0.5565 GB, free: 11.41 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002602/0.6243, allocations: 0.5634 MB / 0.557 GB, free: 10.93 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008937/0.6332, allocations: 7.377 MB / 0.5643 GB, free: 3.348 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001344/0.6346, allocations: 85.61 kB / 0.5643 GB, free: 3.266 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000185/0.6348, allocations: 107 kB / 0.5644 GB, free: 3.168 MB / 462.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.000654/0.6354, allocations: 367.3 kB / 0.5648 GB, free: 2.809 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002666/0.6357, allocations: 124.3 kB / 0.5649 GB, free: 2.688 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004581/0.6403, allocations: 1.525 MB / 0.5664 GB, free: 1.387 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.14e-05/0.6403, allocations: 15.94 kB / 0.5664 GB, free: 1.371 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.6403, allocations: 0.7969 kB / 0.5664 GB, free: 1.371 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.304e-05/0.6403, allocations: 4.828 kB / 0.5664 GB, free: 1.371 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006589/0.6469, allocations: 2.651 MB / 0.569 GB, free: 14.98 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.11e-05/0.6469, allocations: 8 kB / 0.569 GB, free: 14.97 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008477/0.6477, allocations: 215.6 kB / 0.5692 GB, free: 14.79 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002563/0.6503, allocations: 408.5 kB / 0.5696 GB, free: 14.48 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.076e-05/0.6504, allocations: 47.92 kB / 0.5696 GB, free: 14.43 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008183/0.6586, allocations: 7.174 MB / 0.5767 GB, free: 7.023 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.174e-05/0.6586, allocations: 11.94 kB / 0.5767 GB, free: 7.012 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005144/0.6637, allocations: 2.157 MB / 0.5788 GB, free: 4.84 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004593/0.6642, allocations: 119.2 kB / 0.5789 GB, free: 4.723 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001731/0.6644, allocations: 35.98 kB / 0.5789 GB, free: 4.688 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006495/0.665, allocations: 24 kB / 0.5789 GB, free: 4.664 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000226/0.6652, allocations: 120.2 kB / 0.5791 GB, free: 4.547 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.339e-05/0.6653, allocations: 47.98 kB / 0.5791 GB, free: 4.5 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.00122/0.6665, allocations: 0.9673 MB / 0.58 GB, free: 3.523 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6665, allocations: 4 kB / 0.5801 GB, free: 3.52 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00328/0.6698, allocations: 0.8182 MB / 0.5809 GB, free: 2.699 MB / 478.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.001806/0.6716, allocations: 0.9038 MB / 0.5817 GB, free: 1.781 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003405/0.675, allocations: 1.699 MB / 0.5834 GB, free: 64 kB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.159e-06/0.675, allocations: 4.125 kB / 0.5834 GB, free: 60 kB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001427/0.6765, allocations: 0.9645 MB / 0.5843 GB, free: 15.04 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001375/0.6778, allocations: 214.6 kB / 0.5845 GB, free: 14.83 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004672/0.6825, allocations: 2.88 MB / 0.5874 GB, free: 11.83 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000726/0.6832, allocations: 0.6408 MB / 0.588 GB, free: 11.16 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00103/0.6843, allocations: 313.8 kB / 0.5883 GB, free: 10.85 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004149/0.6847, allocations: 172.4 kB / 0.5884 GB, free: 10.68 MB / 494.1 MB Notification: Performance of SimCode: time 1.072e-06/0.6847, allocations: 4 kB / 0.5885 GB, free: 10.68 MB / 494.1 MB Notification: Performance of Templates: time 0.04528/0.73, allocations: 27.8 MB / 0.6156 GB, free: 15.02 MB / 0.5138 GB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.sim & ./Chemical_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.790516512002796] Failed to read output from testmodel.py, exit status != 0: 0.7388034539762884 0.752549951 0.18804266500000003 Calling exit ...