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.0008925/0.0008925, allocations: 76.45 kB / 19.9 MB, free: 16 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.0008811/0.0008811, 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 1.006/1.006, allocations: 177.2 MB / 203.6 MB, free: 5.781 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.1087/0.1087, allocations: 17.37 MB / 277.4 MB, free: 11.89 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.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.001094/0.001094, allocations: 75.88 kB / 412.8 MB, free: 15.89 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3305/0.3316, allocations: 59.83 MB / 472.6 MB, free: 29.83 MB / 410.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.ElectrochemicalCell): time 0.04641/0.378, allocations: 30.08 MB / 0.4909 GB, free: 17.02 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.02749/0.4055, allocations: 25.32 MB / 0.5157 GB, free: 10.31 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003165/0.4087, allocations: 31.75 kB / 0.5157 GB, free: 10.28 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002649/0.4113, allocations: 0.5952 MB / 0.5163 GB, free: 9.828 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009924/0.4213, allocations: 2.163 MB / 0.5184 GB, free: 8 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01605/0.4373, allocations: 3.94 MB / 0.5222 GB, free: 4.73 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.006837/0.4441, allocations: 2.846 MB / 0.525 GB, free: 2.164 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002972/0.4471, allocations: 1.338 MB / 0.5263 GB, free: 0.9805 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003375/0.4505, allocations: 1.972 MB / 0.5283 GB, free: 15 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002784/0.4533, allocations: 1.339 MB / 0.5296 GB, free: 13.66 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006492/0.4539, allocations: 263.9 kB / 0.5298 GB, free: 13.4 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01283/0.4668, allocations: 2.959 MB / 0.5327 GB, free: 10.44 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001393/0.4681, allocations: 0.6115 MB / 0.5333 GB, free: 9.824 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002282/0.4704, allocations: 1.097 MB / 0.5344 GB, free: 8.723 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0235/0.4939, allocations: 6.233 MB / 0.5405 GB, free: 2.465 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.189e-05/0.4939, allocations: 0 / 0.5405 GB, free: 2.465 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.316e-06/0.4939, allocations: 0 / 0.5405 GB, free: 2.465 MB / 442.7 MB Notification: Performance of Transformations before backend: time 9.023e-05/0.494, allocations: 4 kB / 0.5405 GB, free: 2.461 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: 556 * Number of variables: 556 Notification: Performance of Generate backend data structure: time 0.006434/0.5005, allocations: 3.079 MB / 0.5435 GB, free: 15.33 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.116e-05/0.5006, allocations: 12.02 kB / 0.5435 GB, free: 15.32 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00181/0.5024, allocations: 0.5533 MB / 0.544 GB, free: 14.76 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001915/0.5043, allocations: 1.246 MB / 0.5452 GB, free: 13.48 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002294/0.5045, allocations: 272.5 kB / 0.5455 GB, free: 13.18 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002723/0.5048, allocations: 227.9 kB / 0.5457 GB, free: 12.96 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003481/0.5083, allocations: 2.679 MB / 0.5483 GB, free: 10.19 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.802e-05/0.5083, allocations: 7.938 kB / 0.5483 GB, free: 10.18 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001636/0.5085, allocations: 84 kB / 0.5484 GB, free: 10.1 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.608e-05/0.5085, allocations: 56 kB / 0.5485 GB, free: 10.05 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004321/0.5128, allocations: 3.295 MB / 0.5517 GB, free: 6.75 MB / 458.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.01034/0.5232, allocations: 7.011 MB / 0.5585 GB, free: 15.6 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002038/0.5252, allocations: 1.516 MB / 0.56 GB, free: 14.09 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000984/0.5262, allocations: 0.8508 MB / 0.5608 GB, free: 13.22 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007295/0.5335, allocations: 4.277 MB / 0.565 GB, free: 8.914 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.299e-05/0.5335, allocations: 47.88 kB / 0.5651 GB, free: 8.859 MB / 474.7 MB Notification: Performance of pre-optimization done (n=128): time 4.017e-06/0.5335, allocations: 0 / 0.5651 GB, free: 8.859 MB / 474.7 MB Notification: Performance of matching and sorting (n=181): time 0.01902/0.5525, allocations: 8.104 MB / 0.573 GB, free: 0.707 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.774e-05/0.5526, allocations: 95.11 kB / 0.5731 GB, free: 0.5938 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001544/0.5542, allocations: 1.321 MB / 0.5744 GB, free: 15.26 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.826e-05/0.5543, allocations: 53.7 kB / 0.5744 GB, free: 15.2 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006719/0.5549, allocations: 1.093 MB / 0.5755 GB, free: 14.1 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005223/0.5555, allocations: 0.6546 MB / 0.5761 GB, free: 13.44 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005512/0.556, allocations: 485 kB / 0.5766 GB, free: 12.96 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.5561, allocations: 309.1 kB / 0.5769 GB, free: 12.65 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001121/0.5573, allocations: 0.8209 MB / 0.5777 GB, free: 11.83 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001855/0.5591, allocations: 1.669 MB / 0.5793 GB, free: 9.773 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002847/0.562, allocations: 2.606 MB / 0.5819 GB, free: 6.789 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.379e-05/0.562, allocations: 8 kB / 0.5819 GB, free: 6.781 MB / 490.7 MB Notification: Performance of matching and sorting (n=324) (initialization): time 0.004987/0.567, allocations: 3.043 MB / 0.5848 GB, free: 3.719 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.555e-05/0.567, allocations: 20.06 kB / 0.5849 GB, free: 3.699 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.743e-05/0.567, allocations: 28 kB / 0.5849 GB, free: 3.672 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001863/0.5689, allocations: 0.5104 MB / 0.5854 GB, free: 3.148 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002029/0.5709, allocations: 0.8036 MB / 0.5862 GB, free: 2.344 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007459/0.5784, allocations: 7.517 MB / 0.5935 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001607/0.58, allocations: 100.2 kB / 0.5936 GB, free: 10.26 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00021/0.5802, allocations: 144 kB / 0.5937 GB, free: 10.12 MB / 0.4948 GB 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.001047/0.5813, allocations: 450.5 kB / 0.5942 GB, free: 9.672 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003072/0.5816, allocations: 170.9 kB / 0.5943 GB, free: 9.504 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004172/0.5857, allocations: 2.569 MB / 0.5968 GB, free: 6.898 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.474e-05/0.5858, allocations: 20 kB / 0.5969 GB, free: 6.879 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.814e-06/0.5858, allocations: 0 / 0.5969 GB, free: 6.879 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.488e-05/0.5858, allocations: 7.969 kB / 0.5969 GB, free: 6.871 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006746/0.5925, allocations: 4.241 MB / 0.601 GB, free: 2.418 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.428e-05/0.5925, allocations: 16.12 kB / 0.601 GB, free: 2.402 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009328/0.5935, allocations: 419.4 kB / 0.6014 GB, free: 1.992 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001794/0.5953, allocations: 0.5472 MB / 0.602 GB, free: 1.426 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001238/0.5954, allocations: 75.97 kB / 0.602 GB, free: 1.352 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006366/0.6018, allocations: 7.3 MB / 0.6092 GB, free: 9.582 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.547e-05/0.6018, allocations: 27.81 kB / 0.6092 GB, free: 9.555 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005222/0.607, allocations: 3.45 MB / 0.6126 GB, free: 5.93 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005408/0.6075, allocations: 166.8 kB / 0.6127 GB, free: 5.766 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001543/0.6077, allocations: 59.98 kB / 0.6128 GB, free: 5.707 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006189/0.6083, allocations: 51.94 kB / 0.6128 GB, free: 5.656 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003049/0.6086, allocations: 204.6 kB / 0.613 GB, free: 5.453 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001234/0.6087, allocations: 95.95 kB / 0.6131 GB, free: 5.359 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001013/0.6097, allocations: 0.8274 MB / 0.6139 GB, free: 4.527 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.81e-07/0.6097, allocations: 0 / 0.6139 GB, free: 4.527 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004126/0.6139, allocations: 1.208 MB / 0.6151 GB, free: 3.316 MB / 0.5105 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.0024/0.6163, allocations: 1.339 MB / 0.6164 GB, free: 1.969 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00406/0.6203, allocations: 2.365 MB / 0.6187 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.295e-06/0.6203, allocations: 0 / 0.6187 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001804/0.6221, allocations: 1.372 MB / 0.62 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001431/0.6236, allocations: 344.1 kB / 0.6204 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005924/0.6295, allocations: 4.041 MB / 0.6243 GB, free: 9.598 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008267/0.6303, allocations: 0.8538 MB / 0.6252 GB, free: 8.707 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001283/0.6316, allocations: 449.7 kB / 0.6256 GB, free: 8.262 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004777/0.6321, allocations: 292.3 kB / 0.6259 GB, free: 7.977 MB / 0.5261 GB Notification: Performance of SimCode: time 1.853e-06/0.6321, allocations: 0 / 0.6259 GB, free: 7.977 MB / 0.5261 GB Notification: Performance of Templates: time 0.2977/0.9298, allocations: 41.23 MB / 0.6661 GB, free: 126.4 MB / 0.5261 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 cvode -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.ElectrochemicalCell.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.082913830061443] Failed to read output from testmodel.py, exit status != 0: 0.9373222480062395 0.94523219 0.44936502399999995 Calling exit ...