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.002007/0.002007, allocations: 93.47 kB / 19.44 MB, free: 336 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.002236/0.002236, allocations: 169.2 kB / 22.76 MB, free: 1.664 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.567/1.567, allocations: 177.1 MB / 203.1 MB, free: 5.566 MB / 186.7 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.1461/0.1461, allocations: 17.37 MB / 276.9 MB, free: 11.71 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.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 2.194e-06/2.194e-06, allocations: 0 / 352.7 MB, free: 10.32 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.199e-05/3.418e-05, allocations: 4.984 kB / 352.7 MB, free: 10.32 MB / 282.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.ClimateChange.MethanElectrosynthesis): time 0.04684/0.04687, allocations: 30.76 MB / 383.5 MB, free: 11.68 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.03429/0.08117, allocations: 22.12 MB / 405.6 MB, free: 5.484 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002543/0.08371, allocations: 31.81 kB / 405.6 MB, free: 5.453 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001963/0.08567, allocations: 0.5269 MB / 406.1 MB, free: 4.922 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004639/0.09031, allocations: 1.365 MB / 407.5 MB, free: 3.547 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01049/0.1008, allocations: 3.447 MB / 411 MB, free: 80 kB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.1664/0.2672, allocations: 2.475 MB / 413.4 MB, free: 34.42 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002017/0.2692, allocations: 1.305 MB / 414.7 MB, free: 34.28 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002201/0.2714, allocations: 1.536 MB / 416.3 MB, free: 34.2 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001761/0.2731, allocations: 0.9992 MB / 417.3 MB, free: 34.12 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004041/0.2735, allocations: 235.6 kB / 417.5 MB, free: 34.12 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006897/0.2804, allocations: 2.25 MB / 419.8 MB, free: 34.04 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005299/0.281, allocations: 0.5546 MB / 420.3 MB, free: 33.96 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00123/0.2822, allocations: 0.8235 MB / 421.1 MB, free: 33.88 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00984/0.292, allocations: 5.292 MB / 426.4 MB, free: 32.93 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.493e-06/0.292, allocations: 0 / 426.4 MB, free: 32.93 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.292, allocations: 0 / 426.4 MB, free: 32.93 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.967e-05/0.2921, allocations: 0 / 426.4 MB, free: 32.93 MB / 330.7 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.00523/0.2973, allocations: 2.887 MB / 429.3 MB, free: 31.21 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.2974, allocations: 10.16 kB / 429.3 MB, free: 31.21 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002214/0.2996, allocations: 0.8909 MB / 430.2 MB, free: 30.81 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001829/0.3014, allocations: 1.163 MB / 431.4 MB, free: 30.23 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001468/0.3016, allocations: 255.6 kB / 431.6 MB, free: 30.04 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002753/0.3018, allocations: 189.4 kB / 431.8 MB, free: 29.98 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003354/0.3052, allocations: 2.352 MB / 434.2 MB, free: 29.03 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.317e-05/0.3052, allocations: 4.656 kB / 434.2 MB, free: 29.03 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001883/0.3054, allocations: 80.5 kB / 434.2 MB, free: 28.97 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.594e-05/0.3055, allocations: 48.12 kB / 434.3 MB, free: 28.97 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003545/0.309, allocations: 2.506 MB / 436.8 MB, free: 28.03 MB / 330.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.01101/0.32, allocations: 7.997 MB / 444.8 MB, free: 20.93 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001552/0.3216, allocations: 1.069 MB / 445.9 MB, free: 19.84 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000717/0.3223, allocations: 0.5486 MB / 446.4 MB, free: 19.27 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006779/0.3291, allocations: 3.619 MB / 450 MB, free: 15.68 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.423e-05/0.3291, allocations: 46.05 kB / 450.1 MB, free: 15.62 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008136/0.3299, allocations: 181.1 kB / 450.3 MB, free: 15.45 MB / 330.7 MB Notification: Performance of pre-optimization done (n=81): time 3.546e-06/0.3299, allocations: 3.938 kB / 450.3 MB, free: 15.45 MB / 330.7 MB Notification: Performance of matching and sorting (n=115): time 0.02522/0.3551, allocations: 6.834 MB / 457.1 MB, free: 8.684 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.257e-05/0.3552, allocations: 119.8 kB / 457.2 MB, free: 8.543 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001491/0.3567, allocations: 1.605 MB / 458.8 MB, free: 6.926 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.892e-05/0.3567, allocations: 46.58 kB / 458.9 MB, free: 6.875 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004663/0.3572, allocations: 1.156 MB / 460 MB, free: 5.715 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002675/0.3575, allocations: 457.1 kB / 460.5 MB, free: 5.273 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005582/0.358, allocations: 481.7 kB / 460.9 MB, free: 4.793 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.94e-05/0.3581, allocations: 476.8 kB / 461.4 MB, free: 4.324 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000907/0.359, allocations: 0.6019 MB / 462 MB, free: 3.719 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001319/0.3603, allocations: 1.69 MB / 463.7 MB, free: 1.574 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002942/0.3633, allocations: 2.479 MB / 466.2 MB, free: 14.77 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.705e-05/0.3633, allocations: 8 kB / 466.2 MB, free: 14.76 MB / 346.7 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.008712/0.372, allocations: 2.869 MB / 469 MB, free: 12.05 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.55e-05/0.372, allocations: 18.19 kB / 469.1 MB, free: 12.04 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.166e-05/0.3721, allocations: 24 kB / 469.1 MB, free: 12.01 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006608/0.3787, allocations: 1.145 MB / 470.2 MB, free: 10.89 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001758/0.3804, allocations: 429.9 kB / 470.7 MB, free: 10.5 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01311/0.3936, allocations: 9.019 MB / 479.7 MB, free: 1.16 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002123/0.3957, allocations: 102.4 kB / 479.8 MB, free: 1.062 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002519/0.3959, allocations: 116 kB / 479.9 MB, free: 0.9492 MB / 346.7 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.0009434/0.3969, allocations: 439 kB / 480.3 MB, free: 0.543 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004876/0.3974, allocations: 175.1 kB / 480.5 MB, free: 380 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007634/0.405, allocations: 2.112 MB / 482.6 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.937e-05/0.405, allocations: 12 kB / 482.6 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/0.405, allocations: 4 kB / 482.6 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.618e-05/0.405, allocations: 3.984 kB / 482.6 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0108/0.4158, allocations: 3.751 MB / 486.4 MB, free: 10.51 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.15e-05/0.4159, allocations: 4 kB / 486.4 MB, free: 10.51 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008177/0.4167, allocations: 177.2 kB / 486.5 MB, free: 10.35 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005894/0.4226, allocations: 1.024 MB / 487.6 MB, free: 9.34 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001604/0.4227, allocations: 43.97 kB / 487.6 MB, free: 9.297 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01091/0.4336, allocations: 8.246 MB / 495.9 MB, free: 0.7188 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.4336, allocations: 0 / 495.9 MB, free: 0.7188 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008215/0.4419, allocations: 2.969 MB / 498.8 MB, free: 13.71 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004651/0.4423, allocations: 123 kB / 498.9 MB, free: 13.59 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002342/0.4426, allocations: 27.98 kB / 499 MB, free: 13.56 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008715/0.4434, allocations: 30.66 kB / 499 MB, free: 13.53 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003374/0.4438, allocations: 128.4 kB / 499.1 MB, free: 13.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00013/0.4439, allocations: 47.97 kB / 499.2 MB, free: 13.36 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001383/0.4453, allocations: 0.9319 MB / 0.4884 GB, free: 12.43 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4453, allocations: 0 / 0.4884 GB, free: 12.43 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003382/0.4487, allocations: 0.9703 MB / 0.4893 GB, free: 11.45 MB / 378.7 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.002138/0.4508, allocations: 1.048 MB / 0.4904 GB, free: 10.57 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005255/0.4561, allocations: 2.373 MB / 0.4927 GB, free: 8.234 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.4561, allocations: 0 / 0.4927 GB, free: 8.234 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00245/0.4585, allocations: 1.299 MB / 0.4939 GB, free: 6.898 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001514/0.46, allocations: 268.6 kB / 0.4942 GB, free: 6.66 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006423/0.4664, allocations: 3.151 MB / 0.4973 GB, free: 3.527 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009269/0.4674, allocations: 0.7253 MB / 0.498 GB, free: 2.793 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001129/0.4685, allocations: 318.1 kB / 0.4983 GB, free: 2.578 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004514/0.469, allocations: 179.1 kB / 0.4985 GB, free: 2.402 MB / 378.7 MB Notification: Performance of SimCode: time 2.434e-06/0.469, allocations: 0 / 0.4985 GB, free: 2.402 MB / 378.7 MB Notification: Performance of Templates: time 0.0671/0.5361, allocations: 36.33 MB / 0.5339 GB, free: 14.92 MB / 426.7 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=240 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.645275556948036]