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.0008455/0.0008455, allocations: 80.45 kB / 19.9 MB, free: 12 kB / 13.93 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.0008281/0.0008281, allocations: 165.9 kB / 23.18 MB, free: 1.383 MB / 18.57 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 0.905/0.905, allocations: 177.2 MB / 203.6 MB, free: 5.754 MB / 186.7 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.08382/0.08382, allocations: 17.38 MB / 277.4 MB, free: 11.86 MB / 266.7 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.0009726/0.0009726, allocations: 64.53 kB / 412.8 MB, free: 13.09 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.107, allocations: 59.86 MB / 472.7 MB, free: 13.86 MB / 378.7 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.04345/0.1504, allocations: 28.4 MB / 0.4893 GB, free: 1.531 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01953/0.17, allocations: 17.15 MB / 0.5061 GB, free: 328 kB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002347/0.1723, allocations: 23.81 kB / 0.5061 GB, free: 304 kB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001637/0.1739, allocations: 460.4 kB / 0.5065 GB, free: 15.84 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004936/0.1789, allocations: 1.21 MB / 0.5077 GB, free: 14.62 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01061/0.1895, allocations: 2.893 MB / 0.5105 GB, free: 11.71 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.004212/0.1937, allocations: 2.102 MB / 0.5126 GB, free: 9.602 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00185/0.1955, allocations: 1.046 MB / 0.5136 GB, free: 8.504 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002283/0.1978, allocations: 1.403 MB / 0.515 GB, free: 7.098 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001843/0.1997, allocations: 0.9452 MB / 0.5159 GB, free: 6.148 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008197/0.2005, allocations: 200 kB / 0.5161 GB, free: 5.953 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007549/0.208, allocations: 1.961 MB / 0.518 GB, free: 3.988 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005744/0.2086, allocations: 478.6 kB / 0.5185 GB, free: 3.516 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009841/0.2096, allocations: 0.8208 MB / 0.5193 GB, free: 2.691 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01418/0.2238, allocations: 4.377 MB / 0.5235 GB, free: 14.29 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.066e-05/0.2238, allocations: 0 / 0.5235 GB, free: 14.29 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.146e-06/0.2238, allocations: 0 / 0.5235 GB, free: 14.29 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.123e-05/0.2238, allocations: 4 kB / 0.5235 GB, free: 14.29 MB / 442.7 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.004009/0.2278, allocations: 2.32 MB / 0.5258 GB, free: 11.93 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.743e-05/0.2279, allocations: 12.03 kB / 0.5258 GB, free: 11.92 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001167/0.2291, allocations: 443 kB / 0.5262 GB, free: 11.48 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00146/0.2305, allocations: 1.026 MB / 0.5272 GB, free: 10.43 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001979/0.2307, allocations: 238.4 kB / 0.5275 GB, free: 10.17 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002078/0.2309, allocations: 164 kB / 0.5276 GB, free: 10.01 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002654/0.2336, allocations: 2.237 MB / 0.5298 GB, free: 7.703 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.036e-05/0.2336, allocations: 0 / 0.5298 GB, free: 7.703 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001185/0.2337, allocations: 68 kB / 0.5299 GB, free: 7.637 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.364e-05/0.2338, allocations: 44 kB / 0.5299 GB, free: 7.594 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003127/0.2369, allocations: 2.699 MB / 0.5325 GB, free: 4.887 MB / 442.7 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.008342/0.2452, allocations: 6.126 MB / 0.5385 GB, free: 14.62 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001258/0.2465, allocations: 0.9757 MB / 0.5395 GB, free: 13.62 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005767/0.2471, allocations: 0.5174 MB / 0.54 GB, free: 13.09 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004591/0.2517, allocations: 2.975 MB / 0.5429 GB, free: 10.09 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.558e-05/0.2517, allocations: 51.16 kB / 0.5429 GB, free: 10.04 MB / 458.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002713/0.252, allocations: 103.2 kB / 0.543 GB, free: 9.934 MB / 458.7 MB Notification: Performance of pre-optimization done (n=71): time 2.565e-06/0.252, allocations: 0 / 0.543 GB, free: 9.934 MB / 458.7 MB Notification: Performance of matching and sorting (n=95): time 0.01057/0.2626, allocations: 4.559 MB / 0.5475 GB, free: 5.32 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.35e-05/0.2626, allocations: 115.8 kB / 0.5476 GB, free: 5.18 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001549/0.2642, allocations: 1.453 MB / 0.549 GB, free: 3.707 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 6.261e-05/0.2643, allocations: 41.7 kB / 0.5491 GB, free: 3.66 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005386/0.2648, allocations: 0.9356 MB / 0.55 GB, free: 2.711 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002578/0.265, allocations: 361 kB / 0.5503 GB, free: 2.355 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003909/0.2654, allocations: 355.3 kB / 0.5507 GB, free: 2 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0006165/0.2661, allocations: 357.9 kB / 0.551 GB, free: 1.645 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007351/0.2668, allocations: 0.6286 MB / 0.5516 GB, free: 1.016 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001111/0.2679, allocations: 1.341 MB / 0.5529 GB, free: 15.34 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001805/0.2697, allocations: 1.929 MB / 0.5548 GB, free: 13.08 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.011e-05/0.2697, allocations: 8 kB / 0.5548 GB, free: 13.07 MB / 474.7 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.003465/0.2732, allocations: 2.386 MB / 0.5571 GB, free: 10.67 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.739e-05/0.2732, allocations: 12 kB / 0.5572 GB, free: 10.66 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.842e-05/0.2732, allocations: 24 kB / 0.5572 GB, free: 10.63 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001788/0.275, allocations: 391.2 kB / 0.5576 GB, free: 10.24 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001387/0.2764, allocations: 0.5578 MB / 0.5581 GB, free: 9.68 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006483/0.2829, allocations: 7.39 MB / 0.5653 GB, free: 1.828 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001026/0.2839, allocations: 87.78 kB / 0.5654 GB, free: 1.742 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001216/0.2841, allocations: 108 kB / 0.5655 GB, free: 1.637 MB / 474.7 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.0006947/0.2847, allocations: 357.3 kB / 0.5658 GB, free: 1.277 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000195/0.2849, allocations: 127.2 kB / 0.566 GB, free: 1.152 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002743/0.2877, allocations: 1.526 MB / 0.5675 GB, free: 15.6 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.164e-05/0.2877, allocations: 8 kB / 0.5675 GB, free: 15.59 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.014e-06/0.2877, allocations: 4 kB / 0.5675 GB, free: 15.59 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.279e-05/0.2877, allocations: 7.969 kB / 0.5675 GB, free: 15.58 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004502/0.2922, allocations: 2.645 MB / 0.5701 GB, free: 12.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.734e-06/0.2922, allocations: 4.875 kB / 0.5701 GB, free: 12.79 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000512/0.2927, allocations: 219.7 kB / 0.5703 GB, free: 12.58 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001402/0.2941, allocations: 404.7 kB / 0.5707 GB, free: 12.16 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.272e-05/0.2942, allocations: 51.91 kB / 0.5707 GB, free: 12.11 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006089/0.3003, allocations: 7.164 MB / 0.5777 GB, free: 4.48 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.336e-06/0.3003, allocations: 11.98 kB / 0.5777 GB, free: 4.469 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003774/0.3041, allocations: 2.16 MB / 0.5798 GB, free: 2.18 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003626/0.3044, allocations: 127.2 kB / 0.5799 GB, free: 2.055 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001082/0.3046, allocations: 28 kB / 0.58 GB, free: 2.027 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000423/0.305, allocations: 28 kB / 0.58 GB, free: 2 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002109/0.3052, allocations: 120.2 kB / 0.5801 GB, free: 1.883 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.563e-05/0.3053, allocations: 47.98 kB / 0.5802 GB, free: 1.836 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001125/0.3064, allocations: 0.9712 MB / 0.5811 GB, free: 0.8555 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.3064, allocations: 0 / 0.5811 GB, free: 0.8555 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003194/0.3096, allocations: 0.826 MB / 0.5819 GB, free: 28 kB / 490.7 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.2366/0.5462, allocations: 0.88 MB / 0.5828 GB, free: 105.5 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003176/0.5494, allocations: 1.712 MB / 0.5844 GB, free: 105.2 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.578e-06/0.5494, allocations: 1.031 kB / 0.5844 GB, free: 105.2 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009855/0.5504, allocations: 0.9541 MB / 0.5854 GB, free: 104.8 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001158/0.5515, allocations: 216.3 kB / 0.5856 GB, free: 104.7 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003791/0.5553, allocations: 2.881 MB / 0.5884 GB, free: 103.5 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006569/0.556, allocations: 0.6364 MB / 0.589 GB, free: 103.3 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0008808/0.5569, allocations: 316.1 kB / 0.5893 GB, free: 103.3 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003385/0.5572, allocations: 173.4 kB / 0.5895 GB, free: 103.3 MB / 490.7 MB Notification: Performance of SimCode: time 3.065e-06/0.5572, allocations: 0 / 0.5895 GB, free: 103.3 MB / 490.7 MB Notification: Performance of Templates: time 0.0259/0.5831, allocations: 27.81 MB / 0.6166 GB, free: 84.66 MB / 490.7 MB " [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 cvode -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.109333171043545] Failed to read output from testmodel.py, exit status != 0: 0.7553766251076013 0.593948035 0.36845650700000004 Calling exit ...