Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis.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.00174/0.00174, allocations: 80.36 kB / 19.18 MB, free: 2.527 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.00217/0.00217, allocations: 174.4 kB / 22.46 MB, free: 5.355 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: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.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.1313/0.1313, allocations: 17.37 MB / 276.6 MB, free: 15.3 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.ClimateChange.MethanElectrosynthesis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis") translateModel(Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 412 MB, free: 4.449 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.2e-05/3.354e-05, allocations: 2.281 kB / 412 MB, free: 4.445 MB / 334.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.ClimateChange.MethanElectrosynthesis): time 0.04524/0.04528, allocations: 29.56 MB / 441.5 MB, free: 7 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.2611/0.3064, allocations: 19.46 MB / 461 MB, free: 29.21 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001554/0.308, allocations: 28.38 kB / 461 MB, free: 29.2 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001686/0.3097, allocations: 0.531 MB / 461.5 MB, free: 28.93 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004367/0.314, allocations: 1.358 MB / 462.9 MB, free: 28.16 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00953/0.3236, allocations: 3.448 MB / 466.3 MB, free: 26.25 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003645/0.3272, allocations: 2.481 MB / 468.8 MB, free: 24.98 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001658/0.3289, allocations: 1.242 MB / 470.1 MB, free: 24.36 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001774/0.3306, allocations: 1.535 MB / 471.6 MB, free: 23.74 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001358/0.332, allocations: 0.9454 MB / 472.5 MB, free: 23.47 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003493/0.3323, allocations: 233.7 kB / 472.8 MB, free: 23.47 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006714/0.3391, allocations: 2.25 MB / 475 MB, free: 22.76 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005829/0.3396, allocations: 0.5471 MB / 475.6 MB, free: 22.3 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001405/0.341, allocations: 0.82 MB / 476.4 MB, free: 21.85 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01038/0.3514, allocations: 5.27 MB / 481.7 MB, free: 18.45 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.3514, allocations: 0 / 481.7 MB, free: 18.45 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.3514, allocations: 0 / 481.7 MB, free: 18.45 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.712e-05/0.3515, allocations: 3.938 kB / 481.7 MB, free: 18.45 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 484 * Number of variables: 484 Notification: Performance of Generate backend data structure: time 0.004475/0.3559, allocations: 2.64 MB / 484.3 MB, free: 16.49 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.356, allocations: 8.031 kB / 484.3 MB, free: 16.48 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001798/0.3578, allocations: 0.504 MB / 484.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00164/0.3594, allocations: 1.128 MB / 485.9 MB, free: 14.83 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000136/0.3595, allocations: 259.1 kB / 486.2 MB, free: 14.55 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000239/0.3598, allocations: 192.4 kB / 486.4 MB, free: 14.37 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003153/0.3629, allocations: 2.716 MB / 489.1 MB, free: 11.58 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.81e-05/0.363, allocations: 7.875 kB / 489.1 MB, free: 11.57 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001768/0.3632, allocations: 78.81 kB / 489.2 MB, free: 11.5 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.758e-05/0.3632, allocations: 51.28 kB / 489.2 MB, free: 11.45 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003645/0.3668, allocations: 3.313 MB / 492.6 MB, free: 8.137 MB / 366.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.01011/0.3769, allocations: 7.28 MB / 499.8 MB, free: 0.7227 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0017/0.3786, allocations: 1.121 MB / 0.4892 GB, free: 15.59 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001015/0.3797, allocations: 0.5937 MB / 0.4898 GB, free: 14.99 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007842/0.3875, allocations: 3.379 MB / 0.4931 GB, free: 11.59 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.915e-05/0.3875, allocations: 51.2 kB / 0.4931 GB, free: 11.53 MB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008836/0.3884, allocations: 181.6 kB / 0.4933 GB, free: 11.35 MB / 382.1 MB Notification: Performance of pre-optimization done (n=81): time 2.665e-06/0.3884, allocations: 2.688 kB / 0.4933 GB, free: 11.35 MB / 382.1 MB Notification: Performance of matching and sorting (n=115): time 0.02911/0.4175, allocations: 6.911 MB / 0.5001 GB, free: 4.469 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.754e-05/0.4176, allocations: 119.8 kB / 0.5002 GB, free: 4.324 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002503/0.4201, allocations: 1.827 MB / 0.502 GB, free: 2.484 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001561/0.4203, allocations: 45.7 kB / 0.502 GB, free: 2.434 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008712/0.4212, allocations: 1.041 MB / 0.503 GB, free: 1.379 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004435/0.4216, allocations: 436.3 kB / 0.5034 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006817/0.4223, allocations: 415.3 kB / 0.5038 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.4224, allocations: 307.8 kB / 0.5041 GB, free: 240 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001534/0.424, allocations: 0.8708 MB / 0.505 GB, free: 15.36 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002262/0.4262, allocations: 1.597 MB / 0.5065 GB, free: 13.41 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003682/0.4299, allocations: 2.359 MB / 0.5088 GB, free: 10.75 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.295e-05/0.4299, allocations: 6.625 kB / 0.5088 GB, free: 10.75 MB / 398.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.008814/0.4387, allocations: 3.318 MB / 0.5121 GB, free: 7.43 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.962e-05/0.4388, allocations: 19.12 kB / 0.5121 GB, free: 7.414 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-05/0.4388, allocations: 24 kB / 0.5121 GB, free: 7.391 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005153/0.444, allocations: 1.042 MB / 0.5131 GB, free: 6.367 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001642/0.4456, allocations: 430 kB / 0.5136 GB, free: 5.949 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01132/0.4569, allocations: 7.054 MB / 0.5204 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001902/0.4588, allocations: 94.47 kB / 0.5205 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002547/0.4591, allocations: 123.6 kB / 0.5207 GB, free: 14.39 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 109 * 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 (226): * Single equations (assignments): 221 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,11,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,15), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.000864/0.4599, allocations: 399.7 kB / 0.521 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003973/0.4603, allocations: 140.2 kB / 0.5212 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007148/0.4675, allocations: 2.174 MB / 0.5233 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.728e-05/0.4675, allocations: 12 kB / 0.5233 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.155e-05/0.4675, allocations: 4 kB / 0.5233 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.874e-05/0.4675, allocations: 7.969 kB / 0.5233 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01018/0.4777, allocations: 3.504 MB / 0.5267 GB, free: 8.121 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-05/0.4777, allocations: 4 kB / 0.5267 GB, free: 8.117 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008086/0.4785, allocations: 178.4 kB / 0.5269 GB, free: 7.945 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004738/0.4833, allocations: 0.9244 MB / 0.5278 GB, free: 7.035 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001501/0.4834, allocations: 51.91 kB / 0.5279 GB, free: 6.984 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009161/0.4926, allocations: 6.333 MB / 0.534 GB, free: 348 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.4926, allocations: 4.031 kB / 0.5341 GB, free: 344 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008418/0.501, allocations: 2.879 MB / 0.5369 GB, free: 13.42 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005698/0.5016, allocations: 126.1 kB / 0.537 GB, free: 13.3 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000476/0.5021, allocations: 27.98 kB / 0.537 GB, free: 13.27 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001153/0.5032, allocations: 28 kB / 0.537 GB, free: 13.25 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003898/0.5036, allocations: 132.6 kB / 0.5372 GB, free: 13.11 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001694/0.5038, allocations: 47.97 kB / 0.5372 GB, free: 13.07 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001936/0.5057, allocations: 1.252 MB / 0.5384 GB, free: 11.81 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5057, allocations: 0 / 0.5384 GB, free: 11.81 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004574/0.5103, allocations: 0.9767 MB / 0.5394 GB, free: 10.83 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (90): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,9,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,17), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002873/0.5132, allocations: 1.033 MB / 0.5404 GB, free: 9.844 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005364/0.5185, allocations: 2.363 MB / 0.5427 GB, free: 7.453 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.5185, allocations: 0 / 0.5427 GB, free: 7.453 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002336/0.5209, allocations: 1.103 MB / 0.5438 GB, free: 6.316 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001612/0.5225, allocations: 228.1 kB / 0.544 GB, free: 6.121 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005909/0.5284, allocations: 3.08 MB / 0.547 GB, free: 3.055 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000814/0.5292, allocations: 0.7331 MB / 0.5477 GB, free: 2.312 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0009965/0.5302, allocations: 320.8 kB / 0.548 GB, free: 2.094 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000418/0.5306, allocations: 188.7 kB / 0.5482 GB, free: 1.914 MB / 430.1 MB Notification: Performance of SimCode: time 8.22e-07/0.5306, allocations: 0 / 0.5482 GB, free: 1.914 MB / 430.1 MB Notification: Performance of Templates: time 0.06039/0.591, allocations: 35.81 MB / 0.5832 GB, free: 14.64 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis.sim & ./Chemical_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.212428692728281] Failed to read output from testmodel.py, exit status != 0: 0.6007111184298992 0.615052109 0.260490818 Calling exit ...