Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.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.001373/0.001373, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001518/0.001518, allocations: 210.1 kB / 22.99 MB, free: 4.977 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.451/1.451, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.1436/0.1436, allocations: 23.88 MB / 337.1 MB, free: 11.09 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.ElectrochemicalCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.ElectrochemicalCell") translateModel(Chemical.Obsolete.Examples.ElectrochemicalCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.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.002133/0.002133, allocations: 59.91 kB / 472.3 MB, free: 7.066 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3101/0.3123, allocations: 59.87 MB / 0.5197 GB, free: 9.77 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.ElectrochemicalCell): time 0.07245/0.3847, allocations: 29.76 MB / 0.5488 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03563/0.4203, allocations: 25.31 MB / 0.5735 GB, free: 2.801 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001884/0.4222, allocations: 31.75 kB / 0.5736 GB, free: 2.77 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001761/0.424, allocations: 0.5852 MB / 0.5741 GB, free: 2.18 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006786/0.4308, allocations: 2.177 MB / 0.5763 GB, free: 15.99 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01186/0.4426, allocations: 3.926 MB / 0.5801 GB, free: 12.04 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004791/0.4474, allocations: 2.848 MB / 0.5829 GB, free: 9.18 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002186/0.4496, allocations: 1.373 MB / 0.5842 GB, free: 7.758 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001852/0.4515, allocations: 1.34 MB / 0.5855 GB, free: 6.414 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002219/0.4537, allocations: 1.51 MB / 0.587 GB, free: 4.898 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004243/0.4541, allocations: 260 kB / 0.5872 GB, free: 4.645 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007495/0.4616, allocations: 3.038 MB / 0.5902 GB, free: 1.602 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000704/0.4623, allocations: 0.6075 MB / 0.5908 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001326/0.4636, allocations: 1.097 MB / 0.5919 GB, free: 15.89 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0126/0.4762, allocations: 6.179 MB / 0.5979 GB, free: 9.688 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/0.4762, allocations: 0 / 0.5979 GB, free: 9.688 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.4762, allocations: 0 / 0.5979 GB, free: 9.688 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.481e-05/0.4763, allocations: 0 / 0.5979 GB, free: 9.688 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: 556 * Number of variables: 556 Notification: Performance of Generate backend data structure: time 0.00622/0.4825, allocations: 3.092 MB / 0.6009 GB, free: 6.543 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.4826, allocations: 11.97 kB / 0.6009 GB, free: 6.531 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002535/0.4851, allocations: 0.5531 MB / 0.6015 GB, free: 5.977 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002625/0.4877, allocations: 1.25 MB / 0.6027 GB, free: 4.688 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002526/0.488, allocations: 279.5 kB / 0.603 GB, free: 4.387 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003915/0.4884, allocations: 220 kB / 0.6032 GB, free: 4.172 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004674/0.493, allocations: 2.679 MB / 0.6058 GB, free: 1.402 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.799e-05/0.4931, allocations: 7.984 kB / 0.6058 GB, free: 1.395 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002907/0.4934, allocations: 84 kB / 0.6059 GB, free: 1.312 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.851e-05/0.4934, allocations: 60 kB / 0.6059 GB, free: 1.254 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005431/0.4989, allocations: 3.295 MB / 0.6092 GB, free: 13.95 MB / 462.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.01358/0.5124, allocations: 6.995 MB / 0.616 GB, free: 6.82 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002825/0.5153, allocations: 1.523 MB / 0.6175 GB, free: 5.293 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001427/0.5167, allocations: 0.8586 MB / 0.6183 GB, free: 4.422 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01062/0.5273, allocations: 4.277 MB / 0.6225 GB, free: 120 kB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.702e-05/0.5274, allocations: 47.81 kB / 0.6225 GB, free: 64 kB / 462.1 MB Notification: Performance of pre-optimization done (n=128): time 3.416e-06/0.5274, allocations: 0 / 0.6225 GB, free: 64 kB / 462.1 MB Notification: Performance of matching and sorting (n=181): time 0.03409/0.5614, allocations: 8.103 MB / 0.6305 GB, free: 7.906 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.288e-05/0.5615, allocations: 95.11 kB / 0.6305 GB, free: 7.793 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001661/0.5632, allocations: 1.321 MB / 0.6318 GB, free: 6.461 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001437/0.5633, allocations: 53.7 kB / 0.6319 GB, free: 6.402 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008455/0.5642, allocations: 1.089 MB / 0.6329 GB, free: 5.301 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006633/0.5648, allocations: 0.6663 MB / 0.6336 GB, free: 4.629 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008402/0.5657, allocations: 481 kB / 0.6341 GB, free: 4.152 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001617/0.5658, allocations: 301.1 kB / 0.6343 GB, free: 3.855 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001496/0.5673, allocations: 0.821 MB / 0.6351 GB, free: 3.031 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002315/0.5697, allocations: 1.654 MB / 0.6368 GB, free: 0.9922 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003946/0.5736, allocations: 2.614 MB / 0.6393 GB, free: 14 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.334e-05/0.5736, allocations: 8 kB / 0.6393 GB, free: 13.99 MB / 494.1 MB Notification: Performance of matching and sorting (n=324) (initialization): time 0.007476/0.5811, allocations: 3.043 MB / 0.6423 GB, free: 10.93 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.303e-05/0.5811, allocations: 27.92 kB / 0.6423 GB, free: 10.9 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-05/0.5812, allocations: 24 kB / 0.6423 GB, free: 10.88 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00361/0.5848, allocations: 0.5108 MB / 0.6428 GB, free: 10.35 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004019/0.5888, allocations: 0.8074 MB / 0.6436 GB, free: 9.543 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009779/0.5986, allocations: 7.512 MB / 0.651 GB, free: 1.578 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001871/0.6004, allocations: 95.91 kB / 0.6511 GB, free: 1.484 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003067/0.6008, allocations: 144 kB / 0.6512 GB, free: 1.344 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 124 * 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 (311): * Single equations (assignments): 305 * 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,6), (1,1), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0008906/0.6016, allocations: 457 kB / 0.6516 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003834/0.602, allocations: 166.9 kB / 0.6518 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007348/0.6094, allocations: 2.566 MB / 0.6543 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-05/0.6094, allocations: 23.94 kB / 0.6543 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.6094, allocations: 4 kB / 0.6543 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.076e-05/0.6094, allocations: 8.109 kB / 0.6543 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01031/0.6197, allocations: 4.256 MB / 0.6585 GB, free: 9.621 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.638e-05/0.6197, allocations: 12 kB / 0.6585 GB, free: 9.609 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001795/0.6215, allocations: 411.5 kB / 0.6589 GB, free: 9.207 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003787/0.6253, allocations: 0.5437 MB / 0.6594 GB, free: 8.645 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002158/0.6255, allocations: 83.91 kB / 0.6595 GB, free: 8.562 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008968/0.6345, allocations: 7.292 MB / 0.6666 GB, free: 0.8008 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.564e-05/0.6345, allocations: 16.06 kB / 0.6666 GB, free: 0.7852 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007715/0.6422, allocations: 3.462 MB / 0.67 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004804/0.6427, allocations: 170.8 kB / 0.6702 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002465/0.643, allocations: 52 kB / 0.6702 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001012/0.644, allocations: 51.98 kB / 0.6703 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003334/0.6443, allocations: 200.6 kB / 0.6705 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001765/0.6445, allocations: 91.97 kB / 0.6706 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.00112/0.6456, allocations: 0.8352 MB / 0.6714 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6456, allocations: 0 / 0.6714 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003735/0.6493, allocations: 1.208 MB / 0.6726 GB, free: 10.54 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 51 * Number of states: 8 (cathode.temperature,Ag.logn,anode.temperature,solution1.temperature,Cl.logn,AgCl.logn,H.logn,liquidWater.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 (198): * Single equations (assignments): 192 * 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,6), (1,1), (1,3), (1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002592/0.6519, allocations: 1.335 MB / 0.6739 GB, free: 9.191 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005207/0.6571, allocations: 2.366 MB / 0.6762 GB, free: 6.805 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.303e-05/0.6572, allocations: 0 / 0.6762 GB, free: 6.805 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002306/0.6595, allocations: 1.367 MB / 0.6775 GB, free: 5.387 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001924/0.6614, allocations: 332.5 kB / 0.6778 GB, free: 5.062 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006782/0.6682, allocations: 4.069 MB / 0.6818 GB, free: 0.7969 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001031/0.6692, allocations: 0.8538 MB / 0.6826 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001665/0.6709, allocations: 465.7 kB / 0.6831 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006817/0.6715, allocations: 279.2 kB / 0.6833 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of SimCode: time 1.172e-06/0.6716, allocations: 0 / 0.6833 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of Templates: time 0.07127/0.7428, allocations: 44.81 MB / 0.7271 GB, free: 2.617 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Obsolete.Examples.ElectrochemicalCell.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.ElectrochemicalCell.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.ElectrochemicalCell.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.ElectrochemicalCell.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.ElectrochemicalCell.sim & ./Chemical_Chemical.Obsolete.Examples.ElectrochemicalCell -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.ElectrochemicalCell.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.967982158006635] Failed to read output from testmodel.py, exit status != 0: 0.7523320930049522 0.955758566 0.476516021 Calling exit ...