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.0007929/0.0007929, allocations: 80.53 kB / 19.93 MB, free: 4.609 MB / 18.57 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.0007828/0.0007828, allocations: 181.2 kB / 23.22 MB, free: 1.32 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.8238/0.8238, allocations: 177.1 MB / 203.5 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.07853/0.07853, allocations: 17.37 MB / 277.3 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: Performance of FrontEnd - loaded program: time 1.824e-06/1.824e-06, allocations: 0 / 412.7 MB, free: 15.96 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.416e-05/2.598e-05, allocations: 6.219 kB / 412.7 MB, free: 15.95 MB / 394.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.02207/0.0221, allocations: 28.5 MB / 441.2 MB, free: 3.508 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1549/0.177, allocations: 17.12 MB / 458.3 MB, free: 55.32 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006078/0.1776, allocations: 24.69 kB / 458.3 MB, free: 55.31 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006645/0.1783, allocations: 475.7 kB / 458.8 MB, free: 55.07 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001575/0.1798, allocations: 1.251 MB / 460.1 MB, free: 54.3 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003388/0.1832, allocations: 2.966 MB / 463 MB, free: 52.55 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001109/0.1843, allocations: 2.169 MB / 465.2 MB, free: 51.44 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006976/0.185, allocations: 1.07 MB / 466.3 MB, free: 50.9 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006827/0.1857, allocations: 1.346 MB / 467.6 MB, free: 50.37 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005856/0.1863, allocations: 0.8279 MB / 468.4 MB, free: 50.14 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001494/0.1865, allocations: 198.6 kB / 468.6 MB, free: 50.14 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002133/0.1886, allocations: 1.979 MB / 470.6 MB, free: 49.69 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000185/0.1888, allocations: 480.5 kB / 471.1 MB, free: 49.38 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003445/0.1891, allocations: 0.7052 MB / 471.8 MB, free: 49.07 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002686/0.1918, allocations: 4.567 MB / 476.4 MB, free: 47.14 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.1918, allocations: 6.625 kB / 476.4 MB, free: 47.13 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1918, allocations: 0 / 476.4 MB, free: 47.13 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.86e-05/0.1918, allocations: 3.156 kB / 476.4 MB, free: 47.13 MB / 410.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.001958/0.1938, allocations: 2.299 MB / 478.7 MB, free: 45.77 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.284e-05/0.1938, allocations: 9.062 kB / 478.7 MB, free: 45.77 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007804/0.1946, allocations: 442.9 kB / 479.1 MB, free: 45.62 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009282/0.1955, allocations: 1.015 MB / 480.1 MB, free: 45.05 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.874e-05/0.1956, allocations: 239.1 kB / 480.4 MB, free: 44.87 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001484/0.1958, allocations: 170.3 kB / 480.5 MB, free: 44.81 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001721/0.1975, allocations: 2.238 MB / 482.8 MB, free: 43.87 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.681e-05/0.1975, allocations: 3.938 kB / 482.8 MB, free: 43.87 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.721e-05/0.1976, allocations: 67.75 kB / 482.8 MB, free: 43.82 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.923e-05/0.1976, allocations: 39.91 kB / 482.9 MB, free: 43.82 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002216/0.1998, allocations: 2.7 MB / 485.6 MB, free: 42.96 MB / 410.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.005106/0.205, allocations: 6.121 MB / 491.7 MB, free: 39.34 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009806/0.2059, allocations: 0.9762 MB / 492.7 MB, free: 38.92 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004772/0.2064, allocations: 0.5162 MB / 493.2 MB, free: 38.68 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003606/0.21, allocations: 2.972 MB / 496.2 MB, free: 37.32 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.605e-05/0.21, allocations: 40.22 kB / 496.2 MB, free: 37.27 MB / 410.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001982/0.2102, allocations: 111 kB / 496.3 MB, free: 37.2 MB / 410.7 MB Notification: Performance of pre-optimization done (n=71): time 1.814e-06/0.2102, allocations: 0.7812 kB / 496.3 MB, free: 37.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=95): time 0.008598/0.2188, allocations: 4.558 MB / 0.4891 GB, free: 35.33 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.296e-05/0.2189, allocations: 118.7 kB / 0.4892 GB, free: 35.2 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001036/0.2199, allocations: 1.451 MB / 0.4906 GB, free: 34.54 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.557e-05/0.2199, allocations: 40.64 kB / 0.4907 GB, free: 34.5 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000291/0.2202, allocations: 0.9324 MB / 0.4916 GB, free: 33.75 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001504/0.2204, allocations: 354.9 kB / 0.4919 GB, free: 33.47 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003112/0.2207, allocations: 356.3 kB / 0.4923 GB, free: 33.31 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.457e-05/0.2208, allocations: 361.6 kB / 0.4926 GB, free: 32.98 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006427/0.2214, allocations: 0.632 MB / 0.4932 GB, free: 32.75 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007938/0.2222, allocations: 1.341 MB / 0.4945 GB, free: 31.59 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001381/0.2236, allocations: 1.929 MB / 0.4964 GB, free: 30.11 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.021e-05/0.2236, allocations: 7.469 kB / 0.4964 GB, free: 30.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.002815/0.2264, allocations: 2.376 MB / 0.4988 GB, free: 29.18 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.2264, allocations: 18.55 kB / 0.4988 GB, free: 29.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.666e-05/0.2264, allocations: 24.97 kB / 0.4988 GB, free: 29.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001097/0.2275, allocations: 381.5 kB / 0.4992 GB, free: 29.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001251/0.2288, allocations: 0.5609 MB / 0.4997 GB, free: 29.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003579/0.2324, allocations: 7.357 MB / 0.5069 GB, free: 22.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005946/0.233, allocations: 89.45 kB / 0.507 GB, free: 22.19 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.63e-05/0.233, allocations: 106.4 kB / 0.5071 GB, free: 22.14 MB / 410.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.000364/0.2334, allocations: 372.8 kB / 0.5074 GB, free: 21.78 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001224/0.2335, allocations: 127.8 kB / 0.5076 GB, free: 21.66 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002173/0.2357, allocations: 1.521 MB / 0.509 GB, free: 20.4 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.2357, allocations: 15.05 kB / 0.5091 GB, free: 20.39 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.2357, allocations: 1.875 kB / 0.5091 GB, free: 20.39 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.014e-06/0.2357, allocations: 2.672 kB / 0.5091 GB, free: 20.39 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003005/0.2387, allocations: 2.663 MB / 0.5117 GB, free: 18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.441e-06/0.2387, allocations: 8 kB / 0.5117 GB, free: 18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003866/0.2391, allocations: 222.2 kB / 0.5119 GB, free: 17.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001073/0.2402, allocations: 402.9 kB / 0.5123 GB, free: 17.51 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.344e-05/0.2402, allocations: 44.83 kB / 0.5123 GB, free: 17.47 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002883/0.2431, allocations: 7.167 MB / 0.5193 GB, free: 10.09 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.2431, allocations: 15.88 kB / 0.5193 GB, free: 10.07 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002111/0.2452, allocations: 2.135 MB / 0.5214 GB, free: 7.871 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.765e-05/0.2453, allocations: 115.2 kB / 0.5215 GB, free: 7.758 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.131e-05/0.2454, allocations: 35.98 kB / 0.5216 GB, free: 7.723 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003206/0.2457, allocations: 24 kB / 0.5216 GB, free: 7.699 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.46e-05/0.2458, allocations: 118.9 kB / 0.5217 GB, free: 7.586 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.932e-05/0.2458, allocations: 47.98 kB / 0.5217 GB, free: 7.539 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005065/0.2464, allocations: 0.9713 MB / 0.5227 GB, free: 6.559 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2464, allocations: 0 / 0.5227 GB, free: 6.559 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001553/0.2479, allocations: 0.826 MB / 0.5235 GB, free: 5.73 MB / 410.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.0008395/0.2487, allocations: 0.9345 MB / 0.5244 GB, free: 4.84 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001494/0.2502, allocations: 1.703 MB / 0.5261 GB, free: 3.125 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.2502, allocations: 0 / 0.5261 GB, free: 3.125 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005358/0.2508, allocations: 0.9588 MB / 0.527 GB, free: 2.121 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007376/0.2515, allocations: 216.1 kB / 0.5272 GB, free: 1.941 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002296/0.2538, allocations: 2.791 MB / 0.5299 GB, free: 15.09 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004169/0.2542, allocations: 0.6343 MB / 0.5306 GB, free: 14.44 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002936/0.2545, allocations: 219.2 kB / 0.5308 GB, free: 14.23 MB / 426.7 MB Notification: Performance of SimCode: time 5.81e-07/0.2545, allocations: 4 kB / 0.5308 GB, free: 14.22 MB / 426.7 MB Notification: Performance of Templates: time 0.0367/0.2912, allocations: 61.9 MB / 0.5912 GB, free: 0.8828 MB / 474.7 MB " [Timeout remaining time 660] 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: 6.979034140706062] Failed to read output from testmodel.py, exit status != 0: 0.2970595797523856 0.30444081999999995 0.11081724300000001 Calling exit ...