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.001315/0.001315, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001717/0.001717, allocations: 213.3 kB / 22.25 MB, free: 5.262 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.435/1.435, allocations: 230.6 MB / 256 MB, free: 7.777 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.1376/0.1376, allocations: 23.89 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.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.002117/0.002117, allocations: 71.88 kB / 471.6 MB, free: 7.004 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3359/0.338, allocations: 59.86 MB / 0.519 GB, free: 9.828 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.07511/0.4132, allocations: 29.94 MB / 0.5482 GB, free: 9.965 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03799/0.4511, allocations: 25.31 MB / 0.573 GB, free: 2.562 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002327/0.4535, allocations: 31.75 kB / 0.573 GB, free: 2.531 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002371/0.4558, allocations: 0.593 MB / 0.5736 GB, free: 1.934 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008384/0.4642, allocations: 2.161 MB / 0.5757 GB, free: 15.76 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01306/0.4773, allocations: 3.922 MB / 0.5795 GB, free: 11.81 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00493/0.4822, allocations: 2.859 MB / 0.5823 GB, free: 8.941 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002382/0.4846, allocations: 1.334 MB / 0.5836 GB, free: 7.559 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002115/0.4867, allocations: 1.344 MB / 0.5849 GB, free: 6.211 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002487/0.4892, allocations: 1.339 MB / 0.5862 GB, free: 4.867 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008499/0.4901, allocations: 260 kB / 0.5865 GB, free: 4.613 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008381/0.4984, allocations: 2.956 MB / 0.5894 GB, free: 1.652 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001054/0.4995, allocations: 0.6075 MB / 0.59 GB, free: 1.043 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002465/0.502, allocations: 1.097 MB / 0.591 GB, free: 15.94 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01397/0.5159, allocations: 6.183 MB / 0.5971 GB, free: 9.734 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.5159, allocations: 4 kB / 0.5971 GB, free: 9.73 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.5159, allocations: 3.938 kB / 0.5971 GB, free: 9.727 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000117/0.516, allocations: 0 / 0.5971 GB, free: 9.727 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.007477/0.5235, allocations: 3.088 MB / 0.6001 GB, free: 6.586 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.5236, allocations: 8.031 kB / 0.6001 GB, free: 6.578 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002642/0.5262, allocations: 0.5609 MB / 0.6006 GB, free: 6.016 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003099/0.5293, allocations: 1.243 MB / 0.6019 GB, free: 4.734 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003014/0.5296, allocations: 275.5 kB / 0.6021 GB, free: 4.438 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006629/0.5303, allocations: 227.9 kB / 0.6023 GB, free: 4.215 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006035/0.5363, allocations: 2.683 MB / 0.605 GB, free: 1.441 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.643e-05/0.5364, allocations: 4 kB / 0.605 GB, free: 1.438 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002149/0.5366, allocations: 84 kB / 0.605 GB, free: 1.355 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.231e-05/0.5366, allocations: 56 kB / 0.6051 GB, free: 1.301 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005708/0.5423, allocations: 3.295 MB / 0.6083 GB, free: 14 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.01477/0.5571, allocations: 6.999 MB / 0.6151 GB, free: 6.863 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00281/0.5599, allocations: 1.523 MB / 0.6166 GB, free: 5.336 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001456/0.5614, allocations: 0.8547 MB / 0.6175 GB, free: 4.469 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01064/0.572, allocations: 4.277 MB / 0.6216 GB, free: 168 kB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.482e-05/0.5721, allocations: 47.88 kB / 0.6217 GB, free: 112 kB / 462.1 MB Notification: Performance of pre-optimization done (n=128): time 3.747e-06/0.5721, allocations: 0 / 0.6217 GB, free: 112 kB / 462.1 MB Notification: Performance of matching and sorting (n=181): time 0.03084/0.6029, allocations: 8.111 MB / 0.6296 GB, free: 7.945 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.901e-05/0.603, allocations: 95.11 kB / 0.6297 GB, free: 7.832 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001703/0.6047, allocations: 1.317 MB / 0.631 GB, free: 6.504 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001612/0.6048, allocations: 53.7 kB / 0.631 GB, free: 6.445 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000885/0.6057, allocations: 1.089 MB / 0.6321 GB, free: 5.344 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006709/0.6064, allocations: 0.6585 MB / 0.6327 GB, free: 4.68 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006957/0.6071, allocations: 481 kB / 0.6332 GB, free: 4.203 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.6072, allocations: 305.1 kB / 0.6335 GB, free: 3.902 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001452/0.6087, allocations: 0.821 MB / 0.6343 GB, free: 3.078 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002234/0.6109, allocations: 1.658 MB / 0.6359 GB, free: 1.035 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003961/0.6149, allocations: 2.614 MB / 0.6385 GB, free: 14.04 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-05/0.6149, allocations: 8 kB / 0.6385 GB, free: 14.03 MB / 494.1 MB Notification: Performance of matching and sorting (n=324) (initialization): time 0.006974/0.6219, allocations: 3.039 MB / 0.6414 GB, free: 10.97 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.912e-05/0.6219, allocations: 23.94 kB / 0.6415 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.515e-05/0.622, allocations: 28.28 kB / 0.6415 GB, free: 10.92 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00301/0.625, allocations: 0.5221 MB / 0.642 GB, free: 10.39 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003649/0.6286, allocations: 0.7958 MB / 0.6428 GB, free: 9.59 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009386/0.638, allocations: 7.515 MB / 0.6501 GB, free: 1.621 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002119/0.6401, allocations: 104.1 kB / 0.6502 GB, free: 1.52 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002631/0.6404, allocations: 143.9 kB / 0.6504 GB, free: 1.379 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.0009715/0.6414, allocations: 456.9 kB / 0.6508 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003916/0.6417, allocations: 166.9 kB / 0.651 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006534/0.6483, allocations: 2.566 MB / 0.6535 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-05/0.6483, allocations: 23.94 kB / 0.6535 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.6483, allocations: 0 / 0.6535 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.903e-05/0.6483, allocations: 7.969 kB / 0.6535 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01002/0.6583, allocations: 4.248 MB / 0.6576 GB, free: 9.668 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-05/0.6584, allocations: 12.97 kB / 0.6576 GB, free: 9.656 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001614/0.66, allocations: 423.4 kB / 0.6581 GB, free: 9.242 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003128/0.6631, allocations: 0.5394 MB / 0.6586 GB, free: 8.684 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001847/0.6633, allocations: 83.91 kB / 0.6587 GB, free: 8.602 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00821/0.6715, allocations: 7.289 MB / 0.6658 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.399e-05/0.6715, allocations: 19.92 kB / 0.6658 GB, free: 0.8242 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006789/0.6783, allocations: 3.462 MB / 0.6692 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004356/0.6787, allocations: 170.8 kB / 0.6693 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002209/0.679, allocations: 59.98 kB / 0.6694 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009145/0.6799, allocations: 48 kB / 0.6694 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003084/0.6802, allocations: 196.7 kB / 0.6696 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001578/0.6803, allocations: 95.95 kB / 0.6697 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001075/0.6814, allocations: 0.8352 MB / 0.6705 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.6814, allocations: 0 / 0.6705 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003567/0.685, allocations: 1.208 MB / 0.6717 GB, free: 10.57 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.002385/0.6874, allocations: 1.338 MB / 0.673 GB, free: 9.227 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.004884/0.6923, allocations: 2.358 MB / 0.6753 GB, free: 6.848 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.072e-05/0.6923, allocations: 4 kB / 0.6753 GB, free: 6.844 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002169/0.6944, allocations: 1.368 MB / 0.6767 GB, free: 5.426 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001839/0.6963, allocations: 338.7 kB / 0.677 GB, free: 5.098 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00637/0.7026, allocations: 4.056 MB / 0.6809 GB, free: 0.8438 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009631/0.7036, allocations: 0.8654 MB / 0.6818 GB, free: 15.94 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001681/0.7053, allocations: 453.7 kB / 0.6822 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006687/0.706, allocations: 287.2 kB / 0.6825 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of SimCode: time 9.02e-07/0.706, allocations: 0 / 0.6825 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of Templates: time 0.06684/0.7728, allocations: 44.02 MB / 0.7255 GB, free: 3.449 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 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.ElectrochemicalCell.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.884822215884924] Failed to read output from testmodel.py, exit status != 0: 0.7819147557020187 0.965606143 0.44677636299999995 Calling exit ...