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.001755/0.001755, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.001966/0.001966, allocations: 219.2 kB / 22.25 MB, free: 5.105 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.357/1.357, allocations: 230.6 MB / 256 MB, free: 7.805 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.1304/0.1304, allocations: 23.88 MB / 336.3 MB, free: 10.95 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.002049/0.002049, allocations: 68.17 kB / 471.6 MB, free: 6.996 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2685/0.2706, allocations: 59.86 MB / 0.519 GB, free: 9.812 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.H2O_ElectrochemicalCell): time 0.06678/0.3373, allocations: 28.13 MB / 0.5465 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02289/0.3602, allocations: 17.14 MB / 0.5632 GB, free: 12.05 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001299/0.3615, allocations: 23.81 kB / 0.5632 GB, free: 12.02 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001464/0.363, allocations: 466.7 kB / 0.5637 GB, free: 11.68 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003487/0.3665, allocations: 1.201 MB / 0.5649 GB, free: 10.66 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007197/0.3737, allocations: 2.891 MB / 0.5677 GB, free: 7.98 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00297/0.3767, allocations: 2.094 MB / 0.5697 GB, free: 5.875 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001482/0.3781, allocations: 1.073 MB / 0.5708 GB, free: 4.754 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001251/0.3794, allocations: 0.9387 MB / 0.5717 GB, free: 3.812 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001647/0.381, allocations: 1.074 MB / 0.5727 GB, free: 2.734 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003742/0.3814, allocations: 200 kB / 0.5729 GB, free: 2.539 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004543/0.386, allocations: 2.001 MB / 0.5749 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000526/0.3865, allocations: 470.6 kB / 0.5753 GB, free: 76 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001084/0.3876, allocations: 0.8325 MB / 0.5762 GB, free: 15.24 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007498/0.3951, allocations: 4.346 MB / 0.5804 GB, free: 10.88 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.3951, allocations: 0 / 0.5804 GB, free: 10.88 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.3951, allocations: 3.938 kB / 0.5804 GB, free: 10.87 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.476e-05/0.3951, allocations: 0 / 0.5804 GB, free: 10.87 MB / 430.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.004983/0.4001, allocations: 2.331 MB / 0.5827 GB, free: 8.496 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.081e-05/0.4002, allocations: 11.97 kB / 0.5827 GB, free: 8.484 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001858/0.402, allocations: 443 kB / 0.5831 GB, free: 8.051 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002117/0.4042, allocations: 1.015 MB / 0.5841 GB, free: 7.004 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000226/0.4044, allocations: 234.4 kB / 0.5843 GB, free: 6.75 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000353/0.4047, allocations: 164 kB / 0.5845 GB, free: 6.59 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003653/0.4084, allocations: 2.245 MB / 0.5867 GB, free: 4.277 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.962e-05/0.4084, allocations: 4 kB / 0.5867 GB, free: 4.273 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001719/0.4086, allocations: 64 kB / 0.5867 GB, free: 4.211 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.773e-05/0.4086, allocations: 51.92 kB / 0.5868 GB, free: 4.16 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004152/0.4128, allocations: 2.692 MB / 0.5894 GB, free: 1.461 MB / 430.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.01034/0.4231, allocations: 6.139 MB / 0.5954 GB, free: 11.18 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001737/0.4249, allocations: 0.9753 MB / 0.5964 GB, free: 10.18 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008335/0.4257, allocations: 0.5096 MB / 0.5969 GB, free: 9.656 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006897/0.4326, allocations: 2.973 MB / 0.5998 GB, free: 6.66 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.095e-05/0.4326, allocations: 39.22 kB / 0.5998 GB, free: 6.613 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004152/0.4331, allocations: 111.1 kB / 0.5999 GB, free: 6.504 MB / 446.1 MB Notification: Performance of pre-optimization done (n=71): time 2.415e-06/0.4331, allocations: 0 / 0.5999 GB, free: 6.504 MB / 446.1 MB Notification: Performance of matching and sorting (n=95): time 0.0192/0.4523, allocations: 4.561 MB / 0.6044 GB, free: 1.887 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.588e-05/0.4523, allocations: 119.8 kB / 0.6045 GB, free: 1.742 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001651/0.454, allocations: 1.453 MB / 0.6059 GB, free: 276 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.014e-05/0.4541, allocations: 41.7 kB / 0.6059 GB, free: 228 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006647/0.4547, allocations: 0.9278 MB / 0.6068 GB, free: 15.28 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003076/0.4551, allocations: 365.1 kB / 0.6072 GB, free: 14.92 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005204/0.4556, allocations: 355.3 kB / 0.6075 GB, free: 14.56 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001759/0.4557, allocations: 357.9 kB / 0.6079 GB, free: 14.21 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001034/0.4568, allocations: 0.6364 MB / 0.6085 GB, free: 13.57 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00163/0.4584, allocations: 1.341 MB / 0.6098 GB, free: 11.9 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002621/0.461, allocations: 1.933 MB / 0.6117 GB, free: 9.637 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.909e-05/0.4611, allocations: 8 kB / 0.6117 GB, free: 9.629 MB / 462.1 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.005654/0.4667, allocations: 2.379 MB / 0.614 GB, free: 7.227 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.252e-05/0.4667, allocations: 18.66 kB / 0.614 GB, free: 7.211 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.423e-05/0.4668, allocations: 27.94 kB / 0.6141 GB, free: 7.184 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002693/0.4695, allocations: 375.2 kB / 0.6144 GB, free: 6.805 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002762/0.4722, allocations: 0.5656 MB / 0.615 GB, free: 6.238 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009309/0.4815, allocations: 7.378 MB / 0.6222 GB, free: 14.39 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001408/0.4829, allocations: 83.92 kB / 0.6223 GB, free: 14.31 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002299/0.4832, allocations: 108 kB / 0.6224 GB, free: 14.21 MB / 478.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.0006824/0.4839, allocations: 369.1 kB / 0.6227 GB, free: 13.84 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003251/0.4842, allocations: 123.2 kB / 0.6228 GB, free: 13.71 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004865/0.489, allocations: 1.526 MB / 0.6243 GB, free: 12.17 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.14e-05/0.4891, allocations: 12 kB / 0.6243 GB, free: 12.16 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.4891, allocations: 0 / 0.6243 GB, free: 12.16 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.081e-05/0.4891, allocations: 3.984 kB / 0.6243 GB, free: 12.15 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007068/0.4961, allocations: 2.653 MB / 0.6269 GB, free: 9.359 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.274e-05/0.4962, allocations: 8 kB / 0.6269 GB, free: 9.352 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00089/0.497, allocations: 216.5 kB / 0.6271 GB, free: 9.141 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002856/0.4999, allocations: 408.8 kB / 0.6275 GB, free: 8.723 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.782e-05/0.5, allocations: 47.92 kB / 0.6276 GB, free: 8.676 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00866/0.5087, allocations: 7.168 MB / 0.6346 GB, free: 1.039 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.397e-06/0.5087, allocations: 11.98 kB / 0.6346 GB, free: 1.027 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00519/0.5139, allocations: 2.16 MB / 0.6367 GB, free: 14.75 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002722/0.5141, allocations: 119.2 kB / 0.6368 GB, free: 14.63 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001826/0.5143, allocations: 40.11 kB / 0.6368 GB, free: 14.59 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007004/0.515, allocations: 28 kB / 0.6369 GB, free: 14.56 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001899/0.5152, allocations: 120.2 kB / 0.637 GB, free: 14.45 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.719e-05/0.5153, allocations: 47.98 kB / 0.637 GB, free: 14.4 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001192/0.5165, allocations: 0.9635 MB / 0.638 GB, free: 13.43 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5165, allocations: 0 / 0.638 GB, free: 13.43 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002527/0.519, allocations: 0.8221 MB / 0.6388 GB, free: 12.6 MB / 494.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.001726/0.5207, allocations: 0.8993 MB / 0.6397 GB, free: 11.69 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003259/0.524, allocations: 1.705 MB / 0.6413 GB, free: 9.953 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.636e-06/0.524, allocations: 0 / 0.6413 GB, free: 9.953 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001356/0.5254, allocations: 0.9659 MB / 0.6423 GB, free: 8.938 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001227/0.5266, allocations: 219.2 kB / 0.6425 GB, free: 8.723 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004406/0.531, allocations: 2.869 MB / 0.6453 GB, free: 5.734 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007101/0.5317, allocations: 0.6369 MB / 0.6459 GB, free: 5.062 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0009309/0.5326, allocations: 309.8 kB / 0.6462 GB, free: 4.758 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003749/0.533, allocations: 183.2 kB / 0.6464 GB, free: 4.578 MB / 494.1 MB Notification: Performance of SimCode: time 4.91e-07/0.533, allocations: 0 / 0.6464 GB, free: 4.578 MB / 494.1 MB Notification: Performance of Templates: time 0.0458/0.5788, allocations: 30.44 MB / 0.6761 GB, free: 6.305 MB / 0.5137 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 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.765094961039722] Failed to read output from testmodel.py, exit status != 0: 0.5874383421614766 0.600777835 0.20280129300000002 Calling exit ...